Pull request #83 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 farshidtz for edgexfoundry/device-rfid-llrp-go Loading trusted files from base branch main at ed3f6adc63f232585aaf4914dc5a09827cd611f6 rather than 107993213a5cb84fb780c175c533c6ec08175762 Obtained Jenkinsfile from ed3f6adc63f232585aaf4914dc5a09827cd611f6 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-ssh13712536993109119985.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-ssh15587498538784830346.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-83/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-83/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5720773942967203098.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-ssh2376953390420479261.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-83/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-83/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh14904073417282852165.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-47826 in /w/workspace/oundry_device-rfid-llrp-go_PR-83 [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-83 # 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 ed3f6adc63f232585aaf4914dc5a09827cd611f6 into PR head commit 107993213a5cb84fb780c175c533c6ec08175762 Merge succeeded, producing 107993213a5cb84fb780c175c533c6ec08175762 Checking out Revision 107993213a5cb84fb780c175c533c6ec08175762 (PR-83) > 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/83/head:refs/remotes/origin/PR-83 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 107993213a5cb84fb780c175c533c6ec08175762 # 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 ed3f6adc63f232585aaf4914dc5a09827cd611f6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 107993213a5cb84fb780c175c533c6ec08175762 # timeout=10 Commit message: "Merge branch 'main' into bump-edgex-snap-hooks" > git rev-list --no-walk 87ff18d62f6dae97189646056e46fc8068e2ba57 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:01:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:01:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:01:54 ========================================================= 18:01:54 EdgeX Global Pipelines Version Info 18:01:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:01:55 ------------------- 18:01:55 stable info: 18:01:55 ------------------- 18:01:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:01:55 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 18:01:55 Message: update stable to v1.0.227 18:01:56 ------------------- 18:01:56 experimental info: 18:01:56 ------------------- 18:01:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:01:56 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 18:01:56 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:01:56 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rfid-llrp-go-settings [Pipeline] echo 18:01:56 [edgeXSetupEnvironment]: set envvar PROJECT = device-rfid-llrp-go [Pipeline] echo 18:01:56 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:01:56 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:01:56 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:01:56 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 18:01:56 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:01:56 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:01:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:01:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:01:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:01:56 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rfid-llrp [Pipeline] echo 18:01:56 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:01:56 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:01:56 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:01:56 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:01:56 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:01:56 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:01:56 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:01:56 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:01:56 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:01:56 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:01:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:01:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:01:56 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:01:56 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:01:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-83 [Pipeline] echo 18:01:56 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-83 [Pipeline] echo 18:01:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-83 [Pipeline] echo 18:01:56 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 107993213a5cb84fb780c175c533c6ec08175762 [Pipeline] echo 18:01:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1079932 [Pipeline] echo 18:01:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:01:56 provisioning config files... 18:01:56 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/oundry_device-rfid-llrp-go_PR-83@tmp/config2354262824686433193tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:01:57 ---> docker-login.sh 18:01:57 nexus3.edgexfoundry.org:10001 18:01:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:01:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:01:57 Configure a credential helper to remove this warning. See 18:01:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:01:57 18:01:57 Login Succeeded 18:01:57 nexus3.edgexfoundry.org:10002 18:01:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:01:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:01:57 Configure a credential helper to remove this warning. See 18:01:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:01:57 18:01:57 Login Succeeded 18:01:57 nexus3.edgexfoundry.org:10003 18:01:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:01:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:01:58 Configure a credential helper to remove this warning. See 18:01:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:01:58 18:01:58 Login Succeeded 18:01:58 nexus3.edgexfoundry.org:10004 18:01:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:01:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:01:58 Configure a credential helper to remove this warning. See 18:01:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:01:58 18:01:58 Login Succeeded 18:01:58 docker.io 18:01:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:01:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:01:58 Configure a credential helper to remove this warning. See 18:01:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:01:58 18:01:58 Login Succeeded 18:01:58 ---> docker-login.sh ends [Pipeline] } 18:01:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:01:58 + git rev-list -1 --merges 107993213a5cb84fb780c175c533c6ec08175762~1..107993213a5cb84fb780c175c533c6ec08175762 [Pipeline] echo 18:01:59 -----------> git rev-list -1 --merges 107993213a5cb84fb780c175c533c6ec08175762~1..107993213a5cb84fb780c175c533c6ec08175762 107993213a5cb84fb780c175c533c6ec08175762 18:01:59 107993213a5cb84fb780c175c533c6ec08175762 [false] [Pipeline] sh 18:01:59 + git log --format=format:%s -1 107993213a5cb84fb780c175c533c6ec08175762 [Pipeline] echo 18:01:59 ========================================================= 18:01:59 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:01:59 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:01:59 + git log --format=format:%s -1 107993213a5cb84fb780c175c533c6ec08175762 [Pipeline] echo 18:01:59 [semverPrep] GIT_COMMIT: 107993213a5cb84fb780c175c533c6ec08175762, Commit Message: Merge branch 'main' into bump-edgex-snap-hooks [Pipeline] echo 18:01:59 [semverPrep] This is not a build commit. [Pipeline] sh 18:02:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:02:00 + grep -v github /etc/ssh/ssh_known_hosts 18:02:00 + [ -e /tmp/ssh_known_hosts ] 18:02:00 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:02:00 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:02:00 + sudo tee -a /etc/ssh/ssh_known_hosts 18:02:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 18:02:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 18:02:00 18:02:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:02:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 18:02:00 latest: Pulling from edgex-devops/py-git-semver 18:02:00 1fe172e4850f: Pulling fs layer 18:02:00 caf521ccaac6: Pulling fs layer 18:02:00 3ead6fa29328: Pulling fs layer 18:02:00 5c2a1cbceb83: Pulling fs layer 18:02:00 a8d5f1318db7: Pulling fs layer 18:02:00 c427282e49a2: Pulling fs layer 18:02:00 1827001aaf11: Pulling fs layer 18:02:00 0714d37db230: Pulling fs layer 18:02:00 ac28cf19c067: Pulling fs layer 18:02:00 ca983d60f3e2: Pulling fs layer 18:02:00 9f894cec8388: Pulling fs layer 18:02:00 1827001aaf11: Waiting 18:02:00 0714d37db230: Waiting 18:02:00 ac28cf19c067: Waiting 18:02:00 ca983d60f3e2: Waiting 18:02:00 9f894cec8388: Waiting 18:02:00 5c2a1cbceb83: Waiting 18:02:00 c427282e49a2: Waiting 18:02:00 a8d5f1318db7: Waiting 18:02:00 caf521ccaac6: Verifying Checksum 18:02:00 caf521ccaac6: Download complete 18:02:00 5c2a1cbceb83: Verifying Checksum 18:02:00 5c2a1cbceb83: Download complete 18:02:00 a8d5f1318db7: Verifying Checksum 18:02:00 a8d5f1318db7: Download complete 18:02:01 c427282e49a2: Verifying Checksum 18:02:01 c427282e49a2: Download complete 18:02:01 3ead6fa29328: Verifying Checksum 18:02:01 3ead6fa29328: Download complete 18:02:01 0714d37db230: Verifying Checksum 18:02:01 0714d37db230: Download complete 18:02:01 ac28cf19c067: Verifying Checksum 18:02:01 ac28cf19c067: Download complete 18:02:01 ca983d60f3e2: Verifying Checksum 18:02:01 ca983d60f3e2: Download complete 18:02:01 9f894cec8388: Verifying Checksum 18:02:01 9f894cec8388: Download complete 18:02:01 1fe172e4850f: Verifying Checksum 18:02:01 1fe172e4850f: Download complete 18:02:01 1827001aaf11: Verifying Checksum 18:02:01 1827001aaf11: Download complete 18:02:02 1fe172e4850f: Pull complete 18:02:02 caf521ccaac6: Pull complete 18:02:03 3ead6fa29328: Pull complete 18:02:03 5c2a1cbceb83: Pull complete 18:02:03 a8d5f1318db7: Pull complete 18:02:03 c427282e49a2: Pull complete 18:02:05 1827001aaf11: Pull complete 18:02:05 0714d37db230: Pull complete 18:02:05 ac28cf19c067: Pull complete 18:02:05 ca983d60f3e2: Pull complete 18:02:05 9f894cec8388: Pull complete 18:02:05 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 18:02:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 18:02:05 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 18:02:06 prd-ubuntu20.04-docker-8c-8g-47826 does not seem to be running inside a container 18:02:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-rfid-llrp-go_PR-83 -v /w/workspace/oundry_device-rfid-llrp-go_PR-83:/w/workspace/oundry_device-rfid-llrp-go_PR-83:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-83@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-83@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-devops/py-git-semver:latest cat 18:02:07 $ docker top 2875cbabedce7f7aca35ea5cd2ccf22edcc8da1d5c965db98acecde6ad47db1f -eo pid,comm 18:02:07 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). 18:02:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:02:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:02:07 [ssh-agent] Looking for ssh-agent implementation... 18:02:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:02:08 $ docker exec 2875cbabedce7f7aca35ea5cd2ccf22edcc8da1d5c965db98acecde6ad47db1f ssh-agent 18:02:08 SSH_AUTH_SOCK=/tmp/ssh-et6f0o3YqwWh/agent.34 18:02:08 SSH_AGENT_PID=40 18:02:08 Running ssh-add (command line suppressed) 18:02:08 Identity added: /w/workspace/oundry_device-rfid-llrp-go_PR-83@tmp/private_key_8616155344847931290.key (/w/workspace/oundry_device-rfid-llrp-go_PR-83@tmp/private_key_8616155344847931290.key) 18:02:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:02:08 + git tag --points-at HEAD [Pipeline] } 18:02:08 $ docker exec --env ******** --env ******** 2875cbabedce7f7aca35ea5cd2ccf22edcc8da1d5c965db98acecde6ad47db1f ssh-agent -k 18:02:08 unset SSH_AUTH_SOCK; 18:02:08 unset SSH_AGENT_PID; 18:02:08 echo Agent pid 40 killed; 18:02:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:02:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:02:08 [ssh-agent] Looking for ssh-agent implementation... 18:02:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:02:09 $ docker exec 2875cbabedce7f7aca35ea5cd2ccf22edcc8da1d5c965db98acecde6ad47db1f ssh-agent 18:02:09 SSH_AUTH_SOCK=/tmp/ssh-2ErzGOcFyctw/agent.74 18:02:09 SSH_AGENT_PID=80 18:02:09 Running ssh-add (command line suppressed) 18:02:09 Identity added: /w/workspace/oundry_device-rfid-llrp-go_PR-83@tmp/private_key_8262749616665960173.key (/w/workspace/oundry_device-rfid-llrp-go_PR-83@tmp/private_key_8262749616665960173.key) 18:02:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:02:09 + git semver init 18:02:09 2022-05-10 18:02:09,764 [run_init] DEBUG init version:0.0.0 force:False 18:02:09 2022-05-10 18:02:09,764 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-rfid-llrp-go_PR-83/.semver 18:02:09 2022-05-10 18:02:09,765 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rfid-llrp-go.git /w/workspace/oundry_device-rfid-llrp-go_PR-83/.semver 18:02:09 2022-05-10 18:02:09,765 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rfid-llrp-go.git', '/w/workspace/oundry_device-rfid-llrp-go_PR-83/.semver'], cwd=/w/workspace/oundry_device-rfid-llrp-go_PR-83, universal_newlines=False, shell=None, istream=None) 18:02:10 2022-05-10 18:02:10,619 [append_file] DEBUG append to file:/w/workspace/oundry_device-rfid-llrp-go_PR-83/.git/info/exclude 18:02:10 2022-05-10 18:02:10,620 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-rfid-llrp-go_PR-83/.semver/PR-83 with force:False 18:02:10 2022-05-10 18:02:10,620 [write_file] DEBUG write to file:/w/workspace/oundry_device-rfid-llrp-go_PR-83/.semver/PR-83 18:02:10 2022-05-10 18:02:10,624 [execute] INFO git cat-file --batch-check 18:02:10 2022-05-10 18:02:10,625 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-rfid-llrp-go_PR-83/.semver, universal_newlines=False, shell=None, istream=) 18:02:10 2022-05-10 18:02:10,631 [execute] INFO git cat-file --batch 18:02:10 2022-05-10 18:02:10,631 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-rfid-llrp-go_PR-83/.semver, universal_newlines=False, shell=None, istream=) 18:02:10 2022-05-10 18:02:10,637 [read_version] DEBUG read version from /w/workspace/oundry_device-rfid-llrp-go_PR-83/.semver/PR-83 18:02:10 0.0.0 [Pipeline] } 18:02:10 $ docker exec --env ******** --env ******** 2875cbabedce7f7aca35ea5cd2ccf22edcc8da1d5c965db98acecde6ad47db1f ssh-agent -k 18:02:10 unset SSH_AUTH_SOCK; 18:02:10 unset SSH_AGENT_PID; 18:02:10 echo Agent pid 80 killed; 18:02:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:02:11 + git semver [Pipeline] } 18:02:11 $ docker stop --time=1 2875cbabedce7f7aca35ea5cd2ccf22edcc8da1d5c965db98acecde6ad47db1f 18:02:12 $ docker rm -f 2875cbabedce7f7aca35ea5cd2ccf22edcc8da1d5c965db98acecde6ad47db1f [Pipeline] // withDockerContainer [Pipeline] sh 18:02:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:02:13 Stashed 1 file(s) [Pipeline] echo 18:02:13 [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 18:02:13 provisioning config files... 18:02:13 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/oundry_device-rfid-llrp-go_PR-83@tmp/config155493933833182367tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:02:13 ---> docker-login.sh 18:02:13 nexus3.edgexfoundry.org:10001 18:02:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:13 Configure a credential helper to remove this warning. See 18:02:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:13 18:02:13 Login Succeeded 18:02:13 nexus3.edgexfoundry.org:10002 18:02:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:14 Configure a credential helper to remove this warning. See 18:02:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:14 18:02:14 Login Succeeded 18:02:14 nexus3.edgexfoundry.org:10003 18:02:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:14 Configure a credential helper to remove this warning. See 18:02:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:14 18:02:14 Login Succeeded 18:02:14 nexus3.edgexfoundry.org:10004 18:02:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:14 Configure a credential helper to remove this warning. See 18:02:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:14 18:02:14 Login Succeeded 18:02:14 docker.io 18:02:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:14 Configure a credential helper to remove this warning. See 18:02:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:14 18:02:14 Login Succeeded 18:02:14 ---> docker-login.sh ends [Pipeline] } 18:02:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:02:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:02:15 ========================================================= 18:02:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 18:02:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 18:02:15 + 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 . 18:02:15 Sending build context to Docker daemon 3.979MB 18:02:15 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 18:02:15 Step 2/12 : FROM ${BASE} AS builder 18:02:15 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 18:02:15 59bf1c3509f3: Pulling fs layer 18:02:15 666ba61612fd: Pulling fs layer 18:02:15 8ed8ca486205: Pulling fs layer 18:02:15 4fe6c5a15a65: Pulling fs layer 18:02:15 22a0e8bec74d: Pulling fs layer 18:02:15 ca2b28591e48: Pulling fs layer 18:02:15 a51346096db8: Pulling fs layer 18:02:15 daebc70d1ce1: Pulling fs layer 18:02:15 0e18a0eac166: Pulling fs layer 18:02:15 4fe6c5a15a65: Waiting 18:02:15 22a0e8bec74d: Waiting 18:02:15 ca2b28591e48: Waiting 18:02:15 0e18a0eac166: Waiting 18:02:15 daebc70d1ce1: Waiting 18:02:15 a51346096db8: Waiting 18:02:15 8ed8ca486205: Verifying Checksum 18:02:15 8ed8ca486205: Download complete 18:02:15 666ba61612fd: Verifying Checksum 18:02:15 22a0e8bec74d: Verifying Checksum 18:02:15 22a0e8bec74d: Download complete 18:02:15 ca2b28591e48: Verifying Checksum 18:02:15 ca2b28591e48: Download complete 18:02:15 a51346096db8: Verifying Checksum 18:02:15 a51346096db8: Download complete 18:02:15 59bf1c3509f3: Verifying Checksum 18:02:15 59bf1c3509f3: Download complete 18:02:15 daebc70d1ce1: Verifying Checksum 18:02:15 daebc70d1ce1: Download complete 18:02:15 59bf1c3509f3: Pull complete 18:02:15 666ba61612fd: Pull complete 18:02:15 8ed8ca486205: Pull complete 18:02:16 4fe6c5a15a65: Verifying Checksum 18:02:16 4fe6c5a15a65: Download complete 18:02:16 0e18a0eac166: Download complete 18:02:20 4fe6c5a15a65: Pull complete 18:02:20 22a0e8bec74d: Pull complete 18:02:20 ca2b28591e48: Pull complete 18:02:20 a51346096db8: Pull complete 18:02:20 daebc70d1ce1: Pull complete 18:02:22 0e18a0eac166: Pull complete 18:02:22 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 18:02:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 18:02:22 ---> f018257e8ee9 18:02:22 Step 3/12 : ARG MAKE='make build' 18:02:24 ---> Running in 1bb5cb20946d 18:02:24 Removing intermediate container 1bb5cb20946d 18:02:24 ---> c2ca7e971f4f 18:02:24 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 18:02:24 ---> Running in dfc3a148388d 18:02:24 Removing intermediate container dfc3a148388d 18:02:24 ---> b8179e69e62b 18:02:24 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 18:02:24 ---> Running in 4b6855a11bfb 18:02:25 Removing intermediate container 4b6855a11bfb 18:02:25 ---> c362dc36ea58 18:02:25 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:02:25 ---> Running in 65b287a4451d 18:02:26 Removing intermediate container 65b287a4451d 18:02:26 ---> b910cfbed7f5 18:02:26 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:02:26 ---> Running in 26df8e904114 18:02:26 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 18:02:27 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 18:02:27 OK: 221 MiB in 52 packages 18:02:27 Removing intermediate container 26df8e904114 18:02:27 ---> 7b2e31341083 18:02:27 Step 8/12 : WORKDIR /app 18:02:27 ---> Running in b6561c41c7cf 18:02:27 Removing intermediate container b6561c41c7cf 18:02:27 ---> 3402145598e0 18:02:27 Step 9/12 : COPY go.mod vendor* ./ 18:02:28 ---> 5d727d46b075 18:02:28 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:02:28 ---> Running in 91ff95ec0b5f 18:02:28 Still waiting to schedule task 18:02:28 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 18:02:42 Removing intermediate container 91ff95ec0b5f 18:02:42 ---> bb4330a9de30 18:02:42 Step 11/12 : COPY . . 18:02:43 ---> fbacb6372c7f 18:02:43 Step 12/12 : RUN $MAKE 18:02:43 ---> Running in bc30e19364cb 18:02:44 noop 18:02:44 Removing intermediate container bc30e19364cb 18:02:44 ---> 484bccacf18b 18:02:44 Successfully built 484bccacf18b 18:02:44 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 18:02:44 + docker inspect -f . ci-base-image-x86_64 18:02:44 . [Pipeline] withDockerContainer 18:02:44 prd-ubuntu20.04-docker-8c-8g-47826 does not seem to be running inside a container 18:02:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-rfid-llrp-go_PR-83 -v /w/workspace/oundry_device-rfid-llrp-go_PR-83:/w/workspace/oundry_device-rfid-llrp-go_PR-83:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-83@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-83@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:02:45 $ docker top 308c058c2e97a6a098e719de4a452bfbf01a3977326c42412249d26c47e79994 -eo pid,comm [Pipeline] { [Pipeline] sh 18:02:45 + go version 18:02:45 go version go1.17.6 linux/amd64 [Pipeline] } 18:02:45 $ docker stop --time=1 308c058c2e97a6a098e719de4a452bfbf01a3977326c42412249d26c47e79994 18:02:46 $ docker rm -f 308c058c2e97a6a098e719de4a452bfbf01a3977326c42412249d26c47e79994 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:02:47 + docker inspect -f . ci-base-image-x86_64 18:02:47 . [Pipeline] withDockerContainer 18:02:47 prd-ubuntu20.04-docker-8c-8g-47826 does not seem to be running inside a container 18:02:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-rfid-llrp-go_PR-83 -v /w/workspace/oundry_device-rfid-llrp-go_PR-83:/w/workspace/oundry_device-rfid-llrp-go_PR-83:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-83@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-83@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:02:47 $ docker top ba754f8587383fdd1aa7c3f0a4f0e55525b6a7e7fbd62edce440d484595f05a9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 18:02:48 + make test 18:02:48 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:02:48 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 18:03:00 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 18:03:00 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 18:03:03 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 4.177s coverage: 39.3% of statements 18:03:03 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.252s coverage: 51.9% of statements 18:03:03 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.018s coverage: 95.5% of statements 18:03:13 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:03:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:03:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:03:16 ./bin/test-attribution-txt.sh [Pipeline] echo 18:03:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:03:16 $ docker stop --time=1 ba754f8587383fdd1aa7c3f0a4f0e55525b6a7e7fbd62edce440d484595f05a9 18:03:18 $ docker rm -f ba754f8587383fdd1aa7c3f0a4f0e55525b6a7e7fbd62edce440d484595f05a9 [Pipeline] // withDockerContainer [Pipeline] sh 18:03:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:03:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:03:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:03:20 + ls -al . 18:03:20 total 632 18:03:20 drwxrwxr-x 11 jenkins jenkins 4096 May 10 18:03 . 18:03:20 drwxrwxr-x 4 jenkins jenkins 4096 May 10 18:01 .. 18:03:20 -rw-rw-r-- 1 jenkins jenkins 134 May 10 18:01 .dockerignore 18:03:20 drwxrwxr-x 8 jenkins jenkins 4096 May 10 18:02 .git 18:03:20 drwxrwxr-x 3 jenkins jenkins 4096 May 10 18:01 .github 18:03:20 -rw-rw-r-- 1 jenkins jenkins 946 May 10 18:01 .gitignore 18:03:20 -rw-rw-r-- 1 jenkins jenkins 41 May 10 18:01 .golangci.yml 18:03:20 drwxr-xr-x 3 jenkins jenkins 4096 May 10 18:02 .semver 18:03:20 -rw-rw-r-- 1 jenkins jenkins 10235 May 10 18:01 Attribution.txt 18:03:20 -rw-rw-r-- 1 jenkins jenkins 3309 May 10 18:01 CHANGELOG.md 18:03:20 -rw-rw-r-- 1 jenkins jenkins 1514 May 10 18:01 Dockerfile 18:03:20 -rw-rw-r-- 1 jenkins jenkins 677 May 10 18:01 GOVERNANCE.md 18:03:20 -rw-rw-r-- 1 jenkins jenkins 683 May 10 18:01 Jenkinsfile 18:03:20 -rw-rw-r-- 1 jenkins jenkins 11347 May 10 18:01 LICENSE 18:03:20 -rw-rw-r-- 1 jenkins jenkins 1991 May 10 18:01 Makefile 18:03:20 -rw-rw-r-- 1 jenkins jenkins 625 May 10 18:01 OWNERS.md 18:03:20 -rw-rw-r-- 1 jenkins jenkins 28496 May 10 18:01 README.md 18:03:20 -rw-rw-r-- 1 jenkins jenkins 5 May 10 18:02 VERSION 18:03:20 drwxrwxr-x 2 jenkins jenkins 4096 May 10 18:01 bin 18:03:20 drwxrwxr-x 4 jenkins jenkins 4096 May 10 18:01 cmd 18:03:20 -rw-r--r-- 1 jenkins jenkins 460394 May 10 18:03 coverage.out 18:03:20 drwxrwxr-x 2 jenkins jenkins 4096 May 10 18:01 examples 18:03:20 -rw-rw-r-- 1 jenkins jenkins 3304 May 10 18:01 go.mod 18:03:20 -rw-rw-r-- 1 jenkins jenkins 35006 May 10 18:01 go.sum 18:03:20 drwxrwxr-x 2 jenkins jenkins 4096 May 10 18:01 images 18:03:20 drwxrwxr-x 5 jenkins jenkins 4096 May 10 18:01 internal 18:03:20 drwxrwxr-x 4 jenkins jenkins 4096 May 10 18:01 snap 18:03:20 -rw-rw-r-- 1 jenkins jenkins 193 May 10 18:01 version.go [Pipeline] isUnix [Pipeline] sh 18:03:20 + 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=107993213a5cb84fb780c175c533c6ec08175762 --label arch=amd64 --label version=0.0.0 . 18:03:20 Sending build context to Docker daemon 3.979MB 18:03:20 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 18:03:20 Step 2/25 : FROM ${BASE} AS builder 18:03:20 ---> 484bccacf18b 18:03:20 Step 3/25 : ARG MAKE='make build' 18:03:20 ---> Running in 8a1e83c673fa 18:03:20 Removing intermediate container 8a1e83c673fa 18:03:20 ---> 7f2de86ab5de 18:03:20 Step 4/25 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 18:03:20 ---> Running in 5fd847af9bd6 18:03:20 Removing intermediate container 5fd847af9bd6 18:03:20 ---> f5dfbdd2900c 18:03:20 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 18:03:20 ---> Running in 5a901c27974f 18:03:20 Removing intermediate container 5a901c27974f 18:03:20 ---> bc666b7369a2 18:03:20 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:03:20 ---> Running in 351e2a274273 18:03:21 Removing intermediate container 351e2a274273 18:03:21 ---> 5cca0971a473 18:03:21 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:03:21 ---> Running in c0c536679e54 18:03:21 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 18:03:22 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 18:03:22 OK: 221 MiB in 52 packages 18:03:23 Removing intermediate container c0c536679e54 18:03:23 ---> f24e03c788ac 18:03:23 Step 8/25 : WORKDIR /app 18:03:23 ---> Running in fdc92446d648 18:03:23 Removing intermediate container fdc92446d648 18:03:23 ---> bfcb2c63ff8b 18:03:23 Step 9/25 : COPY go.mod vendor* ./ 18:03:23 ---> 794f22204472 18:03:23 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:03:23 ---> Running in 3c18d2d6c71b 18:03:24 Removing intermediate container 3c18d2d6c71b 18:03:24 ---> a974f72d5b5e 18:03:24 Step 11/25 : COPY . . 18:03:24 ---> 5469ae41ed44 18:03:24 Step 12/25 : RUN $MAKE 18:03:24 ---> Running in 589613b3f94d 18:03:25 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 18:03:47 Removing intermediate container 589613b3f94d 18:03:47 ---> bc69748ff7f6 18:03:47 Step 13/25 : FROM alpine:3.14 18:03:47 3.14: Pulling from library/alpine 18:03:47 8663204ce13b: Pulling fs layer 18:03:47 8663204ce13b: Verifying Checksum 18:03:47 8663204ce13b: Download complete 18:03:47 8663204ce13b: Pull complete 18:03:47 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 18:03:47 Status: Downloaded newer image for alpine:3.14 18:03:47 ---> e04c818066af 18:03:47 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 18:03:47 ---> Running in e1c6fbfb6c61 18:03:47 Removing intermediate container e1c6fbfb6c61 18:03:47 ---> f52e3d56fa8e 18:03:47 Step 15/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:03:47 ---> Running in 56930529dd0c 18:03:48 Removing intermediate container 56930529dd0c 18:03:48 ---> c965971fdb82 18:03:48 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 18:03:48 ---> Running in d74bc87b4086 18:03:48 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 18:03:49 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 18:03:49 (1/6) Installing dumb-init (1.2.5-r1) 18:03:49 (2/6) Installing libgcc (10.3.1_git20210424-r2) 18:03:49 (3/6) Installing libsodium (1.0.18-r0) 18:03:49 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 18:03:49 (5/6) Installing libzmq (4.3.4-r0) 18:03:49 (6/6) Installing zeromq (4.3.4-r0) 18:03:49 Executing busybox-1.33.1-r7.trigger 18:03:49 OK: 8 MiB in 20 packages 18:03:50 Removing intermediate container d74bc87b4086 18:03:50 ---> 074b7e62bc36 18:03:50 Step 17/25 : COPY --from=builder /app/LICENSE / 18:03:50 ---> 8c18538c86bf 18:03:50 Step 18/25 : COPY --from=builder /app/Attribution.txt / 18:03:50 ---> 81883aaf1983 18:03:50 Step 19/25 : COPY --from=builder /app/cmd/ / 18:03:51 ---> c0caa9657373 18:03:51 Step 20/25 : EXPOSE 59989 18:03:51 ---> Running in cda9c7cf1a11 18:03:51 Removing intermediate container cda9c7cf1a11 18:03:51 ---> 7b13eaa375d7 18:03:51 Step 21/25 : ENTRYPOINT ["/device-rfid-llrp"] 18:03:51 ---> Running in 0c7da016e4aa 18:03:51 Removing intermediate container 0c7da016e4aa 18:03:51 ---> acf2b9f37790 18:03:51 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 18:03:51 ---> Running in 44cce430aac3 18:03:51 Removing intermediate container 44cce430aac3 18:03:51 ---> aec5d6fc8707 18:03:51 Step 23/25 : LABEL arch=amd64 18:03:51 ---> Running in deea26a75460 18:03:51 Removing intermediate container deea26a75460 18:03:51 ---> 11b607f73a7f 18:03:51 Step 24/25 : LABEL git_sha=107993213a5cb84fb780c175c533c6ec08175762 18:03:52 ---> Running in 721f0c363e3d 18:03:52 Removing intermediate container 721f0c363e3d 18:03:52 ---> 05b764c62028 18:03:52 Step 25/25 : LABEL version=0.0.0 18:03:52 ---> Running in b5aef1381d72 18:03:52 Removing intermediate container b5aef1381d72 18:03:52 ---> b6c358496a32 18:03:52 [Warning] One or more build-args [ARCH] were not consumed 18:03:52 Successfully built b6c358496a32 18:03:52 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 18:03:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:03:52 18:03:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 18:03:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:03:52 latest: Pulling from edgex-lftools-log-publisher 18:03:52 5eb5b503b376: Pulling fs layer 18:03:52 5c69ac0246d0: Pulling fs layer 18:03:52 ec43610c2a17: Pulling fs layer 18:03:52 3a2ae6a8a46f: Pulling fs layer 18:03:52 33b1e0a273af: Pulling fs layer 18:03:52 5d3b04190fa2: Pulling fs layer 18:03:52 2f39f015ded8: Pulling fs layer 18:03:52 33b1e0a273af: Waiting 18:03:52 5d3b04190fa2: Waiting 18:03:52 2f39f015ded8: Waiting 18:03:52 3a2ae6a8a46f: Waiting 18:03:52 5c69ac0246d0: Verifying Checksum 18:03:52 5c69ac0246d0: Download complete 18:03:52 3a2ae6a8a46f: Verifying Checksum 18:03:52 3a2ae6a8a46f: Download complete 18:03:52 33b1e0a273af: Verifying Checksum 18:03:52 33b1e0a273af: Download complete 18:03:52 ec43610c2a17: Verifying Checksum 18:03:52 ec43610c2a17: Download complete 18:03:53 5eb5b503b376: Verifying Checksum 18:03:53 5eb5b503b376: Download complete 18:03:53 2f39f015ded8: Download complete 18:03:54 5eb5b503b376: Pull complete 18:03:54 5c69ac0246d0: Pull complete 18:03:55 ec43610c2a17: Pull complete 18:03:55 3a2ae6a8a46f: Pull complete 18:03:55 33b1e0a273af: Pull complete 18:03:55 5d3b04190fa2: Pull complete 18:03:59 2f39f015ded8: Pull complete 18:03:59 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:03:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:03:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 18:03:59 prd-ubuntu20.04-docker-8c-8g-47826 does not seem to be running inside a container 18:03:59 $ 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-83 -v /w/workspace/oundry_device-rfid-llrp-go_PR-83:/w/workspace/oundry_device-rfid-llrp-go_PR-83:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-83@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-83@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:04:02 $ docker top 248d2a3feace9bf01a9ab519c97daa42b054a0be03da4d25a0f4fc19ee407ed7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:04:02 ---> job-cost.sh 18:04:02 lf-activate-venv: SKIPPING 18:04:02 INFO: No Stack... 18:04:03 INFO: Retrieving Pricing Info for: v3-standard-8 18:04:03 INFO: Archiving Costs [Pipeline] sh 18:04:03 + cat /w/workspace/oundry_device-rfid-llrp-go_PR-83/archives/cost.csv 18:04:03 + cut -d, -f6 [Pipeline] lock 18:04:04 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-83-2-stack-cost] 18:04:04 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-83-2-stack-cost] did not exist. Created. 18:04:04 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-83-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:04:04 + echo total: 0.2199999988079071 [Pipeline] stash 18:04:04 Stashed 1 file(s) [Pipeline] } 18:04:04 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-83-2-stack-cost] [Pipeline] // lock [Pipeline] } 18:04:04 $ docker stop --time=1 248d2a3feace9bf01a9ab519c97daa42b054a0be03da4d25a0f4fc19ee407ed7 18:04:05 $ docker rm -f 248d2a3feace9bf01a9ab519c97daa42b054a0be03da4d25a0f4fc19ee407ed7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:06:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-47828 in /w/workspace/oundry_device-rfid-llrp-go_PR-83 [Pipeline] { [Pipeline] ws 18:06:37 Running in /w/workspace/device-rfid-llrp-go/2 [Pipeline] { [Pipeline] checkout 18:06:38 Selected Git installation does not exist. Using Default 18:06:38 The recommended git tool is: NONE 18:06:45 using credential edgex-jenkins-ssh 18:06:45 Cloning the remote Git repository 18:06:45 Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git 18:06:45 > git init /w/workspace/device-rfid-llrp-go/2 # timeout=10 18:06:45 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 18:06:45 > git --version # timeout=10 18:06:45 > git --version # 'git version 2.25.1' 18:06:45 using GIT_SSH to set credentials SSH Credentials for GitHub 18:06:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:06:47 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 18:06:47 Merging remotes/origin/main commit ed3f6adc63f232585aaf4914dc5a09827cd611f6 into PR head commit 107993213a5cb84fb780c175c533c6ec08175762 18:06:48 Merge succeeded, producing 107993213a5cb84fb780c175c533c6ec08175762 18:06:48 Checking out Revision 107993213a5cb84fb780c175c533c6ec08175762 (PR-83) 18:06:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:06:47 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 18:06:47 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 18:06:47 using GIT_SSH to set credentials SSH Credentials for GitHub 18:06:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/83/head:refs/remotes/origin/PR-83 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:06:47 > git config core.sparsecheckout # timeout=10 18:06:47 > git checkout -f 107993213a5cb84fb780c175c533c6ec08175762 # timeout=10 18:06:48 > git remote # timeout=10 18:06:48 > git config --get remote.origin.url # timeout=10 18:06:48 using GIT_SSH to set credentials SSH Credentials for GitHub 18:06:48 > git merge ed3f6adc63f232585aaf4914dc5a09827cd611f6 # timeout=10 18:06:48 > git rev-parse HEAD^{commit} # timeout=10 18:06:48 > git config core.sparsecheckout # timeout=10 18:06:48 > git checkout -f 107993213a5cb84fb780c175c533c6ec08175762 # timeout=10 18:06:52 Commit message: "Merge branch 'main' into bump-edgex-snap-hooks" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:06:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:06:53 % Total % Received % Xferd Average Speed Time Time Time Current 18:06:53 Dload Upload Total Spent Left Speed 18:06:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 98691 0 --:--:-- --:--:-- --:--:-- 98691 [Pipeline] sh 18:06:54 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:06:54 + + sudo teesudo /etc/docker/daemon.new jq 18:06:54 . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:06:54 { 18:06:54 "registry-mirrors": [ 18:06:54 "https://nexus3.edgexfoundry.org:10001" 18:06:54 ], 18:06:54 "bip": "10.250.0.254/24", 18:06:54 "hosts": [ 18:06:54 "tcp://0.0.0.0:5555", 18:06:54 "unix:///var/run/docker.sock" 18:06:54 ], 18:06:54 "mtu": 1458, 18:06:54 "selinux-enabled": true, 18:06:54 "seccomp-profile": "/etc/docker/seccomp.json" 18:06:54 } [Pipeline] sh 18:06:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:06:55 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:07:13 provisioning config files... 18:07:13 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/device-rfid-llrp-go/2@tmp/config5300363990865640038tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:07:13 ---> docker-login.sh 18:07:13 nexus3.edgexfoundry.org:10001 18:07:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:07:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:07:14 Configure a credential helper to remove this warning. See 18:07:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:07:14 18:07:14 Login Succeeded 18:07:14 nexus3.edgexfoundry.org:10002 18:07:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:07:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:07:15 Configure a credential helper to remove this warning. See 18:07:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:07:15 18:07:15 Login Succeeded 18:07:15 nexus3.edgexfoundry.org:10003 18:07:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:07:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:07:15 Configure a credential helper to remove this warning. See 18:07:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:07:15 18:07:15 Login Succeeded 18:07:15 nexus3.edgexfoundry.org:10004 18:07:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:07:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:07:16 Configure a credential helper to remove this warning. See 18:07:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:07:16 18:07:16 Login Succeeded 18:07:16 docker.io 18:07:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:07:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:07:16 Configure a credential helper to remove this warning. See 18:07:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:07:16 18:07:16 Login Succeeded 18:07:16 ---> docker-login.sh ends [Pipeline] } 18:07:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:07:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:07:17 ========================================================= 18:07:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 18:07:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 18:07:17 + 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 . 18:07:18 Sending build context to Docker daemon 1.228MB 18:07:18 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 18:07:18 Step 2/12 : FROM ${BASE} AS builder 18:07:18 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:07:18 9b3977197b4f: Pulling fs layer 18:07:18 1a89e8eeedd5: Pulling fs layer 18:07:18 94645a83ff95: Pulling fs layer 18:07:18 3f3a8bcf1eab: Pulling fs layer 18:07:18 0c92f367c5e7: Pulling fs layer 18:07:18 3096ccb668a1: Pulling fs layer 18:07:18 e8cf19c19ddd: Pulling fs layer 18:07:18 a4caa8a26152: Pulling fs layer 18:07:18 3096ccb668a1: Waiting 18:07:18 e8cf19c19ddd: Waiting 18:07:18 a4caa8a26152: Waiting 18:07:18 3f3a8bcf1eab: Waiting 18:07:18 0c92f367c5e7: Waiting 18:07:18 94645a83ff95: Verifying Checksum 18:07:18 94645a83ff95: Download complete 18:07:18 1a89e8eeedd5: Verifying Checksum 18:07:18 1a89e8eeedd5: Download complete 18:07:18 0c92f367c5e7: Verifying Checksum 18:07:18 0c92f367c5e7: Download complete 18:07:18 3096ccb668a1: Verifying Checksum 18:07:18 3096ccb668a1: Download complete 18:07:18 9b3977197b4f: Verifying Checksum 18:07:18 9b3977197b4f: Download complete 18:07:18 e8cf19c19ddd: Verifying Checksum 18:07:18 e8cf19c19ddd: Download complete 18:07:19 9b3977197b4f: Pull complete 18:07:19 1a89e8eeedd5: Pull complete 18:07:19 94645a83ff95: Pull complete 18:07:20 a4caa8a26152: Verifying Checksum 18:07:20 a4caa8a26152: Download complete 18:07:21 3f3a8bcf1eab: Verifying Checksum 18:07:21 3f3a8bcf1eab: Download complete 18:07:33 3f3a8bcf1eab: Pull complete 18:07:33 0c92f367c5e7: Pull complete 18:07:33 3096ccb668a1: Pull complete 18:07:33 e8cf19c19ddd: Pull complete 18:07:40 a4caa8a26152: Pull complete 18:07:40 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 18:07:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 18:07:40 ---> 725f1c02e7f9 18:07:40 Step 3/12 : ARG MAKE='make build' 18:07:40 ---> Running in 095cee378ff1 18:07:40 Removing intermediate container 095cee378ff1 18:07:40 ---> 1508860f3984 18:07:40 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 18:07:40 ---> Running in 122ad1964244 18:07:41 Removing intermediate container 122ad1964244 18:07:41 ---> 91c9b2831a7a 18:07:41 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 18:07:41 ---> Running in 1f067bc6d031 18:07:41 Removing intermediate container 1f067bc6d031 18:07:41 ---> d3782134f1f7 18:07:41 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:07:41 ---> Running in 8304d229e48a 18:07:43 Removing intermediate container 8304d229e48a 18:07:43 ---> bc5b54766acd 18:07:43 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:07:43 ---> Running in 1268821d2f0e 18:07:44 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 18:07:45 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 18:07:46 OK: 220 MiB in 52 packages 18:07:47 Removing intermediate container 1268821d2f0e 18:07:47 ---> 73def22a89ed 18:07:47 Step 8/12 : WORKDIR /app 18:07:47 ---> Running in 5ece67fc2a6e 18:07:47 Removing intermediate container 5ece67fc2a6e 18:07:47 ---> dfed740500e0 18:07:47 Step 9/12 : COPY go.mod vendor* ./ 18:07:48 ---> 7e96abb1346d 18:07:48 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:07:48 ---> Running in 2dc0c94a709e 18:08:35 Removing intermediate container 2dc0c94a709e 18:08:35 ---> 8a0764ec91a8 18:08:35 Step 11/12 : COPY . . 18:08:35 ---> 8619ae5db528 18:08:35 Step 12/12 : RUN $MAKE 18:08:35 ---> Running in e83c58f46490 18:08:35 noop 18:08:35 Removing intermediate container e83c58f46490 18:08:35 ---> 8784c3e205e7 18:08:35 Successfully built 8784c3e205e7 18:08:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 18:08:35 + docker inspect -f . ci-base-image-arm64 18:08:35 . [Pipeline] withDockerContainer 18:08:35 prd-ubuntu20.04-docker-arm64-4c-16g-47828 does not seem to be running inside a container 18:08:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rfid-llrp-go/2 -v /w/workspace/device-rfid-llrp-go/2:/w/workspace/device-rfid-llrp-go/2:rw,z -v /w/workspace/device-rfid-llrp-go/2@tmp:/w/workspace/device-rfid-llrp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:08:37 $ docker top 14e185278b0e4dd6878000e737c6d094d2d2d44aec568615cbf45119e805b9a5 -eo pid,comm [Pipeline] { [Pipeline] sh 18:08:37 + go version 18:08:37 go version go1.17.6 linux/arm64 [Pipeline] } 18:08:37 $ docker stop --time=1 14e185278b0e4dd6878000e737c6d094d2d2d44aec568615cbf45119e805b9a5 18:08:39 $ docker rm -f 14e185278b0e4dd6878000e737c6d094d2d2d44aec568615cbf45119e805b9a5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:08:40 + docker inspect -f . ci-base-image-arm64 18:08:40 . [Pipeline] withDockerContainer 18:08:40 prd-ubuntu20.04-docker-arm64-4c-16g-47828 does not seem to be running inside a container 18:08:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rfid-llrp-go/2 -v /w/workspace/device-rfid-llrp-go/2:/w/workspace/device-rfid-llrp-go/2:rw,z -v /w/workspace/device-rfid-llrp-go/2@tmp:/w/workspace/device-rfid-llrp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:08:41 $ docker top c9dec9929e7d4949d98a3aae48f2e8870432233a95fc6aa9c340baebd33319a9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 18:08:42 + make test 18:08:42 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:08:44 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 18:10:21 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 18:10:21 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 18:10:36 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 23.479s coverage: 39.3% of statements 18:10:36 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.648s coverage: 52.0% of statements 18:10:36 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.068s coverage: 96.4% of statements 18:10:36 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:10:36 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:11:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:11:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:11:09 ./bin/test-attribution-txt.sh [Pipeline] echo 18:11:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:11:09 $ docker stop --time=1 c9dec9929e7d4949d98a3aae48f2e8870432233a95fc6aa9c340baebd33319a9 18:11:11 $ docker rm -f c9dec9929e7d4949d98a3aae48f2e8870432233a95fc6aa9c340baebd33319a9 [Pipeline] // withDockerContainer [Pipeline] sh 18:11:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:11:12 Warning: overwriting stash ‘coverage-report’ 18:11:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:11:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:11:13 + ls -al . 18:11:13 total 628 18:11:13 drwxrwxr-x 10 jenkins jenkins 4096 May 10 18:11 . 18:11:13 drwxrwxr-x 4 jenkins jenkins 4096 May 10 18:06 .. 18:11:13 -rw-rw-r-- 1 jenkins jenkins 134 May 10 18:06 .dockerignore 18:11:13 drwxrwxr-x 8 jenkins jenkins 4096 May 10 18:06 .git 18:11:13 drwxrwxr-x 3 jenkins jenkins 4096 May 10 18:06 .github 18:11:13 -rw-rw-r-- 1 jenkins jenkins 946 May 10 18:06 .gitignore 18:11:13 -rw-rw-r-- 1 jenkins jenkins 41 May 10 18:06 .golangci.yml 18:11:13 -rw-rw-r-- 1 jenkins jenkins 10235 May 10 18:06 Attribution.txt 18:11:13 -rw-rw-r-- 1 jenkins jenkins 3309 May 10 18:06 CHANGELOG.md 18:11:13 -rw-rw-r-- 1 jenkins jenkins 1514 May 10 18:06 Dockerfile 18:11:13 -rw-rw-r-- 1 jenkins jenkins 677 May 10 18:06 GOVERNANCE.md 18:11:13 -rw-rw-r-- 1 jenkins jenkins 683 May 10 18:06 Jenkinsfile 18:11:13 -rw-rw-r-- 1 jenkins jenkins 11347 May 10 18:06 LICENSE 18:11:13 -rw-rw-r-- 1 jenkins jenkins 1991 May 10 18:06 Makefile 18:11:13 -rw-rw-r-- 1 jenkins jenkins 625 May 10 18:06 OWNERS.md 18:11:13 -rw-rw-r-- 1 jenkins jenkins 28496 May 10 18:06 README.md 18:11:13 -rw-rw-r-- 1 jenkins jenkins 5 May 10 18:02 VERSION 18:11:13 drwxrwxr-x 2 jenkins jenkins 4096 May 10 18:06 bin 18:11:13 drwxrwxr-x 4 jenkins jenkins 4096 May 10 18:06 cmd 18:11:13 -rw-r--r-- 1 jenkins jenkins 460394 May 10 18:10 coverage.out 18:11:13 drwxrwxr-x 2 jenkins jenkins 4096 May 10 18:06 examples 18:11:13 -rw-rw-r-- 1 jenkins jenkins 3304 May 10 18:06 go.mod 18:11:13 -rw-rw-r-- 1 jenkins jenkins 35006 May 10 18:06 go.sum 18:11:13 drwxrwxr-x 2 jenkins jenkins 4096 May 10 18:06 images 18:11:13 drwxrwxr-x 5 jenkins jenkins 4096 May 10 18:06 internal 18:11:13 drwxrwxr-x 4 jenkins jenkins 4096 May 10 18:06 snap 18:11:13 -rw-rw-r-- 1 jenkins jenkins 193 May 10 18:06 version.go [Pipeline] isUnix [Pipeline] sh 18:11:13 + 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=107993213a5cb84fb780c175c533c6ec08175762 --label arch=arm64 --label version=0.0.0 . 18:11:14 Sending build context to Docker daemon 1.228MB 18:11:14 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 18:11:14 Step 2/25 : FROM ${BASE} AS builder 18:11:14 ---> 8784c3e205e7 18:11:14 Step 3/25 : ARG MAKE='make build' 18:11:14 ---> Running in 6e764b2d035c 18:11:14 Removing intermediate container 6e764b2d035c 18:11:14 ---> c9e098a64da8 18:11:14 Step 4/25 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 18:11:14 ---> Running in 698718edcf59 18:11:15 Removing intermediate container 698718edcf59 18:11:15 ---> f6dec5e5f392 18:11:15 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 18:11:15 ---> Running in d3e67cfdb965 18:11:15 Removing intermediate container d3e67cfdb965 18:11:15 ---> 17445796627b 18:11:15 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:11:15 ---> Running in 8dce741644ec 18:11:17 Removing intermediate container 8dce741644ec 18:11:17 ---> 5b6ceeda12ae 18:11:17 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:11:17 ---> Running in 368f87ee256a 18:11:18 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 18:11:19 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 18:11:20 OK: 220 MiB in 52 packages 18:11:21 Removing intermediate container 368f87ee256a 18:11:21 ---> 090220db5895 18:11:21 Step 8/25 : WORKDIR /app 18:11:21 ---> Running in 889c6d0f97e9 18:11:21 Removing intermediate container 889c6d0f97e9 18:11:21 ---> ad40876a317e 18:11:21 Step 9/25 : COPY go.mod vendor* ./ 18:11:22 ---> bd088fd518bc 18:11:22 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:11:22 ---> Running in 4b61286c5209 18:11:24 Removing intermediate container 4b61286c5209 18:11:24 ---> dfa5cfb443cc 18:11:24 Step 11/25 : COPY . . 18:11:24 ---> aa94c0f9c327 18:11:24 Step 12/25 : RUN $MAKE 18:11:24 ---> Running in 65bbc1df7cff 18:11:25 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 18:13:47 Removing intermediate container 65bbc1df7cff 18:13:47 ---> 8ef8eeec13fb 18:13:47 Step 13/25 : FROM alpine:3.14 18:13:47 3.14: Pulling from library/alpine 18:13:47 455c02918c45: Pulling fs layer 18:13:47 455c02918c45: Download complete 18:13:47 455c02918c45: Pull complete 18:13:47 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 18:13:47 Status: Downloaded newer image for alpine:3.14 18:13:47 ---> ac73e934f311 18:13:47 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 18:13:47 ---> Running in 0ebaea0dc6a0 18:13:47 Removing intermediate container 0ebaea0dc6a0 18:13:47 ---> 0f28eca77762 18:13:47 Step 15/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:13:47 ---> Running in 536249140ebe 18:13:47 Removing intermediate container 536249140ebe 18:13:47 ---> 859a4964ac62 18:13:47 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 18:13:47 ---> Running in e3180fc38813 18:13:47 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 18:13:47 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 18:13:47 (1/6) Installing dumb-init (1.2.5-r1) 18:13:47 (2/6) Installing libgcc (10.3.1_git20210424-r2) 18:13:47 (3/6) Installing libsodium (1.0.18-r0) 18:13:47 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 18:13:47 (5/6) Installing libzmq (4.3.4-r0) 18:13:47 (6/6) Installing zeromq (4.3.4-r0) 18:13:47 Executing busybox-1.33.1-r7.trigger 18:13:47 OK: 8 MiB in 20 packages 18:13:47 Removing intermediate container e3180fc38813 18:13:47 ---> b4b141d6a61d 18:13:47 Step 17/25 : COPY --from=builder /app/LICENSE / 18:13:47 ---> 6e2aab388adf 18:13:47 Step 18/25 : COPY --from=builder /app/Attribution.txt / 18:13:47 ---> a64aa7e3e480 18:13:47 Step 19/25 : COPY --from=builder /app/cmd/ / 18:13:48 ---> 85bcb4b5ef3f 18:13:48 Step 20/25 : EXPOSE 59989 18:13:48 ---> Running in f5382fe547ab 18:13:49 Removing intermediate container f5382fe547ab 18:13:49 ---> 47eb3f24cc97 18:13:49 Step 21/25 : ENTRYPOINT ["/device-rfid-llrp"] 18:13:49 ---> Running in 37287df9873c 18:13:49 Removing intermediate container 37287df9873c 18:13:49 ---> 8833c5c44db2 18:13:49 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 18:13:49 ---> Running in 4e2d073ff698 18:13:50 Removing intermediate container 4e2d073ff698 18:13:50 ---> 4de3129720c0 18:13:50 Step 23/25 : LABEL arch=arm64 18:13:50 ---> Running in 4c692ac94b5a 18:13:50 Removing intermediate container 4c692ac94b5a 18:13:50 ---> e6359c1bc7cf 18:13:50 Step 24/25 : LABEL git_sha=107993213a5cb84fb780c175c533c6ec08175762 18:13:51 ---> Running in 12cac0ff2a1f 18:13:51 Removing intermediate container 12cac0ff2a1f 18:13:51 ---> 47a36152e2c4 18:13:51 Step 25/25 : LABEL version=0.0.0 18:13:51 ---> Running in cdd8454b1a22 18:13:51 Removing intermediate container cdd8454b1a22 18:13:51 ---> b136c2aad276 18:13:51 [Warning] One or more build-args [ARCH] were not consumed 18:13:51 Successfully built b136c2aad276 18:13:51 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 18:13:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:13:52 18:13:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 18:13:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:13:52 arm64: Pulling from edgex-lftools-log-publisher 18:13:52 8998bd30e6a1: Pulling fs layer 18:13:52 04944245beec: Pulling fs layer 18:13:52 699f458cf7ca: Pulling fs layer 18:13:52 765212b225bb: Pulling fs layer 18:13:52 f23df028b6ca: Pulling fs layer 18:13:52 d65c8cfc05b1: Pulling fs layer 18:13:52 2437ff75d9bd: Pulling fs layer 18:13:52 765212b225bb: Waiting 18:13:52 f23df028b6ca: Waiting 18:13:52 d65c8cfc05b1: Waiting 18:13:52 2437ff75d9bd: Waiting 18:13:52 04944245beec: Verifying Checksum 18:13:52 04944245beec: Download complete 18:13:52 765212b225bb: Verifying Checksum 18:13:52 765212b225bb: Download complete 18:13:52 f23df028b6ca: Verifying Checksum 18:13:52 f23df028b6ca: Download complete 18:13:53 d65c8cfc05b1: Verifying Checksum 18:13:53 d65c8cfc05b1: Download complete 18:13:53 699f458cf7ca: Verifying Checksum 18:13:53 699f458cf7ca: Download complete 18:13:53 8998bd30e6a1: Verifying Checksum 18:13:53 8998bd30e6a1: Download complete 18:13:55 2437ff75d9bd: Verifying Checksum 18:13:55 2437ff75d9bd: Download complete 18:13:57 8998bd30e6a1: Pull complete 18:13:58 04944245beec: Pull complete 18:13:59 699f458cf7ca: Pull complete 18:14:00 765212b225bb: Pull complete 18:14:01 f23df028b6ca: Pull complete 18:14:01 d65c8cfc05b1: Pull complete 18:14:16 2437ff75d9bd: Pull complete 18:14:16 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:14:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:14:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 18:14:16 prd-ubuntu20.04-docker-arm64-4c-16g-47828 does not seem to be running inside a container 18:14:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rfid-llrp-go/2 -v /w/workspace/device-rfid-llrp-go/2:/w/workspace/device-rfid-llrp-go/2:rw,z -v /w/workspace/device-rfid-llrp-go/2@tmp:/w/workspace/device-rfid-llrp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:14:19 $ docker top 5c3f0c4de63d8b9f500c4dba98c0ae71f333dd3527203e2c13864afc24401beb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:14:20 ---> job-cost.sh 18:14:20 lf-activate-venv: SKIPPING 18:14:20 INFO: No Stack... 18:14:21 INFO: Retrieving Pricing Info for: v3-standard-4 18:14:22 INFO: Archiving Costs [Pipeline] sh 18:14:22 + cat /w/workspace/device-rfid-llrp-go/2/archives/cost.csv 18:14:22 + cut -d, -f6 [Pipeline] lock 18:14:22 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-83-2-stack-cost] 18:14:22 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-83-2-stack-cost] did not exist. Created. 18:14:22 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-83-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:14:23 /w/workspace/device-rfid-llrp-go/2@tmp/durable-829fe6b9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:14:24 + echo total: 0.10999999940395355 [Pipeline] stash 18:14:24 Warning: overwriting stash ‘stack-cost’ 18:14:24 Stashed 1 file(s) [Pipeline] } 18:14:24 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-83-2-stack-cost] [Pipeline] // lock [Pipeline] } 18:14:24 $ docker stop --time=1 5c3f0c4de63d8b9f500c4dba98c0ae71f333dd3527203e2c13864afc24401beb 18:14:26 $ docker rm -f 5c3f0c4de63d8b9f500c4dba98c0ae71f333dd3527203e2c13864afc24401beb [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 18:14:26 provisioning config files... 18:14:26 copy managed file [device-rfid-llrp-go-codecov-token] to file:/w/workspace/oundry_device-rfid-llrp-go_PR-83@tmp/config5405764796676479420tmp [Pipeline] { [Pipeline] sh 18:14:26 + set +x 18:14:26 + curl -s https://codecov.io/bash 18:14:26 + bash -s -- 18:14:26 18:14:26 _____ _ 18:14:26 / ____| | | 18:14:26 | | ___ __| | ___ ___ _____ __ 18:14:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:14:26 | |___| (_) | (_| | __/ (_| (_) \ V / 18:14:26 \_____\___/ \__,_|\___|\___\___/ \_/ 18:14:26 Bash-1.0.6 18:14:26 18:14:26 18:14:26 ==> git version 2.25.1 found 18:14:26 ==> 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 18:14:26 Release-Date: 2020-01-08 18:14:26 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:14:26 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:14:26 ==> Jenkins CI detected. 18:14:26 current dir:  /w/workspace/oundry_device-rfid-llrp-go_PR-83 18:14:26 project root: . 18:14:26 --> token set from env 18:14:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:14:26 ==> Running gcov in . (disable via -X gcov) 18:14:26 ==> Python coveragepy not found 18:14:26 ==> Searching for coverage reports in: 18:14:26 + . 18:14:26 -> Found 1 reports 18:14:26 ==> Detecting git/mercurial file structure 18:14:26 ==> Reading reports 18:14:26 + ./coverage.out bytes=460394 18:14:26 ==> Appending adjustments 18:14:26 https://docs.codecov.io/docs/fixing-reports 18:14:27 + Found adjustments 18:14:27 ==> Gzipping contents 18:14:27 52K /tmp/codecov.zkM5OU.gz 18:14:27 ==> Uploading reports 18:14:27 url: https://codecov.io 18:14:27 query: branch=PR-83&commit=107993213a5cb84fb780c175c533c6ec08175762&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-83%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=83&job=&cmd_args= 18:14:27 -> Pinging Codecov 18:14:27 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-83&commit=107993213a5cb84fb780c175c533c6ec08175762&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-83%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=83&job=&cmd_args= 18:14:27 -> Uploading to 18:14:27 https://storage.googleapis.com/codecov/v4/raw/2022-05-10/581DD39554BDF9B6E22D074273EAD858/107993213a5cb84fb780c175c533c6ec08175762/f6466fe3-f9c4-4a60-8bce-138af39fc1be.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220510T181427Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c401996ad60f5532ba7926e379a2b48bd7f323fe52b092f34039abc5f532cacc 18:14:27 % Total % Received % Xferd Average Speed Time Time Time Current 18:14:27 Dload Upload Total Spent Left Speed 18:14:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51755 0 0 100 51755 0 205k --:--:-- --:--:-- --:--:-- 205k 18:14:27 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/107993213a5cb84fb780c175c533c6ec08175762 [Pipeline] } 18:14:27 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 18:14:28 + [ -d /w/workspace/oundry_device-rfid-llrp-go_PR-83/archives ] 18:14:28 + ls -al /w/workspace/oundry_device-rfid-llrp-go_PR-83/archives 18:14:28 total 16 18:14:28 drwxr-xr-x 3 root root 4096 May 10 18:04 . 18:14:28 drwxrwxr-x 12 jenkins jenkins 4096 May 10 18:04 .. 18:14:28 drwxr-xr-x 2 root root 4096 May 10 18:04 cost 18:14:28 -rw-r--r-- 1 root root 89 May 10 18:04 cost.csv 18:14:28 + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-rfid-llrp-go_PR-83/archives 18:14:28 + ls -al /w/workspace/oundry_device-rfid-llrp-go_PR-83/archives 18:14:28 total 16 18:14:28 drwxr-xr-x 3 jenkins jenkins 4096 May 10 18:04 . 18:14:28 drwxrwxr-x 12 jenkins jenkins 4096 May 10 18:04 .. 18:14:28 drwxr-xr-x 2 jenkins jenkins 4096 May 10 18:04 cost 18:14:28 -rw-r--r-- 1 jenkins jenkins 89 May 10 18:04 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:14:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:14:29 ---> package-listing.sh 18:14:29 ++ facter osfamily 18:14:29 ++ tr '[:upper:]' '[:lower:]' 18:14:29 + OS_FAMILY=debian 18:14:29 + workspace=/w/workspace/oundry_device-rfid-llrp-go_PR-83 18:14:29 + START_PACKAGES=/tmp/packages_start.txt 18:14:29 + END_PACKAGES=/tmp/packages_end.txt 18:14:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:14:29 + PACKAGES=/tmp/packages_start.txt 18:14:29 + '[' /w/workspace/oundry_device-rfid-llrp-go_PR-83 ']' 18:14:29 + PACKAGES=/tmp/packages_end.txt 18:14:29 + case "${OS_FAMILY}" in 18:14:29 + dpkg -l 18:14:29 + grep '^ii' 18:14:29 + '[' -f /tmp/packages_start.txt ']' 18:14:29 + '[' -f /tmp/packages_end.txt ']' 18:14:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:14:29 + '[' /w/workspace/oundry_device-rfid-llrp-go_PR-83 ']' 18:14:29 + mkdir -p /w/workspace/oundry_device-rfid-llrp-go_PR-83/archives/ 18:14:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-rfid-llrp-go_PR-83/archives/ [Pipeline] echo 18:14:29 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-83/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:14:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 18:14:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:14:30 . [Pipeline] withDockerContainer 18:14:30 prd-ubuntu20.04-docker-8c-8g-47826 does not seem to be running inside a container 18:14:30 $ 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-83/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-83 -v /w/workspace/oundry_device-rfid-llrp-go_PR-83:/w/workspace/oundry_device-rfid-llrp-go_PR-83:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-83@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-83@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:latest cat 18:14:31 $ docker top db8049dd19627c92048f7e99d76d9ba2a55d736d6763992a231cefca5651f1c5 -eo pid,comm [Pipeline] { [Pipeline] sh 18:14:31 + touch /tmp/pre-build-complete [Pipeline] sh 18:14:31 + mkdir -p /var/log/sysstat [Pipeline] sh 18:14:32 + ls /var/log/sa-host 18:14:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:14:32 provisioning config files... 18:14:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-rfid-llrp-go_PR-83@tmp/config445162532400021025tmp [Pipeline] { [Pipeline] echo 18:14:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:14:32 ---> create-netrc.sh [Pipeline] } 18:14:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:14:32 ---> python-tools-install.sh [Pipeline] echo 18:14:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:14:33 ---> sudo-logs.sh 18:14:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:14:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:14:33 ---> job-cost.sh 18:14:33 lf-activate-venv: SKIPPING 18:14:33 DEBUG: total: 0.2199999988079071 18:14:33 INFO: Retrieving Stack Cost... 18:14:33 INFO: Retrieving Pricing Info for: v3-standard-8 18:14:34 INFO: Archiving Costs [Pipeline] echo 18:14:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:14:34 ---> logs-deploy.sh 18:14:34 lf-activate-venv: SKIPPING 18:14:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rfid-llrp-go/PR-83/2 18:14:34 INFO: archiving workspace using pattern(s): 18:14:35 Archives upload complete. 18:14:35 INFO: archiving logs to Nexus