Pull request #119 opened 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 ejlee3 for edgexfoundry/device-rfid-llrp-go Loading trusted files from base branch main at b8ba3e221760256c2fe6830bd74ef8a303aa4de5 rather than f119f178ead2d7de99022c2ba20d75dacbdb4e2c Obtained Jenkinsfile from b8ba3e221760256c2fe6830bd74ef8a303aa4de5 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-ssh16523387360265289991.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh14599366083756065711.key Verifying host key using known hosts file > 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 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/PR-119/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-119/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh423212845997783982.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-119/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1731563675866347248.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh8249963801764309896.key Verifying host key using known hosts file > 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/PR-119/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-119/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17003829725065015580.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 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.18 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 Running on prd-ubuntu20.04-docker-8c-8g-116998 in /w/workspace/undry_device-rfid-llrp-go_PR-119 [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-119 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/119/head:refs/remotes/origin/PR-119 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b8ba3e221760256c2fe6830bd74ef8a303aa4de5 into PR head commit f119f178ead2d7de99022c2ba20d75dacbdb4e2c Merge succeeded, producing f119f178ead2d7de99022c2ba20d75dacbdb4e2c Checking out Revision f119f178ead2d7de99022c2ba20d75dacbdb4e2c (PR-119) > git config core.sparsecheckout # timeout=10 > git checkout -f f119f178ead2d7de99022c2ba20d75dacbdb4e2c # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge b8ba3e221760256c2fe6830bd74ef8a303aa4de5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f119f178ead2d7de99022c2ba20d75dacbdb4e2c # timeout=10 Commit message: "build: Latest go-mods, config and Dockerfile fix" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:57:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:57:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:57:10 ========================================================= 22:57:10 EdgeX Global Pipelines Version Info 22:57:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:57:10 ------------------- 22:57:10 stable info: 22:57:10 ------------------- 22:57:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:57:10 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 22:57:10 Message: update stable to v1.0.243 22:57:11 ------------------- 22:57:11 experimental info: 22:57:11 ------------------- 22:57:11 Commited By: **** collab-it+edgex@linuxfoundation.org 22:57:11 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 22:57:11 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:57:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rfid-llrp-go-settings [Pipeline] echo 22:57:11 [edgeXSetupEnvironment]: set envvar PROJECT = device-rfid-llrp-go [Pipeline] echo 22:57:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:57:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:57:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:57:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 22:57:11 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:57:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:57:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:57:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:57:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:57:12 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rfid-llrp [Pipeline] echo 22:57:12 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:57:12 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:57:12 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:57:12 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:57:12 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:57:12 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:57:12 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:57:12 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:57:12 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:57:12 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:57:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:57:12 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:57:12 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:57:12 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:57:12 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:57:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-119 [Pipeline] echo 22:57:12 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-119 [Pipeline] echo 22:57:12 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-119 [Pipeline] echo 22:57:12 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f119f178ead2d7de99022c2ba20d75dacbdb4e2c [Pipeline] echo 22:57:12 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f119f17 [Pipeline] echo 22:57:12 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:57:13 provisioning config files... 22:57:13 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-119@tmp/config15481226183344950472tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:57:13 ---> docker-login.sh 22:57:13 nexus3.edgexfoundry.org:10001 22:57:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:13 Configure a credential helper to remove this warning. See 22:57:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:13 22:57:13 Login Succeeded 22:57:13 nexus3.edgexfoundry.org:10002 22:57:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:13 Configure a credential helper to remove this warning. See 22:57:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:13 22:57:13 Login Succeeded 22:57:13 nexus3.edgexfoundry.org:10003 22:57:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:13 Configure a credential helper to remove this warning. See 22:57:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:13 22:57:13 Login Succeeded 22:57:13 nexus3.edgexfoundry.org:10004 22:57:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:13 Configure a credential helper to remove this warning. See 22:57:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:13 22:57:13 Login Succeeded 22:57:13 docker.io 22:57:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:14 Configure a credential helper to remove this warning. See 22:57:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:14 22:57:14 Login Succeeded 22:57:14 ---> docker-login.sh ends [Pipeline] } 22:57:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:57:15 + git rev-list -1 --merges f119f178ead2d7de99022c2ba20d75dacbdb4e2c~1..f119f178ead2d7de99022c2ba20d75dacbdb4e2c [Pipeline] echo 22:57:15 -----------> git rev-list -1 --merges f119f178ead2d7de99022c2ba20d75dacbdb4e2c~1..f119f178ead2d7de99022c2ba20d75dacbdb4e2c f119f178ead2d7de99022c2ba20d75dacbdb4e2c [false] [Pipeline] sh 22:57:15 + git log --format=format:%s -1 f119f178ead2d7de99022c2ba20d75dacbdb4e2c [Pipeline] echo 22:57:15 ========================================================= 22:57:15 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:57:15 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:57:16 + git log --format=format:%s -1 f119f178ead2d7de99022c2ba20d75dacbdb4e2c [Pipeline] echo 22:57:16 [semverPrep] GIT_COMMIT: f119f178ead2d7de99022c2ba20d75dacbdb4e2c, Commit Message: build: Latest go-mods, config and Dockerfile fix [Pipeline] echo 22:57:16 [semverPrep] This is not a build commit. [Pipeline] sh 22:57:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:57:16 + grep -v github /etc/ssh/ssh_known_hosts 22:57:16 + [ -e /tmp/ssh_known_hosts ] 22:57:16 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:57:16 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:57:16 + sudo tee -a /etc/ssh/ssh_known_hosts 22:57:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:57:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:57:16 22:57:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:57:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:57:17 0.1.4: Pulling from edgex-devops/py-git-semver 22:57:17 b85a868b505f: Pulling fs layer 22:57:17 e2be974225ed: Pulling fs layer 22:57:17 339a4e72a1f5: Pulling fs layer 22:57:17 988bab9f4d93: Pulling fs layer 22:57:17 1469e6f7b9e6: Pulling fs layer 22:57:17 eaf3925da568: Pulling fs layer 22:57:17 bab4dde63d76: Pulling fs layer 22:57:17 bde34c3a00c8: Pulling fs layer 22:57:17 b352a97aabf1: Pulling fs layer 22:57:17 4872d77fe225: Pulling fs layer 22:57:17 5851b861e8e6: Pulling fs layer 22:57:17 988bab9f4d93: Waiting 22:57:17 1469e6f7b9e6: Waiting 22:57:17 bab4dde63d76: Waiting 22:57:17 eaf3925da568: Waiting 22:57:17 b352a97aabf1: Waiting 22:57:17 bde34c3a00c8: Waiting 22:57:17 5851b861e8e6: Waiting 22:57:17 e2be974225ed: Verifying Checksum 22:57:17 e2be974225ed: Download complete 22:57:17 988bab9f4d93: Verifying Checksum 22:57:17 988bab9f4d93: Download complete 22:57:17 1469e6f7b9e6: Verifying Checksum 22:57:17 1469e6f7b9e6: Download complete 22:57:17 eaf3925da568: Verifying Checksum 22:57:17 eaf3925da568: Download complete 22:57:17 339a4e72a1f5: Verifying Checksum 22:57:17 339a4e72a1f5: Download complete 22:57:17 bde34c3a00c8: Download complete 22:57:17 b352a97aabf1: Download complete 22:57:17 4872d77fe225: Download complete 22:57:17 5851b861e8e6: Verifying Checksum 22:57:17 5851b861e8e6: Download complete 22:57:17 b85a868b505f: Verifying Checksum 22:57:17 b85a868b505f: Download complete 22:57:18 bab4dde63d76: Verifying Checksum 22:57:18 bab4dde63d76: Download complete 22:57:18 b85a868b505f: Pull complete 22:57:19 e2be974225ed: Pull complete 22:57:19 339a4e72a1f5: Pull complete 22:57:19 988bab9f4d93: Pull complete 22:57:20 1469e6f7b9e6: Pull complete 22:57:20 eaf3925da568: Pull complete 22:57:21 bab4dde63d76: Pull complete 22:57:21 bde34c3a00c8: Pull complete 22:57:22 b352a97aabf1: Pull complete 22:57:22 4872d77fe225: Pull complete 22:57:22 5851b861e8e6: Pull complete 22:57:22 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:57:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:57:22 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:57:22 prd-ubuntu20.04-docker-8c-8g-116998 does not seem to be running inside a container 22:57:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-rfid-llrp-go_PR-119 -v /w/workspace/undry_device-rfid-llrp-go_PR-119:/w/workspace/undry_device-rfid-llrp-go_PR-119:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-119@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-119@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:57:24 $ docker top bfc9e44f4c1e07bc63b9436b070754d3568a801f1fc8c755267d8a9cc30583d1 -eo pid,comm 22:57:24 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). 22:57:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:57:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:57:24 [ssh-agent] Looking for ssh-agent implementation... 22:57:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:57:24 $ docker exec bfc9e44f4c1e07bc63b9436b070754d3568a801f1fc8c755267d8a9cc30583d1 ssh-agent 22:57:24 SSH_AUTH_SOCK=/tmp/ssh-FYI4vbs0HoGZ/agent.32 22:57:24 SSH_AGENT_PID=39 22:57:24 Running ssh-add (command line suppressed) 22:57:24 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-119@tmp/private_key_2346178512737135643.key (/w/workspace/undry_device-rfid-llrp-go_PR-119@tmp/private_key_2346178512737135643.key) 22:57:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:57:25 + git tag --points-at HEAD [Pipeline] } 22:57:25 $ docker exec --env ******** --env ******** bfc9e44f4c1e07bc63b9436b070754d3568a801f1fc8c755267d8a9cc30583d1 ssh-agent -k 22:57:25 unset SSH_AUTH_SOCK; 22:57:25 unset SSH_AGENT_PID; 22:57:25 echo Agent pid 39 killed; 22:57:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:57:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:57:25 [ssh-agent] Looking for ssh-agent implementation... 22:57:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:57:25 $ docker exec bfc9e44f4c1e07bc63b9436b070754d3568a801f1fc8c755267d8a9cc30583d1 ssh-agent 22:57:25 SSH_AUTH_SOCK=/tmp/ssh-08FJAz3K1Whb/agent.71 22:57:25 SSH_AGENT_PID=77 22:57:25 Running ssh-add (command line suppressed) 22:57:25 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-119@tmp/private_key_9065444752518982194.key (/w/workspace/undry_device-rfid-llrp-go_PR-119@tmp/private_key_9065444752518982194.key) 22:57:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:57:26 + git semver init 22:57:26 2022-10-25 22:57:26,411 [run_init] DEBUG init version:0.0.0 force:False 22:57:26 2022-10-25 22:57:26,412 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-rfid-llrp-go_PR-119/.semver 22:57:26 2022-10-25 22:57:26,413 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rfid-llrp-go.git /w/workspace/undry_device-rfid-llrp-go_PR-119/.semver 22:57:26 2022-10-25 22:57:26,413 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rfid-llrp-go.git', '/w/workspace/undry_device-rfid-llrp-go_PR-119/.semver'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-119, universal_newlines=False, shell=None, istream=None) 22:57:27 2022-10-25 22:57:27,345 [append_file] DEBUG append to file:/w/workspace/undry_device-rfid-llrp-go_PR-119/.git/info/exclude 22:57:27 2022-10-25 22:57:27,346 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-rfid-llrp-go_PR-119/.semver/PR-119 with force:False 22:57:27 2022-10-25 22:57:27,346 [write_file] DEBUG write to file:/w/workspace/undry_device-rfid-llrp-go_PR-119/.semver/PR-119 22:57:27 2022-10-25 22:57:27,350 [execute] INFO git cat-file --batch-check 22:57:27 2022-10-25 22:57:27,351 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-119/.semver, universal_newlines=False, shell=None, istream=) 22:57:27 2022-10-25 22:57:27,357 [execute] INFO git cat-file --batch 22:57:27 2022-10-25 22:57:27,357 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-119/.semver, universal_newlines=False, shell=None, istream=) 22:57:27 2022-10-25 22:57:27,364 [read_version] DEBUG read version from /w/workspace/undry_device-rfid-llrp-go_PR-119/.semver/PR-119 22:57:27 0.0.0 [Pipeline] } 22:57:27 $ docker exec --env ******** --env ******** bfc9e44f4c1e07bc63b9436b070754d3568a801f1fc8c755267d8a9cc30583d1 ssh-agent -k 22:57:27 unset SSH_AUTH_SOCK; 22:57:27 unset SSH_AGENT_PID; 22:57:27 echo Agent pid 77 killed; 22:57:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:57:27 + git semver [Pipeline] } 22:57:28 $ docker stop --time=1 bfc9e44f4c1e07bc63b9436b070754d3568a801f1fc8c755267d8a9cc30583d1 22:57:29 $ docker rm -f bfc9e44f4c1e07bc63b9436b070754d3568a801f1fc8c755267d8a9cc30583d1 [Pipeline] // withDockerContainer [Pipeline] sh 22:57:30 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:57:30 Stashed 1 file(s) [Pipeline] echo 22:57:30 [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 22:57:30 provisioning config files... 22:57:30 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-119@tmp/config4313840698896158122tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:57:31 ---> docker-login.sh 22:57:31 nexus3.edgexfoundry.org:10001 22:57:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:31 Configure a credential helper to remove this warning. See 22:57:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:31 22:57:31 Login Succeeded 22:57:31 nexus3.edgexfoundry.org:10002 22:57:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:32 Configure a credential helper to remove this warning. See 22:57:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:32 22:57:32 Login Succeeded 22:57:32 nexus3.edgexfoundry.org:10003 22:57:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:32 Configure a credential helper to remove this warning. See 22:57:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:32 22:57:32 Login Succeeded 22:57:32 nexus3.edgexfoundry.org:10004 22:57:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:32 Configure a credential helper to remove this warning. See 22:57:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:32 22:57:32 Login Succeeded 22:57:32 docker.io 22:57:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:57:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:57:32 Configure a credential helper to remove this warning. See 22:57:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:57:32 22:57:32 Login Succeeded 22:57:32 ---> docker-login.sh ends [Pipeline] } 22:57:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:57:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:57:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:57:32 ========================================================= 22:57:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 22:57:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:57:33 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 22:57:33 Sending build context to Docker daemon 4.095MB 22:57:33 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 22:57:33 Step 2/11 : FROM ${BASE} AS builder 22:57:33 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 22:57:33 213ec9aee27d: Pulling fs layer 22:57:33 4583459ba037: Pulling fs layer 22:57:33 93c1e223e6f2: Pulling fs layer 22:57:33 53926ce57604: Pulling fs layer 22:57:33 21b2b0c7a3f4: Pulling fs layer 22:57:33 30f14e443154: Pulling fs layer 22:57:33 801331c1e519: Pulling fs layer 22:57:33 99cc6dd402b0: Pulling fs layer 22:57:33 7d9ed39f4882: Pulling fs layer 22:57:33 53926ce57604: Waiting 22:57:33 21b2b0c7a3f4: Waiting 22:57:33 30f14e443154: Waiting 22:57:33 801331c1e519: Waiting 22:57:33 99cc6dd402b0: Waiting 22:57:33 7d9ed39f4882: Waiting 22:57:33 93c1e223e6f2: Verifying Checksum 22:57:33 93c1e223e6f2: Download complete 22:57:33 4583459ba037: Verifying Checksum 22:57:33 4583459ba037: Download complete 22:57:33 21b2b0c7a3f4: Download complete 22:57:33 30f14e443154: Download complete 22:57:33 213ec9aee27d: Verifying Checksum 22:57:33 213ec9aee27d: Download complete 22:57:33 801331c1e519: Verifying Checksum 22:57:33 801331c1e519: Download complete 22:57:33 213ec9aee27d: Pull complete 22:57:33 4583459ba037: Pull complete 22:57:34 93c1e223e6f2: Pull complete 22:57:34 7d9ed39f4882: Verifying Checksum 22:57:34 7d9ed39f4882: Download complete 22:57:34 53926ce57604: Verifying Checksum 22:57:34 53926ce57604: Download complete 22:57:34 99cc6dd402b0: Verifying Checksum 22:57:34 99cc6dd402b0: Download complete 22:57:38 53926ce57604: Pull complete 22:57:38 21b2b0c7a3f4: Pull complete 22:57:38 30f14e443154: Pull complete 22:57:38 801331c1e519: Pull complete 22:57:40 99cc6dd402b0: Pull complete 22:57:41 7d9ed39f4882: Pull complete 22:57:41 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 22:57:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 22:57:41 ---> 1dedd983c030 22:57:41 Step 3/11 : ARG MAKE='make build' 22:57:44 ---> Running in fc30ce17f37f 22:57:44 Removing intermediate container fc30ce17f37f 22:57:44 ---> 06bda92f4694 22:57:44 Step 4/11 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 22:57:44 ---> Running in 619565e49331 22:57:44 Removing intermediate container 619565e49331 22:57:44 ---> 0e26dd291f81 22:57:44 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 22:57:44 ---> Running in f9995a63275e 22:57:44 Removing intermediate container f9995a63275e 22:57:44 ---> 9554da146f8a 22:57:44 Step 6/11 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:57:44 ---> Running in 44f20a5cfa9a 22:57:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:57:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:57:45 OK: 211 MiB in 51 packages 22:57:45 Removing intermediate container 44f20a5cfa9a 22:57:45 ---> 79193370f762 22:57:45 Step 7/11 : WORKDIR /app 22:57:45 ---> Running in 2f335e325f10 22:57:45 Still waiting to schedule task 22:57:45 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 22:57:45 Removing intermediate container 2f335e325f10 22:57:45 ---> ee0558035222 22:57:45 Step 8/11 : COPY go.mod vendor* ./ 22:57:45 ---> 0d4ebb1d1a77 22:57:45 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:57:45 ---> Running in 02470c2ad2d3 22:58:07 Removing intermediate container 02470c2ad2d3 22:58:07 ---> 214d5b227a26 22:58:07 Step 10/11 : COPY . . 22:58:07 ---> b8e11fe3220e 22:58:07 Step 11/11 : RUN $MAKE 22:58:07 ---> Running in 0c9ca2ec1783 22:58:07 noop 22:58:07 Removing intermediate container 0c9ca2ec1783 22:58:07 ---> beaa877697f3 22:58:07 Successfully built beaa877697f3 22:58:07 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:58:08 + docker inspect -f . ci-base-image-x86_64 22:58:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:58:08 prd-ubuntu20.04-docker-8c-8g-116998 does not seem to be running inside a container 22:58:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-rfid-llrp-go_PR-119 -v /w/workspace/undry_device-rfid-llrp-go_PR-119:/w/workspace/undry_device-rfid-llrp-go_PR-119:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-119@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-119@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:58:08 $ docker top 2a9cc460a510b22e6f318b6f0875081f855a9d8e044c3e496580623eaeb3fd26 -eo pid,comm [Pipeline] { [Pipeline] sh 22:58:09 + go version 22:58:09 go version go1.18.7 linux/amd64 [Pipeline] } 22:58:09 $ docker stop --time=1 2a9cc460a510b22e6f318b6f0875081f855a9d8e044c3e496580623eaeb3fd26 22:58:10 $ docker rm -f 2a9cc460a510b22e6f318b6f0875081f855a9d8e044c3e496580623eaeb3fd26 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:58:11 + docker inspect -f . ci-base-image-x86_64 22:58:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:58:11 prd-ubuntu20.04-docker-8c-8g-116998 does not seem to be running inside a container 22:58: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-119 -v /w/workspace/undry_device-rfid-llrp-go_PR-119:/w/workspace/undry_device-rfid-llrp-go_PR-119:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-119@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-119@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:58:11 $ docker top 85cc10be9cd5fac783eee7df3af3507c058803f4fc31ba19654c9f1cd309488f -eo pid,comm [Pipeline] { [Pipeline] sh 22:58:12 + git config --global --add safe.directory /w/workspace/undry_device-rfid-llrp-go_PR-119 [Pipeline] fileExists [Pipeline] sh 22:58:12 + make test 22:58:12 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:58:12 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 22:58:24 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 22:58:24 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 22:58:28 level=DEBUG ts=2022-10-25T22:58:24.132857362Z app=test source=discover.go:120 msg="total estimated network probes: 1, async limit: 1, probe timeout: 1s, total estimated time: 1s" 22:58:28 level=INFO ts=2022-10-25T22:58:24.133344725Z app=test source=discover.go:343 host=127.0.0.1 port=59923 msg="Connection dialed" 22:58:28 level=INFO ts=2022-10-25T22:58:24.133476806Z app=test source=discover.go:391 host=127.0.0.1 port=59923 msg="Attempting to connect to potential LLRP device..." 22:58:28 level=DEBUG ts=2022-10-25T22:58:24.133551697Z app=test source=discover.go:364 msg="Sending GetReaderConfig." 22:58:28 level=INFO ts=2022-10-25T22:58:24.133763848Z app=test source=logging.go:34 type=MsgReaderEventNotification device=probe-127.0.0.1 msg="Incoming LLRP message" 22:58:28 level=WARN ts=2022-10-25T22:58:24.133837649Z app=test source=logging.go:38 message-version=Version1_0_1 client-version=Version1_1 msg="LLRP incoming message version mismatch" 22:58:28 level=INFO ts=2022-10-25T22:58:24.133919869Z app=test source=logging.go:25 type=MsgGetSupportedVersion device=probe-127.0.0.1 msg="Sending LLRP message" 22:58:28 level=INFO ts=2022-10-25T22:58:24.134819416Z app=test source=logging.go:34 type=MsgErrorMessage device=probe-127.0.0.1 msg="Incoming LLRP message" 22:58:28 level=WARN ts=2022-10-25T22:58:24.134938717Z app=test source=logging.go:38 message-version=Version1_0_1 client-version=Version1_1 msg="LLRP incoming message version mismatch" 22:58:28 level=DEBUG ts=2022-10-25T22:58:24.135018638Z app=test source=logging.go:45 type=MsgErrorMessage device=probe-127.0.0.1 msg="Handled LLRP message." 22:58:28 level=INFO ts=2022-10-25T22:58:24.135168059Z app=test source=logging.go:25 type=MsgGetReaderConfig device=probe-127.0.0.1 msg="Sending LLRP message" 22:58:28 level=INFO ts=2022-10-25T22:58:24.135590872Z app=test source=logging.go:34 type=MsgGetReaderConfigResponse device=probe-127.0.0.1 msg="Incoming LLRP message" 22:58:28 level=DEBUG ts=2022-10-25T22:58:24.135871764Z app=test source=discover.go:377 msg="Sending GetReaderCapabilities." 22:58:28 level=DEBUG ts=2022-10-25T22:58:24.135787964Z app=test source=logging.go:45 type=MsgGetReaderConfigResponse device=probe-127.0.0.1 msg="Handled LLRP message." 22:58:28 level=INFO ts=2022-10-25T22:58:24.137715058Z app=test source=logging.go:25 type=MsgGetReaderCapabilities device=probe-127.0.0.1 msg="Sending LLRP message" 22:58:28 level=INFO ts=2022-10-25T22:58:24.139577671Z app=test source=logging.go:34 type=MsgGetReaderCapabilitiesResponse device=probe-127.0.0.1 msg="Incoming LLRP message" 22:58:28 level=DEBUG ts=2022-10-25T22:58:24.139723822Z app=test source=logging.go:45 type=MsgGetReaderCapabilitiesResponse device=probe-127.0.0.1 msg="Handled LLRP message." 22:58:28 level=INFO ts=2022-10-25T22:58:24.139777063Z app=test source=logging.go:25 type=MsgCloseConnection device=probe-127.0.0.1 msg="Sending LLRP message" 22:58:28 level=INFO ts=2022-10-25T22:58:24.139938324Z app=test source=logging.go:34 type=MsgCloseConnectionResponse device=probe-127.0.0.1 msg="Incoming LLRP message" 22:58:28 level=DEBUG ts=2022-10-25T22:58:24.140027485Z app=test source=logging.go:45 type=MsgCloseConnectionResponse device=probe-127.0.0.1 msg="Handled LLRP message." 22:58:28 level=INFO ts=2022-10-25T22:58:24.140188576Z app=test source=discover.go:397 host=127.0.0.1 port=59923 msg="Connection initiated successfully." 22:58:28 level=INFO ts=2022-10-25T22:58:24.140278316Z app=test source=discover.go:431 msg="Discovered device: &{deviceName:SpeedwayR-19-C5-D6 host:127.0.0.1 port:59923 vendor:25882 model:2001002 fwVersion:5.14.0.240}" 22:58:28 level=DEBUG ts=2022-10-25T22:58:24.140694989Z app=test source=discover.go:120 msg="total estimated network probes: 1, async limit: 1, probe timeout: 1s, total estimated time: 1s" 22:58:28 level=INFO ts=2022-10-25T22:58:24.141064141Z app=test source=discover.go:343 host=127.0.0.1 port=59923 msg="Connection dialed" 22:58:28 level=INFO ts=2022-10-25T22:58:24.141124052Z app=test source=discover.go:391 host=127.0.0.1 port=59923 msg="Attempting to connect to potential LLRP device..." 22:58:28 level=DEBUG ts=2022-10-25T22:58:24.141161223Z app=test source=discover.go:364 msg="Sending GetReaderConfig." 22:58:28 level=INFO ts=2022-10-25T22:58:24.141211703Z app=test source=logging.go:34 type=MsgReaderEventNotification device=probe-127.0.0.1 msg="Incoming LLRP message" 22:58:28 level=WARN ts=2022-10-25T22:58:24.141241144Z app=test source=logging.go:38 message-version=Version1_0_1 client-version=Version1_1 msg="LLRP incoming message version mismatch" 22:58:28 level=INFO ts=2022-10-25T22:58:24.141317364Z app=test source=logging.go:25 type=MsgGetSupportedVersion device=probe-127.0.0.1 msg="Sending LLRP message" 22:58:28 level=INFO ts=2022-10-25T22:58:24.141470025Z app=test source=logging.go:34 type=MsgErrorMessage device=probe-127.0.0.1 msg="Incoming LLRP message" 22:58:28 level=WARN ts=2022-10-25T22:58:24.141502705Z app=test source=logging.go:38 message-version=Version1_0_1 client-version=Version1_1 msg="LLRP incoming message version mismatch" 22:58:28 level=DEBUG ts=2022-10-25T22:58:24.141530766Z app=test source=logging.go:45 type=MsgErrorMessage device=probe-127.0.0.1 msg="Handled LLRP message." 22:58:28 level=INFO ts=2022-10-25T22:58:24.141567586Z app=test source=logging.go:25 type=MsgGetReaderConfig device=probe-127.0.0.1 msg="Sending LLRP message" 22:58:28 level=INFO ts=2022-10-25T22:58:24.141634666Z app=test source=logging.go:34 type=MsgGetReaderConfigResponse device=probe-127.0.0.1 msg="Incoming LLRP message" 22:58:28 level=DEBUG ts=2022-10-25T22:58:24.141689967Z app=test source=logging.go:45 type=MsgGetReaderConfigResponse device=probe-127.0.0.1 msg="Handled LLRP message." 22:58:28 level=DEBUG ts=2022-10-25T22:58:24.141720267Z app=test source=discover.go:377 msg="Sending GetReaderCapabilities." 22:58:28 level=INFO ts=2022-10-25T22:58:24.141760537Z app=test source=logging.go:25 type=MsgGetReaderCapabilities device=probe-127.0.0.1 msg="Sending LLRP message" 22:58:28 level=INFO ts=2022-10-25T22:58:24.141843768Z app=test source=logging.go:34 type=MsgGetReaderCapabilitiesResponse device=probe-127.0.0.1 msg="Incoming LLRP message" 22:58:28 level=DEBUG ts=2022-10-25T22:58:24.141862298Z app=test source=logging.go:45 type=MsgGetReaderCapabilitiesResponse device=probe-127.0.0.1 msg="Handled LLRP message." 22:58:28 level=INFO ts=2022-10-25T22:58:24.141887228Z app=test source=logging.go:25 type=MsgCloseConnection device=probe-127.0.0.1 msg="Sending LLRP message" 22:58:28 level=INFO ts=2022-10-25T22:58:24.141976428Z app=test source=logging.go:34 type=MsgCloseConnectionResponse device=probe-127.0.0.1 msg="Incoming LLRP message" 22:58:28 level=DEBUG ts=2022-10-25T22:58:24.142009099Z app=test source=logging.go:45 type=MsgCloseConnectionResponse device=probe-127.0.0.1 msg="Handled LLRP message." 22:58:28 level=INFO ts=2022-10-25T22:58:24.142056379Z app=test source=discover.go:397 host=127.0.0.1 port=59923 msg="Connection initiated successfully." 22:58:28 level=INFO ts=2022-10-25T22:58:24.142102929Z app=test source=discover.go:431 msg="Discovered device: &{deviceName:xArray-25-9C-D4 host:127.0.0.1 port:59923 vendor:25882 model:2001007 fwVersion:5.14.0.240}" 22:58:28 level=DEBUG ts=2022-10-25T22:58:24.142319531Z app=test source=discover.go:120 msg="total estimated network probes: 1, async limit: 1, probe timeout: 1s, total estimated time: 1s" 22:58:28 level=INFO ts=2022-10-25T22:58:24.142508652Z app=test source=discover.go:343 host=127.0.0.1 port=59923 msg="Connection dialed" 22:58:28 level=INFO ts=2022-10-25T22:58:24.142544553Z app=test source=discover.go:391 host=127.0.0.1 port=59923 msg="Attempting to connect to potential LLRP device..." 22:58:28 level=INFO ts=2022-10-25T22:58:24.142566533Z app=test source=logging.go:34 type=MsgReaderEventNotification device=probe-127.0.0.1 msg="Incoming LLRP message" 22:58:28 level=WARN ts=2022-10-25T22:58:24.142585543Z app=test source=logging.go:38 message-version=Version1_0_1 client-version=Version1_1 msg="LLRP incoming message version mismatch" 22:58:28 level=DEBUG ts=2022-10-25T22:58:24.142607554Z app=test source=discover.go:364 msg="Sending GetReaderConfig." 22:58:28 level=INFO ts=2022-10-25T22:58:24.142643614Z app=test source=logging.go:25 type=MsgGetSupportedVersion device=probe-127.0.0.1 msg="Sending LLRP message" 22:58:28 level=INFO ts=2022-10-25T22:58:24.142776715Z app=test source=logging.go:34 type=MsgErrorMessage device=probe-127.0.0.1 msg="Incoming LLRP message" 22:58:28 level=WARN ts=2022-10-25T22:58:24.142800935Z app=test source=logging.go:38 message-version=Version1_0_1 client-version=Version1_1 msg="LLRP incoming message version mismatch" 22:58:28 level=DEBUG ts=2022-10-25T22:58:24.142828355Z app=test source=logging.go:45 type=MsgErrorMessage device=probe-127.0.0.1 msg="Handled LLRP message." 22:58:28 level=INFO ts=2022-10-25T22:58:24.142878995Z app=test source=logging.go:25 type=MsgGetReaderConfig device=probe-127.0.0.1 msg="Sending LLRP message" 22:58:28 level=INFO ts=2022-10-25T22:58:24.143017656Z app=test source=logging.go:34 type=MsgGetReaderConfigResponse device=probe-127.0.0.1 msg="Incoming LLRP message" 22:58:28 level=DEBUG ts=2022-10-25T22:58:24.143036606Z app=test source=logging.go:45 type=MsgGetReaderConfigResponse device=probe-127.0.0.1 msg="Handled LLRP message." 22:58:28 level=DEBUG ts=2022-10-25T22:58:24.143067267Z app=test source=discover.go:377 msg="Sending GetReaderCapabilities." 22:58:28 level=INFO ts=2022-10-25T22:58:24.143080337Z app=test source=logging.go:25 type=MsgGetReaderCapabilities device=probe-127.0.0.1 msg="Sending LLRP message" 22:58:28 level=INFO ts=2022-10-25T22:58:24.143166687Z app=test source=logging.go:34 type=MsgGetReaderCapabilitiesResponse device=probe-127.0.0.1 msg="Incoming LLRP message" 22:58:28 level=DEBUG ts=2022-10-25T22:58:24.143183197Z app=test source=logging.go:45 type=MsgGetReaderCapabilitiesResponse device=probe-127.0.0.1 msg="Handled LLRP message." 22:58:28 level=INFO ts=2022-10-25T22:58:24.143195977Z app=test source=logging.go:25 type=MsgCloseConnection device=probe-127.0.0.1 msg="Sending LLRP message" 22:58:28 level=INFO ts=2022-10-25T22:58:24.143262288Z app=test source=logging.go:34 type=MsgCloseConnectionResponse device=probe-127.0.0.1 msg="Incoming LLRP message" 22:58:28 level=DEBUG ts=2022-10-25T22:58:24.143296408Z app=test source=logging.go:45 type=MsgCloseConnectionResponse device=probe-127.0.0.1 msg="Handled LLRP message." 22:58:28 level=INFO ts=2022-10-25T22:58:24.143383519Z app=test source=discover.go:397 host=127.0.0.1 port=59923 msg="Connection initiated successfully." 22:58:28 level=INFO ts=2022-10-25T22:58:24.143435019Z app=test source=discover.go:431 msg="Discovered device: &{deviceName:LLRP-D2-7F-A1 host:127.0.0.1 port:59923 vendor:25882 model:50 fwVersion:7.0.0}" 22:58:28 level=DEBUG ts=2022-10-25T22:58:24.143956423Z app=test source=discover.go:120 msg="total estimated network probes: 1, async limit: 1, probe timeout: 1s, total estimated time: 1s" 22:58:28 level=INFO ts=2022-10-25T22:58:24.144191605Z app=test source=discover.go:343 host=127.0.0.1 port=59923 msg="Connection dialed" 22:58:28 level=INFO ts=2022-10-25T22:58:24.144230255Z app=test source=discover.go:391 host=127.0.0.1 port=59923 msg="Attempting to connect to potential LLRP device..." 22:58:28 level=INFO ts=2022-10-25T22:58:24.144258655Z app=test source=logging.go:34 type=MsgReaderEventNotification device=probe-127.0.0.1 msg="Incoming LLRP message" 22:58:28 level=WARN ts=2022-10-25T22:58:24.144276716Z app=test source=logging.go:38 message-version=Version1_0_1 client-version=Version1_1 msg="LLRP incoming message version mismatch" 22:58:28 level=DEBUG ts=2022-10-25T22:58:24.144286086Z app=test source=discover.go:364 msg="Sending GetReaderConfig." 22:58:28 level=INFO ts=2022-10-25T22:58:24.144334316Z app=test source=logging.go:25 type=MsgGetSupportedVersion device=probe-127.0.0.1 msg="Sending LLRP message" 22:58:28 level=INFO ts=2022-10-25T22:58:24.144411466Z app=test source=logging.go:34 type=MsgErrorMessage device=probe-127.0.0.1 msg="Incoming LLRP message" 22:58:28 level=WARN ts=2022-10-25T22:58:24.144430007Z app=test source=logging.go:38 message-version=Version1_0_1 client-version=Version1_1 msg="LLRP incoming message version mismatch" 22:58:28 level=DEBUG ts=2022-10-25T22:58:24.144452107Z app=test source=logging.go:45 type=MsgErrorMessage device=probe-127.0.0.1 msg="Handled LLRP message." 22:58:28 level=INFO ts=2022-10-25T22:58:24.144472777Z app=test source=logging.go:25 type=MsgGetReaderConfig device=probe-127.0.0.1 msg="Sending LLRP message" 22:58:28 level=INFO ts=2022-10-25T22:58:24.144547887Z app=test source=logging.go:34 type=MsgGetReaderConfigResponse device=probe-127.0.0.1 msg="Incoming LLRP message" 22:58:28 level=DEBUG ts=2022-10-25T22:58:24.144565157Z app=test source=logging.go:45 type=MsgGetReaderConfigResponse device=probe-127.0.0.1 msg="Handled LLRP message." 22:58:28 level=DEBUG ts=2022-10-25T22:58:24.144578448Z app=test source=discover.go:377 msg="Sending GetReaderCapabilities." 22:58:28 level=INFO ts=2022-10-25T22:58:24.144615358Z app=test source=logging.go:25 type=MsgGetReaderCapabilities device=probe-127.0.0.1 msg="Sending LLRP message" 22:58:28 level=INFO ts=2022-10-25T22:58:24.144739009Z app=test source=logging.go:34 type=MsgGetReaderCapabilitiesResponse device=probe-127.0.0.1 msg="Incoming LLRP message" 22:58:28 level=DEBUG ts=2022-10-25T22:58:24.144770879Z app=test source=logging.go:45 type=MsgGetReaderCapabilitiesResponse device=probe-127.0.0.1 msg="Handled LLRP message." 22:58:28 level=INFO ts=2022-10-25T22:58:24.144799079Z app=test source=logging.go:25 type=MsgCloseConnection device=probe-127.0.0.1 msg="Sending LLRP message" 22:58:28 level=INFO ts=2022-10-25T22:58:24.144879589Z app=test source=logging.go:34 type=MsgCloseConnectionResponse device=probe-127.0.0.1 msg="Incoming LLRP message" 22:58:28 level=DEBUG ts=2022-10-25T22:58:24.14492502Z app=test source=logging.go:45 type=MsgCloseConnectionResponse device=probe-127.0.0.1 msg="Handled LLRP message." 22:58:28 level=INFO ts=2022-10-25T22:58:24.14495524Z app=test source=discover.go:397 host=127.0.0.1 port=59923 msg="Connection initiated successfully." 22:58:28 level=INFO ts=2022-10-25T22:58:24.14498276Z app=test source=discover.go:431 msg="Discovered device: &{deviceName:LLRP-302411f9c92d4f host:127.0.0.1 port:59923 vendor:25882 model:50 fwVersion:7.0.0}" 22:58:28 level=DEBUG ts=2022-10-25T22:58:24.145191322Z app=test source=discover.go:120 msg="total estimated network probes: 1, async limit: 1, probe timeout: 1s, total estimated time: 1s" 22:58:28 level=INFO ts=2022-10-25T22:58:24.145357754Z app=test source=discover.go:343 host=127.0.0.1 port=59923 msg="Connection dialed" 22:58:28 level=INFO ts=2022-10-25T22:58:24.145423044Z app=test source=discover.go:391 host=127.0.0.1 port=59923 msg="Attempting to connect to potential LLRP device..." 22:58:28 level=INFO ts=2022-10-25T22:58:24.145446964Z app=test source=logging.go:34 type=MsgReaderEventNotification device=probe-127.0.0.1 msg="Incoming LLRP message" 22:58:28 level=WARN ts=2022-10-25T22:58:24.145463594Z app=test source=logging.go:38 message-version=Version1_0_1 client-version=Version1_1 msg="LLRP incoming message version mismatch" 22:58:28 level=DEBUG ts=2022-10-25T22:58:24.145488734Z app=test source=discover.go:364 msg="Sending GetReaderConfig." 22:58:28 level=INFO ts=2022-10-25T22:58:24.145537845Z app=test source=logging.go:25 type=MsgGetSupportedVersion device=probe-127.0.0.1 msg="Sending LLRP message" 22:58:28 level=INFO ts=2022-10-25T22:58:24.145636695Z app=test source=logging.go:34 type=MsgErrorMessage device=probe-127.0.0.1 msg="Incoming LLRP message" 22:58:28 level=WARN ts=2022-10-25T22:58:24.145656296Z app=test source=logging.go:38 message-version=Version1_0_1 client-version=Version1_1 msg="LLRP incoming message version mismatch" 22:58:28 level=DEBUG ts=2022-10-25T22:58:24.145684296Z app=test source=logging.go:45 type=MsgErrorMessage device=probe-127.0.0.1 msg="Handled LLRP message." 22:58:28 level=INFO ts=2022-10-25T22:58:24.145705726Z app=test source=logging.go:25 type=MsgGetReaderConfig device=probe-127.0.0.1 msg="Sending LLRP message" 22:58:28 level=INFO ts=2022-10-25T22:58:24.145777436Z app=test source=logging.go:34 type=MsgGetReaderConfigResponse device=probe-127.0.0.1 msg="Incoming LLRP message" 22:58:28 level=DEBUG ts=2022-10-25T22:58:24.145800847Z app=test source=logging.go:45 type=MsgGetReaderConfigResponse device=probe-127.0.0.1 msg="Handled LLRP message." 22:58:28 level=DEBUG ts=2022-10-25T22:58:24.145817667Z app=test source=discover.go:377 msg="Sending GetReaderCapabilities." 22:58:28 level=INFO ts=2022-10-25T22:58:24.145872087Z app=test source=logging.go:25 type=MsgGetReaderCapabilities device=probe-127.0.0.1 msg="Sending LLRP message" 22:58:28 level=INFO ts=2022-10-25T22:58:24.145938637Z app=test source=logging.go:34 type=MsgGetReaderCapabilitiesResponse device=probe-127.0.0.1 msg="Incoming LLRP message" 22:58:28 level=DEBUG ts=2022-10-25T22:58:24.145963728Z app=test source=logging.go:45 type=MsgGetReaderCapabilitiesResponse device=probe-127.0.0.1 msg="Handled LLRP message." 22:58:28 level=INFO ts=2022-10-25T22:58:24.146028398Z app=test source=logging.go:25 type=MsgCloseConnection device=probe-127.0.0.1 msg="Sending LLRP message" 22:58:28 level=INFO ts=2022-10-25T22:58:24.146093808Z app=test source=logging.go:34 type=MsgCloseConnectionResponse device=probe-127.0.0.1 msg="Incoming LLRP message" 22:58:28 level=DEBUG ts=2022-10-25T22:58:24.146117979Z app=test source=logging.go:45 type=MsgCloseConnectionResponse device=probe-127.0.0.1 msg="Handled LLRP message." 22:58:28 level=INFO ts=2022-10-25T22:58:24.146167529Z app=test source=discover.go:397 host=127.0.0.1 port=59923 msg="Connection initiated successfully." 22:58:28 level=INFO ts=2022-10-25T22:58:24.146197619Z app=test source=discover.go:431 msg="Discovered device: &{deviceName:LLRP-FC-4D-1A host:127.0.0.1 port:59923 vendor:50 model:50 fwVersion:1.0.0}" 22:58:28 level=DEBUG ts=2022-10-25T22:58:24.146460361Z app=test source=discover.go:120 msg="total estimated network probes: 1, async limit: 1, probe timeout: 1s, total estimated time: 1s" 22:58:28 level=INFO ts=2022-10-25T22:58:24.146673242Z app=test source=discover.go:343 host=127.0.0.1 port=59923 msg="Connection dialed" 22:58:28 level=DEBUG ts=2022-10-25T22:58:24.146726073Z app=test source=discover.go:364 msg="Sending GetReaderConfig." 22:58:28 level=INFO ts=2022-10-25T22:58:24.146697262Z app=test source=discover.go:391 host=127.0.0.1 port=59923 msg="Attempting to connect to potential LLRP device..." 22:58:28 level=INFO ts=2022-10-25T22:58:24.146759844Z app=test source=logging.go:34 type=MsgReaderEventNotification device=probe-127.0.0.1 msg="Incoming LLRP message" 22:58:28 level=WARN ts=2022-10-25T22:58:24.146772404Z app=test source=logging.go:38 message-version=Version1_0_1 client-version=Version1_1 msg="LLRP incoming message version mismatch" 22:58:28 level=INFO ts=2022-10-25T22:58:24.146811444Z app=test source=logging.go:25 type=MsgGetSupportedVersion device=probe-127.0.0.1 msg="Sending LLRP message" 22:58:28 level=INFO ts=2022-10-25T22:58:24.146917215Z app=test source=logging.go:34 type=MsgErrorMessage device=probe-127.0.0.1 msg="Incoming LLRP message" 22:58:28 level=WARN ts=2022-10-25T22:58:24.146933575Z app=test source=logging.go:38 message-version=Version1_0_1 client-version=Version1_1 msg="LLRP incoming message version mismatch" 22:58:28 level=DEBUG ts=2022-10-25T22:58:24.146952325Z app=test source=logging.go:45 type=MsgErrorMessage device=probe-127.0.0.1 msg="Handled LLRP message." 22:58:28 level=INFO ts=2022-10-25T22:58:24.146977725Z app=test source=logging.go:25 type=MsgGetReaderConfig device=probe-127.0.0.1 msg="Sending LLRP message" 22:58:28 level=INFO ts=2022-10-25T22:58:24.147111196Z app=test source=logging.go:34 type=MsgGetReaderConfigResponse device=probe-127.0.0.1 msg="Incoming LLRP message" 22:58:28 level=DEBUG ts=2022-10-25T22:58:24.147144006Z app=test source=logging.go:45 type=MsgGetReaderConfigResponse device=probe-127.0.0.1 msg="Handled LLRP message." 22:58:28 level=DEBUG ts=2022-10-25T22:58:24.147166666Z app=test source=discover.go:377 msg="Sending GetReaderCapabilities." 22:58:28 level=INFO ts=2022-10-25T22:58:24.147186437Z app=test source=logging.go:25 type=MsgGetReaderCapabilities device=probe-127.0.0.1 msg="Sending LLRP message" 22:58:28 level=INFO ts=2022-10-25T22:58:24.147277797Z app=test source=logging.go:34 type=MsgGetReaderCapabilitiesResponse device=probe-127.0.0.1 msg="Incoming LLRP message" 22:58:28 level=DEBUG ts=2022-10-25T22:58:24.147306427Z app=test source=logging.go:45 type=MsgGetReaderCapabilitiesResponse device=probe-127.0.0.1 msg="Handled LLRP message." 22:58:28 level=INFO ts=2022-10-25T22:58:24.147334738Z app=test source=logging.go:25 type=MsgCloseConnection device=probe-127.0.0.1 msg="Sending LLRP message" 22:58:28 level=INFO ts=2022-10-25T22:58:24.147391238Z app=test source=logging.go:34 type=MsgCloseConnectionResponse device=probe-127.0.0.1 msg="Incoming LLRP message" 22:58:28 level=DEBUG ts=2022-10-25T22:58:24.147416638Z app=test source=logging.go:45 type=MsgCloseConnectionResponse device=probe-127.0.0.1 msg="Handled LLRP message." 22:58:28 level=INFO ts=2022-10-25T22:58:24.147445058Z app=test source=discover.go:397 host=127.0.0.1 port=59923 msg="Connection initiated successfully." 22:58:28 level=INFO ts=2022-10-25T22:58:24.147463928Z app=test source=discover.go:431 msg="Discovered device: &{deviceName:LLRP-001a004fd9ca2b host:127.0.0.1 port:59923 vendor:50 model:50 fwVersion:1.0.0}" 22:58:28 --- FAIL: TestAutoDiscoverNaming (0.02s) 22:58:28 --- FAIL: TestAutoDiscoverNaming/LLRP-D2-7F-A1 (0.00s) 22:58:28 discover_test.go:178: error shutting down test emulator: WriteTo failed: write tcp4 127.0.0.1:59923->127.0.0.1:48514: use of closed network connection 22:58:28 level=DEBUG ts=2022-10-25T22:58:24.1476767Z app=test source=discover.go:120 msg="total estimated network probes: 1, async limit: 1, probe timeout: 1s, total estimated time: 1s" 22:58:28 level=DEBUG ts=2022-10-25T22:58:24.147986342Z app=test source=discover.go:120 msg="total estimated network probes: 1, async limit: 1, probe timeout: 1s, total estimated time: 1s" 22:58:28 level=INFO ts=2022-10-25T22:58:24.148181614Z app=test source=discover.go:343 host=127.0.0.1 port=59923 msg="Connection dialed" 22:58:28 level=INFO ts=2022-10-25T22:58:24.148220894Z app=test source=discover.go:391 host=127.0.0.1 port=59923 msg="Attempting to connect to potential LLRP device..." 22:58:28 level=INFO ts=2022-10-25T22:58:24.148240315Z app=test source=logging.go:34 type=MsgReaderEventNotification device=probe-127.0.0.1 msg="Incoming LLRP message" 22:58:28 level=WARN ts=2022-10-25T22:58:24.148252205Z app=test source=logging.go:38 message-version=Version1_0_1 client-version=Version1_1 msg="LLRP incoming message version mismatch" 22:58:28 level=DEBUG ts=2022-10-25T22:58:24.148282495Z app=test source=discover.go:364 msg="Sending GetReaderConfig." 22:58:28 level=INFO ts=2022-10-25T22:58:24.148305405Z app=test source=logging.go:25 type=MsgGetSupportedVersion device=probe-127.0.0.1 msg="Sending LLRP message" 22:58:28 level=INFO ts=2022-10-25T22:58:24.148407106Z app=test source=logging.go:34 type=MsgErrorMessage device=probe-127.0.0.1 msg="Incoming LLRP message" 22:58:28 level=WARN ts=2022-10-25T22:58:24.148422586Z app=test source=logging.go:38 message-version=Version1_0_1 client-version=Version1_1 msg="LLRP incoming message version mismatch" 22:58:28 level=DEBUG ts=2022-10-25T22:58:24.148444126Z app=test source=logging.go:45 type=MsgErrorMessage device=probe-127.0.0.1 msg="Handled LLRP message." 22:58:28 level=INFO ts=2022-10-25T22:58:24.148464766Z app=test source=logging.go:25 type=MsgGetReaderConfig device=probe-127.0.0.1 msg="Sending LLRP message" 22:58:28 level=INFO ts=2022-10-25T22:58:24.148517686Z app=test source=logging.go:34 type=MsgGetReaderConfigResponse device=probe-127.0.0.1 msg="Incoming LLRP message" 22:58:28 level=DEBUG ts=2022-10-25T22:58:24.148537826Z app=test source=logging.go:45 type=MsgGetReaderConfigResponse device=probe-127.0.0.1 msg="Handled LLRP message." 22:58:28 level=DEBUG ts=2022-10-25T22:58:24.148552207Z app=test source=discover.go:377 msg="Sending GetReaderCapabilities." 22:58:28 level=INFO ts=2022-10-25T22:58:24.148567557Z app=test source=logging.go:25 type=MsgGetReaderCapabilities device=probe-127.0.0.1 msg="Sending LLRP message" 22:58:28 level=INFO ts=2022-10-25T22:58:24.148621397Z app=test source=logging.go:34 type=MsgGetReaderCapabilitiesResponse device=probe-127.0.0.1 msg="Incoming LLRP message" 22:58:28 level=DEBUG ts=2022-10-25T22:58:24.148641837Z app=test source=logging.go:45 type=MsgGetReaderCapabilitiesResponse device=probe-127.0.0.1 msg="Handled LLRP message." 22:58:28 level=INFO ts=2022-10-25T22:58:24.148655427Z app=test source=logging.go:25 type=MsgCloseConnection device=probe-127.0.0.1 msg="Sending LLRP message" 22:58:28 level=INFO ts=2022-10-25T22:58:24.148715508Z app=test source=logging.go:34 type=MsgCloseConnectionResponse device=probe-127.0.0.1 msg="Incoming LLRP message" 22:58:28 level=DEBUG ts=2022-10-25T22:58:24.148742588Z app=test source=logging.go:45 type=MsgCloseConnectionResponse device=probe-127.0.0.1 msg="Handled LLRP message." 22:58:28 level=INFO ts=2022-10-25T22:58:24.148784088Z app=test source=discover.go:397 host=127.0.0.1 port=59923 msg="Connection initiated successfully." 22:58:28 level=INFO ts=2022-10-25T22:58:24.148815148Z app=test source=discover.go:431 msg="Discovered device: &{deviceName:SpeedwayR-19-C5-D6 host:127.0.0.1 port:59923 vendor:25882 model:2001002 fwVersion:5.14.0.240}" 22:58:28 level=DEBUG ts=2022-10-25T22:58:24.148957609Z app=test source=discover.go:120 msg="total estimated network probes: 1, async limit: 1, probe timeout: 1s, total estimated time: 1s" 22:58:28 level=INFO ts=2022-10-25T22:58:24.149153271Z app=test source=discover.go:343 host=127.0.0.1 port=59923 msg="Connection dialed" 22:58:28 level=INFO ts=2022-10-25T22:58:24.149168941Z app=test source=discover.go:391 host=127.0.0.1 port=59923 msg="Attempting to connect to potential LLRP device..." 22:58:28 level=DEBUG ts=2022-10-25T22:58:24.149184551Z app=test source=discover.go:364 msg="Sending GetReaderConfig." 22:58:28 level=INFO ts=2022-10-25T22:58:24.149213371Z app=test source=logging.go:34 type=MsgReaderEventNotification device=probe-127.0.0.1 msg="Incoming LLRP message" 22:58:28 level=WARN ts=2022-10-25T22:58:24.149237651Z app=test source=logging.go:38 message-version=Version1_0_1 client-version=Version1_1 msg="LLRP incoming message version mismatch" 22:58:28 level=INFO ts=2022-10-25T22:58:24.149263401Z app=test source=logging.go:25 type=MsgGetSupportedVersion device=probe-127.0.0.1 msg="Sending LLRP message" 22:58:28 level=INFO ts=2022-10-25T22:58:24.149337562Z app=test source=logging.go:34 type=MsgErrorMessage device=probe-127.0.0.1 msg="Incoming LLRP message" 22:58:28 level=WARN ts=2022-10-25T22:58:24.149352092Z app=test source=logging.go:38 message-version=Version1_0_1 client-version=Version1_1 msg="LLRP incoming message version mismatch" 22:58:28 level=DEBUG ts=2022-10-25T22:58:24.149371252Z app=test source=logging.go:45 type=MsgErrorMessage device=probe-127.0.0.1 msg="Handled LLRP message." 22:58:28 level=INFO ts=2022-10-25T22:58:24.149410032Z app=test source=logging.go:25 type=MsgGetReaderConfig device=probe-127.0.0.1 msg="Sending LLRP message" 22:58:28 level=INFO ts=2022-10-25T22:58:24.149491823Z app=test source=logging.go:34 type=MsgGetReaderConfigResponse device=probe-127.0.0.1 msg="Incoming LLRP message" 22:58:28 level=DEBUG ts=2022-10-25T22:58:24.149511143Z app=test source=logging.go:45 type=MsgGetReaderConfigResponse device=probe-127.0.0.1 msg="Handled LLRP message." 22:58:28 level=DEBUG ts=2022-10-25T22:58:24.149527063Z app=test source=discover.go:377 msg="Sending GetReaderCapabilities." 22:58:28 level=INFO ts=2022-10-25T22:58:24.149555044Z app=test source=logging.go:25 type=MsgGetReaderCapabilities device=probe-127.0.0.1 msg="Sending LLRP message" 22:58:28 level=INFO ts=2022-10-25T22:58:24.149613385Z app=test source=logging.go:34 type=MsgGetReaderCapabilitiesResponse device=probe-127.0.0.1 msg="Incoming LLRP message" 22:58:28 level=DEBUG ts=2022-10-25T22:58:24.149634665Z app=test source=logging.go:45 type=MsgGetReaderCapabilitiesResponse device=probe-127.0.0.1 msg="Handled LLRP message." 22:58:28 level=INFO ts=2022-10-25T22:58:24.149652825Z app=test source=logging.go:25 type=MsgCloseConnection device=probe-127.0.0.1 msg="Sending LLRP message" 22:58:28 level=INFO ts=2022-10-25T22:58:24.149702615Z app=test source=logging.go:34 type=MsgCloseConnectionResponse device=probe-127.0.0.1 msg="Incoming LLRP message" 22:58:28 level=DEBUG ts=2022-10-25T22:58:24.149719545Z app=test source=logging.go:45 type=MsgCloseConnectionResponse device=probe-127.0.0.1 msg="Handled LLRP message." 22:58:28 level=INFO ts=2022-10-25T22:58:24.149744696Z app=test source=discover.go:397 host=127.0.0.1 port=59923 msg="Connection initiated successfully." 22:58:28 level=INFO ts=2022-10-25T22:58:24.149762746Z app=test source=discover.go:431 msg="Discovered device: &{deviceName:SpeedwayR-19-C5-D6 host:127.0.0.1 port:59923 vendor:25882 model:2001002 fwVersion:5.14.0.240}" 22:58:28 level=WARN ts=2022-10-25T22:58:24.149893697Z app=test source=discover.go:253 msg="Re-discovered existing device at the same TCP address, nothing to do." 22:58:28 FAIL 22:58:28 coverage: 38.5% of statements 22:58:28 FAIL github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 3.636s 22:58:28 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.253s coverage: 52.0% of statements 22:58:28 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.018s coverage: 95.5% of statements 22:58:28 FAIL 22:58:28 make: *** [Makefile:39: unittest] Error 1 [Pipeline] } 22:58:28 $ docker stop --time=1 85cc10be9cd5fac783eee7df3af3507c058803f4fc31ba19654c9f1cd309488f 22:58:30 $ docker rm -f 85cc10be9cd5fac783eee7df3af3507c058803f4fc31ba19654c9f1cd309488f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:58:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:58:31 22:58:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:58:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:58:32 latest: Pulling from edgex-lftools-log-publisher 22:58:32 5eb5b503b376: Pulling fs layer 22:58:32 5c69ac0246d0: Pulling fs layer 22:58:32 ec43610c2a17: Pulling fs layer 22:58:32 3a2ae6a8a46f: Pulling fs layer 22:58:32 33b1e0a273af: Pulling fs layer 22:58:32 5d3b04190fa2: Pulling fs layer 22:58:32 2f39f015ded8: Pulling fs layer 22:58:32 33b1e0a273af: Waiting 22:58:32 5d3b04190fa2: Waiting 22:58:32 2f39f015ded8: Waiting 22:58:32 3a2ae6a8a46f: Waiting 22:58:32 5c69ac0246d0: Verifying Checksum 22:58:32 5c69ac0246d0: Download complete 22:58:32 3a2ae6a8a46f: Verifying Checksum 22:58:32 3a2ae6a8a46f: Download complete 22:58:32 33b1e0a273af: Verifying Checksum 22:58:32 33b1e0a273af: Download complete 22:58:32 5d3b04190fa2: Verifying Checksum 22:58:32 5d3b04190fa2: Download complete 22:58:32 ec43610c2a17: Verifying Checksum 22:58:32 ec43610c2a17: Download complete 22:58:32 5eb5b503b376: Verifying Checksum 22:58:32 5eb5b503b376: Download complete 22:58:33 2f39f015ded8: Download complete 22:58:33 5eb5b503b376: Pull complete 22:58:33 5c69ac0246d0: Pull complete 22:58:34 ec43610c2a17: Pull complete 22:58:34 3a2ae6a8a46f: Pull complete 22:58:34 33b1e0a273af: Pull complete 22:58:34 5d3b04190fa2: Pull complete 22:58:38 2f39f015ded8: Pull complete 22:58:38 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:58:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:58:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:58:39 prd-ubuntu20.04-docker-8c-8g-116998 does not seem to be running inside a container 22:58:39 $ 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-119 -v /w/workspace/undry_device-rfid-llrp-go_PR-119:/w/workspace/undry_device-rfid-llrp-go_PR-119:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-119@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-119@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:58:41 $ docker top 16f9da60a96d64e1d4d27090671361d5a44ee0610f6381796f10cbd64027ddc9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:58:41 ---> job-cost.sh 22:58:41 lf-activate-venv: SKIPPING 22:58:41 INFO: No Stack... 22:58:42 INFO: Retrieving Pricing Info for: v3-standard-8 22:58:42 INFO: Archiving Costs [Pipeline] sh 22:58:42 + cat /w/workspace/undry_device-rfid-llrp-go_PR-119/archives/cost.csv 22:58:42 + cut -d, -f6 [Pipeline] lock 22:58:43 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-119-1-stack-cost] 22:58:43 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-119-1-stack-cost] did not exist. Created. 22:58:43 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-119-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:58:43 + echo total: 0.2199999988079071 [Pipeline] stash 22:58:43 Stashed 1 file(s) [Pipeline] } 22:58:43 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-119-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:58:43 $ docker stop --time=1 16f9da60a96d64e1d4d27090671361d5a44ee0610f6381796f10cbd64027ddc9 22:58:44 $ docker rm -f 16f9da60a96d64e1d4d27090671361d5a44ee0610f6381796f10cbd64027ddc9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:58:45 Failed in branch amd64 23:00:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-117000 in /w/workspace/undry_device-rfid-llrp-go_PR-119 [Pipeline] { [Pipeline] ws 23:00:49 Running in /w/workspace/device-rfid-llrp-go/1 [Pipeline] { [Pipeline] checkout 23:00:49 Selected Git installation does not exist. Using Default 23:00:49 The recommended git tool is: NONE 23:00:54 using credential edgex-jenkins-ssh 23:00:54 Cloning the remote Git repository 23:00:54 Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git 23:00:54 > git init /w/workspace/device-rfid-llrp-go/1 # timeout=10 23:00:54 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 23:00:54 > git --version # timeout=10 23:00:54 > git --version # 'git version 2.25.1' 23:00:54 using GIT_SSH to set credentials SSH Credentials for GitHub 23:00:54 Verifying host key using known hosts file 23:00:55 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 23:00:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:00:56 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 23:00:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:00:57 Merging remotes/origin/main commit b8ba3e221760256c2fe6830bd74ef8a303aa4de5 into PR head commit f119f178ead2d7de99022c2ba20d75dacbdb4e2c 23:00:57 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 23:00:57 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 23:00:57 using GIT_SSH to set credentials SSH Credentials for GitHub 23:00:57 Verifying host key using known hosts file 23:00:57 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 23:00:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/119/head:refs/remotes/origin/PR-119 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:00:57 > git config core.sparsecheckout # timeout=10 23:00:57 > git checkout -f f119f178ead2d7de99022c2ba20d75dacbdb4e2c # timeout=10 23:00:58 Merge succeeded, producing f119f178ead2d7de99022c2ba20d75dacbdb4e2c 23:00:58 Checking out Revision f119f178ead2d7de99022c2ba20d75dacbdb4e2c (PR-119) 23:00:58 > git remote # timeout=10 23:00:58 > git config --get remote.origin.url # timeout=10 23:00:58 using GIT_SSH to set credentials SSH Credentials for GitHub 23:00:58 Verifying host key using known hosts file 23:00:58 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 23:00:58 > git merge b8ba3e221760256c2fe6830bd74ef8a303aa4de5 # timeout=10 23:00:58 > git rev-parse HEAD^{commit} # timeout=10 23:00:58 > git config core.sparsecheckout # timeout=10 23:00:58 > git checkout -f f119f178ead2d7de99022c2ba20d75dacbdb4e2c # timeout=10 23:01:01 Commit message: "build: Latest go-mods, config and Dockerfile fix" 23:01:01 > git --version # timeout=10 23:01:01 > git --version # 'git version 2.25.1' 23:01:01 fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:01:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:01:03 % Total % Received % Xferd Average Speed Time Time Time Current 23:01:03 Dload Upload Total Spent Left Speed 23:01:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 227k 0 --:--:-- --:--:-- --:--:-- 227k [Pipeline] sh 23:01:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:01:04 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:01:04 + sudo tee /etc/docker/daemon.new 23:01:04 { 23:01:04 "registry-mirrors": [ 23:01:04 "https://nexus3.edgexfoundry.org:10001" 23:01:04 ], 23:01:04 "bip": "10.250.0.254/24", 23:01:04 "hosts": [ 23:01:04 "tcp://0.0.0.0:5555", 23:01:04 "unix:///var/run/docker.sock" 23:01:04 ], 23:01:04 "mtu": 1458, 23:01:04 "selinux-enabled": true, 23:01:04 "seccomp-profile": "/etc/docker/seccomp.json" 23:01:04 } [Pipeline] sh 23:01:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:01:04 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:01:23 provisioning config files... 23:01:23 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/device-rfid-llrp-go/1@tmp/config18262566969044550595tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:01:23 ---> docker-login.sh 23:01:23 nexus3.edgexfoundry.org:10001 23:01:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:01:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:01:24 Configure a credential helper to remove this warning. See 23:01:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:01:24 23:01:24 Login Succeeded 23:01:24 nexus3.edgexfoundry.org:10002 23:01:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:01:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:01:24 Configure a credential helper to remove this warning. See 23:01:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:01:24 23:01:24 Login Succeeded 23:01:24 nexus3.edgexfoundry.org:10003 23:01:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:01:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:01:24 Configure a credential helper to remove this warning. See 23:01:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:01:24 23:01:24 Login Succeeded 23:01:24 nexus3.edgexfoundry.org:10004 23:01:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:01:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:01:25 Configure a credential helper to remove this warning. See 23:01:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:01:25 23:01:25 Login Succeeded 23:01:25 docker.io 23:01:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:01:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:01:25 Configure a credential helper to remove this warning. See 23:01:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:01:25 23:01:25 Login Succeeded 23:01:25 ---> docker-login.sh ends [Pipeline] } 23:01:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:01:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:01:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:01:26 ========================================================= 23:01:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 23:01:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:01:26 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 23:01:26 Sending build context to Docker daemon 1.221MB 23:01:26 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 23:01:26 Step 2/11 : FROM ${BASE} AS builder 23:01:27 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:01:27 9b18e9b68314: Pulling fs layer 23:01:27 d32db5db7311: Pulling fs layer 23:01:27 d0c4b47475fc: Pulling fs layer 23:01:27 5831b945b038: Pulling fs layer 23:01:27 86bbec2aaacd: Pulling fs layer 23:01:27 e10730c5d714: Pulling fs layer 23:01:27 5dd5c2283517: Pulling fs layer 23:01:27 d5ac0230b979: Pulling fs layer 23:01:27 5831b945b038: Waiting 23:01:27 86bbec2aaacd: Waiting 23:01:27 e10730c5d714: Waiting 23:01:27 5dd5c2283517: Waiting 23:01:27 d5ac0230b979: Waiting 23:01:27 d0c4b47475fc: Download complete 23:01:27 d32db5db7311: Verifying Checksum 23:01:27 d32db5db7311: Download complete 23:01:27 86bbec2aaacd: Verifying Checksum 23:01:27 86bbec2aaacd: Download complete 23:01:27 e10730c5d714: Verifying Checksum 23:01:27 e10730c5d714: Download complete 23:01:27 9b18e9b68314: Verifying Checksum 23:01:27 9b18e9b68314: Download complete 23:01:28 9b18e9b68314: Pull complete 23:01:28 d5ac0230b979: Verifying Checksum 23:01:28 d5ac0230b979: Download complete 23:01:29 d32db5db7311: Pull complete 23:01:29 d0c4b47475fc: Pull complete 23:01:29 5dd5c2283517: Verifying Checksum 23:01:29 5dd5c2283517: Download complete 23:01:30 5831b945b038: Verifying Checksum 23:01:30 5831b945b038: Download complete 23:01:42 5831b945b038: Pull complete 23:01:42 86bbec2aaacd: Pull complete 23:01:42 e10730c5d714: Pull complete 23:01:49 5dd5c2283517: Pull complete 23:01:51 d5ac0230b979: Pull complete 23:01:51 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 23:01:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 23:01:51 ---> 59b3b1a385d4 23:01:51 Step 3/11 : ARG MAKE='make build' 23:01:53 ---> Running in 5ddd044d943c 23:01:53 Removing intermediate container 5ddd044d943c 23:01:53 ---> fa6f45b02e4c 23:01:53 Step 4/11 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 23:01:53 ---> Running in 148a0457f777 23:01:54 Removing intermediate container 148a0457f777 23:01:54 ---> 9d86752e1823 23:01:54 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 23:01:54 ---> Running in b9d183bb4a4a 23:01:54 Removing intermediate container b9d183bb4a4a 23:01:54 ---> 0086c41e6abb 23:01:54 Step 6/11 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:01:54 ---> Running in 5eccdc1e611b 23:01:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:01:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:01:56 OK: 221 MiB in 51 packages 23:01:57 Removing intermediate container 5eccdc1e611b 23:01:57 ---> e3719b80a427 23:01:57 Step 7/11 : WORKDIR /app 23:01:57 ---> Running in 7b20f2b56201 23:01:57 Removing intermediate container 7b20f2b56201 23:01:57 ---> a051b9bd9232 23:01:57 Step 8/11 : COPY go.mod vendor* ./ 23:01:58 ---> 5c5a370c2826 23:01:58 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:01:58 ---> Running in ee88a5645640 23:02:54 Removing intermediate container ee88a5645640 23:02:54 ---> 7ef6210d390d 23:02:54 Step 10/11 : COPY . . 23:02:54 ---> 55641e95eb53 23:02:54 Step 11/11 : RUN $MAKE 23:02:54 ---> Running in 56affe62eefd 23:02:55 noop 23:02:56 Removing intermediate container 56affe62eefd 23:02:56 ---> 471becd97d07 23:02:56 Successfully built 471becd97d07 23:02:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:02:57 + docker inspect -f . ci-base-image-arm64 23:02:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:02:57 prd-ubuntu20.04-docker-arm64-4c-16g-117000 does not seem to be running inside a container 23:02:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rfid-llrp-go/1 -v /w/workspace/device-rfid-llrp-go/1:/w/workspace/device-rfid-llrp-go/1:rw,z -v /w/workspace/device-rfid-llrp-go/1@tmp:/w/workspace/device-rfid-llrp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:02:58 $ docker top b73f400c2b68c058d0d751e2ad0b399277f23412db6c7ff4b93a1b95d0013a24 -eo pid,comm [Pipeline] { [Pipeline] sh 23:02:59 + go version 23:02:59 go version go1.18.7 linux/arm64 [Pipeline] } 23:02:59 $ docker stop --time=1 b73f400c2b68c058d0d751e2ad0b399277f23412db6c7ff4b93a1b95d0013a24 23:03:01 $ docker rm -f b73f400c2b68c058d0d751e2ad0b399277f23412db6c7ff4b93a1b95d0013a24 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:03:01 + docker inspect -f . ci-base-image-arm64 23:03:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:03:02 prd-ubuntu20.04-docker-arm64-4c-16g-117000 does not seem to be running inside a container 23:03:02 $ 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/1 -v /w/workspace/device-rfid-llrp-go/1:/w/workspace/device-rfid-llrp-go/1:rw,z -v /w/workspace/device-rfid-llrp-go/1@tmp:/w/workspace/device-rfid-llrp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:03:03 $ docker top 7d144f74399f5880c3549078f104ee9726986d83e7a8dacc64ea1a505a79833f -eo pid,comm [Pipeline] { [Pipeline] sh 23:03:04 + git config --global --add safe.directory /w/workspace/device-rfid-llrp-go/1 [Pipeline] fileExists [Pipeline] sh 23:03:05 + make test 23:03:05 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:03:06 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 23:04:43 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 23:04:43 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 23:05:05 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 23.932s coverage: 38.5% of statements 23:05:05 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.517s coverage: 52.0% of statements 23:05:05 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.063s coverage: 95.5% of statements 23:05:05 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:05:05 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:05:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:05:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:05:37 ./bin/test-attribution-txt.sh 23:05:37 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [Pipeline] echo 23:05:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:05:37 $ docker stop --time=1 7d144f74399f5880c3549078f104ee9726986d83e7a8dacc64ea1a505a79833f 23:05:39 $ docker rm -f 7d144f74399f5880c3549078f104ee9726986d83e7a8dacc64ea1a505a79833f [Pipeline] // withDockerContainer [Pipeline] sh 23:05:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:05:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:05:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:05:42 + ls -al . 23:05:42 total 636 23:05:42 drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 23:03 . 23:05:42 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 23:00 .. 23:05:42 -rw-rw-r-- 1 jenkins jenkins 134 Oct 25 23:00 .dockerignore 23:05:42 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 23:00 .git 23:05:42 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 23:00 .github 23:05:42 -rw-rw-r-- 1 jenkins jenkins 946 Oct 25 23:00 .gitignore 23:05:42 -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 23:00 .golangci.yml 23:05:42 -rw-rw-r-- 1 jenkins jenkins 10866 Oct 25 23:00 Attribution.txt 23:05:42 -rw-rw-r-- 1 jenkins jenkins 3740 Oct 25 23:00 CHANGELOG.md 23:05:42 -rw-rw-r-- 1 jenkins jenkins 1429 Oct 25 23:00 Dockerfile 23:05:42 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 23:00 GOVERNANCE.md 23:05:42 -rw-rw-r-- 1 jenkins jenkins 683 Oct 25 23:00 Jenkinsfile 23:05:42 -rw-rw-r-- 1 jenkins jenkins 11347 Oct 25 23:00 LICENSE 23:05:42 -rw-rw-r-- 1 jenkins jenkins 2196 Oct 25 23:00 Makefile 23:05:42 -rw-rw-r-- 1 jenkins jenkins 625 Oct 25 23:00 OWNERS.md 23:05:42 -rw-rw-r-- 1 jenkins jenkins 28496 Oct 25 23:00 README.md 23:05:42 -rw-rw-r-- 1 jenkins jenkins 5 Oct 25 22:57 VERSION 23:05:42 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 23:00 bin 23:05:42 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 23:00 cmd 23:05:42 -rw-r--r-- 1 jenkins jenkins 460049 Oct 25 23:05 coverage.out 23:05:42 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 23:00 examples 23:05:42 -rw-rw-r-- 1 jenkins jenkins 3598 Oct 25 23:00 go.mod 23:05:42 -rw-rw-r-- 1 jenkins jenkins 44720 Oct 25 23:00 go.sum 23:05:42 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 23:00 images 23:05:42 drwxrwxr-x 5 jenkins jenkins 4096 Oct 25 23:00 internal 23:05:42 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 23:00 snap 23:05:42 -rw-rw-r-- 1 jenkins jenkins 193 Oct 25 23:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:05:43 + 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=f119f178ead2d7de99022c2ba20d75dacbdb4e2c --label arch=arm64 --label version=0.0.0 . 23:05:43 Sending build context to Docker daemon 1.221MB 23:05:43 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 23:05:43 Step 2/24 : FROM ${BASE} AS builder 23:05:43 ---> 471becd97d07 23:05:43 Step 3/24 : ARG MAKE='make build' 23:05:43 ---> Running in 6636f4477492 23:05:43 Removing intermediate container 6636f4477492 23:05:43 ---> 9d8df7bcd14f 23:05:43 Step 4/24 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 23:05:43 ---> Running in ed4ca2b2b7b6 23:05:44 Removing intermediate container ed4ca2b2b7b6 23:05:44 ---> 7c1a3c6bf601 23:05:44 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 23:05:44 ---> Running in 75a32a1a3c13 23:05:44 Removing intermediate container 75a32a1a3c13 23:05:44 ---> 333c91c166b5 23:05:44 Step 6/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:05:44 ---> Running in 735b0cdbfad3 23:05:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:05:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:05:47 OK: 221 MiB in 51 packages 23:05:48 Removing intermediate container 735b0cdbfad3 23:05:48 ---> 25502046b057 23:05:48 Step 7/24 : WORKDIR /app 23:05:48 ---> Running in 3e81a8062cb1 23:05:48 Removing intermediate container 3e81a8062cb1 23:05:48 ---> b45d4985082a 23:05:48 Step 8/24 : COPY go.mod vendor* ./ 23:05:49 ---> 09bebdb27a62 23:05:49 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:05:49 ---> Running in fe5d90bb920e 23:05:52 Removing intermediate container fe5d90bb920e 23:05:52 ---> 46e339358eea 23:05:52 Step 10/24 : COPY . . 23:05:53 ---> c7bdc045831d 23:05:53 Step 11/24 : RUN $MAKE 23:05:53 ---> Running in b579bc889557 23:05:55 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.46 -X github.com/edgexfoundry/device-rfid-llrp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rfid-llrp ./cmd 23:08:17 Removing intermediate container b579bc889557 23:08:17 ---> f8c3d99569cc 23:08:17 Step 12/24 : FROM alpine:3.16 23:08:17 3.16: Pulling from library/alpine 23:08:17 9b18e9b68314: Already exists 23:08:17 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 23:08:17 Status: Downloaded newer image for alpine:3.16 23:08:17 ---> a6215f271958 23:08:17 Step 13/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 23:08:17 ---> Running in 79d4f760f468 23:08:17 Removing intermediate container 79d4f760f468 23:08:17 ---> cf98e6e0c0bf 23:08:17 Step 14/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:08:17 ---> Running in abe74494ed47 23:08:17 Removing intermediate container abe74494ed47 23:08:17 ---> 10f176f8b5ac 23:08:17 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 23:08:17 ---> Running in ab4402b2d673 23:08:17 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:08:17 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:08:17 (1/6) Installing dumb-init (1.2.5-r1) 23:08:17 (2/6) Installing libgcc (11.2.1_git20220219-r2) 23:08:17 (3/6) Installing libsodium (1.0.18-r0) 23:08:17 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 23:08:17 (5/6) Installing libzmq (4.3.4-r0) 23:08:17 (6/6) Installing zeromq (4.3.4-r0) 23:08:17 Executing busybox-1.35.0-r17.trigger 23:08:17 OK: 8 MiB in 20 packages 23:08:18 Removing intermediate container ab4402b2d673 23:08:18 ---> 8012e7d72017 23:08:18 Step 16/24 : COPY --from=builder /app/LICENSE / 23:08:18 ---> e62c4b320b8f 23:08:18 Step 17/24 : COPY --from=builder /app/Attribution.txt / 23:08:19 ---> 9c376c06c0c4 23:08:19 Step 18/24 : COPY --from=builder /app/cmd/ / 23:08:20 ---> c8d88b99d02a 23:08:20 Step 19/24 : EXPOSE 59989 23:08:20 ---> Running in 8b903e4e8824 23:08:20 Removing intermediate container 8b903e4e8824 23:08:20 ---> 1bdaf0a2647b 23:08:20 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 23:08:20 ---> Running in 8ddc731e17ed 23:08:21 Removing intermediate container 8ddc731e17ed 23:08:21 ---> 7c6bd62059e6 23:08:21 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 23:08:21 ---> Running in 5deb07109617 23:08:21 Removing intermediate container 5deb07109617 23:08:21 ---> 693b93873b60 23:08:21 Step 22/24 : LABEL arch=arm64 23:08:21 ---> Running in 8b8c864a6fd4 23:08:21 Removing intermediate container 8b8c864a6fd4 23:08:21 ---> ad3128208010 23:08:21 Step 23/24 : LABEL git_sha=f119f178ead2d7de99022c2ba20d75dacbdb4e2c 23:08:21 ---> Running in 637d1ea77e08 23:08:22 Removing intermediate container 637d1ea77e08 23:08:22 ---> 1aaf8b3d5787 23:08:22 Step 24/24 : LABEL version=0.0.0 23:08:22 ---> Running in 92e3fbb4210a 23:08:22 Removing intermediate container 92e3fbb4210a 23:08:22 ---> 0fecaf7bdc40 23:08:22 [Warning] One or more build-args [ARCH] were not consumed 23:08:22 Successfully built 0fecaf7bdc40 23:08:22 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 23:08:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:08:23 23:08:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:08:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:08:23 arm64: Pulling from edgex-lftools-log-publisher 23:08:23 8998bd30e6a1: Pulling fs layer 23:08:23 04944245beec: Pulling fs layer 23:08:23 699f458cf7ca: Pulling fs layer 23:08:23 765212b225bb: Pulling fs layer 23:08:23 f23df028b6ca: Pulling fs layer 23:08:23 d65c8cfc05b1: Pulling fs layer 23:08:23 2437ff75d9bd: Pulling fs layer 23:08:23 f23df028b6ca: Waiting 23:08:23 d65c8cfc05b1: Waiting 23:08:23 765212b225bb: Waiting 23:08:23 2437ff75d9bd: Waiting 23:08:23 04944245beec: Verifying Checksum 23:08:23 04944245beec: Download complete 23:08:24 765212b225bb: Download complete 23:08:24 f23df028b6ca: Verifying Checksum 23:08:24 f23df028b6ca: Download complete 23:08:24 d65c8cfc05b1: Verifying Checksum 23:08:24 d65c8cfc05b1: Download complete 23:08:24 699f458cf7ca: Verifying Checksum 23:08:24 699f458cf7ca: Download complete 23:08:24 8998bd30e6a1: Verifying Checksum 23:08:24 8998bd30e6a1: Download complete 23:08:26 2437ff75d9bd: Verifying Checksum 23:08:26 2437ff75d9bd: Download complete 23:08:28 8998bd30e6a1: Pull complete 23:08:29 04944245beec: Pull complete 23:08:30 699f458cf7ca: Pull complete 23:08:30 765212b225bb: Pull complete 23:08:31 f23df028b6ca: Pull complete 23:08:31 d65c8cfc05b1: Pull complete 23:08:46 2437ff75d9bd: Pull complete 23:08:46 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:08:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:08:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:08:46 prd-ubuntu20.04-docker-arm64-4c-16g-117000 does not seem to be running inside a container 23:08:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rfid-llrp-go/1 -v /w/workspace/device-rfid-llrp-go/1:/w/workspace/device-rfid-llrp-go/1:rw,z -v /w/workspace/device-rfid-llrp-go/1@tmp:/w/workspace/device-rfid-llrp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:08:49 $ docker top 8004fa1923926f00eecb5ec4327a5492bac219171edcffc73815de62070ffae6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:08:49 ---> job-cost.sh 23:08:50 lf-activate-venv: SKIPPING 23:08:50 INFO: No Stack... 23:08:51 INFO: Retrieving Pricing Info for: v3-standard-4 23:08:51 INFO: Archiving Costs [Pipeline] sh 23:08:52 + cat /w/workspace/device-rfid-llrp-go/1/archives/cost.csv 23:08:52 + cut -d, -f6 [Pipeline] lock 23:08:52 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-119-1-stack-cost] 23:08:52 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-119-1-stack-cost] did not exist. Created. 23:08:52 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-119-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:08:52 /w/workspace/device-rfid-llrp-go/1@tmp/durable-dc006cff/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:08:53 + echo total: 0.10999999940395355 [Pipeline] stash 23:08:53 Warning: overwriting stash ‘stack-cost’ 23:08:53 Stashed 1 file(s) [Pipeline] } 23:08:53 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-119-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:08:53 $ docker stop --time=1 8004fa1923926f00eecb5ec4327a5492bac219171edcffc73815de62070ffae6 23:08:54 $ docker rm -f 8004fa1923926f00eecb5ec4327a5492bac219171edcffc73815de62070ffae6 [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) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 23:08:57 + [ -d /w/workspace/undry_device-rfid-llrp-go_PR-119/archives ] 23:08:57 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-119/archives 23:08:57 total 16 23:08:57 drwxr-xr-x 3 root root 4096 Oct 25 22:58 . 23:08:57 drwxrwxr-x 12 jenkins jenkins 4096 Oct 25 22:58 .. 23:08:57 drwxr-xr-x 2 root root 4096 Oct 25 22:58 cost 23:08:57 -rw-r--r-- 1 root root 91 Oct 25 22:58 cost.csv 23:08:57 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-rfid-llrp-go_PR-119/archives 23:08:57 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-119/archives 23:08:57 total 16 23:08:57 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 22:58 . 23:08:57 drwxrwxr-x 12 jenkins jenkins 4096 Oct 25 22:58 .. 23:08:57 drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 22:58 cost 23:08:57 -rw-r--r-- 1 jenkins jenkins 91 Oct 25 22:58 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:08:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:08:58 ---> package-listing.sh 23:08:58 ++ tr '[:upper:]' '[:lower:]' 23:08:58 ++ facter osfamily 23:08:58 + OS_FAMILY=debian 23:08:58 + workspace=/w/workspace/undry_device-rfid-llrp-go_PR-119 23:08:58 + START_PACKAGES=/tmp/packages_start.txt 23:08:58 + END_PACKAGES=/tmp/packages_end.txt 23:08:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:08:58 + PACKAGES=/tmp/packages_start.txt 23:08:58 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-119 ']' 23:08:58 + PACKAGES=/tmp/packages_end.txt 23:08:58 + case "${OS_FAMILY}" in 23:08:58 + dpkg -l 23:08:58 + grep '^ii' 23:08:58 + '[' -f /tmp/packages_start.txt ']' 23:08:58 + '[' -f /tmp/packages_end.txt ']' 23:08:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:08:58 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-119 ']' 23:08:58 + mkdir -p /w/workspace/undry_device-rfid-llrp-go_PR-119/archives/ 23:08:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-rfid-llrp-go_PR-119/archives/ [Pipeline] echo 23:08:59 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-119/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:08:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:08:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:08:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:09:00 prd-ubuntu20.04-docker-8c-8g-116998 does not seem to be running inside a container 23:09:00 $ 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-119/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-119 -v /w/workspace/undry_device-rfid-llrp-go_PR-119:/w/workspace/undry_device-rfid-llrp-go_PR-119:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-119@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-119@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:09:00 $ docker top ff0f6cd86d76a486d05b38aba618bf4d32c06284268fd669cda301e4aeddfdd7 -eo pid,comm [Pipeline] { [Pipeline] sh 23:09:00 + touch /tmp/pre-build-complete [Pipeline] sh 23:09:00 + mkdir -p /var/log/sysstat [Pipeline] sh 23:09:01 + ls /var/log/sa-host 23:09:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:09:01 provisioning config files... 23:09:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-119@tmp/config5834627606412556941tmp [Pipeline] { [Pipeline] echo 23:09:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:09:01 ---> create-netrc.sh [Pipeline] } 23:09:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:09:02 ---> python-tools-install.sh [Pipeline] echo 23:09:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:09:02 ---> sudo-logs.sh 23:09:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:09:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:09:02 ---> job-cost.sh 23:09:02 lf-activate-venv: SKIPPING 23:09:02 DEBUG: total: 0.2199999988079071 23:09:02 INFO: Retrieving Stack Cost... 23:09:03 INFO: Retrieving Pricing Info for: v3-standard-8 23:09:03 INFO: Archiving Costs [Pipeline] echo 23:09:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:09:04 ---> logs-deploy.sh 23:09:04 lf-activate-venv: SKIPPING 23:09:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rfid-llrp-go/PR-119/1 23:09:04 INFO: archiving workspace using pattern(s): 23:09:05 Archives upload complete. 23:09:05 INFO: archiving logs to Nexus