Pull request #79 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of marcpfuller for edgexfoundry/device-rfid-llrp-go Loading trusted files from base branch main at fa56b1bc1f531ed8085377a9d0fe0a5012d1ff6e rather than c37b68d746d6d418366af73042733a3dbd206d1f Obtained Jenkinsfile from fa56b1bc1f531ed8085377a9d0fe0a5012d1ff6e 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-ssh2148386302802540746.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh18296275988632889448.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/PR-79/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/PR-79/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11683779355269496565.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared 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-ssh2405909866528939433.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/PR-79/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/PR-79/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12010146770056108713.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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.17 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-34192 in /w/workspace/oundry_device-rfid-llrp-go_PR-79 [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/oundry_device-rfid-llrp-go_PR-79 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit fa56b1bc1f531ed8085377a9d0fe0a5012d1ff6e into PR head commit c37b68d746d6d418366af73042733a3dbd206d1f Merge succeeded, producing c37b68d746d6d418366af73042733a3dbd206d1f Checking out Revision c37b68d746d6d418366af73042733a3dbd206d1f (PR-79) > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/79/head:refs/remotes/origin/PR-79 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c37b68d746d6d418366af73042733a3dbd206d1f # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge fa56b1bc1f531ed8085377a9d0fe0a5012d1ff6e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c37b68d746d6d418366af73042733a3dbd206d1f # timeout=10 Commit message: "Merge branch 'update_attribution_and_config' of https://github.com/marcpfuller/device-rfid-llrp-go into update_attribution_and_config" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:08:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:08:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk aaef8ff874db4ae75c5b20e95ecb21f3ce4c2c1d # timeout=10 [Pipeline] echo 22:08:50 ========================================================= 22:08:50 EdgeX Global Pipelines Version Info 22:08:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:08:51 ------------------- 22:08:51 stable info: 22:08:51 ------------------- 22:08:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:08:51 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 22:08:51 Message: update stable to v1.0.227 22:08:51 ------------------- 22:08:51 experimental info: 22:08:51 ------------------- 22:08:51 Commited By: **** collab-it+edgex@linuxfoundation.org 22:08:51 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 22:08:51 Message: update experimental to v1.0.227 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:08:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rfid-llrp-go-settings [Pipeline] echo 22:08:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-rfid-llrp-go [Pipeline] echo 22:08:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:08:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:08:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:08:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 22:08:52 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:08:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:08:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:08:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:08:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:08:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rfid-llrp [Pipeline] echo 22:08:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:08:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:08:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:08:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:08:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:08:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:08:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:08:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:08:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:08:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:08:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:08:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:08:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:08:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:08:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-79 [Pipeline] echo 22:08:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-79 [Pipeline] echo 22:08:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-79 [Pipeline] echo 22:08:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c37b68d746d6d418366af73042733a3dbd206d1f [Pipeline] echo 22:08:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c37b68d [Pipeline] echo 22:08:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:08:52 provisioning config files... 22:08:52 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/oundry_device-rfid-llrp-go_PR-79@tmp/config2113761027140612804tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:08:52 ---> docker-login.sh 22:08:52 nexus3.edgexfoundry.org:10001 22:08:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:08:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:08:53 Configure a credential helper to remove this warning. See 22:08:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:08:53 22:08:53 Login Succeeded 22:08:53 nexus3.edgexfoundry.org:10002 22:08:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:08:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:08:53 Configure a credential helper to remove this warning. See 22:08:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:08:53 22:08:53 Login Succeeded 22:08:53 nexus3.edgexfoundry.org:10003 22:08:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:08:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:08:53 Configure a credential helper to remove this warning. See 22:08:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:08:53 22:08:53 Login Succeeded 22:08:53 nexus3.edgexfoundry.org:10004 22:08:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:08:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:08:53 Configure a credential helper to remove this warning. See 22:08:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:08:53 22:08:53 Login Succeeded 22:08:53 docker.io 22:08:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:08:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:08:53 Configure a credential helper to remove this warning. See 22:08:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:08:53 22:08:53 Login Succeeded 22:08:53 ---> docker-login.sh ends [Pipeline] } 22:08:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:08:54 + git rev-list -1 --merges c37b68d746d6d418366af73042733a3dbd206d1f~1..c37b68d746d6d418366af73042733a3dbd206d1f [Pipeline] echo 22:08:54 -----------> git rev-list -1 --merges c37b68d746d6d418366af73042733a3dbd206d1f~1..c37b68d746d6d418366af73042733a3dbd206d1f c37b68d746d6d418366af73042733a3dbd206d1f 22:08:54 c37b68d746d6d418366af73042733a3dbd206d1f [false] [Pipeline] sh 22:08:54 + git log --format=format:%s -1 c37b68d746d6d418366af73042733a3dbd206d1f [Pipeline] echo 22:08:54 ========================================================= 22:08:54 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:08:54 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:08:54 + git log --format=format:%s -1 c37b68d746d6d418366af73042733a3dbd206d1f [Pipeline] echo 22:08:54 [semverPrep] GIT_COMMIT: c37b68d746d6d418366af73042733a3dbd206d1f, Commit Message: Merge branch 'update_attribution_and_config' of https://github.com/marcpfuller/device-rfid-llrp-go into update_attribution_and_config [Pipeline] echo 22:08:55 [semverPrep] This is not a build commit. [Pipeline] sh 22:08:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:08:55 + grep -v github /etc/ssh/ssh_known_hosts 22:08:55 + [ -e /tmp/ssh_known_hosts ] 22:08:55 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:08:55 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:08:55 + sudo tee -a /etc/ssh/ssh_known_hosts 22:08:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 22:08:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 22:08:55 22:08:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:08:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 22:08:56 latest: Pulling from edgex-devops/py-git-semver 22:08:56 1fe172e4850f: Pulling fs layer 22:08:56 caf521ccaac6: Pulling fs layer 22:08:56 3ead6fa29328: Pulling fs layer 22:08:56 5c2a1cbceb83: Pulling fs layer 22:08:56 a8d5f1318db7: Pulling fs layer 22:08:56 c427282e49a2: Pulling fs layer 22:08:56 1827001aaf11: Pulling fs layer 22:08:56 0714d37db230: Pulling fs layer 22:08:56 ac28cf19c067: Pulling fs layer 22:08:56 ca983d60f3e2: Pulling fs layer 22:08:56 9f894cec8388: Pulling fs layer 22:08:56 a8d5f1318db7: Waiting 22:08:56 c427282e49a2: Waiting 22:08:56 1827001aaf11: Waiting 22:08:56 0714d37db230: Waiting 22:08:56 ac28cf19c067: Waiting 22:08:56 ca983d60f3e2: Waiting 22:08:56 9f894cec8388: Waiting 22:08:56 5c2a1cbceb83: Waiting 22:08:56 caf521ccaac6: Download complete 22:08:56 5c2a1cbceb83: Verifying Checksum 22:08:56 5c2a1cbceb83: Download complete 22:08:56 3ead6fa29328: Verifying Checksum 22:08:56 3ead6fa29328: Download complete 22:08:56 a8d5f1318db7: Verifying Checksum 22:08:56 a8d5f1318db7: Download complete 22:08:56 c427282e49a2: Verifying Checksum 22:08:56 c427282e49a2: Download complete 22:08:56 0714d37db230: Download complete 22:08:56 ac28cf19c067: Download complete 22:08:56 ca983d60f3e2: Verifying Checksum 22:08:56 ca983d60f3e2: Download complete 22:08:56 9f894cec8388: Verifying Checksum 22:08:56 9f894cec8388: Download complete 22:08:56 1fe172e4850f: Verifying Checksum 22:08:56 1fe172e4850f: Download complete 22:08:56 1827001aaf11: Verifying Checksum 22:08:56 1827001aaf11: Download complete 22:08:57 1fe172e4850f: Pull complete 22:08:57 caf521ccaac6: Pull complete 22:08:58 3ead6fa29328: Pull complete 22:08:58 5c2a1cbceb83: Pull complete 22:08:58 a8d5f1318db7: Pull complete 22:08:58 c427282e49a2: Pull complete 22:09:00 1827001aaf11: Pull complete 22:09:00 0714d37db230: Pull complete 22:09:00 ac28cf19c067: Pull complete 22:09:00 ca983d60f3e2: Pull complete 22:09:00 9f894cec8388: Pull complete 22:09:00 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 22:09:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 22:09:00 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 22:09:00 prd-ubuntu20.04-docker-8c-8g-34192 does not seem to be running inside a container 22:09:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-rfid-llrp-go_PR-79 -v /w/workspace/oundry_device-rfid-llrp-go_PR-79:/w/workspace/oundry_device-rfid-llrp-go_PR-79:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-79@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-79@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 22:09:02 $ docker top a1c4b43fee7069849ebbd4e5fbe0d0c62a3798a441b46e6148b61daeee5e2dcf -eo pid,comm 22:09:02 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:09:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:09:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:09:02 [ssh-agent] Looking for ssh-agent implementation... 22:09:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:09:02 $ docker exec a1c4b43fee7069849ebbd4e5fbe0d0c62a3798a441b46e6148b61daeee5e2dcf ssh-agent 22:09:02 SSH_AUTH_SOCK=/tmp/ssh-AHPtRUUYFvrr/agent.33 22:09:02 SSH_AGENT_PID=40 22:09:02 Running ssh-add (command line suppressed) 22:09:02 Identity added: /w/workspace/oundry_device-rfid-llrp-go_PR-79@tmp/private_key_3332178043081578950.key (/w/workspace/oundry_device-rfid-llrp-go_PR-79@tmp/private_key_3332178043081578950.key) 22:09:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:09:02 + git tag --points-at HEAD [Pipeline] } 22:09:02 $ docker exec --env ******** --env ******** a1c4b43fee7069849ebbd4e5fbe0d0c62a3798a441b46e6148b61daeee5e2dcf ssh-agent -k 22:09:03 unset SSH_AUTH_SOCK; 22:09:03 unset SSH_AGENT_PID; 22:09:03 echo Agent pid 40 killed; 22:09:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:09:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:09:03 [ssh-agent] Looking for ssh-agent implementation... 22:09:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:09:03 $ docker exec a1c4b43fee7069849ebbd4e5fbe0d0c62a3798a441b46e6148b61daeee5e2dcf ssh-agent 22:09:03 SSH_AUTH_SOCK=/tmp/ssh-q57T3vnQQpXI/agent.75 22:09:03 SSH_AGENT_PID=82 22:09:03 Running ssh-add (command line suppressed) 22:09:03 Identity added: /w/workspace/oundry_device-rfid-llrp-go_PR-79@tmp/private_key_8007904523411286243.key (/w/workspace/oundry_device-rfid-llrp-go_PR-79@tmp/private_key_8007904523411286243.key) 22:09:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:09:03 + git semver init 22:09:04 2022-04-28 22:09:03,972 [run_init] DEBUG init version:0.0.0 force:False 22:09:04 2022-04-28 22:09:03,973 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-rfid-llrp-go_PR-79/.semver 22:09:04 2022-04-28 22:09:03,974 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rfid-llrp-go.git /w/workspace/oundry_device-rfid-llrp-go_PR-79/.semver 22:09:04 2022-04-28 22:09:03,974 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rfid-llrp-go.git', '/w/workspace/oundry_device-rfid-llrp-go_PR-79/.semver'], cwd=/w/workspace/oundry_device-rfid-llrp-go_PR-79, universal_newlines=False, shell=None, istream=None) 22:09:04 2022-04-28 22:09:04,887 [append_file] DEBUG append to file:/w/workspace/oundry_device-rfid-llrp-go_PR-79/.git/info/exclude 22:09:04 2022-04-28 22:09:04,888 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-rfid-llrp-go_PR-79/.semver/PR-79 with force:False 22:09:04 2022-04-28 22:09:04,888 [write_file] DEBUG write to file:/w/workspace/oundry_device-rfid-llrp-go_PR-79/.semver/PR-79 22:09:04 2022-04-28 22:09:04,891 [execute] INFO git cat-file --batch-check 22:09:04 2022-04-28 22:09:04,891 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-rfid-llrp-go_PR-79/.semver, universal_newlines=False, shell=None, istream=) 22:09:04 2022-04-28 22:09:04,896 [execute] INFO git cat-file --batch 22:09:04 2022-04-28 22:09:04,896 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-rfid-llrp-go_PR-79/.semver, universal_newlines=False, shell=None, istream=) 22:09:04 2022-04-28 22:09:04,901 [read_version] DEBUG read version from /w/workspace/oundry_device-rfid-llrp-go_PR-79/.semver/PR-79 22:09:04 0.0.0 [Pipeline] } 22:09:04 $ docker exec --env ******** --env ******** a1c4b43fee7069849ebbd4e5fbe0d0c62a3798a441b46e6148b61daeee5e2dcf ssh-agent -k 22:09:05 unset SSH_AUTH_SOCK; 22:09:05 unset SSH_AGENT_PID; 22:09:05 echo Agent pid 82 killed; 22:09:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:09:05 + git semver [Pipeline] } 22:09:05 $ docker stop --time=1 a1c4b43fee7069849ebbd4e5fbe0d0c62a3798a441b46e6148b61daeee5e2dcf 22:09:07 $ docker rm -f a1c4b43fee7069849ebbd4e5fbe0d0c62a3798a441b46e6148b61daeee5e2dcf [Pipeline] // withDockerContainer [Pipeline] sh 22:09:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:09:07 Stashed 1 file(s) [Pipeline] echo 22:09:07 [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:09:07 provisioning config files... 22:09:07 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/oundry_device-rfid-llrp-go_PR-79@tmp/config7223822525730284580tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:09:08 ---> docker-login.sh 22:09:08 nexus3.edgexfoundry.org:10001 22:09:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:09:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:09:08 Configure a credential helper to remove this warning. See 22:09:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:09:08 22:09:08 Login Succeeded 22:09:08 nexus3.edgexfoundry.org:10002 22:09:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:09:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:09:08 Configure a credential helper to remove this warning. See 22:09:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:09:08 22:09:08 Login Succeeded 22:09:08 nexus3.edgexfoundry.org:10003 22:09:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:09:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:09:08 Configure a credential helper to remove this warning. See 22:09:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:09:08 22:09:08 Login Succeeded 22:09:08 nexus3.edgexfoundry.org:10004 22:09:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:09:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:09:08 Configure a credential helper to remove this warning. See 22:09:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:09:08 22:09:08 Login Succeeded 22:09:08 docker.io 22:09:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:09:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:09:08 Configure a credential helper to remove this warning. See 22:09:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:09:08 22:09:08 Login Succeeded 22:09:08 ---> docker-login.sh ends [Pipeline] } 22:09:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:09:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:09:08 ========================================================= 22:09:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 22:09:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 22:09:09 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 22:09:09 Sending build context to Docker daemon 4.007MB 22:09:09 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 22:09:09 Step 2/12 : FROM ${BASE} AS builder 22:09:09 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 22:09:09 59bf1c3509f3: Pulling fs layer 22:09:09 666ba61612fd: Pulling fs layer 22:09:09 8ed8ca486205: Pulling fs layer 22:09:09 4fe6c5a15a65: Pulling fs layer 22:09:09 22a0e8bec74d: Pulling fs layer 22:09:09 ca2b28591e48: Pulling fs layer 22:09:09 a51346096db8: Pulling fs layer 22:09:09 daebc70d1ce1: Pulling fs layer 22:09:09 0e18a0eac166: Pulling fs layer 22:09:09 4fe6c5a15a65: Waiting 22:09:09 ca2b28591e48: Waiting 22:09:09 a51346096db8: Waiting 22:09:09 22a0e8bec74d: Waiting 22:09:09 daebc70d1ce1: Waiting 22:09:09 0e18a0eac166: Waiting 22:09:09 8ed8ca486205: Verifying Checksum 22:09:09 8ed8ca486205: Download complete 22:09:09 666ba61612fd: Download complete 22:09:09 22a0e8bec74d: Verifying Checksum 22:09:09 22a0e8bec74d: Download complete 22:09:09 ca2b28591e48: Verifying Checksum 22:09:09 ca2b28591e48: Download complete 22:09:09 59bf1c3509f3: Verifying Checksum 22:09:09 59bf1c3509f3: Download complete 22:09:09 a51346096db8: Download complete 22:09:09 daebc70d1ce1: Verifying Checksum 22:09:09 daebc70d1ce1: Download complete 22:09:09 59bf1c3509f3: Pull complete 22:09:09 666ba61612fd: Pull complete 22:09:09 8ed8ca486205: Pull complete 22:09:10 0e18a0eac166: Verifying Checksum 22:09:10 0e18a0eac166: Download complete 22:09:10 4fe6c5a15a65: Verifying Checksum 22:09:10 4fe6c5a15a65: Download complete 22:09:14 4fe6c5a15a65: Pull complete 22:09:14 22a0e8bec74d: Pull complete 22:09:14 ca2b28591e48: Pull complete 22:09:14 a51346096db8: Pull complete 22:09:14 daebc70d1ce1: Pull complete 22:09:16 0e18a0eac166: Pull complete 22:09:16 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 22:09:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 22:09:16 ---> f018257e8ee9 22:09:16 Step 3/12 : ARG MAKE='make build' 22:09:18 ---> Running in 9a4d1d472e84 22:09:18 Removing intermediate container 9a4d1d472e84 22:09:18 ---> 216a4685a6c0 22:09:18 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 22:09:18 ---> Running in ee6b172c1f6d 22:09:18 Removing intermediate container ee6b172c1f6d 22:09:18 ---> 05d5966d224e 22:09:18 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 22:09:18 ---> Running in fbed456b9b65 22:09:18 Removing intermediate container fbed456b9b65 22:09:18 ---> 10f5746c9912 22:09:18 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:09:18 ---> Running in cd809f107273 22:09:19 Removing intermediate container cd809f107273 22:09:19 ---> 6337b35bcb90 22:09:19 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:09:19 ---> Running in 7bbb9ff18873 22:09:19 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 22:09:20 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 22:09:20 OK: 221 MiB in 52 packages 22:09:20 Removing intermediate container 7bbb9ff18873 22:09:20 ---> c39a2ace8367 22:09:20 Step 8/12 : WORKDIR /app 22:09:20 ---> Running in 31adc43ed3eb 22:09:20 Removing intermediate container 31adc43ed3eb 22:09:20 ---> b954e73e4cb0 22:09:20 Step 9/12 : COPY go.mod vendor* ./ 22:09:21 ---> 05698922ebfa 22:09:21 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:09:21 ---> Running in 0d979ce6d062 22:09:22 Still waiting to schedule task 22:09:22 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 22:09:39 Removing intermediate container 0d979ce6d062 22:09:39 ---> 4311cba6cf8b 22:09:39 Step 11/12 : COPY . . 22:09:39 ---> cc47af358a1f 22:09:39 Step 12/12 : RUN $MAKE 22:09:39 ---> Running in e510a816b935 22:09:39 noop 22:09:39 Removing intermediate container e510a816b935 22:09:39 ---> 906fd074f5d5 22:09:39 Successfully built 906fd074f5d5 22:09:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 22:09:39 + docker inspect -f . ci-base-image-x86_64 22:09:39 . [Pipeline] withDockerContainer 22:09:39 prd-ubuntu20.04-docker-8c-8g-34192 does not seem to be running inside a container 22:09:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-rfid-llrp-go_PR-79 -v /w/workspace/oundry_device-rfid-llrp-go_PR-79:/w/workspace/oundry_device-rfid-llrp-go_PR-79:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-79@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-79@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:09:40 $ docker top 0286a7ccefc09a680443a05d6573186309e4ca41d5c2e0016e487a9c6c0a617a -eo pid,comm [Pipeline] { [Pipeline] sh 22:09:40 + go version 22:09:40 go version go1.17.6 linux/amd64 [Pipeline] } 22:09:40 $ docker stop --time=1 0286a7ccefc09a680443a05d6573186309e4ca41d5c2e0016e487a9c6c0a617a 22:09:41 $ docker rm -f 0286a7ccefc09a680443a05d6573186309e4ca41d5c2e0016e487a9c6c0a617a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:09:42 + docker inspect -f . ci-base-image-x86_64 22:09:42 . [Pipeline] withDockerContainer 22:09:42 prd-ubuntu20.04-docker-8c-8g-34192 does not seem to be running inside a container 22:09:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-rfid-llrp-go_PR-79 -v /w/workspace/oundry_device-rfid-llrp-go_PR-79:/w/workspace/oundry_device-rfid-llrp-go_PR-79:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-79@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-79@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:09:42 $ docker top 1c5d9611669bb088f31ad8e61692b96d130d8d5a8d7051d263b774763303cb52 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:09:43 + make test 22:09:43 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:09:43 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 22:09:53 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 22:09:53 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 22:09:56 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 3.530s coverage: 39.3% of statements 22:09:56 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.243s coverage: 51.9% of statements 22:09:56 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.041s coverage: 95.5% of statements 22:10:04 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:10:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:10:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:10:07 ./bin/test-attribution-txt.sh [Pipeline] echo 22:10:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:10:08 $ docker stop --time=1 1c5d9611669bb088f31ad8e61692b96d130d8d5a8d7051d263b774763303cb52 22:10:10 $ docker rm -f 1c5d9611669bb088f31ad8e61692b96d130d8d5a8d7051d263b774763303cb52 [Pipeline] // withDockerContainer [Pipeline] sh 22:10:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:10:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:10:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:10:11 + ls -al . 22:10:11 total 632 22:10:11 drwxrwxr-x 11 jenkins jenkins 4096 Apr 28 22:10 . 22:10:11 drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 22:08 .. 22:10:11 -rw-rw-r-- 1 jenkins jenkins 134 Apr 28 22:08 .dockerignore 22:10:11 drwxrwxr-x 8 jenkins jenkins 4096 Apr 28 22:09 .git 22:10:11 drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 22:08 .github 22:10:11 -rw-rw-r-- 1 jenkins jenkins 946 Apr 28 22:08 .gitignore 22:10:11 -rw-rw-r-- 1 jenkins jenkins 41 Apr 28 22:08 .golangci.yml 22:10:11 drwxr-xr-x 3 jenkins jenkins 4096 Apr 28 22:09 .semver 22:10:11 -rw-rw-r-- 1 jenkins jenkins 10235 Apr 28 22:08 Attribution.txt 22:10:11 -rw-rw-r-- 1 jenkins jenkins 3309 Apr 28 22:08 CHANGELOG.md 22:10:11 -rw-rw-r-- 1 jenkins jenkins 1514 Apr 28 22:08 Dockerfile 22:10:11 -rw-rw-r-- 1 jenkins jenkins 677 Apr 28 22:08 GOVERNANCE.md 22:10:11 -rw-rw-r-- 1 jenkins jenkins 683 Apr 28 22:08 Jenkinsfile 22:10:11 -rw-rw-r-- 1 jenkins jenkins 11347 Apr 28 22:08 LICENSE 22:10:11 -rw-rw-r-- 1 jenkins jenkins 1991 Apr 28 22:08 Makefile 22:10:11 -rw-rw-r-- 1 jenkins jenkins 625 Apr 28 22:08 OWNERS.md 22:10:11 -rw-rw-r-- 1 jenkins jenkins 28496 Apr 28 22:08 README.md 22:10:11 -rw-rw-r-- 1 jenkins jenkins 5 Apr 28 22:09 VERSION 22:10:11 drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 22:08 bin 22:10:11 drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 22:08 cmd 22:10:11 -rw-r--r-- 1 jenkins jenkins 460394 Apr 28 22:09 coverage.out 22:10:11 drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 22:08 examples 22:10:11 -rw-rw-r-- 1 jenkins jenkins 3350 Apr 28 22:08 go.mod 22:10:11 -rw-rw-r-- 1 jenkins jenkins 35098 Apr 28 22:08 go.sum 22:10:11 drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 22:08 images 22:10:11 drwxrwxr-x 5 jenkins jenkins 4096 Apr 28 22:08 internal 22:10:11 drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 22:08 snap 22:10:11 -rw-rw-r-- 1 jenkins jenkins 193 Apr 28 22:08 version.go [Pipeline] isUnix [Pipeline] sh 22:10:12 + docker build -t device-rfid-llrp -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=c37b68d746d6d418366af73042733a3dbd206d1f --label arch=amd64 --label version=0.0.0 . 22:10:12 Sending build context to Docker daemon 4.007MB 22:10:12 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 22:10:12 Step 2/25 : FROM ${BASE} AS builder 22:10:12 ---> 906fd074f5d5 22:10:12 Step 3/25 : ARG MAKE='make build' 22:10:12 ---> Running in 957b67668a29 22:10:12 Removing intermediate container 957b67668a29 22:10:12 ---> 8d89d0ad3773 22:10:12 Step 4/25 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 22:10:12 ---> Running in 789683ef842f 22:10:12 Removing intermediate container 789683ef842f 22:10:12 ---> c825dc8493b3 22:10:12 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 22:10:12 ---> Running in 006ad8187344 22:10:12 Removing intermediate container 006ad8187344 22:10:12 ---> a6447afb3d55 22:10:12 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:10:12 ---> Running in 52da12807985 22:10:13 Removing intermediate container 52da12807985 22:10:13 ---> 165ba1cde289 22:10:13 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:10:13 ---> Running in 4ab79fb9901b 22:10:13 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 22:10:14 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 22:10:14 OK: 221 MiB in 52 packages 22:10:14 Removing intermediate container 4ab79fb9901b 22:10:14 ---> e0cf7da58e43 22:10:14 Step 8/25 : WORKDIR /app 22:10:14 ---> Running in 01f8357936ee 22:10:14 Removing intermediate container 01f8357936ee 22:10:14 ---> e2e0d6a53371 22:10:14 Step 9/25 : COPY go.mod vendor* ./ 22:10:15 ---> a53938f9aa6a 22:10:15 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:10:15 ---> Running in 17f24399050a 22:10:15 Removing intermediate container 17f24399050a 22:10:15 ---> 57400bb616c6 22:10:15 Step 11/25 : COPY . . 22:10:15 ---> aa2779cd799b 22:10:15 Step 12/25 : RUN $MAKE 22:10:16 ---> Running in 7dac13fe5062 22:10:16 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion= -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion= -X edgexfoundry/app-rfid-llrp-inventory.Version=" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rfid-llrp ./cmd 22:10:38 Removing intermediate container 7dac13fe5062 22:10:38 ---> eea4a38c1d55 22:10:38 Step 13/25 : FROM alpine:3.14 22:10:38 3.14: Pulling from library/alpine 22:10:38 8663204ce13b: Pulling fs layer 22:10:38 8663204ce13b: Verifying Checksum 22:10:38 8663204ce13b: Download complete 22:10:38 8663204ce13b: Pull complete 22:10:38 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 22:10:38 Status: Downloaded newer image for alpine:3.14 22:10:38 ---> e04c818066af 22:10:38 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 22:10:38 ---> Running in 230923d3cd72 22:10:38 Removing intermediate container 230923d3cd72 22:10:38 ---> 5e50ba88f3d7 22:10:38 Step 15/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:10:38 ---> Running in d5ed2f6beb35 22:10:38 Removing intermediate container d5ed2f6beb35 22:10:38 ---> b31196032a9d 22:10:38 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 22:10:38 ---> Running in 6258dbb87d40 22:10:38 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 22:10:38 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 22:10:38 (1/6) Installing dumb-init (1.2.5-r1) 22:10:38 (2/6) Installing libgcc (10.3.1_git20210424-r2) 22:10:38 (3/6) Installing libsodium (1.0.18-r0) 22:10:38 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 22:10:38 (5/6) Installing libzmq (4.3.4-r0) 22:10:38 (6/6) Installing zeromq (4.3.4-r0) 22:10:38 Executing busybox-1.33.1-r7.trigger 22:10:38 OK: 8 MiB in 20 packages 22:10:39 Removing intermediate container 6258dbb87d40 22:10:39 ---> af50862a225f 22:10:39 Step 17/25 : COPY --from=builder /app/LICENSE / 22:10:39 ---> 896a00fabbbd 22:10:39 Step 18/25 : COPY --from=builder /app/Attribution.txt / 22:10:39 ---> 734b72a1b9f1 22:10:39 Step 19/25 : COPY --from=builder /app/cmd/ / 22:10:40 ---> fcb2d5a3bb39 22:10:40 Step 20/25 : EXPOSE 59989 22:10:40 ---> Running in 132b04743db9 22:10:40 Removing intermediate container 132b04743db9 22:10:40 ---> 8e95b3fbb42c 22:10:40 Step 21/25 : ENTRYPOINT ["/device-rfid-llrp"] 22:10:40 ---> Running in c7e26c8ecf69 22:10:40 Removing intermediate container c7e26c8ecf69 22:10:40 ---> c7ea0fab957b 22:10:40 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 22:10:40 ---> Running in 84957b1c25f6 22:10:40 Removing intermediate container 84957b1c25f6 22:10:40 ---> b045944cbbe4 22:10:40 Step 23/25 : LABEL arch=amd64 22:10:40 ---> Running in 5977eaf734e6 22:10:40 Removing intermediate container 5977eaf734e6 22:10:40 ---> d22cdcfd1663 22:10:40 Step 24/25 : LABEL git_sha=c37b68d746d6d418366af73042733a3dbd206d1f 22:10:41 ---> Running in c7c538c006b3 22:10:41 Removing intermediate container c7c538c006b3 22:10:41 ---> b2f1d76be47c 22:10:41 Step 25/25 : LABEL version=0.0.0 22:10:41 ---> Running in 26ba5d479685 22:10:41 Removing intermediate container 26ba5d479685 22:10:41 ---> fdddfddce440 22:10:41 [Warning] One or more build-args [ARCH] were not consumed 22:10:41 Successfully built fdddfddce440 22:10:41 Successfully tagged device-rfid-llrp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:10:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:10:41 22:10:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 22:10:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:10:42 latest: Pulling from edgex-lftools-log-publisher 22:10:42 5eb5b503b376: Pulling fs layer 22:10:42 5c69ac0246d0: Pulling fs layer 22:10:42 ec43610c2a17: Pulling fs layer 22:10:42 3a2ae6a8a46f: Pulling fs layer 22:10:42 33b1e0a273af: Pulling fs layer 22:10:42 5d3b04190fa2: Pulling fs layer 22:10:42 2f39f015ded8: Pulling fs layer 22:10:42 3a2ae6a8a46f: Waiting 22:10:42 33b1e0a273af: Waiting 22:10:42 5d3b04190fa2: Waiting 22:10:42 2f39f015ded8: Waiting 22:10:42 5c69ac0246d0: Verifying Checksum 22:10:42 5c69ac0246d0: Download complete 22:10:42 3a2ae6a8a46f: Verifying Checksum 22:10:42 3a2ae6a8a46f: Download complete 22:10:42 33b1e0a273af: Verifying Checksum 22:10:42 33b1e0a273af: Download complete 22:10:42 5d3b04190fa2: Verifying Checksum 22:10:42 5d3b04190fa2: Download complete 22:10:42 ec43610c2a17: Download complete 22:10:42 5eb5b503b376: Verifying Checksum 22:10:42 5eb5b503b376: Download complete 22:10:42 2f39f015ded8: Download complete 22:10:43 5eb5b503b376: Pull complete 22:10:43 5c69ac0246d0: Pull complete 22:10:43 ec43610c2a17: Pull complete 22:10:44 3a2ae6a8a46f: Pull complete 22:10:44 33b1e0a273af: Pull complete 22:10:44 5d3b04190fa2: Pull complete 22:10:48 2f39f015ded8: Pull complete 22:10:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:10:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:10:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 22:10:48 prd-ubuntu20.04-docker-8c-8g-34192 does not seem to be running inside a container 22:10:48 $ 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/oundry_device-rfid-llrp-go_PR-79 -v /w/workspace/oundry_device-rfid-llrp-go_PR-79:/w/workspace/oundry_device-rfid-llrp-go_PR-79:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-79@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-79@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:10:50 $ docker top 035094796dd284487da3b1f3c2a277f4c856556ce5cf20976fb44db8e0018756 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:10:50 ---> job-cost.sh 22:10:50 lf-activate-venv: SKIPPING 22:10:50 INFO: No Stack... 22:10:51 INFO: Retrieving Pricing Info for: v3-standard-8 22:10:51 INFO: Archiving Costs [Pipeline] sh 22:10:52 + cat /w/workspace/oundry_device-rfid-llrp-go_PR-79/archives/cost.csv 22:10:52 + cut -d, -f6 [Pipeline] lock 22:10:52 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-79-2-stack-cost] 22:10:52 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-79-2-stack-cost] did not exist. Created. 22:10:52 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-79-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:10:52 + echo total: 0.2199999988079071 [Pipeline] stash 22:10:52 Stashed 1 file(s) [Pipeline] } 22:10:52 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-79-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:10:52 $ docker stop --time=1 035094796dd284487da3b1f3c2a277f4c856556ce5cf20976fb44db8e0018756 22:10:53 $ docker rm -f 035094796dd284487da3b1f3c2a277f4c856556ce5cf20976fb44db8e0018756 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:13:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-34193 in /w/workspace/oundry_device-rfid-llrp-go_PR-79 [Pipeline] { [Pipeline] ws 22:13:37 Running in /w/workspace/device-rfid-llrp-go/2 [Pipeline] { [Pipeline] checkout 22:13:37 Selected Git installation does not exist. Using Default 22:13:37 The recommended git tool is: NONE 22:13:43 using credential edgex-jenkins-ssh 22:13:43 Cloning the remote Git repository 22:13:43 Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git 22:13:43 > git init /w/workspace/device-rfid-llrp-go/2 # timeout=10 22:13:43 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 22:13:43 > git --version # timeout=10 22:13:43 > git --version # 'git version 2.25.1' 22:13:43 using GIT_SSH to set credentials SSH Credentials for GitHub 22:13:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:13:44 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 22:13:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:13:44 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 22:13:44 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 22:13:44 using GIT_SSH to set credentials SSH Credentials for GitHub 22:13:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/79/head:refs/remotes/origin/PR-79 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:13:45 Merging remotes/origin/main commit fa56b1bc1f531ed8085377a9d0fe0a5012d1ff6e into PR head commit c37b68d746d6d418366af73042733a3dbd206d1f 22:13:45 Merge succeeded, producing c37b68d746d6d418366af73042733a3dbd206d1f 22:13:45 Checking out Revision c37b68d746d6d418366af73042733a3dbd206d1f (PR-79) 22:13:45 > git config core.sparsecheckout # timeout=10 22:13:45 > git checkout -f c37b68d746d6d418366af73042733a3dbd206d1f # timeout=10 22:13:45 > git remote # timeout=10 22:13:45 > git config --get remote.origin.url # timeout=10 22:13:45 using GIT_SSH to set credentials SSH Credentials for GitHub 22:13:45 > git merge fa56b1bc1f531ed8085377a9d0fe0a5012d1ff6e # timeout=10 22:13:45 > git rev-parse HEAD^{commit} # timeout=10 22:13:45 > git config core.sparsecheckout # timeout=10 22:13:45 > git checkout -f c37b68d746d6d418366af73042733a3dbd206d1f # timeout=10 22:13:49 Commit message: "Merge branch 'update_attribution_and_config' of https://github.com/marcpfuller/device-rfid-llrp-go into update_attribution_and_config" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:13:50 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:13:50 % Total % Received % Xferd Average Speed Time Time Time Current 22:13:50 Dload Upload Total Spent Left Speed 22:13:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 22:13:51 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:13:51 + sudo tee /etc/docker/daemon.new 22:13:51 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:13:51 { 22:13:51 "registry-mirrors": [ 22:13:51 "https://nexus3.edgexfoundry.org:10001" 22:13:51 ], 22:13:51 "bip": "10.250.0.254/24", 22:13:51 "hosts": [ 22:13:51 "tcp://0.0.0.0:5555", 22:13:51 "unix:///var/run/docker.sock" 22:13:51 ], 22:13:51 "mtu": 1458, 22:13:51 "selinux-enabled": true, 22:13:51 "seccomp-profile": "/etc/docker/seccomp.json" 22:13:51 } [Pipeline] sh 22:13:51 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:13:52 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:14:10 provisioning config files... 22:14:10 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/device-rfid-llrp-go/2@tmp/config7619666575872587573tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:14:10 ---> docker-login.sh 22:14:10 nexus3.edgexfoundry.org:10001 22:14:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:11 Configure a credential helper to remove this warning. See 22:14:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:11 22:14:11 Login Succeeded 22:14:11 nexus3.edgexfoundry.org:10002 22:14:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:12 Configure a credential helper to remove this warning. See 22:14:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:12 22:14:12 Login Succeeded 22:14:12 nexus3.edgexfoundry.org:10003 22:14:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:12 Configure a credential helper to remove this warning. See 22:14:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:12 22:14:12 Login Succeeded 22:14:12 nexus3.edgexfoundry.org:10004 22:14:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:13 Configure a credential helper to remove this warning. See 22:14:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:13 22:14:13 Login Succeeded 22:14:13 docker.io 22:14:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:14:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:14:14 Configure a credential helper to remove this warning. See 22:14:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:14:14 22:14:14 Login Succeeded 22:14:14 ---> docker-login.sh ends [Pipeline] } 22:14:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:14:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:14:14 ========================================================= 22:14:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 22:14:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 22:14:15 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 22:14:15 Sending build context to Docker daemon 1.235MB 22:14:15 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 22:14:15 Step 2/12 : FROM ${BASE} AS builder 22:14:15 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:14:15 9b3977197b4f: Pulling fs layer 22:14:15 1a89e8eeedd5: Pulling fs layer 22:14:15 94645a83ff95: Pulling fs layer 22:14:15 3f3a8bcf1eab: Pulling fs layer 22:14:15 0c92f367c5e7: Pulling fs layer 22:14:15 3096ccb668a1: Pulling fs layer 22:14:15 e8cf19c19ddd: Pulling fs layer 22:14:15 a4caa8a26152: Pulling fs layer 22:14:15 3f3a8bcf1eab: Waiting 22:14:15 0c92f367c5e7: Waiting 22:14:15 3096ccb668a1: Waiting 22:14:15 e8cf19c19ddd: Waiting 22:14:15 a4caa8a26152: Waiting 22:14:15 94645a83ff95: Verifying Checksum 22:14:15 94645a83ff95: Download complete 22:14:15 1a89e8eeedd5: Verifying Checksum 22:14:15 1a89e8eeedd5: Download complete 22:14:15 0c92f367c5e7: Verifying Checksum 22:14:15 0c92f367c5e7: Download complete 22:14:15 3096ccb668a1: Verifying Checksum 22:14:15 3096ccb668a1: Download complete 22:14:15 9b3977197b4f: Download complete 22:14:15 e8cf19c19ddd: Verifying Checksum 22:14:15 e8cf19c19ddd: Download complete 22:14:16 9b3977197b4f: Pull complete 22:14:17 1a89e8eeedd5: Pull complete 22:14:17 94645a83ff95: Pull complete 22:14:17 a4caa8a26152: Verifying Checksum 22:14:18 3f3a8bcf1eab: Download complete 22:14:30 3f3a8bcf1eab: Pull complete 22:14:30 0c92f367c5e7: Pull complete 22:14:31 3096ccb668a1: Pull complete 22:14:31 e8cf19c19ddd: Pull complete 22:14:38 a4caa8a26152: Pull complete 22:14:38 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 22:14:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 22:14:38 ---> 725f1c02e7f9 22:14:38 Step 3/12 : ARG MAKE='make build' 22:14:38 ---> Running in 4aa8edc9651e 22:14:38 Removing intermediate container 4aa8edc9651e 22:14:38 ---> 4bfbea5b3f8a 22:14:38 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 22:14:38 ---> Running in 856c2641637a 22:14:39 Removing intermediate container 856c2641637a 22:14:39 ---> ea432435e41c 22:14:39 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 22:14:39 ---> Running in 13a1aff6b330 22:14:39 Removing intermediate container 13a1aff6b330 22:14:39 ---> f2a85b8b474b 22:14:39 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:14:39 ---> Running in bd23fef32bf2 22:14:43 Removing intermediate container bd23fef32bf2 22:14:43 ---> 448a58c32b81 22:14:43 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:14:43 ---> Running in 8ce104918f47 22:14:44 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 22:14:44 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 22:14:45 OK: 220 MiB in 52 packages 22:14:46 Removing intermediate container 8ce104918f47 22:14:46 ---> ea697a93e311 22:14:46 Step 8/12 : WORKDIR /app 22:14:46 ---> Running in 93234624fa61 22:14:47 Removing intermediate container 93234624fa61 22:14:47 ---> 9b99fe7abb28 22:14:47 Step 9/12 : COPY go.mod vendor* ./ 22:14:47 ---> 0fb794475bec 22:14:47 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:14:47 ---> Running in 445ce8acdcd6 22:15:34 Removing intermediate container 445ce8acdcd6 22:15:34 ---> 9d544df29b88 22:15:34 Step 11/12 : COPY . . 22:15:34 ---> 82dbedf1ef88 22:15:34 Step 12/12 : RUN $MAKE 22:15:34 ---> Running in 7a8d64bc3118 22:15:35 noop 22:15:36 Removing intermediate container 7a8d64bc3118 22:15:36 ---> 9ff13adf72ca 22:15:36 Successfully built 9ff13adf72ca 22:15:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:15:36 + docker inspect -f . ci-base-image-arm64 22:15:36 . [Pipeline] withDockerContainer 22:15:36 prd-ubuntu20.04-docker-arm64-4c-16g-34193 does not seem to be running inside a container 22:15:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rfid-llrp-go/2 -v /w/workspace/device-rfid-llrp-go/2:/w/workspace/device-rfid-llrp-go/2:rw,z -v /w/workspace/device-rfid-llrp-go/2@tmp:/w/workspace/device-rfid-llrp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:15:38 $ docker top 31506aa9a4c4106b89b8364b9e38eee19b67f49f8cd3eb38c7e9b8db5616f407 -eo pid,comm [Pipeline] { [Pipeline] sh 22:15:39 + go version 22:15:39 go version go1.17.6 linux/arm64 [Pipeline] } 22:15:39 $ docker stop --time=1 31506aa9a4c4106b89b8364b9e38eee19b67f49f8cd3eb38c7e9b8db5616f407 22:15:40 $ docker rm -f 31506aa9a4c4106b89b8364b9e38eee19b67f49f8cd3eb38c7e9b8db5616f407 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:15:41 + docker inspect -f . ci-base-image-arm64 22:15:41 . [Pipeline] withDockerContainer 22:15:41 prd-ubuntu20.04-docker-arm64-4c-16g-34193 does not seem to be running inside a container 22:15:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rfid-llrp-go/2 -v /w/workspace/device-rfid-llrp-go/2:/w/workspace/device-rfid-llrp-go/2:rw,z -v /w/workspace/device-rfid-llrp-go/2@tmp:/w/workspace/device-rfid-llrp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:15:43 $ docker top 142b51e0db6a9578cb5af320d879362adc1741b519e45016b6c2d25c93f2eee9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 22:15:44 + make test 22:15:44 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:15:46 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 22:17:23 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 22:17:23 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 22:17:49 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 28.703s coverage: 39.3% of statements 22:17:49 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.537s coverage: 52.0% of statements 22:17:49 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.032s coverage: 95.5% of statements 22:17:49 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:17:49 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:18:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:18:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:18:16 ./bin/test-attribution-txt.sh [Pipeline] echo 22:18:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:18:18 $ docker stop --time=1 142b51e0db6a9578cb5af320d879362adc1741b519e45016b6c2d25c93f2eee9 22:18:19 $ docker rm -f 142b51e0db6a9578cb5af320d879362adc1741b519e45016b6c2d25c93f2eee9 [Pipeline] // withDockerContainer [Pipeline] sh 22:18:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:18:20 Warning: overwriting stash ‘coverage-report’ 22:18:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:18:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:18:22 + ls -al . 22:18:22 total 628 22:18:22 drwxrwxr-x 10 jenkins jenkins 4096 Apr 28 22:18 . 22:18:22 drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 22:13 .. 22:18:22 -rw-rw-r-- 1 jenkins jenkins 134 Apr 28 22:13 .dockerignore 22:18:22 drwxrwxr-x 8 jenkins jenkins 4096 Apr 28 22:13 .git 22:18:22 drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 22:13 .github 22:18:22 -rw-rw-r-- 1 jenkins jenkins 946 Apr 28 22:13 .gitignore 22:18:22 -rw-rw-r-- 1 jenkins jenkins 41 Apr 28 22:13 .golangci.yml 22:18:22 -rw-rw-r-- 1 jenkins jenkins 10235 Apr 28 22:13 Attribution.txt 22:18:22 -rw-rw-r-- 1 jenkins jenkins 3309 Apr 28 22:13 CHANGELOG.md 22:18:22 -rw-rw-r-- 1 jenkins jenkins 1514 Apr 28 22:13 Dockerfile 22:18:22 -rw-rw-r-- 1 jenkins jenkins 677 Apr 28 22:13 GOVERNANCE.md 22:18:22 -rw-rw-r-- 1 jenkins jenkins 683 Apr 28 22:13 Jenkinsfile 22:18:22 -rw-rw-r-- 1 jenkins jenkins 11347 Apr 28 22:13 LICENSE 22:18:22 -rw-rw-r-- 1 jenkins jenkins 1991 Apr 28 22:13 Makefile 22:18:22 -rw-rw-r-- 1 jenkins jenkins 625 Apr 28 22:13 OWNERS.md 22:18:22 -rw-rw-r-- 1 jenkins jenkins 28496 Apr 28 22:13 README.md 22:18:22 -rw-rw-r-- 1 jenkins jenkins 5 Apr 28 22:09 VERSION 22:18:22 drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 22:13 bin 22:18:22 drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 22:13 cmd 22:18:22 -rw-r--r-- 1 jenkins jenkins 460394 Apr 28 22:17 coverage.out 22:18:22 drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 22:13 examples 22:18:22 -rw-rw-r-- 1 jenkins jenkins 3350 Apr 28 22:13 go.mod 22:18:22 -rw-rw-r-- 1 jenkins jenkins 35098 Apr 28 22:13 go.sum 22:18:22 drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 22:13 images 22:18:22 drwxrwxr-x 5 jenkins jenkins 4096 Apr 28 22:13 internal 22:18:22 drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 22:13 snap 22:18:22 -rw-rw-r-- 1 jenkins jenkins 193 Apr 28 22:13 version.go [Pipeline] isUnix [Pipeline] sh 22:18:23 + 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=c37b68d746d6d418366af73042733a3dbd206d1f --label arch=arm64 --label version=0.0.0 . 22:18:23 Sending build context to Docker daemon 1.235MB 22:18:23 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 22:18:23 Step 2/25 : FROM ${BASE} AS builder 22:18:23 ---> 9ff13adf72ca 22:18:23 Step 3/25 : ARG MAKE='make build' 22:18:23 ---> Running in 277c070556a3 22:18:23 Removing intermediate container 277c070556a3 22:18:23 ---> a870e8ff5f5b 22:18:23 Step 4/25 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 22:18:23 ---> Running in 9f4d4268b30a 22:18:24 Removing intermediate container 9f4d4268b30a 22:18:24 ---> 01cc7fae89ba 22:18:24 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 22:18:24 ---> Running in 491ed3afc7f9 22:18:24 Removing intermediate container 491ed3afc7f9 22:18:24 ---> c23f1babef3c 22:18:24 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:18:24 ---> Running in 8ef9b118c0b7 22:18:26 Removing intermediate container 8ef9b118c0b7 22:18:26 ---> 77df989ca905 22:18:26 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:18:26 ---> Running in 48ae8f682ae0 22:18:27 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 22:18:28 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 22:18:29 OK: 220 MiB in 52 packages 22:18:30 Removing intermediate container 48ae8f682ae0 22:18:30 ---> a39b34c77f99 22:18:30 Step 8/25 : WORKDIR /app 22:18:30 ---> Running in b989ae411822 22:18:30 Removing intermediate container b989ae411822 22:18:30 ---> 27df20a84625 22:18:30 Step 9/25 : COPY go.mod vendor* ./ 22:18:30 ---> c9ff265af0a8 22:18:30 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:18:30 ---> Running in 481850f6f648 22:18:32 Removing intermediate container 481850f6f648 22:18:32 ---> c086b879d446 22:18:32 Step 11/25 : COPY . . 22:18:33 ---> b67ea4dc92e4 22:18:33 Step 12/25 : RUN $MAKE 22:18:33 ---> Running in 799d3e0b02f5 22:18:34 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion= -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion= -X edgexfoundry/app-rfid-llrp-inventory.Version=" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rfid-llrp ./cmd 22:20:41 Removing intermediate container 799d3e0b02f5 22:20:41 ---> 55890b6c6743 22:20:41 Step 13/25 : FROM alpine:3.14 22:20:41 3.14: Pulling from library/alpine 22:20:41 455c02918c45: Pulling fs layer 22:20:41 455c02918c45: Verifying Checksum 22:20:41 455c02918c45: Download complete 22:20:41 455c02918c45: Pull complete 22:20:41 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 22:20:41 Status: Downloaded newer image for alpine:3.14 22:20:41 ---> ac73e934f311 22:20:41 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 22:20:41 ---> Running in f5e0031d9176 22:20:41 Removing intermediate container f5e0031d9176 22:20:41 ---> d080c9eaef7d 22:20:41 Step 15/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:20:41 ---> Running in 00d4b6a9cafb 22:20:41 Removing intermediate container 00d4b6a9cafb 22:20:41 ---> b4a6daf4009e 22:20:41 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 22:20:41 ---> Running in 2694937d2faf 22:20:41 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 22:20:41 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 22:20:41 (1/6) Installing dumb-init (1.2.5-r1) 22:20:41 (2/6) Installing libgcc (10.3.1_git20210424-r2) 22:20:41 (3/6) Installing libsodium (1.0.18-r0) 22:20:41 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 22:20:41 (5/6) Installing libzmq (4.3.4-r0) 22:20:41 (6/6) Installing zeromq (4.3.4-r0) 22:20:41 Executing busybox-1.33.1-r7.trigger 22:20:41 OK: 8 MiB in 20 packages 22:20:41 Removing intermediate container 2694937d2faf 22:20:41 ---> 1421b21f6607 22:20:41 Step 17/25 : COPY --from=builder /app/LICENSE / 22:20:41 ---> aa06f4613a0d 22:20:41 Step 18/25 : COPY --from=builder /app/Attribution.txt / 22:20:42 ---> e3863047d58a 22:20:42 Step 19/25 : COPY --from=builder /app/cmd/ / 22:20:44 ---> bc2797c108b3 22:20:44 Step 20/25 : EXPOSE 59989 22:20:44 ---> Running in b82f524fcca2 22:20:44 Removing intermediate container b82f524fcca2 22:20:44 ---> 536ad4aeae35 22:20:44 Step 21/25 : ENTRYPOINT ["/device-rfid-llrp"] 22:20:44 ---> Running in c0c7ccc046d6 22:20:44 Removing intermediate container c0c7ccc046d6 22:20:44 ---> 3689aa9c8dc1 22:20:44 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 22:20:44 ---> Running in 7248fb841e04 22:20:44 Removing intermediate container 7248fb841e04 22:20:44 ---> 76c81550c98b 22:20:44 Step 23/25 : LABEL arch=arm64 22:20:44 ---> Running in 6cad38664d28 22:20:45 Removing intermediate container 6cad38664d28 22:20:45 ---> 0efd10163d5f 22:20:45 Step 24/25 : LABEL git_sha=c37b68d746d6d418366af73042733a3dbd206d1f 22:20:45 ---> Running in 86e8722bd37b 22:20:45 Removing intermediate container 86e8722bd37b 22:20:45 ---> e83c072b120a 22:20:45 Step 25/25 : LABEL version=0.0.0 22:20:45 ---> Running in 5ed070845be5 22:20:46 Removing intermediate container 5ed070845be5 22:20:46 ---> 5267c19b5fd4 22:20:46 [Warning] One or more build-args [ARCH] were not consumed 22:20:46 Successfully built 5267c19b5fd4 22:20:46 Successfully tagged device-rfid-llrp-arm64:latest [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] sh 22:20:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:20:46 22:20:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 22:20:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:20:47 arm64: Pulling from edgex-lftools-log-publisher 22:20:47 8998bd30e6a1: Pulling fs layer 22:20:47 04944245beec: Pulling fs layer 22:20:47 699f458cf7ca: Pulling fs layer 22:20:47 765212b225bb: Pulling fs layer 22:20:47 f23df028b6ca: Pulling fs layer 22:20:47 d65c8cfc05b1: Pulling fs layer 22:20:47 2437ff75d9bd: Pulling fs layer 22:20:47 d65c8cfc05b1: Waiting 22:20:47 f23df028b6ca: Waiting 22:20:47 2437ff75d9bd: Waiting 22:20:47 765212b225bb: Waiting 22:20:47 04944245beec: Verifying Checksum 22:20:47 04944245beec: Download complete 22:20:47 765212b225bb: Verifying Checksum 22:20:47 765212b225bb: Download complete 22:20:47 f23df028b6ca: Download complete 22:20:47 d65c8cfc05b1: Verifying Checksum 22:20:47 d65c8cfc05b1: Download complete 22:20:47 699f458cf7ca: Verifying Checksum 22:20:47 699f458cf7ca: Download complete 22:20:47 8998bd30e6a1: Verifying Checksum 22:20:47 8998bd30e6a1: Download complete 22:20:50 2437ff75d9bd: Verifying Checksum 22:20:50 2437ff75d9bd: Download complete 22:20:52 8998bd30e6a1: Pull complete 22:20:52 04944245beec: Pull complete 22:20:53 699f458cf7ca: Pull complete 22:20:54 765212b225bb: Pull complete 22:20:55 f23df028b6ca: Pull complete 22:20:55 d65c8cfc05b1: Pull complete 22:21:10 2437ff75d9bd: Pull complete 22:21:10 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:21:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:21:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 22:21:10 prd-ubuntu20.04-docker-arm64-4c-16g-34193 does not seem to be running inside a container 22:21:10 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rfid-llrp-go/2 -v /w/workspace/device-rfid-llrp-go/2:/w/workspace/device-rfid-llrp-go/2:rw,z -v /w/workspace/device-rfid-llrp-go/2@tmp:/w/workspace/device-rfid-llrp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:21:13 $ docker top 062b2c4779b78d2c704515b963b2078a40a24e663af3641ab708f0c081945f5b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:21:14 ---> job-cost.sh 22:21:14 lf-activate-venv: SKIPPING 22:21:14 INFO: No Stack... 22:21:15 INFO: Retrieving Pricing Info for: v3-standard-4 22:21:16 INFO: Archiving Costs [Pipeline] sh 22:21:16 + cat /w/workspace/device-rfid-llrp-go/2/archives/cost.csv 22:21:16 + cut -d, -f6 [Pipeline] lock 22:21:16 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-79-2-stack-cost] 22:21:16 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-79-2-stack-cost] did not exist. Created. 22:21:16 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-79-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:21:17 /w/workspace/device-rfid-llrp-go/2@tmp/durable-b294378f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:21:18 + echo total: 0.10999999940395355 [Pipeline] stash 22:21:18 Warning: overwriting stash ‘stack-cost’ 22:21:18 Stashed 1 file(s) [Pipeline] } 22:21:18 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-79-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:21:18 $ docker stop --time=1 062b2c4779b78d2c704515b963b2078a40a24e663af3641ab708f0c081945f5b 22:21:20 $ docker rm -f 062b2c4779b78d2c704515b963b2078a40a24e663af3641ab708f0c081945f5b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 22:21:20 provisioning config files... 22:21:20 copy managed file [device-rfid-llrp-go-codecov-token] to file:/w/workspace/oundry_device-rfid-llrp-go_PR-79@tmp/config6641369736801717178tmp [Pipeline] { [Pipeline] sh 22:21:20 + set +x 22:21:20 + curl -s https://codecov.io/bash 22:21:20 + bash -s -- 22:21:20 22:21:20 _____ _ 22:21:20 / ____| | | 22:21:20 | | ___ __| | ___ ___ _____ __ 22:21:20 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:21:20 | |___| (_) | (_| | __/ (_| (_) \ V / 22:21:20 \_____\___/ \__,_|\___|\___\___/ \_/ 22:21:20 Bash-1.0.6 22:21:20 22:21:20 22:21:20 ==> git version 2.25.1 found 22:21:20 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 22:21:20 Release-Date: 2020-01-08 22:21:20 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:21:20 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:21:20 ==> Jenkins CI detected. 22:21:20 current dir:  /w/workspace/oundry_device-rfid-llrp-go_PR-79 22:21:20 project root: . 22:21:20 --> token set from env 22:21:20 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:21:20 ==> Running gcov in . (disable via -X gcov) 22:21:20 ==> Python coveragepy not found 22:21:20 ==> Searching for coverage reports in: 22:21:20 + . 22:21:20 -> Found 1 reports 22:21:20 ==> Detecting git/mercurial file structure 22:21:20 ==> Reading reports 22:21:20 + ./coverage.out bytes=460394 22:21:20 ==> Appending adjustments 22:21:20 https://docs.codecov.io/docs/fixing-reports 22:21:21 + Found adjustments 22:21:21 ==> Gzipping contents 22:21:21 52K /tmp/codecov.LqUJa3.gz 22:21:21 ==> Uploading reports 22:21:21 url: https://codecov.io 22:21:21 query: branch=PR-79&commit=c37b68d746d6d418366af73042733a3dbd206d1f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-79%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=79&job=&cmd_args= 22:21:21 -> Pinging Codecov 22:21:21 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-79&commit=c37b68d746d6d418366af73042733a3dbd206d1f&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-79%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=79&job=&cmd_args= 22:21:21 -> Uploading to 22:21:21 https://storage.googleapis.com/codecov/v4/raw/2022-04-28/581DD39554BDF9B6E22D074273EAD858/c37b68d746d6d418366af73042733a3dbd206d1f/3de744ca-cd71-4eec-b21b-5c2662d12e8a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220428%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220428T222121Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=59dcbb3c003eb1fddf75ed54b546bc788b2cbf494a26f2cc5a183fc60e89d398 22:21:21 % Total % Received % Xferd Average Speed Time Time Time Current 22:21:21 Dload Upload Total Spent Left Speed 22:21:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51791 0 0 100 51791 0 208k --:--:-- --:--:-- --:--:-- 208k 22:21:21 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/c37b68d746d6d418366af73042733a3dbd206d1f [Pipeline] } 22:21:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 22:21:22 + [ -d /w/workspace/oundry_device-rfid-llrp-go_PR-79/archives ] 22:21:22 + ls -al /w/workspace/oundry_device-rfid-llrp-go_PR-79/archives 22:21:22 total 16 22:21:22 drwxr-xr-x 3 root root 4096 Apr 28 22:10 . 22:21:22 drwxrwxr-x 12 jenkins jenkins 4096 Apr 28 22:10 .. 22:21:22 drwxr-xr-x 2 root root 4096 Apr 28 22:10 cost 22:21:22 -rw-r--r-- 1 root root 89 Apr 28 22:10 cost.csv 22:21:22 + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-rfid-llrp-go_PR-79/archives 22:21:22 + ls -al /w/workspace/oundry_device-rfid-llrp-go_PR-79/archives 22:21:22 total 16 22:21:22 drwxr-xr-x 3 jenkins jenkins 4096 Apr 28 22:10 . 22:21:22 drwxrwxr-x 12 jenkins jenkins 4096 Apr 28 22:10 .. 22:21:22 drwxr-xr-x 2 jenkins jenkins 4096 Apr 28 22:10 cost 22:21:22 -rw-r--r-- 1 jenkins jenkins 89 Apr 28 22:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:21:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:21:23 ---> package-listing.sh 22:21:23 ++ facter osfamily 22:21:23 ++ tr '[:upper:]' '[:lower:]' 22:21:23 + OS_FAMILY=debian 22:21:23 + workspace=/w/workspace/oundry_device-rfid-llrp-go_PR-79 22:21:23 + START_PACKAGES=/tmp/packages_start.txt 22:21:23 + END_PACKAGES=/tmp/packages_end.txt 22:21:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:21:23 + PACKAGES=/tmp/packages_start.txt 22:21:23 + '[' /w/workspace/oundry_device-rfid-llrp-go_PR-79 ']' 22:21:23 + PACKAGES=/tmp/packages_end.txt 22:21:23 + case "${OS_FAMILY}" in 22:21:23 + dpkg -l 22:21:23 + grep '^ii' 22:21:23 + '[' -f /tmp/packages_start.txt ']' 22:21:23 + '[' -f /tmp/packages_end.txt ']' 22:21:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:21:23 + '[' /w/workspace/oundry_device-rfid-llrp-go_PR-79 ']' 22:21:23 + mkdir -p /w/workspace/oundry_device-rfid-llrp-go_PR-79/archives/ 22:21:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-rfid-llrp-go_PR-79/archives/ [Pipeline] echo 22:21:23 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/oundry_device-rfid-llrp-go_PR-79/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:21:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:21:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:21:24 . [Pipeline] withDockerContainer 22:21:24 prd-ubuntu20.04-docker-8c-8g-34192 does not seem to be running inside a container 22:21:24 $ 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/oundry_device-rfid-llrp-go_PR-79/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-rfid-llrp-go_PR-79 -v /w/workspace/oundry_device-rfid-llrp-go_PR-79:/w/workspace/oundry_device-rfid-llrp-go_PR-79:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-79@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-79@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:21:25 $ docker top af34d1eb5c2d17749a53d9645ce84f4c0e9eacfb4c6c33f08503c29df3ec25a8 -eo pid,comm [Pipeline] { [Pipeline] sh 22:21:25 + touch /tmp/pre-build-complete [Pipeline] sh 22:21:25 + mkdir -p /var/log/sysstat [Pipeline] sh 22:21:26 + ls /var/log/sa-host 22:21:26 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:21:26 provisioning config files... 22:21:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-rfid-llrp-go_PR-79@tmp/config2079144384648184463tmp [Pipeline] { [Pipeline] echo 22:21:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:21:26 ---> create-netrc.sh [Pipeline] } 22:21:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:21:26 ---> python-tools-install.sh [Pipeline] echo 22:21:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:21:27 ---> sudo-logs.sh 22:21:27 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:21:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:21:27 ---> job-cost.sh 22:21:27 lf-activate-venv: SKIPPING 22:21:27 DEBUG: total: 0.2199999988079071 22:21:27 INFO: Retrieving Stack Cost... 22:21:28 INFO: Retrieving Pricing Info for: v3-standard-8 22:21:28 INFO: Archiving Costs [Pipeline] echo 22:21:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:21:28 ---> logs-deploy.sh 22:21:28 lf-activate-venv: SKIPPING 22:21:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rfid-llrp-go/PR-79/2 22:21:28 INFO: archiving workspace using pattern(s): 22:21:29 Archives upload complete. 22:21:29 INFO: archiving logs to Nexus