Pull request #195 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of marcpfuller for edgexfoundry/device-rfid-llrp-go Loading trusted files from base branch main at a41d6dc477aab60bbffd9796b8b3bd1f25c661ce rather than 8fa2aeaca1a0c8254a22ad257d3cf687274d3912 Obtained Jenkinsfile from a41d6dc477aab60bbffd9796b8b3bd1f25c661ce 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-ssh12834551682083674492.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-ssh10302015207451670620.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-195/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-195/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7017082946277056416.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-ssh9735082503877777889.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-195/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-195/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2587446833829849748.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5945 in /w/workspace/undry_device-rfid-llrp-go_PR-195 [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-195 # 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/195/head:refs/remotes/origin/PR-195 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a41d6dc477aab60bbffd9796b8b3bd1f25c661ce into PR head commit 8fa2aeaca1a0c8254a22ad257d3cf687274d3912 Merge succeeded, producing 8fa2aeaca1a0c8254a22ad257d3cf687274d3912 Checking out Revision 8fa2aeaca1a0c8254a22ad257d3cf687274d3912 (PR-195) > git config core.sparsecheckout # timeout=10 > git checkout -f 8fa2aeaca1a0c8254a22ad257d3cf687274d3912 # 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 a41d6dc477aab60bbffd9796b8b3bd1f25c661ce # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8fa2aeaca1a0c8254a22ad257d3cf687274d3912 # timeout=10 Commit message: "fix: Rename toml references to yaml" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:52:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:52:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:52:46 ========================================================= 23:52:46 EdgeX Global Pipelines Version Info 23:52:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:52:47 ------------------- 23:52:47 stable info: 23:52:47 ------------------- 23:52:47 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:52:47 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 23:52:47 Message: update stable to v1.0.245 > git rev-list --no-walk d1386e6531aa580e0ecd28da2bf0b047e769367c # timeout=10 23:52:47 ------------------- 23:52:47 experimental info: 23:52:47 ------------------- 23:52:47 Commited By: **** collab-it+edgex@linuxfoundation.org 23:52:47 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 23:52:47 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:52:48 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rfid-llrp-go-settings [Pipeline] echo 23:52:48 [edgeXSetupEnvironment]: set envvar PROJECT = device-rfid-llrp-go [Pipeline] echo 23:52:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:52:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:52:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:52:48 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:52:48 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:52:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:52:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:52:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:52:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:52:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rfid-llrp [Pipeline] echo 23:52:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:52:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:52:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:52:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:52:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:52:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:52:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:52:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:52:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:52:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:52:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:52:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:52:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:52:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:52:48 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:52:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-195 [Pipeline] echo 23:52:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-195 [Pipeline] echo 23:52:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-195 [Pipeline] echo 23:52:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8fa2aeaca1a0c8254a22ad257d3cf687274d3912 [Pipeline] echo 23:52:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8fa2aea [Pipeline] echo 23:52:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:52:48 provisioning config files... 23:52:48 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-195@tmp/config16028063328062309079tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:52:48 ---> docker-login.sh 23:52:48 nexus3.edgexfoundry.org:10001 23:52:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:49 Configure a credential helper to remove this warning. See 23:52:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:49 23:52:49 Login Succeeded 23:52:49 nexus3.edgexfoundry.org:10002 23:52:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:49 Configure a credential helper to remove this warning. See 23:52:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:49 23:52:49 Login Succeeded 23:52:49 nexus3.edgexfoundry.org:10003 23:52:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:49 Configure a credential helper to remove this warning. See 23:52:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:49 23:52:49 Login Succeeded 23:52:49 nexus3.edgexfoundry.org:10004 23:52:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:49 Configure a credential helper to remove this warning. See 23:52:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:49 23:52:49 Login Succeeded 23:52:49 docker.io 23:52:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:49 Configure a credential helper to remove this warning. See 23:52:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:49 23:52:49 Login Succeeded 23:52:49 ---> docker-login.sh ends [Pipeline] } 23:52:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:52:50 + git rev-list -1 --merges 8fa2aeaca1a0c8254a22ad257d3cf687274d3912~1..8fa2aeaca1a0c8254a22ad257d3cf687274d3912 [Pipeline] echo 23:52:50 -----------> git rev-list -1 --merges 8fa2aeaca1a0c8254a22ad257d3cf687274d3912~1..8fa2aeaca1a0c8254a22ad257d3cf687274d3912 8fa2aeaca1a0c8254a22ad257d3cf687274d3912 [false] [Pipeline] sh 23:52:50 + git log --format=format:%s -1 8fa2aeaca1a0c8254a22ad257d3cf687274d3912 [Pipeline] echo 23:52:50 ========================================================= 23:52:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:52:50 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:52:50 + git log --format=format:%s -1 8fa2aeaca1a0c8254a22ad257d3cf687274d3912 [Pipeline] echo 23:52:50 [semverPrep] GIT_COMMIT: 8fa2aeaca1a0c8254a22ad257d3cf687274d3912, Commit Message: fix: Rename toml references to yaml [Pipeline] echo 23:52:50 [semverPrep] This is not a build commit. [Pipeline] sh 23:52:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:52:51 + grep -v github /etc/ssh/ssh_known_hosts 23:52:51 + [ -e /tmp/ssh_known_hosts ] 23:52:51 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:52:51 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:52:51 + sudo tee -a /etc/ssh/ssh_known_hosts 23:52:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:52:51 23:52:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:52:52 0.1.4: Pulling from edgex-devops/py-git-semver 23:52:52 b85a868b505f: Pulling fs layer 23:52:52 e2be974225ed: Pulling fs layer 23:52:52 339a4e72a1f5: Pulling fs layer 23:52:52 988bab9f4d93: Pulling fs layer 23:52:52 1469e6f7b9e6: Pulling fs layer 23:52:52 eaf3925da568: Pulling fs layer 23:52:52 bab4dde63d76: Pulling fs layer 23:52:52 bde34c3a00c8: Pulling fs layer 23:52:52 b352a97aabf1: Pulling fs layer 23:52:52 4872d77fe225: Pulling fs layer 23:52:52 5851b861e8e6: Pulling fs layer 23:52:52 1469e6f7b9e6: Waiting 23:52:52 988bab9f4d93: Waiting 23:52:52 b352a97aabf1: Waiting 23:52:52 4872d77fe225: Waiting 23:52:52 eaf3925da568: Waiting 23:52:52 bde34c3a00c8: Waiting 23:52:52 5851b861e8e6: Waiting 23:52:52 bab4dde63d76: Waiting 23:52:52 e2be974225ed: Verifying Checksum 23:52:52 e2be974225ed: Download complete 23:52:52 988bab9f4d93: Verifying Checksum 23:52:52 988bab9f4d93: Download complete 23:52:52 1469e6f7b9e6: Verifying Checksum 23:52:52 1469e6f7b9e6: Download complete 23:52:52 339a4e72a1f5: Verifying Checksum 23:52:52 339a4e72a1f5: Download complete 23:52:52 eaf3925da568: Download complete 23:52:52 bde34c3a00c8: Download complete 23:52:52 b352a97aabf1: Download complete 23:52:52 4872d77fe225: Download complete 23:52:52 5851b861e8e6: Download complete 23:52:52 b85a868b505f: Verifying Checksum 23:52:52 b85a868b505f: Download complete 23:52:52 bab4dde63d76: Verifying Checksum 23:52:52 bab4dde63d76: Download complete 23:52:53 b85a868b505f: Pull complete 23:52:53 e2be974225ed: Pull complete 23:52:54 339a4e72a1f5: Pull complete 23:52:54 988bab9f4d93: Pull complete 23:52:54 1469e6f7b9e6: Pull complete 23:52:54 eaf3925da568: Pull complete 23:52:55 bab4dde63d76: Pull complete 23:52:56 bde34c3a00c8: Pull complete 23:52:56 b352a97aabf1: Pull complete 23:52:56 4872d77fe225: Pull complete 23:52:56 5851b861e8e6: Pull complete 23:52:56 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:52:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:52:56 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:52:56 prd-ubuntu20.04-docker-8c-8g-5945 does not seem to be running inside a container 23:52:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-rfid-llrp-go_PR-195 -v /w/workspace/undry_device-rfid-llrp-go_PR-195:/w/workspace/undry_device-rfid-llrp-go_PR-195:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-195@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-195@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:52:59 $ docker top d243621cd1a73af1ecb7fb4f5312770016926985b66bb6502e04159d2e7aeecb -eo pid,comm 23:52:59 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). 23:52:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:52:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:52:59 [ssh-agent] Looking for ssh-agent implementation... 23:52:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:52:59 $ docker exec d243621cd1a73af1ecb7fb4f5312770016926985b66bb6502e04159d2e7aeecb ssh-agent 23:52:59 SSH_AUTH_SOCK=/tmp/ssh-aE6efidsXFJJ/agent.32 23:52:59 SSH_AGENT_PID=38 23:52:59 Running ssh-add (command line suppressed) 23:52:59 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-195@tmp/private_key_602274724089601003.key (/w/workspace/undry_device-rfid-llrp-go_PR-195@tmp/private_key_602274724089601003.key) 23:52:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:53:00 + git tag --points-at HEAD [Pipeline] } 23:53:00 $ docker exec --env ******** --env ******** d243621cd1a73af1ecb7fb4f5312770016926985b66bb6502e04159d2e7aeecb ssh-agent -k 23:53:00 unset SSH_AUTH_SOCK; 23:53:00 unset SSH_AGENT_PID; 23:53:00 echo Agent pid 38 killed; 23:53:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:53:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:53:00 [ssh-agent] Looking for ssh-agent implementation... 23:53:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:53:00 $ docker exec d243621cd1a73af1ecb7fb4f5312770016926985b66bb6502e04159d2e7aeecb ssh-agent 23:53:00 SSH_AUTH_SOCK=/tmp/ssh-6UGcxA0xPwOs/agent.70 23:53:00 SSH_AGENT_PID=76 23:53:00 Running ssh-add (command line suppressed) 23:53:00 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-195@tmp/private_key_10899482187651019634.key (/w/workspace/undry_device-rfid-llrp-go_PR-195@tmp/private_key_10899482187651019634.key) 23:53:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:53:01 + git semver init 23:53:01 2023-03-27 23:53:01,265 [run_init] DEBUG init version:0.0.0 force:False 23:53:01 2023-03-27 23:53:01,265 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-rfid-llrp-go_PR-195/.semver 23:53:01 2023-03-27 23:53:01,266 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rfid-llrp-go.git /w/workspace/undry_device-rfid-llrp-go_PR-195/.semver 23:53:01 2023-03-27 23:53:01,266 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rfid-llrp-go.git', '/w/workspace/undry_device-rfid-llrp-go_PR-195/.semver'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-195, universal_newlines=False, shell=None, istream=None) 23:53:02 2023-03-27 23:53:02,025 [append_file] DEBUG append to file:/w/workspace/undry_device-rfid-llrp-go_PR-195/.git/info/exclude 23:53:02 2023-03-27 23:53:02,025 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-rfid-llrp-go_PR-195/.semver/PR-195 with force:False 23:53:02 2023-03-27 23:53:02,025 [write_file] DEBUG write to file:/w/workspace/undry_device-rfid-llrp-go_PR-195/.semver/PR-195 23:53:02 2023-03-27 23:53:02,030 [execute] INFO git cat-file --batch-check 23:53:02 2023-03-27 23:53:02,030 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-195/.semver, universal_newlines=False, shell=None, istream=) 23:53:02 2023-03-27 23:53:02,036 [execute] INFO git cat-file --batch 23:53:02 2023-03-27 23:53:02,037 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-195/.semver, universal_newlines=False, shell=None, istream=) 23:53:02 2023-03-27 23:53:02,041 [read_version] DEBUG read version from /w/workspace/undry_device-rfid-llrp-go_PR-195/.semver/PR-195 23:53:02 0.0.0 [Pipeline] } 23:53:02 $ docker exec --env ******** --env ******** d243621cd1a73af1ecb7fb4f5312770016926985b66bb6502e04159d2e7aeecb ssh-agent -k 23:53:02 unset SSH_AUTH_SOCK; 23:53:02 unset SSH_AGENT_PID; 23:53:02 echo Agent pid 76 killed; 23:53:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:53:02 + git semver [Pipeline] } 23:53:02 $ docker stop --time=1 d243621cd1a73af1ecb7fb4f5312770016926985b66bb6502e04159d2e7aeecb 23:53:04 $ docker rm -f --volumes d243621cd1a73af1ecb7fb4f5312770016926985b66bb6502e04159d2e7aeecb [Pipeline] // withDockerContainer [Pipeline] sh 23:53:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:53:04 Stashed 1 file(s) [Pipeline] echo 23:53:04 [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 23:53:04 provisioning config files... 23:53:04 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-195@tmp/config7143099709210910644tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:53:05 ---> docker-login.sh 23:53:05 nexus3.edgexfoundry.org:10001 23:53:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:53:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:53:05 Configure a credential helper to remove this warning. See 23:53:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:53:05 23:53:05 Login Succeeded 23:53:05 nexus3.edgexfoundry.org:10002 23:53:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:53:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:53:05 Configure a credential helper to remove this warning. See 23:53:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:53:05 23:53:05 Login Succeeded 23:53:05 nexus3.edgexfoundry.org:10003 23:53:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:53:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:53:05 Configure a credential helper to remove this warning. See 23:53:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:53:05 23:53:05 Login Succeeded 23:53:05 nexus3.edgexfoundry.org:10004 23:53:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:53:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:53:05 Configure a credential helper to remove this warning. See 23:53:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:53:05 23:53:05 Login Succeeded 23:53:05 docker.io 23:53:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:53:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:53:05 Configure a credential helper to remove this warning. See 23:53:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:53:05 23:53:05 Login Succeeded 23:53:05 ---> docker-login.sh ends [Pipeline] } 23:53:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:53:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:53:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:53:05 ========================================================= 23:53:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:53:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:06 + 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 . 23:53:06 Sending build context to Docker daemon 4.185MB 23:53:06 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:53:06 Step 2/12 : FROM ${BASE} AS builder 23:53:06 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:53:06 63b65145d645: Pulling fs layer 23:53:06 a2d21d5440eb: Pulling fs layer 23:53:06 935e6c44a52c: Pulling fs layer 23:53:06 94cc34f8dd06: Pulling fs layer 23:53:06 30dea6a524f1: Pulling fs layer 23:53:06 a2aff8979fd8: Pulling fs layer 23:53:06 6808be2612f2: Pulling fs layer 23:53:06 f25807f1079a: Pulling fs layer 23:53:06 a2aff8979fd8: Waiting 23:53:06 6808be2612f2: Waiting 23:53:06 94cc34f8dd06: Waiting 23:53:06 30dea6a524f1: Waiting 23:53:06 a2d21d5440eb: Download complete 23:53:06 94cc34f8dd06: Verifying Checksum 23:53:06 94cc34f8dd06: Download complete 23:53:06 30dea6a524f1: Download complete 23:53:06 63b65145d645: Verifying Checksum 23:53:06 63b65145d645: Download complete 23:53:06 a2aff8979fd8: Verifying Checksum 23:53:06 a2aff8979fd8: Download complete 23:53:06 63b65145d645: Pull complete 23:53:06 a2d21d5440eb: Pull complete 23:53:06 f25807f1079a: Verifying Checksum 23:53:06 935e6c44a52c: Download complete 23:53:07 6808be2612f2: Verifying Checksum 23:53:07 6808be2612f2: Download complete 23:53:10 935e6c44a52c: Pull complete 23:53:10 94cc34f8dd06: Pull complete 23:53:10 30dea6a524f1: Pull complete 23:53:10 a2aff8979fd8: Pull complete 23:53:13 6808be2612f2: Pull complete 23:53:13 f25807f1079a: Pull complete 23:53:13 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 23:53:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:53:13 ---> 3b553350e43f 23:53:13 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:53:18 ---> Running in 017bef074ca5 23:53:18 Removing intermediate container 017bef074ca5 23:53:18 ---> be57f44f8eee 23:53:18 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:53:18 ---> Running in e4f87d4728dd 23:53:18 Removing intermediate container e4f87d4728dd 23:53:18 ---> 42dd235659fb 23:53:18 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 23:53:18 ---> Running in 8a35de4daff2 23:53:19 Removing intermediate container 8a35de4daff2 23:53:19 ---> 2e33f0652910 23:53:19 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:53:19 ---> Running in 0d5c2819c6bd 23:53:19 Removing intermediate container 0d5c2819c6bd 23:53:19 ---> a4afd3ff3861 23:53:19 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:53:19 ---> Running in 723865cb7c1c 23:53:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:53:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:53:19 Still waiting to schedule task 23:53:19 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 23:53:19 OK: 265 MiB in 53 packages 23:53:20 Removing intermediate container 723865cb7c1c 23:53:20 ---> c810fc764766 23:53:20 Step 8/12 : WORKDIR /app 23:53:20 ---> Running in 119ca7786782 23:53:20 Removing intermediate container 119ca7786782 23:53:20 ---> f3ee8bd43cbb 23:53:20 Step 9/12 : COPY go.mod vendor* ./ 23:53:20 ---> 20e4bb6b3590 23:53:20 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:53:20 ---> Running in 85989fe2ae6a 23:54:08 Removing intermediate container 85989fe2ae6a 23:54:08 ---> 5ae3a3ac973b 23:54:08 Step 11/12 : COPY . . 23:54:08 ---> b5fcd7bebc09 23:54:08 Step 12/12 : RUN $MAKE 23:54:08 ---> Running in e2911e099d90 23:54:08 noop 23:54:08 Removing intermediate container e2911e099d90 23:54:08 ---> 0f35be9a319c 23:54:08 Successfully built 0f35be9a319c 23:54:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:54:08 + docker inspect -f . ci-base-image-x86_64 23:54:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:54:08 prd-ubuntu20.04-docker-8c-8g-5945 does not seem to be running inside a container 23:54:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-rfid-llrp-go_PR-195 -v /w/workspace/undry_device-rfid-llrp-go_PR-195:/w/workspace/undry_device-rfid-llrp-go_PR-195:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-195@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-195@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:54:09 $ docker top 6dd05b207c26a3ae960f2c17ae64632a88650f92cd0455c797e8bb34e2e57389 -eo pid,comm [Pipeline] { [Pipeline] sh 23:54:09 + go version 23:54:09 go version go1.20.2 linux/amd64 [Pipeline] } 23:54:09 $ docker stop --time=1 6dd05b207c26a3ae960f2c17ae64632a88650f92cd0455c797e8bb34e2e57389 23:54:10 $ docker rm -f --volumes 6dd05b207c26a3ae960f2c17ae64632a88650f92cd0455c797e8bb34e2e57389 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:54:11 + docker inspect -f . ci-base-image-x86_64 23:54:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:54:11 prd-ubuntu20.04-docker-8c-8g-5945 does not seem to be running inside a container 23:54:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-rfid-llrp-go_PR-195 -v /w/workspace/undry_device-rfid-llrp-go_PR-195:/w/workspace/undry_device-rfid-llrp-go_PR-195:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-195@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-195@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:54:11 $ docker top 549db0080d1fdff27866769179aacfaa62a900fec3dbe14b0c49c87ef94c1bfd -eo pid,comm [Pipeline] { [Pipeline] sh 23:54:11 + git config --global --add safe.directory /w/workspace/undry_device-rfid-llrp-go_PR-195 [Pipeline] fileExists [Pipeline] sh 23:54:12 + make test 23:54:12 go test ./... -coverprofile=coverage.out ./... 23:54:16 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 23:54:26 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 23:54:26 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 23:54:29 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 3.709s coverage: 40.9% of statements 23:54:29 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.242s coverage: 51.9% of statements 23:54:29 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.007s coverage: 96.4% of statements 23:54:37 go vet ./... 23:54:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:54:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:54:40 ./bin/test-attribution-txt.sh 23:54:40 An attribution for github.com/pelletier/go-toml is missing from Attribution.txt, please add 23:54:40 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 23:54:40 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 23:54:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:54:40 $ docker stop --time=1 549db0080d1fdff27866769179aacfaa62a900fec3dbe14b0c49c87ef94c1bfd 23:54:45 $ docker rm -f --volumes 549db0080d1fdff27866769179aacfaa62a900fec3dbe14b0c49c87ef94c1bfd [Pipeline] // withDockerContainer [Pipeline] sh 23:54:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:54:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:54:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:54:47 + ls -al . 23:54:47 total 628 23:54:47 drwxrwxr-x 11 jenkins jenkins 4096 Mar 27 23:54 . 23:54:47 drwxrwxr-x 4 jenkins jenkins 4096 Mar 27 23:52 .. 23:54:47 -rw-rw-r-- 1 jenkins jenkins 134 Mar 27 23:52 .dockerignore 23:54:47 drwxrwxr-x 8 jenkins jenkins 4096 Mar 27 23:53 .git 23:54:47 drwxrwxr-x 3 jenkins jenkins 4096 Mar 27 23:52 .github 23:54:47 -rw-rw-r-- 1 jenkins jenkins 946 Mar 27 23:52 .gitignore 23:54:47 -rw-rw-r-- 1 jenkins jenkins 41 Mar 27 23:52 .golangci.yml 23:54:47 drwxr-xr-x 3 jenkins jenkins 4096 Mar 27 23:53 .semver 23:54:47 -rw-rw-r-- 1 jenkins jenkins 10664 Mar 27 23:52 Attribution.txt 23:54:47 -rw-rw-r-- 1 jenkins jenkins 5905 Mar 27 23:52 CHANGELOG.md 23:54:47 -rw-rw-r-- 1 jenkins jenkins 1347 Mar 27 23:52 Dockerfile 23:54:47 -rw-rw-r-- 1 jenkins jenkins 677 Mar 27 23:52 GOVERNANCE.md 23:54:47 -rw-rw-r-- 1 jenkins jenkins 683 Mar 27 23:52 Jenkinsfile 23:54:47 -rw-rw-r-- 1 jenkins jenkins 11347 Mar 27 23:52 LICENSE 23:54:47 -rw-rw-r-- 1 jenkins jenkins 2053 Mar 27 23:52 Makefile 23:54:47 -rw-rw-r-- 1 jenkins jenkins 625 Mar 27 23:52 OWNERS.md 23:54:47 -rw-rw-r-- 1 jenkins jenkins 28505 Mar 27 23:52 README.md 23:54:47 -rw-rw-r-- 1 jenkins jenkins 5 Mar 27 23:53 VERSION 23:54:47 drwxrwxr-x 2 jenkins jenkins 4096 Mar 27 23:52 bin 23:54:47 drwxrwxr-x 4 jenkins jenkins 4096 Mar 27 23:52 cmd 23:54:47 -rw-r--r-- 1 jenkins jenkins 457600 Mar 27 23:54 coverage.out 23:54:47 drwxrwxr-x 2 jenkins jenkins 4096 Mar 27 23:52 examples 23:54:47 -rw-rw-r-- 1 jenkins jenkins 3464 Mar 27 23:52 go.mod 23:54:47 -rw-rw-r-- 1 jenkins jenkins 31138 Mar 27 23:52 go.sum 23:54:47 drwxrwxr-x 2 jenkins jenkins 4096 Mar 27 23:52 images 23:54:47 drwxrwxr-x 5 jenkins jenkins 4096 Mar 27 23:52 internal 23:54:47 drwxrwxr-x 4 jenkins jenkins 4096 Mar 27 23:52 snap 23:54:47 -rw-rw-r-- 1 jenkins jenkins 193 Mar 27 23:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:54:47 + 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=8fa2aeaca1a0c8254a22ad257d3cf687274d3912 --label arch=amd64 --label version=0.0.0 . 23:54:47 Sending build context to Docker daemon 4.185MB 23:54:47 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 23:54:47 Step 2/24 : FROM ${BASE} AS builder 23:54:47 ---> 0f35be9a319c 23:54:47 Step 3/24 : ARG ADD_BUILD_TAGS="" 23:54:48 ---> Running in 6e4f69cc166d 23:54:48 Removing intermediate container 6e4f69cc166d 23:54:48 ---> edc6e7823b91 23:54:48 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:54:48 ---> Running in 8dce0841c1f7 23:54:49 Removing intermediate container 8dce0841c1f7 23:54:49 ---> ce41667db862 23:54:49 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 23:54:49 ---> Running in 99c0a288a85c 23:54:49 Removing intermediate container 99c0a288a85c 23:54:49 ---> 2c3e0b588f3f 23:54:49 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 23:54:50 ---> Running in 9bdad402a6c4 23:54:50 Removing intermediate container 9bdad402a6c4 23:54:50 ---> 330243e19159 23:54:50 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:54:50 ---> Running in 6ad476bccae3 23:54:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:54:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:54:51 OK: 265 MiB in 53 packages 23:54:51 Removing intermediate container 6ad476bccae3 23:54:51 ---> bd2a64d0862d 23:54:51 Step 8/24 : WORKDIR /app 23:54:52 ---> Running in af167cacb91b 23:54:52 Removing intermediate container af167cacb91b 23:54:52 ---> 46d4a0e97eb1 23:54:52 Step 9/24 : COPY go.mod vendor* ./ 23:54:52 ---> 1775c0721b3a 23:54:52 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:54:52 ---> Running in 8cf62da1cdc0 23:54:53 Removing intermediate container 8cf62da1cdc0 23:54:53 ---> d87f31956bc7 23:54:53 Step 11/24 : COPY . . 23:54:53 ---> 8434ab62a68c 23:54:53 Step 12/24 : RUN $MAKE 23:54:53 ---> Running in 4680ee90da3a 23:54:53 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 23:54:59 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5946 in /w/workspace/undry_device-rfid-llrp-go_PR-195 [Pipeline] { [Pipeline] ws 23:54:59 Running in /w/workspace/device-rfid-llrp-go/2 [Pipeline] { [Pipeline] checkout 23:54:59 Selected Git installation does not exist. Using Default 23:54:59 The recommended git tool is: NONE 23:55:04 using credential edgex-jenkins-ssh 23:55:04 Cloning the remote Git repository 23:55:04 Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git 23:55:05 > git init /w/workspace/device-rfid-llrp-go/2 # timeout=10 23:55:05 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 23:55:05 > git --version # timeout=10 23:55:05 > git --version # 'git version 2.25.1' 23:55:05 using GIT_SSH to set credentials SSH Credentials for GitHub 23:55:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:55:08 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 23:55:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:55:09 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 23:55:09 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 23:55:09 using GIT_SSH to set credentials SSH Credentials for GitHub 23:55:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/195/head:refs/remotes/origin/PR-195 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:55:09 Merging remotes/origin/main commit a41d6dc477aab60bbffd9796b8b3bd1f25c661ce into PR head commit 8fa2aeaca1a0c8254a22ad257d3cf687274d3912 23:55:10 Merge succeeded, producing 8fa2aeaca1a0c8254a22ad257d3cf687274d3912 23:55:10 Checking out Revision 8fa2aeaca1a0c8254a22ad257d3cf687274d3912 (PR-195) 23:55:09 > git config core.sparsecheckout # timeout=10 23:55:09 > git checkout -f 8fa2aeaca1a0c8254a22ad257d3cf687274d3912 # timeout=10 23:55:09 > git remote # timeout=10 23:55:09 > git config --get remote.origin.url # timeout=10 23:55:09 using GIT_SSH to set credentials SSH Credentials for GitHub 23:55:09 > git merge a41d6dc477aab60bbffd9796b8b3bd1f25c661ce # timeout=10 23:55:10 > git rev-parse HEAD^{commit} # timeout=10 23:55:10 > git config core.sparsecheckout # timeout=10 23:55:10 > git checkout -f 8fa2aeaca1a0c8254a22ad257d3cf687274d3912 # timeout=10 23:55:13 Commit message: "fix: Rename toml references to yaml" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:55:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:55:14 % Total % Received % Xferd Average Speed Time Time Time Current 23:55:14 Dload Upload Total Spent Left Speed 23:55:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95872 0 --:--:-- --:--:-- --:--:-- 95872 [Pipeline] sh 23:55:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:55:15 + sudo tee /etc/docker/daemon.new 23:55:15 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:55:15 { 23:55:15 "registry-mirrors": [ 23:55:15 "https://nexus3.edgexfoundry.org:10001" 23:55:15 ], 23:55:15 "bip": "10.250.0.254/24", 23:55:15 "hosts": [ 23:55:15 "tcp://0.0.0.0:5555", 23:55:15 "unix:///var/run/docker.sock" 23:55:15 ], 23:55:15 "mtu": 1458, 23:55:15 "selinux-enabled": true, 23:55:15 "seccomp-profile": "/etc/docker/seccomp.json" 23:55:15 } [Pipeline] sh 23:55:15 Removing intermediate container 4680ee90da3a 23:55:15 ---> d9a2d4a57ac4 23:55:15 Step 13/24 : FROM alpine:3.17 23:55:15 3.17: Pulling from library/alpine 23:55:15 63b65145d645: Already exists 23:55:15 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 23:55:15 Status: Downloaded newer image for alpine:3.17 23:55:15 ---> b2aa39c304c2 23:55:15 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 23:55:15 ---> Running in 465980f7a741 23:55:15 Removing intermediate container 465980f7a741 23:55:15 ---> d7979e60e86c 23:55:15 Step 15/24 : RUN apk add --update --no-cache dumb-init 23:55:15 ---> Running in 05b8b402c541 23:55:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:55:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:55:15 (1/1) Installing dumb-init (1.2.5-r2) 23:55:15 Executing busybox-1.35.0-r29.trigger 23:55:15 OK: 7 MiB in 16 packages 23:55:15 Removing intermediate container 05b8b402c541 23:55:15 ---> 6897adce9cc8 23:55:15 Step 16/24 : COPY --from=builder /app/LICENSE / 23:55:15 ---> 827406497213 23:55:15 Step 17/24 : COPY --from=builder /app/Attribution.txt / 23:55:15 ---> 5f42e54f14c8 23:55:15 Step 18/24 : COPY --from=builder /app/cmd/ / 23:55:15 ---> 714bdcfcff0f 23:55:15 Step 19/24 : EXPOSE 59989 23:55:15 ---> Running in 780373a8ad3d 23:55:15 Removing intermediate container 780373a8ad3d 23:55:15 ---> 3ad89980bd9a 23:55:15 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 23:55:15 ---> Running in b9fa525d9e74 23:55:15 Removing intermediate container b9fa525d9e74 23:55:15 ---> 4f70f20f93ff 23:55:15 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 23:55:15 ---> Running in 79e7b74d9c49 23:55:15 Removing intermediate container 79e7b74d9c49 23:55:15 ---> e6702c988d01 23:55:15 Step 22/24 : LABEL arch=amd64 23:55:15 ---> Running in cb038b150181 23:55:15 Removing intermediate container cb038b150181 23:55:15 ---> 136119f58452 23:55:15 Step 23/24 : LABEL git_sha=8fa2aeaca1a0c8254a22ad257d3cf687274d3912 23:55:15 ---> Running in 733c48247f0e 23:55:15 Removing intermediate container 733c48247f0e 23:55:15 ---> f8b368e98c22 23:55:15 Step 24/24 : LABEL version=0.0.0 23:55:15 ---> Running in 7b49052b1e65 23:55:15 Removing intermediate container 7b49052b1e65 23:55:15 ---> 1749320efe15 23:55:15 [Warning] One or more build-args [ARCH] were not consumed 23:55:15 Successfully built 1749320efe15 23:55:15 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] } 23:55:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:55:16 + sudo service docker restart 23:55:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:55:16 23:55:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:55:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:55:16 latest: Pulling from edgex-lftools-log-publisher 23:55:16 5eb5b503b376: Pulling fs layer 23:55:16 5c69ac0246d0: Pulling fs layer 23:55:16 ec43610c2a17: Pulling fs layer 23:55:16 3a2ae6a8a46f: Pulling fs layer 23:55:16 33b1e0a273af: Pulling fs layer 23:55:16 5d3b04190fa2: Pulling fs layer 23:55:16 2f39f015ded8: Pulling fs layer 23:55:16 33b1e0a273af: Waiting 23:55:16 5d3b04190fa2: Waiting 23:55:16 3a2ae6a8a46f: Waiting 23:55:16 5c69ac0246d0: Download complete 23:55:16 3a2ae6a8a46f: Download complete 23:55:16 33b1e0a273af: Verifying Checksum 23:55:16 33b1e0a273af: Download complete 23:55:16 ec43610c2a17: Verifying Checksum 23:55:16 ec43610c2a17: Download complete 23:55:16 5d3b04190fa2: Verifying Checksum 23:55:16 5d3b04190fa2: Download complete 23:55:16 5eb5b503b376: Verifying Checksum 23:55:16 5eb5b503b376: Download complete 23:55:17 2f39f015ded8: Download complete 23:55:17 5eb5b503b376: Pull complete 23:55:17 5c69ac0246d0: Pull complete 23:55:18 ec43610c2a17: Pull complete 23:55:18 3a2ae6a8a46f: Pull complete 23:55:18 33b1e0a273af: Pull complete 23:55:18 5d3b04190fa2: Pull complete 23:55:22 2f39f015ded8: Pull complete 23:55:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:55:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:55:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:55:23 prd-ubuntu20.04-docker-8c-8g-5945 does not seem to be running inside a container 23:55:23 $ 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-195 -v /w/workspace/undry_device-rfid-llrp-go_PR-195:/w/workspace/undry_device-rfid-llrp-go_PR-195:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-195@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-195@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:55:26 $ docker top 7937fc6dc2bf8beaf8e89e504a60afefb7ab0f43dee56092f5c2013238832e86 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:55:26 ---> job-cost.sh 23:55:26 lf-activate-venv: SKIPPING 23:55:26 INFO: No Stack... 23:55:27 INFO: Retrieving Pricing Info for: v3-standard-8 23:55:27 INFO: Archiving Costs [Pipeline] sh 23:55:27 + + cat /w/workspace/undry_device-rfid-llrp-go_PR-195/archives/cost.csv 23:55:27 cut -d, -f6 [Pipeline] lock 23:55:27 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-195-2-stack-cost] 23:55:27 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-195-2-stack-cost] did not exist. Created. 23:55:27 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-195-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:55:28 + echo total: 0.2199999988079071 [Pipeline] stash 23:55:28 Stashed 1 file(s) [Pipeline] } 23:55:28 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-195-2-stack-cost] [Pipeline] // lock [Pipeline] } 23:55:28 $ docker stop --time=1 7937fc6dc2bf8beaf8e89e504a60afefb7ab0f43dee56092f5c2013238832e86 23:55:29 $ docker rm -f --volumes 7937fc6dc2bf8beaf8e89e504a60afefb7ab0f43dee56092f5c2013238832e86 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:55:34 provisioning config files... 23:55:34 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/device-rfid-llrp-go/2@tmp/config1775111008142822619tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:55:34 ---> docker-login.sh 23:55:34 nexus3.edgexfoundry.org:10001 23:55:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:35 Configure a credential helper to remove this warning. See 23:55:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:35 23:55:35 Login Succeeded 23:55:35 nexus3.edgexfoundry.org:10002 23:55:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:35 Configure a credential helper to remove this warning. See 23:55:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:35 23:55:35 Login Succeeded 23:55:35 nexus3.edgexfoundry.org:10003 23:55:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:36 Configure a credential helper to remove this warning. See 23:55:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:36 23:55:36 Login Succeeded 23:55:36 nexus3.edgexfoundry.org:10004 23:55:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:36 Configure a credential helper to remove this warning. See 23:55:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:36 23:55:36 Login Succeeded 23:55:36 docker.io 23:55:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:37 Configure a credential helper to remove this warning. See 23:55:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:37 23:55:37 Login Succeeded 23:55:37 ---> docker-login.sh ends [Pipeline] } 23:55:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:55:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:55:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:55:37 ========================================================= 23:55:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:55:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:55:37 + 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 . 23:55:37 Sending build context to Docker daemon 1.211MB 23:55:37 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:55:37 Step 2/12 : FROM ${BASE} AS builder 23:55:38 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:55:38 af6eaf76a39c: Pulling fs layer 23:55:38 55522c791124: Pulling fs layer 23:55:38 ce5c4a1c91eb: Pulling fs layer 23:55:38 169dfbe0d373: Pulling fs layer 23:55:38 e1ff8fa3b103: Pulling fs layer 23:55:38 52ebb69f0ebf: Pulling fs layer 23:55:38 5abe8eddf0d5: Pulling fs layer 23:55:38 169dfbe0d373: Waiting 23:55:38 e1ff8fa3b103: Waiting 23:55:38 52ebb69f0ebf: Waiting 23:55:38 5abe8eddf0d5: Waiting 23:55:38 55522c791124: Verifying Checksum 23:55:38 55522c791124: Download complete 23:55:38 169dfbe0d373: Verifying Checksum 23:55:38 169dfbe0d373: Download complete 23:55:38 e1ff8fa3b103: Verifying Checksum 23:55:38 e1ff8fa3b103: Download complete 23:55:38 af6eaf76a39c: Verifying Checksum 23:55:38 af6eaf76a39c: Download complete 23:55:39 af6eaf76a39c: Pull complete 23:55:39 5abe8eddf0d5: Verifying Checksum 23:55:39 5abe8eddf0d5: Download complete 23:55:39 55522c791124: Pull complete 23:55:40 ce5c4a1c91eb: Download complete 23:55:40 52ebb69f0ebf: Verifying Checksum 23:55:40 52ebb69f0ebf: Download complete 23:55:53 ce5c4a1c91eb: Pull complete 23:55:53 169dfbe0d373: Pull complete 23:55:53 e1ff8fa3b103: Pull complete 23:55:58 52ebb69f0ebf: Pull complete 23:56:00 5abe8eddf0d5: Pull complete 23:56:00 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 23:56:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:56:00 ---> 6cb57ee374ae 23:56:00 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:56:02 ---> Running in 5844248d916c 23:56:02 Removing intermediate container 5844248d916c 23:56:02 ---> ee3813d12846 23:56:02 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:56:02 ---> Running in c61b780ef9da 23:56:02 Removing intermediate container c61b780ef9da 23:56:02 ---> 9756d256f459 23:56:02 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 23:56:02 ---> Running in 86debbe40840 23:56:03 Removing intermediate container 86debbe40840 23:56:03 ---> 7f7994e47d1f 23:56:03 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:56:03 ---> Running in 2ed3ab371d0f 23:56:03 Removing intermediate container 2ed3ab371d0f 23:56:03 ---> 01a1075bb47f 23:56:03 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:56:03 ---> Running in 89821a373047 23:56:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:56:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:56:06 OK: 263 MiB in 53 packages 23:56:07 Removing intermediate container 89821a373047 23:56:07 ---> d740ff7e68c8 23:56:07 Step 8/12 : WORKDIR /app 23:56:07 ---> Running in a5c47a7b65d9 23:56:07 Removing intermediate container a5c47a7b65d9 23:56:07 ---> ac2a2a83e46d 23:56:07 Step 9/12 : COPY go.mod vendor* ./ 23:56:07 ---> a222f4c4792f 23:56:07 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:56:08 ---> Running in 0c1832c0579b 23:57:15 Removing intermediate container 0c1832c0579b 23:57:15 ---> 0651f280747e 23:57:15 Step 11/12 : COPY . . 23:57:15 ---> bfa1853c86cf 23:57:15 Step 12/12 : RUN $MAKE 23:57:15 ---> Running in 2c74c602cd3b 23:57:15 noop 23:57:15 Removing intermediate container 2c74c602cd3b 23:57:15 ---> 800aad8d79ed 23:57:15 Successfully built 800aad8d79ed 23:57:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:57:16 + docker inspect -f . ci-base-image-arm64 23:57:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:57:16 prd-ubuntu20.04-docker-arm64-4c-16g-5946 does not seem to be running inside a container 23:57:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rfid-llrp-go/2 -v /w/workspace/device-rfid-llrp-go/2:/w/workspace/device-rfid-llrp-go/2:rw,z -v /w/workspace/device-rfid-llrp-go/2@tmp:/w/workspace/device-rfid-llrp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:57:17 $ docker top aaddfa76e601f79e0d107a0c4ffc64ccbf3862d9b8bb5aacd5ea2dbcf68560e5 -eo pid,comm [Pipeline] { [Pipeline] sh 23:57:18 + go version 23:57:18 go version go1.20.2 linux/arm64 [Pipeline] } 23:57:18 $ docker stop --time=1 aaddfa76e601f79e0d107a0c4ffc64ccbf3862d9b8bb5aacd5ea2dbcf68560e5 23:57:20 $ docker rm -f --volumes aaddfa76e601f79e0d107a0c4ffc64ccbf3862d9b8bb5aacd5ea2dbcf68560e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:57:20 + docker inspect -f . ci-base-image-arm64 23:57:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:57:20 prd-ubuntu20.04-docker-arm64-4c-16g-5946 does not seem to be running inside a container 23:57:20 $ 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/2 -v /w/workspace/device-rfid-llrp-go/2:/w/workspace/device-rfid-llrp-go/2:rw,z -v /w/workspace/device-rfid-llrp-go/2@tmp:/w/workspace/device-rfid-llrp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:57:22 $ docker top 9343d2ebfe35e427b8b24aba5370b63cc683b39d415b079059247c19cb974304 -eo pid,comm [Pipeline] { [Pipeline] sh 23:57:22 + git config --global --add safe.directory /w/workspace/device-rfid-llrp-go/2 [Pipeline] fileExists [Pipeline] sh 23:57:23 + make test 23:57:23 go test ./... -coverprofile=coverage.out ./... 23:57:55 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 23:59:47 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 23:59:47 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 00:00:25 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 28.463s coverage: 40.9% of statements 00:00:25 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.555s coverage: 52.0% of statements 00:00:25 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.035s coverage: 95.5% of statements 00:00:25 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:00:25 go vet ./... 00:00:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:00:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:00:52 ./bin/test-attribution-txt.sh 00:00:52 An attribution for github.com/pelletier/go-toml is missing from Attribution.txt, please add 00:00:52 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 00:00:52 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 00:00:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:00:52 $ docker stop --time=1 9343d2ebfe35e427b8b24aba5370b63cc683b39d415b079059247c19cb974304 00:00:54 $ docker rm -f --volumes 9343d2ebfe35e427b8b24aba5370b63cc683b39d415b079059247c19cb974304 [Pipeline] // withDockerContainer [Pipeline] sh 00:00:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:00:55 Warning: overwriting stash ‘coverage-report’ 00:00:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:00:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:00:57 + ls -al . 00:00:57 total 624 00:00:57 drwxrwxr-x 10 jenkins jenkins 4096 Mar 27 23:57 . 00:00:57 drwxrwxr-x 4 jenkins jenkins 4096 Mar 27 23:55 .. 00:00:57 -rw-rw-r-- 1 jenkins jenkins 134 Mar 27 23:55 .dockerignore 00:00:57 drwxrwxr-x 8 jenkins jenkins 4096 Mar 27 23:55 .git 00:00:57 drwxrwxr-x 3 jenkins jenkins 4096 Mar 27 23:55 .github 00:00:57 -rw-rw-r-- 1 jenkins jenkins 946 Mar 27 23:55 .gitignore 00:00:57 -rw-rw-r-- 1 jenkins jenkins 41 Mar 27 23:55 .golangci.yml 00:00:57 -rw-rw-r-- 1 jenkins jenkins 10664 Mar 27 23:55 Attribution.txt 00:00:57 -rw-rw-r-- 1 jenkins jenkins 5905 Mar 27 23:55 CHANGELOG.md 00:00:57 -rw-rw-r-- 1 jenkins jenkins 1347 Mar 27 23:55 Dockerfile 00:00:57 -rw-rw-r-- 1 jenkins jenkins 677 Mar 27 23:55 GOVERNANCE.md 00:00:57 -rw-rw-r-- 1 jenkins jenkins 683 Mar 27 23:55 Jenkinsfile 00:00:57 -rw-rw-r-- 1 jenkins jenkins 11347 Mar 27 23:55 LICENSE 00:00:57 -rw-rw-r-- 1 jenkins jenkins 2053 Mar 27 23:55 Makefile 00:00:57 -rw-rw-r-- 1 jenkins jenkins 625 Mar 27 23:55 OWNERS.md 00:00:57 -rw-rw-r-- 1 jenkins jenkins 28505 Mar 27 23:55 README.md 00:00:57 -rw-rw-r-- 1 jenkins jenkins 5 Mar 27 23:53 VERSION 00:00:57 drwxrwxr-x 2 jenkins jenkins 4096 Mar 27 23:55 bin 00:00:57 drwxrwxr-x 4 jenkins jenkins 4096 Mar 27 23:55 cmd 00:00:57 -rw-r--r-- 1 jenkins jenkins 457600 Mar 28 00:00 coverage.out 00:00:57 drwxrwxr-x 2 jenkins jenkins 4096 Mar 27 23:55 examples 00:00:57 -rw-rw-r-- 1 jenkins jenkins 3464 Mar 27 23:55 go.mod 00:00:57 -rw-rw-r-- 1 jenkins jenkins 31138 Mar 27 23:55 go.sum 00:00:57 drwxrwxr-x 2 jenkins jenkins 4096 Mar 27 23:55 images 00:00:57 drwxrwxr-x 5 jenkins jenkins 4096 Mar 27 23:55 internal 00:00:57 drwxrwxr-x 4 jenkins jenkins 4096 Mar 27 23:55 snap 00:00:57 -rw-rw-r-- 1 jenkins jenkins 193 Mar 27 23:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:00:57 + 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=8fa2aeaca1a0c8254a22ad257d3cf687274d3912 --label arch=arm64 --label version=0.0.0 . 00:00:57 Sending build context to Docker daemon 1.211MB 00:00:57 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 00:00:57 Step 2/24 : FROM ${BASE} AS builder 00:00:57 ---> 800aad8d79ed 00:00:57 Step 3/24 : ARG ADD_BUILD_TAGS="" 00:00:57 ---> Running in 2ff211270248 00:00:58 Removing intermediate container 2ff211270248 00:00:58 ---> ee61efa0df11 00:00:58 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:00:58 ---> Running in 460d98b716ad 00:00:58 Removing intermediate container 460d98b716ad 00:00:58 ---> 881ef60ec50d 00:00:58 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 00:00:58 ---> Running in 8a895e850f44 00:00:58 Removing intermediate container 8a895e850f44 00:00:58 ---> 5e838f56499c 00:00:58 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 00:00:58 ---> Running in d00887335983 00:00:59 Removing intermediate container d00887335983 00:00:59 ---> 4cfce06ca99f 00:00:59 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:00:59 ---> Running in 9a99c9da1d62 00:01:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:01:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:01:01 OK: 263 MiB in 53 packages 00:01:02 Removing intermediate container 9a99c9da1d62 00:01:02 ---> 50bd126ed314 00:01:02 Step 8/24 : WORKDIR /app 00:01:02 ---> Running in 83db1a4378f4 00:01:03 Removing intermediate container 83db1a4378f4 00:01:03 ---> 1af0228a3ec9 00:01:03 Step 9/24 : COPY go.mod vendor* ./ 00:01:03 ---> 7cb6090cf9c8 00:01:03 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:01:03 ---> Running in ac8b87c37b4c 00:01:06 Removing intermediate container ac8b87c37b4c 00:01:06 ---> 553eab4c7aba 00:01:06 Step 11/24 : COPY . . 00:01:06 ---> 44e58b7df6b8 00:01:06 Step 12/24 : RUN $MAKE 00:01:06 ---> Running in 4b801078db47 00:01:07 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 00:03:29 Removing intermediate container 4b801078db47 00:03:29 ---> f761ce6a03bc 00:03:29 Step 13/24 : FROM alpine:3.17 00:03:29 3.17: Pulling from library/alpine 00:03:29 af6eaf76a39c: Already exists 00:03:29 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 00:03:29 Status: Downloaded newer image for alpine:3.17 00:03:29 ---> d74e625d9115 00:03:29 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 00:03:29 ---> Running in f9445963e9bc 00:03:29 Removing intermediate container f9445963e9bc 00:03:29 ---> ca4600832687 00:03:29 Step 15/24 : RUN apk add --update --no-cache dumb-init 00:03:29 ---> Running in 51227b34fab1 00:03:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:03:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:03:29 (1/1) Installing dumb-init (1.2.5-r2) 00:03:29 Executing busybox-1.35.0-r29.trigger 00:03:29 OK: 8 MiB in 16 packages 00:03:29 Removing intermediate container 51227b34fab1 00:03:29 ---> e9dca93042bf 00:03:29 Step 16/24 : COPY --from=builder /app/LICENSE / 00:03:29 ---> 92a2d3037a0a 00:03:29 Step 17/24 : COPY --from=builder /app/Attribution.txt / 00:03:29 ---> ba3a0ac33611 00:03:29 Step 18/24 : COPY --from=builder /app/cmd/ / 00:03:29 ---> 2633cd2d3975 00:03:29 Step 19/24 : EXPOSE 59989 00:03:29 ---> Running in a465892c2f90 00:03:29 Removing intermediate container a465892c2f90 00:03:29 ---> e6459e2a8a05 00:03:29 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 00:03:29 ---> Running in 2128271a4992 00:03:29 Removing intermediate container 2128271a4992 00:03:29 ---> 5badf8045624 00:03:29 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:03:29 ---> Running in 80d92b1c3737 00:03:29 Removing intermediate container 80d92b1c3737 00:03:29 ---> da5159b0b6a6 00:03:29 Step 22/24 : LABEL arch=arm64 00:03:29 ---> Running in b51a6ed56002 00:03:29 Removing intermediate container b51a6ed56002 00:03:29 ---> acd7319c7f4c 00:03:29 Step 23/24 : LABEL git_sha=8fa2aeaca1a0c8254a22ad257d3cf687274d3912 00:03:29 ---> Running in 0bf49292e45e 00:03:29 Removing intermediate container 0bf49292e45e 00:03:29 ---> cd8155abda72 00:03:29 Step 24/24 : LABEL version=0.0.0 00:03:29 ---> Running in 89be00e94ac6 00:03:29 Removing intermediate container 89be00e94ac6 00:03:29 ---> 987e7309796e 00:03:29 [Warning] One or more build-args [ARCH] were not consumed 00:03:29 Successfully built 987e7309796e 00:03:29 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 00:03:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:03:29 00:03:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:03:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:03:30 arm64: Pulling from edgex-lftools-log-publisher 00:03:30 8998bd30e6a1: Pulling fs layer 00:03:30 04944245beec: Pulling fs layer 00:03:30 699f458cf7ca: Pulling fs layer 00:03:30 765212b225bb: Pulling fs layer 00:03:30 f23df028b6ca: Pulling fs layer 00:03:30 d65c8cfc05b1: Pulling fs layer 00:03:30 2437ff75d9bd: Pulling fs layer 00:03:30 f23df028b6ca: Waiting 00:03:30 d65c8cfc05b1: Waiting 00:03:30 765212b225bb: Waiting 00:03:30 2437ff75d9bd: Waiting 00:03:30 04944245beec: Verifying Checksum 00:03:30 04944245beec: Download complete 00:03:30 765212b225bb: Download complete 00:03:30 f23df028b6ca: Verifying Checksum 00:03:30 f23df028b6ca: Download complete 00:03:30 d65c8cfc05b1: Verifying Checksum 00:03:30 d65c8cfc05b1: Download complete 00:03:30 699f458cf7ca: Download complete 00:03:31 8998bd30e6a1: Verifying Checksum 00:03:31 8998bd30e6a1: Download complete 00:03:33 2437ff75d9bd: Verifying Checksum 00:03:33 2437ff75d9bd: Download complete 00:03:34 8998bd30e6a1: Pull complete 00:03:35 04944245beec: Pull complete 00:03:36 699f458cf7ca: Pull complete 00:03:36 765212b225bb: Pull complete 00:03:37 f23df028b6ca: Pull complete 00:03:37 d65c8cfc05b1: Pull complete 00:03:52 2437ff75d9bd: Pull complete 00:03:52 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:03:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:03:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:03:52 prd-ubuntu20.04-docker-arm64-4c-16g-5946 does not seem to be running inside a container 00:03:52 $ 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/2 -v /w/workspace/device-rfid-llrp-go/2:/w/workspace/device-rfid-llrp-go/2:rw,z -v /w/workspace/device-rfid-llrp-go/2@tmp:/w/workspace/device-rfid-llrp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:03:54 $ docker top 352c92727791d605c338c6a7c8b1a7cc23a4511c2d81bdd0325a2bae5f626fd3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:03:55 ---> job-cost.sh 00:03:55 lf-activate-venv: SKIPPING 00:03:55 INFO: No Stack... 00:03:56 INFO: Retrieving Pricing Info for: v3-standard-4 00:03:56 INFO: Archiving Costs [Pipeline] sh 00:03:57 + cut -d, -f6 00:03:57 + cat /w/workspace/device-rfid-llrp-go/2/archives/cost.csv [Pipeline] lock 00:03:57 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-195-2-stack-cost] 00:03:57 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-195-2-stack-cost] did not exist. Created. 00:03:57 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-195-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:03:57 /w/workspace/device-rfid-llrp-go/2@tmp/durable-062fbdf9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:03:58 + echo total: 0.10999999940395355 [Pipeline] stash 00:03:58 Warning: overwriting stash ‘stack-cost’ 00:03:58 Stashed 1 file(s) [Pipeline] } 00:03:58 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-195-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:03:58 $ docker stop --time=1 352c92727791d605c338c6a7c8b1a7cc23a4511c2d81bdd0325a2bae5f626fd3 00:03:59 $ docker rm -f --volumes 352c92727791d605c338c6a7c8b1a7cc23a4511c2d81bdd0325a2bae5f626fd3 [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 00:04:00 provisioning config files... 00:04:00 copy managed file [device-rfid-llrp-go-codecov-token] to file:/w/workspace/undry_device-rfid-llrp-go_PR-195@tmp/config11506258272022488146tmp [Pipeline] { [Pipeline] sh 00:04:00 + set +x 00:04:00 + curl -s https://codecov.io/bash 00:04:00 + bash -s -- 00:04:00 00:04:00 _____ _ 00:04:00 / ____| | | 00:04:00 | | ___ __| | ___ ___ _____ __ 00:04:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:04:00 | |___| (_) | (_| | __/ (_| (_) \ V / 00:04:00 \_____\___/ \__,_|\___|\___\___/ \_/ 00:04:00 Bash-1.0.6 00:04:00 00:04:00 00:04:00 ==> git version 2.25.1 found 00:04:00 ==> 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 00:04:00 Release-Date: 2020-01-08 00:04:00 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:04:00 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:04:00 ==> Jenkins CI detected. 00:04:00 current dir:  /w/workspace/undry_device-rfid-llrp-go_PR-195 00:04:00 project root: . 00:04:00 --> token set from env 00:04:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:04:00 ==> Running gcov in . (disable via -X gcov) 00:04:00 ==> Python coveragepy not found 00:04:00 ==> Searching for coverage reports in: 00:04:00 + . 00:04:00 -> Found 1 reports 00:04:00 ==> Detecting git/mercurial file structure 00:04:00 ==> Reading reports 00:04:00 + ./coverage.out bytes=457600 00:04:00 ==> Appending adjustments 00:04:00 https://docs.codecov.io/docs/fixing-reports 00:04:00 + Found adjustments 00:04:00 ==> Gzipping contents 00:04:00 52K /tmp/codecov.xlGJRy.gz 00:04:00 ==> Uploading reports 00:04:00 url: https://codecov.io 00:04:00 query: branch=PR-195&commit=8fa2aeaca1a0c8254a22ad257d3cf687274d3912&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-195%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=195&job=&cmd_args= 00:04:00 -> Pinging Codecov 00:04:00 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-195&commit=8fa2aeaca1a0c8254a22ad257d3cf687274d3912&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-195%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=195&job=&cmd_args= 00:04:00 -> Uploading to 00:04:00 https://storage.googleapis.com/codecov/v4/raw/2023-03-28/581DD39554BDF9B6E22D074273EAD858/8fa2aeaca1a0c8254a22ad257d3cf687274d3912/6884c4dd-3c81-4a09-a10c-34d76366e22f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230328%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230328T000400Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=890a30a8565b9f31cb34427eee55a954f73ac8fbdf2d7cc071c889166a1869e8 00:04:01 % Total % Received % Xferd Average Speed Time Time Time Current 00:04:01 Dload Upload Total Spent Left Speed 00:04:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 50444 0 0 100 50444 0 197k --:--:-- --:--:-- --:--:-- 197k 00:04:01 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/8fa2aeaca1a0c8254a22ad257d3cf687274d3912 [Pipeline] } 00:04:01 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 00:04:02 + [ -d /w/workspace/undry_device-rfid-llrp-go_PR-195/archives ] 00:04:02 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-195/archives 00:04:02 total 16 00:04:02 drwxr-xr-x 3 root root 4096 Mar 27 23:55 . 00:04:02 drwxrwxr-x 12 jenkins jenkins 4096 Mar 27 23:55 .. 00:04:02 drwxr-xr-x 2 root root 4096 Mar 27 23:55 cost 00:04:02 -rw-r--r-- 1 root root 91 Mar 27 23:55 cost.csv 00:04:02 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-rfid-llrp-go_PR-195/archives 00:04:02 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-195/archives 00:04:02 total 16 00:04:02 drwxr-xr-x 3 jenkins jenkins 4096 Mar 27 23:55 . 00:04:02 drwxrwxr-x 12 jenkins jenkins 4096 Mar 27 23:55 .. 00:04:02 drwxr-xr-x 2 jenkins jenkins 4096 Mar 27 23:55 cost 00:04:02 -rw-r--r-- 1 jenkins jenkins 91 Mar 27 23:55 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:04:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:04:03 ---> package-listing.sh 00:04:03 ++ facter osfamily 00:04:03 ++ tr '[:upper:]' '[:lower:]' 00:04:03 + OS_FAMILY=debian 00:04:03 + workspace=/w/workspace/undry_device-rfid-llrp-go_PR-195 00:04:03 + START_PACKAGES=/tmp/packages_start.txt 00:04:03 + END_PACKAGES=/tmp/packages_end.txt 00:04:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:04:03 + PACKAGES=/tmp/packages_start.txt 00:04:03 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-195 ']' 00:04:03 + PACKAGES=/tmp/packages_end.txt 00:04:03 + case "${OS_FAMILY}" in 00:04:03 + dpkg -l 00:04:03 + grep '^ii' 00:04:03 + '[' -f /tmp/packages_start.txt ']' 00:04:03 + '[' -f /tmp/packages_end.txt ']' 00:04:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:04:03 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-195 ']' 00:04:03 + mkdir -p /w/workspace/undry_device-rfid-llrp-go_PR-195/archives/ 00:04:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-rfid-llrp-go_PR-195/archives/ [Pipeline] echo 00:04:03 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-195/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:04:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:04:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:04:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:04:04 prd-ubuntu20.04-docker-8c-8g-5945 does not seem to be running inside a container 00:04:04 $ 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-195/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-195 -v /w/workspace/undry_device-rfid-llrp-go_PR-195:/w/workspace/undry_device-rfid-llrp-go_PR-195:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-195@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-195@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:04:04 $ docker top 15a2fbe0838f351e938aa8a25ffeb34bd250c65e3464b29ccc146b0c33bbe8bc -eo pid,comm [Pipeline] { [Pipeline] sh 00:04:05 + touch /tmp/pre-build-complete [Pipeline] sh 00:04:05 + mkdir -p /var/log/sysstat [Pipeline] sh 00:04:05 + ls /var/log/sa-host 00:04:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:04:05 provisioning config files... 00:04:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-195@tmp/config14220423823086750690tmp [Pipeline] { [Pipeline] echo 00:04:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:04:06 ---> create-netrc.sh [Pipeline] } 00:04:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:04:06 ---> python-tools-install.sh [Pipeline] echo 00:04:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:04:06 ---> sudo-logs.sh 00:04:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:04:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:04:07 ---> job-cost.sh 00:04:07 lf-activate-venv: SKIPPING 00:04:07 DEBUG: total: 0.2199999988079071 00:04:07 INFO: Retrieving Stack Cost... 00:04:07 INFO: Retrieving Pricing Info for: v3-standard-8 00:04:08 INFO: Archiving Costs [Pipeline] echo 00:04:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:04:08 ---> logs-deploy.sh 00:04:08 lf-activate-venv: SKIPPING 00:04:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rfid-llrp-go/PR-195/2 00:04:08 INFO: archiving workspace using pattern(s): 00:04:09 Archives upload complete. 00:04:09 INFO: archiving logs to Nexus