Pull request #198 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 50015943f0a51a96bf649136f5afa0a7803e3235+7497b34e8f43de057e951c857a8ff1edb3d4a1d1 (0a70ee825140503c9275520440617d4dde12cd9e) 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-ssh1110660077921718310.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5540976391893176162.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/PR-198/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-198/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2876727987972258967.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14702754124136149164.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-198/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-198/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14789044411480076472.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rfid-llrp-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rfid-llrp-go-settings PROJECT: device-rfid-llrp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rfid-llrp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-6451’ Running on prd-ubuntu20.04-docker-8c-8g-6453 in /w/workspace/undry_device-rfid-llrp-go_PR-198 [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-198 # 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/198/head:refs/remotes/origin/PR-198 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7497b34e8f43de057e951c857a8ff1edb3d4a1d1 into PR head commit 50015943f0a51a96bf649136f5afa0a7803e3235 Merge succeeded, producing 50015943f0a51a96bf649136f5afa0a7803e3235 Checking out Revision 50015943f0a51a96bf649136f5afa0a7803e3235 (PR-198) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 08:56:16 Timeout set to expire in 6 hr 0 min [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 50015943f0a51a96bf649136f5afa0a7803e3235 # 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 7497b34e8f43de057e951c857a8ff1edb3d4a1d1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 50015943f0a51a96bf649136f5afa0a7803e3235 # timeout=10 > git rev-list --no-walk d5178088c49cabef094094757cdb2f9d5accc3c3 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:56:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:56:16 ========================================================= 08:56:16 EdgeX Global Pipelines Version Info 08:56:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:56:17 ------------------- 08:56:17 stable info: 08:56:17 ------------------- 08:56:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 08:56:17 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 08:56:17 Message: update stable to v1.0.245 08:56:17 ------------------- 08:56:17 experimental info: 08:56:17 ------------------- 08:56:17 Commited By: **** collab-it+edgex@linuxfoundation.org 08:56:17 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 08:56:17 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:56:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rfid-llrp-go-settings [Pipeline] echo 08:56:18 [edgeXSetupEnvironment]: set envvar PROJECT = device-rfid-llrp-go [Pipeline] echo 08:56:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:56:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:56:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:56:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 08:56:18 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:56:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 08:56:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:56:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:56:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:56:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rfid-llrp [Pipeline] echo 08:56:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:56:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:56:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:56:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 08:56:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:56:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:56:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:56:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:56:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 08:56:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 08:56:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:56:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:56:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:56:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:56:18 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:56:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-198 [Pipeline] echo 08:56:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-198 [Pipeline] echo 08:56:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-198 [Pipeline] echo 08:56:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 50015943f0a51a96bf649136f5afa0a7803e3235 [Pipeline] echo 08:56:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5001594 [Pipeline] echo 08:56:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:56:18 provisioning config files... 08:56:18 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-198@tmp/config7793628950714689052tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:56:18 ---> docker-login.sh 08:56:18 nexus3.edgexfoundry.org:10001 08:56:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:56:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:56:19 Configure a credential helper to remove this warning. See 08:56:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:56:19 08:56:19 Login Succeeded 08:56:19 nexus3.edgexfoundry.org:10002 08:56:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:56:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:56:19 Configure a credential helper to remove this warning. See 08:56:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:56:19 08:56:19 Login Succeeded 08:56:19 nexus3.edgexfoundry.org:10003 08:56:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:56:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:56:19 Configure a credential helper to remove this warning. See 08:56:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:56:19 08:56:19 Login Succeeded 08:56:19 nexus3.edgexfoundry.org:10004 08:56:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:56:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:56:19 Configure a credential helper to remove this warning. See 08:56:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:56:19 08:56:19 Login Succeeded 08:56:19 docker.io 08:56:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:56:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:56:19 Configure a credential helper to remove this warning. See 08:56:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:56:19 08:56:19 Login Succeeded 08:56:19 ---> docker-login.sh ends [Pipeline] } 08:56:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:56:20 + git rev-list -1 --merges 50015943f0a51a96bf649136f5afa0a7803e3235~1..50015943f0a51a96bf649136f5afa0a7803e3235 [Pipeline] echo 08:56:20 -----------> git rev-list -1 --merges 50015943f0a51a96bf649136f5afa0a7803e3235~1..50015943f0a51a96bf649136f5afa0a7803e3235 50015943f0a51a96bf649136f5afa0a7803e3235 [false] [Pipeline] sh 08:56:20 + git log --format=format:%s -1 50015943f0a51a96bf649136f5afa0a7803e3235 [Pipeline] echo 08:56:20 ========================================================= 08:56:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:56:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:56:20 + git log --format=format:%s -1 50015943f0a51a96bf649136f5afa0a7803e3235 [Pipeline] echo 08:56:20 [semverPrep] GIT_COMMIT: 50015943f0a51a96bf649136f5afa0a7803e3235, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo 08:56:20 [semverPrep] This is not a build commit. [Pipeline] sh 08:56:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:56:21 + grep -v github /etc/ssh/ssh_known_hosts 08:56:21 + [ -e /tmp/ssh_known_hosts ] 08:56:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:56:21 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:56:21 + sudo tee -a /etc/ssh/ssh_known_hosts 08:56:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:56:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:56:21 08:56:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:56:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:56:21 0.1.4: Pulling from edgex-devops/py-git-semver 08:56:21 b85a868b505f: Pulling fs layer 08:56:21 e2be974225ed: Pulling fs layer 08:56:21 339a4e72a1f5: Pulling fs layer 08:56:21 988bab9f4d93: Pulling fs layer 08:56:21 1469e6f7b9e6: Pulling fs layer 08:56:21 eaf3925da568: Pulling fs layer 08:56:21 bab4dde63d76: Pulling fs layer 08:56:21 bde34c3a00c8: Pulling fs layer 08:56:21 b352a97aabf1: Pulling fs layer 08:56:21 4872d77fe225: Pulling fs layer 08:56:21 5851b861e8e6: Pulling fs layer 08:56:21 988bab9f4d93: Waiting 08:56:21 1469e6f7b9e6: Waiting 08:56:21 eaf3925da568: Waiting 08:56:21 bab4dde63d76: Waiting 08:56:21 bde34c3a00c8: Waiting 08:56:21 b352a97aabf1: Waiting 08:56:21 4872d77fe225: Waiting 08:56:21 5851b861e8e6: Waiting 08:56:21 e2be974225ed: Verifying Checksum 08:56:21 e2be974225ed: Download complete 08:56:21 988bab9f4d93: Verifying Checksum 08:56:21 988bab9f4d93: Download complete 08:56:21 339a4e72a1f5: Verifying Checksum 08:56:21 339a4e72a1f5: Download complete 08:56:21 1469e6f7b9e6: Verifying Checksum 08:56:21 1469e6f7b9e6: Download complete 08:56:21 eaf3925da568: Download complete 08:56:22 b352a97aabf1: Download complete 08:56:22 4872d77fe225: Verifying Checksum 08:56:22 4872d77fe225: Download complete 08:56:22 5851b861e8e6: Verifying Checksum 08:56:22 5851b861e8e6: Download complete 08:56:22 b85a868b505f: Verifying Checksum 08:56:22 b85a868b505f: Download complete 08:56:22 bab4dde63d76: Verifying Checksum 08:56:22 bab4dde63d76: Download complete 08:56:23 b85a868b505f: Pull complete 08:56:23 e2be974225ed: Pull complete 08:56:23 339a4e72a1f5: Pull complete 08:56:23 988bab9f4d93: Pull complete 08:56:24 1469e6f7b9e6: Pull complete 08:56:24 eaf3925da568: Pull complete 08:56:26 bab4dde63d76: Pull complete 08:56:26 bde34c3a00c8: Pull complete 08:56:26 b352a97aabf1: Pull complete 08:56:26 4872d77fe225: Pull complete 08:56:26 5851b861e8e6: Pull complete 08:56:26 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:56:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:56:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:56:26 prd-ubuntu20.04-docker-8c-8g-6453 does not seem to be running inside a container 08:56:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-rfid-llrp-go_PR-198 -v /w/workspace/undry_device-rfid-llrp-go_PR-198:/w/workspace/undry_device-rfid-llrp-go_PR-198:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-198@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-198@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 08:56:29 $ docker top 7693ac1e5a088aa19d9bb5f8dea32971d52b604ac3ac828e02805ce40080acee -eo pid,comm 08:56:29 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). 08:56:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:56:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:56:29 [ssh-agent] Looking for ssh-agent implementation... 08:56:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:56:29 $ docker exec 7693ac1e5a088aa19d9bb5f8dea32971d52b604ac3ac828e02805ce40080acee ssh-agent 08:56:29 SSH_AUTH_SOCK=/tmp/ssh-rmfQql2zdiPb/agent.32 08:56:29 SSH_AGENT_PID=38 08:56:29 Running ssh-add (command line suppressed) 08:56:29 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-198@tmp/private_key_4176322955935829192.key (/w/workspace/undry_device-rfid-llrp-go_PR-198@tmp/private_key_4176322955935829192.key) 08:56:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:56:29 + git tag --points-at HEAD [Pipeline] } 08:56:29 $ docker exec --env ******** --env ******** 7693ac1e5a088aa19d9bb5f8dea32971d52b604ac3ac828e02805ce40080acee ssh-agent -k 08:56:30 unset SSH_AUTH_SOCK; 08:56:30 unset SSH_AGENT_PID; 08:56:30 echo Agent pid 38 killed; 08:56:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:56:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:56:30 [ssh-agent] Looking for ssh-agent implementation... 08:56:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:56:30 $ docker exec 7693ac1e5a088aa19d9bb5f8dea32971d52b604ac3ac828e02805ce40080acee ssh-agent 08:56:30 SSH_AUTH_SOCK=/tmp/ssh-wkRLVXheMS38/agent.70 08:56:30 SSH_AGENT_PID=76 08:56:30 Running ssh-add (command line suppressed) 08:56:30 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-198@tmp/private_key_9773982688496962755.key (/w/workspace/undry_device-rfid-llrp-go_PR-198@tmp/private_key_9773982688496962755.key) 08:56:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:56:30 + git semver init 08:56:30 2023-03-30 08:56:30,871 [run_init] DEBUG init version:0.0.0 force:False 08:56:30 2023-03-30 08:56:30,872 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-rfid-llrp-go_PR-198/.semver 08:56:30 2023-03-30 08:56:30,873 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rfid-llrp-go.git /w/workspace/undry_device-rfid-llrp-go_PR-198/.semver 08:56:30 2023-03-30 08:56:30,873 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rfid-llrp-go.git', '/w/workspace/undry_device-rfid-llrp-go_PR-198/.semver'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-198, universal_newlines=False, shell=None, istream=None) 08:56:32 2023-03-30 08:56:32,239 [append_file] DEBUG append to file:/w/workspace/undry_device-rfid-llrp-go_PR-198/.git/info/exclude 08:56:32 2023-03-30 08:56:32,240 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-rfid-llrp-go_PR-198/.semver/PR-198 with force:False 08:56:32 2023-03-30 08:56:32,240 [write_file] DEBUG write to file:/w/workspace/undry_device-rfid-llrp-go_PR-198/.semver/PR-198 08:56:32 2023-03-30 08:56:32,244 [execute] INFO git cat-file --batch-check 08:56:32 2023-03-30 08:56:32,244 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-198/.semver, universal_newlines=False, shell=None, istream=) 08:56:32 2023-03-30 08:56:32,250 [execute] INFO git cat-file --batch 08:56:32 2023-03-30 08:56:32,250 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-198/.semver, universal_newlines=False, shell=None, istream=) 08:56:32 2023-03-30 08:56:32,255 [read_version] DEBUG read version from /w/workspace/undry_device-rfid-llrp-go_PR-198/.semver/PR-198 08:56:32 0.0.0 [Pipeline] } 08:56:32 $ docker exec --env ******** --env ******** 7693ac1e5a088aa19d9bb5f8dea32971d52b604ac3ac828e02805ce40080acee ssh-agent -k 08:56:32 unset SSH_AUTH_SOCK; 08:56:32 unset SSH_AGENT_PID; 08:56:32 echo Agent pid 76 killed; 08:56:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:56:32 + git semver [Pipeline] } 08:56:33 $ docker stop --time=1 7693ac1e5a088aa19d9bb5f8dea32971d52b604ac3ac828e02805ce40080acee 08:56:34 $ docker rm -f --volumes 7693ac1e5a088aa19d9bb5f8dea32971d52b604ac3ac828e02805ce40080acee [Pipeline] // withDockerContainer [Pipeline] sh 08:56:35 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:56:35 Stashed 1 file(s) [Pipeline] echo 08:56:35 [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 08:56:35 provisioning config files... 08:56:35 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-198@tmp/config13817845034467112308tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:56:35 ---> docker-login.sh 08:56:35 nexus3.edgexfoundry.org:10001 08:56:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:56:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:56:35 Configure a credential helper to remove this warning. See 08:56:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:56:35 08:56:35 Login Succeeded 08:56:35 nexus3.edgexfoundry.org:10002 08:56:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:56:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:56:35 Configure a credential helper to remove this warning. See 08:56:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:56:35 08:56:35 Login Succeeded 08:56:35 nexus3.edgexfoundry.org:10003 08:56:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:56:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:56:36 Configure a credential helper to remove this warning. See 08:56:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:56:36 08:56:36 Login Succeeded 08:56:36 nexus3.edgexfoundry.org:10004 08:56:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:56:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:56:36 Configure a credential helper to remove this warning. See 08:56:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:56:36 08:56:36 Login Succeeded 08:56:36 docker.io 08:56:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:56:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 08:56:36 Configure a credential helper to remove this warning. See 08:56:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 08:56:36 08:56:36 Login Succeeded 08:56:36 ---> docker-login.sh ends [Pipeline] } 08:56:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:56:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:56:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 08:56:36 ========================================================= 08:56:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 08:56:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:56:36 + 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 . 08:56:36 Sending build context to Docker daemon 4.204MB 08:56:36 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 08:56:36 Step 2/12 : FROM ${BASE} AS builder 08:56:36 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 08:56:36 63b65145d645: Pulling fs layer 08:56:36 a2d21d5440eb: Pulling fs layer 08:56:36 935e6c44a52c: Pulling fs layer 08:56:36 94cc34f8dd06: Pulling fs layer 08:56:36 30dea6a524f1: Pulling fs layer 08:56:36 a2aff8979fd8: Pulling fs layer 08:56:36 6808be2612f2: Pulling fs layer 08:56:36 f25807f1079a: Pulling fs layer 08:56:36 94cc34f8dd06: Waiting 08:56:36 30dea6a524f1: Waiting 08:56:36 a2aff8979fd8: Waiting 08:56:36 6808be2612f2: Waiting 08:56:36 f25807f1079a: Waiting 08:56:36 a2d21d5440eb: Verifying Checksum 08:56:36 a2d21d5440eb: Download complete 08:56:36 94cc34f8dd06: Verifying Checksum 08:56:36 94cc34f8dd06: Download complete 08:56:36 30dea6a524f1: Download complete 08:56:37 63b65145d645: Verifying Checksum 08:56:37 63b65145d645: Download complete 08:56:37 a2aff8979fd8: Verifying Checksum 08:56:37 a2aff8979fd8: Download complete 08:56:37 63b65145d645: Pull complete 08:56:37 a2d21d5440eb: Pull complete 08:56:37 f25807f1079a: Verifying Checksum 08:56:37 f25807f1079a: Download complete 08:56:37 935e6c44a52c: Verifying Checksum 08:56:37 935e6c44a52c: Download complete 08:56:37 6808be2612f2: Verifying Checksum 08:56:37 6808be2612f2: Download complete 08:56:40 935e6c44a52c: Pull complete 08:56:40 94cc34f8dd06: Pull complete 08:56:40 30dea6a524f1: Pull complete 08:56:40 a2aff8979fd8: Pull complete 08:56:43 6808be2612f2: Pull complete 08:56:43 f25807f1079a: Pull complete 08:56:43 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 08:56:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 08:56:43 ---> 3b553350e43f 08:56:43 Step 3/12 : ARG ADD_BUILD_TAGS="" 08:56:50 ---> Running in 758b77067c5d 08:56:50 Removing intermediate container 758b77067c5d 08:56:50 ---> 30999a9a4fcc 08:56:50 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:56:50 ---> Running in 1e939afa13af 08:56:50 Removing intermediate container 1e939afa13af 08:56:50 ---> bddc44f6633d 08:56:50 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 08:56:50 ---> Running in 6fc223c59172 08:56:50 Removing intermediate container 6fc223c59172 08:56:50 ---> fbc0136053b7 08:56:50 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 08:56:50 ---> Running in c1eec8db7662 08:56:50 Removing intermediate container c1eec8db7662 08:56:50 ---> 996115136504 08:56:50 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:56:50 ---> Running in c5ad202c6971 08:56:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 08:56:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 08:56:50 Still waiting to schedule task 08:56:50 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6452’ 08:56:50 OK: 265 MiB in 53 packages 08:56:51 Removing intermediate container c5ad202c6971 08:56:51 ---> 8b184dd8fbee 08:56:51 Step 8/12 : WORKDIR /app 08:56:51 ---> Running in 23a04af7d64e 08:56:51 Removing intermediate container 23a04af7d64e 08:56:51 ---> 7bfffc38a62c 08:56:51 Step 9/12 : COPY go.mod vendor* ./ 08:56:51 ---> 68cf673aa1f3 08:56:51 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:56:51 ---> Running in 5fce3acae174 08:57:23 Removing intermediate container 5fce3acae174 08:57:23 ---> ca9dd9e7116b 08:57:23 Step 11/12 : COPY . . 08:57:23 ---> 9f73948b9428 08:57:23 Step 12/12 : RUN $MAKE 08:57:23 ---> Running in 880cf2735505 08:57:23 noop 08:57:23 Removing intermediate container 880cf2735505 08:57:23 ---> a0523188cb51 08:57:23 Successfully built a0523188cb51 08:57:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:57:23 + docker inspect -f . ci-base-image-x86_64 08:57:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:57:23 prd-ubuntu20.04-docker-8c-8g-6453 does not seem to be running inside a container 08:57:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-rfid-llrp-go_PR-198 -v /w/workspace/undry_device-rfid-llrp-go_PR-198:/w/workspace/undry_device-rfid-llrp-go_PR-198:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-198@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-198@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:57:24 $ docker top 33b3293347b2754453dda9ac871e6c0e57ab09f415e0bbb30d6e9d5503f85d46 -eo pid,comm [Pipeline] { [Pipeline] sh 08:57:24 + go version 08:57:24 go version go1.20.2 linux/amd64 [Pipeline] } 08:57:24 $ docker stop --time=1 33b3293347b2754453dda9ac871e6c0e57ab09f415e0bbb30d6e9d5503f85d46 08:57:25 $ docker rm -f --volumes 33b3293347b2754453dda9ac871e6c0e57ab09f415e0bbb30d6e9d5503f85d46 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:57:26 + docker inspect -f . ci-base-image-x86_64 08:57:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:57:26 prd-ubuntu20.04-docker-8c-8g-6453 does not seem to be running inside a container 08:57:26 $ 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-198 -v /w/workspace/undry_device-rfid-llrp-go_PR-198:/w/workspace/undry_device-rfid-llrp-go_PR-198:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-198@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-198@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 08:57:26 $ docker top 5ebfb4e20d4661dcef8901773e6c7a465e07d3f3e6fad60e59de19cffb0e5211 -eo pid,comm [Pipeline] { [Pipeline] sh 08:57:27 + git config --global --add safe.directory /w/workspace/undry_device-rfid-llrp-go_PR-198 [Pipeline] fileExists [Pipeline] sh 08:57:27 + make test 08:57:27 go test ./... -coverprofile=coverage.out ./... 08:57:32 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 08:57:42 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 08:57:42 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 08:57:46 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 3.665s coverage: 40.9% of statements 08:57:46 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.252s coverage: 51.9% of statements 08:57:46 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.008s coverage: 94.6% of statements 08:57:55 go vet ./... 08:57:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:57:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:57:57 ./bin/test-attribution-txt.sh 08:57:57 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 08:57:57 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 08:57:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:57:57 $ docker stop --time=1 5ebfb4e20d4661dcef8901773e6c7a465e07d3f3e6fad60e59de19cffb0e5211 08:58:05 $ docker rm -f --volumes 5ebfb4e20d4661dcef8901773e6c7a465e07d3f3e6fad60e59de19cffb0e5211 [Pipeline] // withDockerContainer [Pipeline] sh 08:58:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:58:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:58:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:58:07 + ls -al . 08:58:07 total 628 08:58:07 drwxrwxr-x 11 jenkins jenkins 4096 Mar 30 08:57 . 08:58:07 drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 08:56 .. 08:58:07 -rw-rw-r-- 1 jenkins jenkins 134 Mar 30 08:56 .dockerignore 08:58:07 drwxrwxr-x 8 jenkins jenkins 4096 Mar 30 08:56 .git 08:58:07 drwxrwxr-x 3 jenkins jenkins 4096 Mar 30 08:56 .github 08:58:07 -rw-rw-r-- 1 jenkins jenkins 946 Mar 30 08:56 .gitignore 08:58:07 -rw-rw-r-- 1 jenkins jenkins 41 Mar 30 08:56 .golangci.yml 08:58:07 drwxr-xr-x 3 jenkins jenkins 4096 Mar 30 08:56 .semver 08:58:07 -rw-rw-r-- 1 jenkins jenkins 10664 Mar 30 08:56 Attribution.txt 08:58:07 -rw-rw-r-- 1 jenkins jenkins 5905 Mar 30 08:56 CHANGELOG.md 08:58:07 -rw-rw-r-- 1 jenkins jenkins 1347 Mar 30 08:56 Dockerfile 08:58:07 -rw-rw-r-- 1 jenkins jenkins 677 Mar 30 08:56 GOVERNANCE.md 08:58:07 -rw-rw-r-- 1 jenkins jenkins 683 Mar 30 08:56 Jenkinsfile 08:58:07 -rw-rw-r-- 1 jenkins jenkins 11347 Mar 30 08:56 LICENSE 08:58:07 -rw-rw-r-- 1 jenkins jenkins 2053 Mar 30 08:56 Makefile 08:58:07 -rw-rw-r-- 1 jenkins jenkins 625 Mar 30 08:56 OWNERS.md 08:58:07 -rw-rw-r-- 1 jenkins jenkins 28505 Mar 30 08:56 README.md 08:58:07 -rw-rw-r-- 1 jenkins jenkins 5 Mar 30 08:56 VERSION 08:58:07 drwxrwxr-x 2 jenkins jenkins 4096 Mar 30 08:56 bin 08:58:07 drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 08:56 cmd 08:58:07 -rw-r--r-- 1 jenkins jenkins 457600 Mar 30 08:57 coverage.out 08:58:07 drwxrwxr-x 2 jenkins jenkins 4096 Mar 30 08:56 examples 08:58:07 -rw-rw-r-- 1 jenkins jenkins 3416 Mar 30 08:56 go.mod 08:58:07 -rw-rw-r-- 1 jenkins jenkins 30903 Mar 30 08:56 go.sum 08:58:07 drwxrwxr-x 2 jenkins jenkins 4096 Mar 30 08:56 images 08:58:07 drwxrwxr-x 5 jenkins jenkins 4096 Mar 30 08:56 internal 08:58:07 drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 08:56 snap 08:58:07 -rw-rw-r-- 1 jenkins jenkins 193 Mar 30 08:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:58:07 + 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=50015943f0a51a96bf649136f5afa0a7803e3235 --label arch=amd64 --label version=0.0.0 . 08:58:07 Sending build context to Docker daemon 4.204MB 08:58:07 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 08:58:07 Step 2/24 : FROM ${BASE} AS builder 08:58:07 ---> a0523188cb51 08:58:07 Step 3/24 : ARG ADD_BUILD_TAGS="" 08:58:09 ---> Running in b4ee2ebd0f5e 08:58:10 Removing intermediate container b4ee2ebd0f5e 08:58:10 ---> bdf34c6a31d8 08:58:10 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:58:11 ---> Running in 3757a3c9b1d0 08:58:13 Removing intermediate container 3757a3c9b1d0 08:58:13 ---> d6cf542c3df6 08:58:13 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 08:58:13 ---> Running in 63ffa0951b91 08:58:15 Removing intermediate container 63ffa0951b91 08:58:15 ---> 046f78fb7ca6 08:58:15 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 08:58:16 ---> Running in db95c98ed201 08:58:18 Removing intermediate container db95c98ed201 08:58:18 ---> 579f5985c421 08:58:18 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:58:19 ---> Running in 7be7e37f02ca 08:58:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 08:58:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 08:58:21 OK: 265 MiB in 53 packages 08:58:23 Removing intermediate container 7be7e37f02ca 08:58:23 ---> 8ae307c35549 08:58:23 Step 8/24 : WORKDIR /app 08:58:23 ---> Running in 0d1325a965f0 08:58:23 Removing intermediate container 0d1325a965f0 08:58:23 ---> 9c1d4cf1e793 08:58:23 Step 9/24 : COPY go.mod vendor* ./ 08:58:23 ---> bfa40ac2160e 08:58:23 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:58:23 ---> Running in 56f3199d98ee 08:58:25 Removing intermediate container 56f3199d98ee 08:58:25 ---> 8be72d67d204 08:58:25 Step 11/24 : COPY . . 08:58:25 ---> b5076a718d6e 08:58:25 Step 12/24 : RUN $MAKE 08:58:25 ---> Running in d1195a2007df 08:58:26 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 08:58:48 Removing intermediate container d1195a2007df 08:58:48 ---> e27df00718da 08:58:48 Step 13/24 : FROM alpine:3.17 08:58:48 3.17: Pulling from library/alpine 08:58:48 f56be85fc22e: Pulling fs layer 08:58:49 f56be85fc22e: Download complete 08:58:49 f56be85fc22e: Pull complete 08:58:49 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 08:58:49 Status: Downloaded newer image for alpine:3.17 08:58:49 ---> 9ed4aefc74f6 08:58:49 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 08:58:49 ---> Running in 1412741a7a43 08:58:49 Removing intermediate container 1412741a7a43 08:58:49 ---> f0e7c740a82a 08:58:49 Step 15/24 : RUN apk add --update --no-cache dumb-init 08:58:49 ---> Running in a3b259b3191e 08:58:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 08:58:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 08:58:50 (1/1) Installing dumb-init (1.2.5-r2) 08:58:50 Executing busybox-1.35.0-r29.trigger 08:58:50 OK: 7 MiB in 16 packages 08:58:51 Removing intermediate container a3b259b3191e 08:58:51 ---> 8af403c58599 08:58:51 Step 16/24 : COPY --from=builder /app/LICENSE / 08:58:51 ---> 8cd2faf70952 08:58:51 Step 17/24 : COPY --from=builder /app/Attribution.txt / 08:58:51 ---> e5ef1a8773c0 08:58:51 Step 18/24 : COPY --from=builder /app/cmd/ / 08:58:52 ---> bac1597c0550 08:58:52 Step 19/24 : EXPOSE 59989 08:58:52 ---> Running in c0009a6acf50 08:58:52 Removing intermediate container c0009a6acf50 08:58:52 ---> 59a64ceaa37f 08:58:52 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 08:58:52 ---> Running in 71d17163c7fb 08:58:52 Removing intermediate container 71d17163c7fb 08:58:52 ---> afa5012e99dc 08:58:52 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 08:58:52 ---> Running in 11e25e81514e 08:58:52 Removing intermediate container 11e25e81514e 08:58:52 ---> ae36b5cbf12f 08:58:52 Step 22/24 : LABEL arch=amd64 08:58:52 ---> Running in 2733888f5572 08:58:52 Removing intermediate container 2733888f5572 08:58:52 ---> 9025037c40e9 08:58:52 Step 23/24 : LABEL git_sha=50015943f0a51a96bf649136f5afa0a7803e3235 08:58:52 ---> Running in e67dc5d7bd74 08:58:52 Removing intermediate container e67dc5d7bd74 08:58:52 ---> cd1c0175d55c 08:58:52 Step 24/24 : LABEL version=0.0.0 08:58:52 ---> Running in 6f88f836420b 08:58:52 Removing intermediate container 6f88f836420b 08:58:52 ---> 113c425a4bd0 08:58:52 [Warning] One or more build-args [ARCH] were not consumed 08:58:52 Successfully built 113c425a4bd0 08:58:52 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 08:58:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:58:53 08:58:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:58:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:58:53 latest: Pulling from edgex-lftools-log-publisher 08:58:53 5eb5b503b376: Pulling fs layer 08:58:53 5c69ac0246d0: Pulling fs layer 08:58:53 ec43610c2a17: Pulling fs layer 08:58:53 3a2ae6a8a46f: Pulling fs layer 08:58:53 33b1e0a273af: Pulling fs layer 08:58:53 5d3b04190fa2: Pulling fs layer 08:58:53 2f39f015ded8: Pulling fs layer 08:58:53 33b1e0a273af: Waiting 08:58:53 5d3b04190fa2: Waiting 08:58:53 2f39f015ded8: Waiting 08:58:53 3a2ae6a8a46f: Waiting 08:58:53 5c69ac0246d0: Download complete 08:58:53 3a2ae6a8a46f: Verifying Checksum 08:58:53 3a2ae6a8a46f: Download complete 08:58:53 33b1e0a273af: Verifying Checksum 08:58:53 33b1e0a273af: Download complete 08:58:53 5d3b04190fa2: Verifying Checksum 08:58:53 5d3b04190fa2: Download complete 08:58:53 ec43610c2a17: Verifying Checksum 08:58:53 ec43610c2a17: Download complete 08:58:53 5eb5b503b376: Verifying Checksum 08:58:53 5eb5b503b376: Download complete 08:58:54 2f39f015ded8: Verifying Checksum 08:58:54 2f39f015ded8: Download complete 08:58:54 5eb5b503b376: Pull complete 08:58:54 5c69ac0246d0: Pull complete 08:58:55 ec43610c2a17: Pull complete 08:58:55 3a2ae6a8a46f: Pull complete 08:58:55 33b1e0a273af: Pull complete 08:58:55 5d3b04190fa2: Pull complete 08:59:00 2f39f015ded8: Pull complete 08:59:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:59:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:59:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:59:00 prd-ubuntu20.04-docker-8c-8g-6453 does not seem to be running inside a container 08:59:00 $ 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-198 -v /w/workspace/undry_device-rfid-llrp-go_PR-198:/w/workspace/undry_device-rfid-llrp-go_PR-198:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-198@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-198@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 08:59:05 $ docker top 4215ee438541db91945bc5cc8cc0804301bfe0a91f1c85044a3b0e516d7cbd8a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:59:06 ---> job-cost.sh 08:59:06 lf-activate-venv: SKIPPING 08:59:06 INFO: No Stack... 08:59:06 INFO: Retrieving Pricing Info for: v3-standard-8 08:59:07 INFO: Archiving Costs [Pipeline] sh 08:59:07 + cat /w/workspace/undry_device-rfid-llrp-go_PR-198/archives/cost.csv 08:59:07 + cut -d, -f6 [Pipeline] lock 08:59:07 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-198-4-stack-cost] 08:59:07 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-198-4-stack-cost] did not exist. Created. 08:59:07 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-198-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:59:07 + echo total: 0.2199999988079071 [Pipeline] stash 08:59:07 Stashed 1 file(s) [Pipeline] } 08:59:07 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-198-4-stack-cost] [Pipeline] // lock [Pipeline] } 08:59:07 $ docker stop --time=1 4215ee438541db91945bc5cc8cc0804301bfe0a91f1c85044a3b0e516d7cbd8a 08:59:08 $ docker rm -f --volumes 4215ee438541db91945bc5cc8cc0804301bfe0a91f1c85044a3b0e516d7cbd8a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 08:59:31 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6454 in /w/workspace/undry_device-rfid-llrp-go_PR-198 [Pipeline] { [Pipeline] ws 08:59:31 Running in /w/workspace/device-rfid-llrp-go/4 [Pipeline] { [Pipeline] checkout 08:59:31 Selected Git installation does not exist. Using Default 08:59:31 The recommended git tool is: NONE 08:59:37 using credential edgex-jenkins-ssh 08:59:37 Cloning the remote Git repository 08:59:37 Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git 08:59:37 > git init /w/workspace/device-rfid-llrp-go/4 # timeout=10 08:59:37 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 08:59:37 > git --version # timeout=10 08:59:37 > git --version # 'git version 2.25.1' 08:59:37 using GIT_SSH to set credentials SSH Credentials for GitHub 08:59:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 08:59:39 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 08:59:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 08:59:40 Merging remotes/origin/main commit 7497b34e8f43de057e951c857a8ff1edb3d4a1d1 into PR head commit 50015943f0a51a96bf649136f5afa0a7803e3235 08:59:39 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 08:59:40 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 08:59:40 using GIT_SSH to set credentials SSH Credentials for GitHub 08:59:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/198/head:refs/remotes/origin/PR-198 +refs/heads/main:refs/remotes/origin/main # timeout=10 08:59:40 > git config core.sparsecheckout # timeout=10 08:59:40 > git checkout -f 50015943f0a51a96bf649136f5afa0a7803e3235 # timeout=10 08:59:40 > git remote # timeout=10 08:59:40 > git config --get remote.origin.url # timeout=10 08:59:40 Merge succeeded, producing 50015943f0a51a96bf649136f5afa0a7803e3235 08:59:40 Checking out Revision 50015943f0a51a96bf649136f5afa0a7803e3235 (PR-198) 08:59:41 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:59:40 using GIT_SSH to set credentials SSH Credentials for GitHub 08:59:40 > git merge 7497b34e8f43de057e951c857a8ff1edb3d4a1d1 # timeout=10 08:59:40 > git rev-parse HEAD^{commit} # timeout=10 08:59:40 > git config core.sparsecheckout # timeout=10 08:59:40 > git checkout -f 50015943f0a51a96bf649136f5afa0a7803e3235 # timeout=10 08:59:42 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 08:59:42 % Total % Received % Xferd Average Speed Time Time Time Current 08:59:42 Dload Upload Total Spent Left Speed 08:59:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 204k 0 --:--:-- --:--:-- --:--:-- 204k [Pipeline] sh 08:59:43 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 08:59:43 + sudo tee /etc/docker/daemon.new 08:59:43 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 08:59:43 { 08:59:43 "registry-mirrors": [ 08:59:43 "https://nexus3.edgexfoundry.org:10001" 08:59:43 ], 08:59:43 "bip": "10.250.0.254/24", 08:59:43 "hosts": [ 08:59:43 "tcp://0.0.0.0:5555", 08:59:43 "unix:///var/run/docker.sock" 08:59:43 ], 08:59:43 "mtu": 1458, 08:59:43 "selinux-enabled": true, 08:59:43 "seccomp-profile": "/etc/docker/seccomp.json" 08:59:43 } [Pipeline] sh 08:59:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 08:59:44 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:00:02 provisioning config files... 09:00:02 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/device-rfid-llrp-go/4@tmp/config5066017647576837304tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:00:02 ---> docker-login.sh 09:00:02 nexus3.edgexfoundry.org:10001 09:00:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:00:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:00:03 Configure a credential helper to remove this warning. See 09:00:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:00:03 09:00:03 Login Succeeded 09:00:03 nexus3.edgexfoundry.org:10002 09:00:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:00:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:00:04 Configure a credential helper to remove this warning. See 09:00:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:00:04 09:00:04 Login Succeeded 09:00:04 nexus3.edgexfoundry.org:10003 09:00:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:00:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:00:04 Configure a credential helper to remove this warning. See 09:00:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:00:04 09:00:04 Login Succeeded 09:00:04 nexus3.edgexfoundry.org:10004 09:00:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:00:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:00:04 Configure a credential helper to remove this warning. See 09:00:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:00:04 09:00:04 Login Succeeded 09:00:04 docker.io 09:00:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:00:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:00:13 Configure a credential helper to remove this warning. See 09:00:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:00:13 09:00:13 Login Succeeded 09:00:13 ---> docker-login.sh ends [Pipeline] } 09:00:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:00:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:00:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:00:13 ========================================================= 09:00:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 09:00:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:00:13 + 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 . 09:00:14 Sending build context to Docker daemon 1.211MB 09:00:14 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 09:00:14 Step 2/12 : FROM ${BASE} AS builder 09:00:14 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:00:14 af6eaf76a39c: Pulling fs layer 09:00:14 55522c791124: Pulling fs layer 09:00:14 ce5c4a1c91eb: Pulling fs layer 09:00:14 169dfbe0d373: Pulling fs layer 09:00:14 e1ff8fa3b103: Pulling fs layer 09:00:14 52ebb69f0ebf: Pulling fs layer 09:00:14 5abe8eddf0d5: Pulling fs layer 09:00:14 169dfbe0d373: Waiting 09:00:14 e1ff8fa3b103: Waiting 09:00:14 52ebb69f0ebf: Waiting 09:00:14 5abe8eddf0d5: Waiting 09:00:14 55522c791124: Verifying Checksum 09:00:14 55522c791124: Download complete 09:00:14 169dfbe0d373: Download complete 09:00:14 e1ff8fa3b103: Verifying Checksum 09:00:14 e1ff8fa3b103: Download complete 09:00:14 af6eaf76a39c: Verifying Checksum 09:00:15 5abe8eddf0d5: Verifying Checksum 09:00:15 5abe8eddf0d5: Download complete 09:00:15 af6eaf76a39c: Pull complete 09:00:16 55522c791124: Pull complete 09:00:17 ce5c4a1c91eb: Download complete 09:00:17 52ebb69f0ebf: Verifying Checksum 09:00:17 52ebb69f0ebf: Download complete 09:00:27 ce5c4a1c91eb: Pull complete 09:00:27 169dfbe0d373: Pull complete 09:00:27 e1ff8fa3b103: Pull complete 09:00:35 52ebb69f0ebf: Pull complete 09:00:36 5abe8eddf0d5: Pull complete 09:00:36 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 09:00:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 09:00:36 ---> 6cb57ee374ae 09:00:36 Step 3/12 : ARG ADD_BUILD_TAGS="" 09:00:38 ---> Running in 073db66b6b3a 09:00:38 Removing intermediate container 073db66b6b3a 09:00:38 ---> a2a4ae5a27ea 09:00:38 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:00:38 ---> Running in 76431624f17b 09:00:38 Removing intermediate container 76431624f17b 09:00:38 ---> f4fcfbb978cf 09:00:38 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 09:00:38 ---> Running in 1e6ff6729d93 09:00:38 Removing intermediate container 1e6ff6729d93 09:00:38 ---> 9e542848996f 09:00:38 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 09:00:39 ---> Running in a25964d6514d 09:00:39 Removing intermediate container a25964d6514d 09:00:39 ---> c288aced1775 09:00:39 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:00:39 ---> Running in 6badb92389ab 09:00:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 09:00:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 09:00:42 OK: 263 MiB in 53 packages 09:00:42 Removing intermediate container 6badb92389ab 09:00:42 ---> ea2ee8f7e0bb 09:00:42 Step 8/12 : WORKDIR /app 09:00:42 ---> Running in 7854a4e2685a 09:00:43 Removing intermediate container 7854a4e2685a 09:00:43 ---> 6555b4e29127 09:00:43 Step 9/12 : COPY go.mod vendor* ./ 09:00:43 ---> 6d1051c6e07d 09:00:43 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:00:43 ---> Running in 36106598da25 09:02:20 Removing intermediate container 36106598da25 09:02:20 ---> c1ab111d0dc9 09:02:20 Step 11/12 : COPY . . 09:02:20 ---> f42ccf47e5ff 09:02:20 Step 12/12 : RUN $MAKE 09:02:20 ---> Running in 694dd229fe29 09:02:21 noop 09:02:22 Removing intermediate container 694dd229fe29 09:02:22 ---> 1405f6ae3b54 09:02:22 Successfully built 1405f6ae3b54 09:02:22 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:02:23 + docker inspect -f . ci-base-image-arm64 09:02:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:02:23 prd-ubuntu20.04-docker-arm64-4c-16g-6454 does not seem to be running inside a container 09:02:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rfid-llrp-go/4 -v /w/workspace/device-rfid-llrp-go/4:/w/workspace/device-rfid-llrp-go/4:rw,z -v /w/workspace/device-rfid-llrp-go/4@tmp:/w/workspace/device-rfid-llrp-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:02:24 $ docker top fb366bb58f1e8281130554018021b5b2f233dd62cc129d0cb3c4c2d78cf0caa6 -eo pid,comm [Pipeline] { [Pipeline] sh 09:02:25 + go version 09:02:25 go version go1.20.2 linux/arm64 [Pipeline] } 09:02:25 $ docker stop --time=1 fb366bb58f1e8281130554018021b5b2f233dd62cc129d0cb3c4c2d78cf0caa6 09:02:27 $ docker rm -f --volumes fb366bb58f1e8281130554018021b5b2f233dd62cc129d0cb3c4c2d78cf0caa6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:02:27 + docker inspect -f . ci-base-image-arm64 09:02:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:02:27 prd-ubuntu20.04-docker-arm64-4c-16g-6454 does not seem to be running inside a container 09:02:27 $ 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/4 -v /w/workspace/device-rfid-llrp-go/4:/w/workspace/device-rfid-llrp-go/4:rw,z -v /w/workspace/device-rfid-llrp-go/4@tmp:/w/workspace/device-rfid-llrp-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:02:28 $ docker top e80a1c01a4ff56d5780197ec3fe2ebb28c8db1288a335f14132f2aaec3fa47f9 -eo pid,comm [Pipeline] { [Pipeline] sh 09:02:29 + git config --global --add safe.directory /w/workspace/device-rfid-llrp-go/4 [Pipeline] fileExists [Pipeline] sh 09:02:30 + make test 09:02:30 go test ./... -coverprofile=coverage.out ./... 09:03:02 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 09:05:24 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 09:05:24 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 09:05:56 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 25.617s coverage: 40.9% of statements 09:05:56 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.580s coverage: 52.0% of statements 09:05:56 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.050s coverage: 95.5% of statements 09:05:56 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:05:56 go vet ./... 09:06:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:06:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:06:23 ./bin/test-attribution-txt.sh 09:06:23 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 09:06:23 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 09:06:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:06:23 $ docker stop --time=1 e80a1c01a4ff56d5780197ec3fe2ebb28c8db1288a335f14132f2aaec3fa47f9 09:06:25 $ docker rm -f --volumes e80a1c01a4ff56d5780197ec3fe2ebb28c8db1288a335f14132f2aaec3fa47f9 [Pipeline] // withDockerContainer [Pipeline] sh 09:06:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:06:26 Warning: overwriting stash ‘coverage-report’ 09:06:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:06:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:06:27 + ls -al . 09:06:27 total 624 09:06:27 drwxrwxr-x 10 jenkins jenkins 4096 Mar 30 09:02 . 09:06:27 drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 08:59 .. 09:06:27 -rw-rw-r-- 1 jenkins jenkins 134 Mar 30 08:59 .dockerignore 09:06:27 drwxrwxr-x 8 jenkins jenkins 4096 Mar 30 08:59 .git 09:06:27 drwxrwxr-x 3 jenkins jenkins 4096 Mar 30 08:59 .github 09:06:27 -rw-rw-r-- 1 jenkins jenkins 946 Mar 30 08:59 .gitignore 09:06:27 -rw-rw-r-- 1 jenkins jenkins 41 Mar 30 08:59 .golangci.yml 09:06:27 -rw-rw-r-- 1 jenkins jenkins 10664 Mar 30 08:59 Attribution.txt 09:06:27 -rw-rw-r-- 1 jenkins jenkins 5905 Mar 30 08:59 CHANGELOG.md 09:06:27 -rw-rw-r-- 1 jenkins jenkins 1347 Mar 30 08:59 Dockerfile 09:06:27 -rw-rw-r-- 1 jenkins jenkins 677 Mar 30 08:59 GOVERNANCE.md 09:06:27 -rw-rw-r-- 1 jenkins jenkins 683 Mar 30 08:59 Jenkinsfile 09:06:27 -rw-rw-r-- 1 jenkins jenkins 11347 Mar 30 08:59 LICENSE 09:06:27 -rw-rw-r-- 1 jenkins jenkins 2053 Mar 30 08:59 Makefile 09:06:27 -rw-rw-r-- 1 jenkins jenkins 625 Mar 30 08:59 OWNERS.md 09:06:27 -rw-rw-r-- 1 jenkins jenkins 28505 Mar 30 08:59 README.md 09:06:27 -rw-rw-r-- 1 jenkins jenkins 5 Mar 30 08:56 VERSION 09:06:27 drwxrwxr-x 2 jenkins jenkins 4096 Mar 30 08:59 bin 09:06:27 drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 08:59 cmd 09:06:27 -rw-r--r-- 1 jenkins jenkins 457600 Mar 30 09:05 coverage.out 09:06:27 drwxrwxr-x 2 jenkins jenkins 4096 Mar 30 08:59 examples 09:06:27 -rw-rw-r-- 1 jenkins jenkins 3416 Mar 30 08:59 go.mod 09:06:27 -rw-rw-r-- 1 jenkins jenkins 30903 Mar 30 08:59 go.sum 09:06:27 drwxrwxr-x 2 jenkins jenkins 4096 Mar 30 08:59 images 09:06:27 drwxrwxr-x 5 jenkins jenkins 4096 Mar 30 08:59 internal 09:06:27 drwxrwxr-x 4 jenkins jenkins 4096 Mar 30 08:59 snap 09:06:27 -rw-rw-r-- 1 jenkins jenkins 193 Mar 30 08:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:06:28 + 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=50015943f0a51a96bf649136f5afa0a7803e3235 --label arch=arm64 --label version=0.0.0 . 09:06:28 Sending build context to Docker daemon 1.211MB 09:06:28 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 09:06:28 Step 2/24 : FROM ${BASE} AS builder 09:06:28 ---> 1405f6ae3b54 09:06:28 Step 3/24 : ARG ADD_BUILD_TAGS="" 09:06:28 ---> Running in ccc948f5c361 09:06:28 Removing intermediate container ccc948f5c361 09:06:28 ---> c125ca04cf4b 09:06:28 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:06:28 ---> Running in 4c818cffa133 09:06:29 Removing intermediate container 4c818cffa133 09:06:29 ---> 31b7b7a99dbb 09:06:29 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 09:06:29 ---> Running in 278d296908c2 09:06:32 Removing intermediate container 278d296908c2 09:06:32 ---> 624a22b4993f 09:06:32 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 09:06:32 ---> Running in 6347205f6829 09:06:32 Removing intermediate container 6347205f6829 09:06:32 ---> 80677b52b025 09:06:32 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:06:32 ---> Running in 5ab8c2b6db7e 09:06:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 09:06:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 09:06:35 OK: 263 MiB in 53 packages 09:06:36 Removing intermediate container 5ab8c2b6db7e 09:06:36 ---> 215a57eb181a 09:06:36 Step 8/24 : WORKDIR /app 09:06:36 ---> Running in eb05ead119f6 09:06:36 Removing intermediate container eb05ead119f6 09:06:36 ---> bb1f39e72be9 09:06:36 Step 9/24 : COPY go.mod vendor* ./ 09:06:37 ---> 8b87ca51471d 09:06:37 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:06:37 ---> Running in 1251b478439f 09:06:39 Removing intermediate container 1251b478439f 09:06:39 ---> e3e178d2be1f 09:06:39 Step 11/24 : COPY . . 09:06:40 ---> b1cebe4e2105 09:06:40 Step 12/24 : RUN $MAKE 09:06:40 ---> Running in b67d1345710b 09:06:41 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 09:09:03 Removing intermediate container b67d1345710b 09:09:03 ---> 5b4b01f1e653 09:09:03 Step 13/24 : FROM alpine:3.17 09:09:03 3.17: Pulling from library/alpine 09:09:03 c41833b44d91: Pulling fs layer 09:09:03 c41833b44d91: Verifying Checksum 09:09:03 c41833b44d91: Download complete 09:09:03 c41833b44d91: Pull complete 09:09:03 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 09:09:03 Status: Downloaded newer image for alpine:3.17 09:09:03 ---> 51e60588ff2c 09:09:03 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 09:09:03 ---> Running in afc7be4f9858 09:09:03 Removing intermediate container afc7be4f9858 09:09:03 ---> e46d18503ff2 09:09:03 Step 15/24 : RUN apk add --update --no-cache dumb-init 09:09:03 ---> Running in a053e10403fb 09:09:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 09:09:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 09:09:03 (1/1) Installing dumb-init (1.2.5-r2) 09:09:03 Executing busybox-1.35.0-r29.trigger 09:09:03 OK: 8 MiB in 16 packages 09:09:03 Removing intermediate container a053e10403fb 09:09:03 ---> 1b3adebdb09d 09:09:03 Step 16/24 : COPY --from=builder /app/LICENSE / 09:09:03 ---> 51fe58137b7d 09:09:03 Step 17/24 : COPY --from=builder /app/Attribution.txt / 09:09:03 ---> 80c088482275 09:09:03 Step 18/24 : COPY --from=builder /app/cmd/ / 09:09:03 ---> c8fa6f728e11 09:09:03 Step 19/24 : EXPOSE 59989 09:09:03 ---> Running in 1aa0a0871686 09:09:03 Removing intermediate container 1aa0a0871686 09:09:03 ---> 889cfe0cbc74 09:09:03 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 09:09:03 ---> Running in 529a522723fb 09:09:03 Removing intermediate container 529a522723fb 09:09:03 ---> 9e843d41c24f 09:09:03 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 09:09:03 ---> Running in 32fd2c078bb0 09:09:03 Removing intermediate container 32fd2c078bb0 09:09:03 ---> 8a5229772375 09:09:03 Step 22/24 : LABEL arch=arm64 09:09:03 ---> Running in a52ebc158f9f 09:09:03 Removing intermediate container a52ebc158f9f 09:09:03 ---> 985d3b672101 09:09:03 Step 23/24 : LABEL git_sha=50015943f0a51a96bf649136f5afa0a7803e3235 09:09:03 ---> Running in ad61a48761d2 09:09:03 Removing intermediate container ad61a48761d2 09:09:03 ---> 3882dfc7f4a0 09:09:03 Step 24/24 : LABEL version=0.0.0 09:09:03 ---> Running in 3b8fe2c43a21 09:09:03 Removing intermediate container 3b8fe2c43a21 09:09:03 ---> 6547d38df124 09:09:03 [Warning] One or more build-args [ARCH] were not consumed 09:09:03 Successfully built 6547d38df124 09:09:03 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 09:09:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:09:03 09:09:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:09:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:09:03 arm64: Pulling from edgex-lftools-log-publisher 09:09:03 8998bd30e6a1: Pulling fs layer 09:09:03 04944245beec: Pulling fs layer 09:09:03 699f458cf7ca: Pulling fs layer 09:09:03 765212b225bb: Pulling fs layer 09:09:03 f23df028b6ca: Pulling fs layer 09:09:03 d65c8cfc05b1: Pulling fs layer 09:09:03 2437ff75d9bd: Pulling fs layer 09:09:03 f23df028b6ca: Waiting 09:09:03 d65c8cfc05b1: Waiting 09:09:03 765212b225bb: Waiting 09:09:03 2437ff75d9bd: Waiting 09:09:04 04944245beec: Verifying Checksum 09:09:04 04944245beec: Download complete 09:09:04 765212b225bb: Verifying Checksum 09:09:04 765212b225bb: Download complete 09:09:04 f23df028b6ca: Verifying Checksum 09:09:04 f23df028b6ca: Download complete 09:09:04 d65c8cfc05b1: Verifying Checksum 09:09:04 d65c8cfc05b1: Download complete 09:09:04 699f458cf7ca: Verifying Checksum 09:09:04 699f458cf7ca: Download complete 09:09:04 8998bd30e6a1: Verifying Checksum 09:09:04 8998bd30e6a1: Download complete 09:09:07 2437ff75d9bd: Verifying Checksum 09:09:07 2437ff75d9bd: Download complete 09:09:08 8998bd30e6a1: Pull complete 09:09:09 04944245beec: Pull complete 09:09:10 699f458cf7ca: Pull complete 09:09:11 765212b225bb: Pull complete 09:09:11 f23df028b6ca: Pull complete 09:09:12 d65c8cfc05b1: Pull complete 09:09:27 2437ff75d9bd: Pull complete 09:09:27 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:09:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:09:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:09:27 prd-ubuntu20.04-docker-arm64-4c-16g-6454 does not seem to be running inside a container 09:09:27 $ 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/4 -v /w/workspace/device-rfid-llrp-go/4:/w/workspace/device-rfid-llrp-go/4:rw,z -v /w/workspace/device-rfid-llrp-go/4@tmp:/w/workspace/device-rfid-llrp-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:09:29 $ docker top 2d59d45ace56d79d02fcbea6b1fa49be6e41cc1b1f185bed3e21137b1198c982 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:09:30 ---> job-cost.sh 09:09:30 lf-activate-venv: SKIPPING 09:09:30 INFO: No Stack... 09:09:31 INFO: Retrieving Pricing Info for: v3-standard-4 09:09:31 INFO: Archiving Costs [Pipeline] sh 09:09:32 + cut -d, -f6+ 09:09:32 cat /w/workspace/device-rfid-llrp-go/4/archives/cost.csv [Pipeline] lock 09:09:32 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-198-4-stack-cost] 09:09:32 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-198-4-stack-cost] did not exist. Created. 09:09:32 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-198-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:09:32 /w/workspace/device-rfid-llrp-go/4@tmp/durable-c2d4bef2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:09:33 + echo total: 0.10999999940395355 [Pipeline] stash 09:09:33 Warning: overwriting stash ‘stack-cost’ 09:09:33 Stashed 1 file(s) [Pipeline] } 09:09:33 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-198-4-stack-cost] [Pipeline] // lock [Pipeline] } 09:09:33 $ docker stop --time=1 2d59d45ace56d79d02fcbea6b1fa49be6e41cc1b1f185bed3e21137b1198c982 09:09:34 $ docker rm -f --volumes 2d59d45ace56d79d02fcbea6b1fa49be6e41cc1b1f185bed3e21137b1198c982 [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 09:09:35 provisioning config files... 09:09:35 copy managed file [device-rfid-llrp-go-codecov-token] to file:/w/workspace/undry_device-rfid-llrp-go_PR-198@tmp/config4144990544407509301tmp [Pipeline] { [Pipeline] sh 09:09:35 + set +x 09:09:35 + bash -s -- 09:09:35 + curl -s https://codecov.io/bash 09:09:35 09:09:35 _____ _ 09:09:35 / ____| | | 09:09:35 | | ___ __| | ___ ___ _____ __ 09:09:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:09:35 | |___| (_) | (_| | __/ (_| (_) \ V / 09:09:35 \_____\___/ \__,_|\___|\___\___/ \_/ 09:09:35 Bash-1.0.6 09:09:35 09:09:35 09:09:35 ==> git version 2.25.1 found 09:09:35 ==> 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 09:09:35 Release-Date: 2020-01-08 09:09:35 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:09:35 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:09:35 ==> Jenkins CI detected. 09:09:35 current dir:  /w/workspace/undry_device-rfid-llrp-go_PR-198 09:09:35 project root: . 09:09:35 --> token set from env 09:09:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:09:35 ==> Running gcov in . (disable via -X gcov) 09:09:35 ==> Python coveragepy not found 09:09:35 ==> Searching for coverage reports in: 09:09:35 + . 09:09:35 -> Found 1 reports 09:09:35 ==> Detecting git/mercurial file structure 09:09:35 ==> Reading reports 09:09:35 + ./coverage.out bytes=457600 09:09:35 ==> Appending adjustments 09:09:35 https://docs.codecov.io/docs/fixing-reports 09:09:35 + Found adjustments 09:09:35 ==> Gzipping contents 09:09:35 52K /tmp/codecov.tnUe5g.gz 09:09:35 ==> Uploading reports 09:09:35 url: https://codecov.io 09:09:35 query: branch=PR-198&commit=50015943f0a51a96bf649136f5afa0a7803e3235&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-198%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=198&job=&cmd_args= 09:09:35 -> Pinging Codecov 09:09:35 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-198&commit=50015943f0a51a96bf649136f5afa0a7803e3235&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-198%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=198&job=&cmd_args= 09:09:36 -> Uploading to 09:09:36 https://storage.googleapis.com/codecov/v4/raw/2023-03-30/581DD39554BDF9B6E22D074273EAD858/50015943f0a51a96bf649136f5afa0a7803e3235/0aa9e995-2a44-40f6-8ca0-44ba9255ba80.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230330%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230330T090935Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=337cb330c9be7fd596e9796b1393dd2aeb8435df11e5c7c99218df1594256a70 09:09:36 % Total % Received % Xferd Average Speed Time Time Time Current 09:09:36 Dload Upload Total Spent Left Speed 09:09:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 50446 0 0 100 50446 0 172k --:--:-- --:--:-- --:--:-- 171k 09:09:36 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/50015943f0a51a96bf649136f5afa0a7803e3235 [Pipeline] } 09:09:36 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 09:09:37 + [ -d /w/workspace/undry_device-rfid-llrp-go_PR-198/archives ] 09:09:37 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-198/archives 09:09:37 total 16 09:09:37 drwxr-xr-x 3 root root 4096 Mar 30 08:59 . 09:09:37 drwxrwxr-x 12 jenkins jenkins 4096 Mar 30 08:59 .. 09:09:37 drwxr-xr-x 2 root root 4096 Mar 30 08:59 cost 09:09:37 -rw-r--r-- 1 root root 91 Mar 30 08:59 cost.csv 09:09:37 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-rfid-llrp-go_PR-198/archives 09:09:37 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-198/archives 09:09:37 total 16 09:09:37 drwxr-xr-x 3 jenkins jenkins 4096 Mar 30 08:59 . 09:09:37 drwxrwxr-x 12 jenkins jenkins 4096 Mar 30 08:59 .. 09:09:37 drwxr-xr-x 2 jenkins jenkins 4096 Mar 30 08:59 cost 09:09:37 -rw-r--r-- 1 jenkins jenkins 91 Mar 30 08:59 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:09:37 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:09:38 ---> package-listing.sh 09:09:38 ++ facter osfamily 09:09:38 ++ tr '[:upper:]' '[:lower:]' 09:09:38 + OS_FAMILY=debian 09:09:38 + workspace=/w/workspace/undry_device-rfid-llrp-go_PR-198 09:09:38 + START_PACKAGES=/tmp/packages_start.txt 09:09:38 + END_PACKAGES=/tmp/packages_end.txt 09:09:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:09:38 + PACKAGES=/tmp/packages_start.txt 09:09:38 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-198 ']' 09:09:38 + PACKAGES=/tmp/packages_end.txt 09:09:38 + case "${OS_FAMILY}" in 09:09:38 + dpkg -l 09:09:38 + grep '^ii' 09:09:38 + '[' -f /tmp/packages_start.txt ']' 09:09:38 + '[' -f /tmp/packages_end.txt ']' 09:09:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:09:38 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-198 ']' 09:09:38 + mkdir -p /w/workspace/undry_device-rfid-llrp-go_PR-198/archives/ 09:09:38 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-rfid-llrp-go_PR-198/archives/ [Pipeline] echo 09:09:38 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-198/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:09:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:09:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:09:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:09:39 prd-ubuntu20.04-docker-8c-8g-6453 does not seem to be running inside a container 09:09:39 $ 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-198/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-198 -v /w/workspace/undry_device-rfid-llrp-go_PR-198:/w/workspace/undry_device-rfid-llrp-go_PR-198:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-198@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-198@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:09:39 $ docker top 52d42c0f616240e99be70ab69e393def3d21a05b1c79b363c322b5d1f467908d -eo pid,comm [Pipeline] { [Pipeline] sh 09:09:39 + touch /tmp/pre-build-complete [Pipeline] sh 09:09:40 + mkdir -p /var/log/sysstat [Pipeline] sh 09:09:40 + ls /var/log/sa-host 09:09:40 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:09:40 provisioning config files... 09:09:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-198@tmp/config5480848623148798613tmp [Pipeline] { [Pipeline] echo 09:09:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:09:40 ---> create-netrc.sh [Pipeline] } 09:09:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:09:41 ---> python-tools-install.sh [Pipeline] echo 09:09:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:09:41 ---> sudo-logs.sh 09:09:41 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:09:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:09:41 ---> job-cost.sh 09:09:41 lf-activate-venv: SKIPPING 09:09:41 DEBUG: total: 0.2199999988079071 09:09:41 INFO: Retrieving Stack Cost... 09:09:42 INFO: Retrieving Pricing Info for: v3-standard-8 09:09:42 INFO: Archiving Costs [Pipeline] echo 09:09:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:09:42 ---> logs-deploy.sh 09:09:42 lf-activate-venv: SKIPPING 09:09:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rfid-llrp-go/PR-198/4 09:09:42 INFO: archiving workspace using pattern(s): 09:09:43 Archives upload complete. 09:09:43 INFO: archiving logs to Nexus