Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2488fc01f45d688702b960fc4ad648af03e93961+ae184f2d771396bb015a08ccabe66c9294cd9524 (4cfbb4b5b7a117be42aaa3a9cbe16c6d077fce91) 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-ssh18189458169753310332.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-ssh18119761568260623894.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-65/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-65/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10878738886216251184.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-ssh8539022053187985475.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-65/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-65/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh17578766195100326151.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 ‘prd-ubuntu20.04-docker-8c-8g-33577’ Running on prd-ubuntu20.04-docker-8c-8g-33587 in /w/workspace/oundry_device-rfid-llrp-go_PR-65 [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-65 # 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 ae184f2d771396bb015a08ccabe66c9294cd9524 into PR head commit 2488fc01f45d688702b960fc4ad648af03e93961 Merge succeeded, producing 062e3051a5e94a1217e5bb0ff1be7564a27a94d7 Checking out Revision 062e3051a5e94a1217e5bb0ff1be7564a27a94d7 (PR-65) > 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/65/head:refs/remotes/origin/PR-65 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2488fc01f45d688702b960fc4ad648af03e93961 # 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 ae184f2d771396bb015a08ccabe66c9294cd9524 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 062e3051a5e94a1217e5bb0ff1be7564a27a94d7 # timeout=10 Commit message: "Merge commit 'ae184f2d771396bb015a08ccabe66c9294cd9524' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:08:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git rev-list --no-walk e7b4d86d7829962b7fc08b44c9db1037f1a5d2a4 # timeout=10 [Pipeline] withCredentials 01:08:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:08:22 ========================================================= 01:08:22 EdgeX Global Pipelines Version Info 01:08:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:08:23 ------------------- 01:08:23 stable info: 01:08:23 ------------------- 01:08:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:08:23 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 01:08:23 Message: update stable to v1.0.227 01:08:24 ------------------- 01:08:24 experimental info: 01:08:24 ------------------- 01:08:24 Commited By: **** collab-it+edgex@linuxfoundation.org 01:08:24 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 01:08:24 Message: update experimental to v1.0.227 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:08:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rfid-llrp-go-settings [Pipeline] echo 01:08:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-rfid-llrp-go [Pipeline] echo 01:08:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:08:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:08:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:08:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 01:08:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:08:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:08:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:08:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:08:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:08:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rfid-llrp [Pipeline] echo 01:08:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:08:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:08:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:08:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:08:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:08:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:08:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:08:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:08:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:08:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:08:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:08:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:08:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:08:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:08:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-65 [Pipeline] echo 01:08:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-65 [Pipeline] echo 01:08:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-65 [Pipeline] echo 01:08:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 062e3051a5e94a1217e5bb0ff1be7564a27a94d7 [Pipeline] echo 01:08:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 062e305 [Pipeline] echo 01:08:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:08:24 provisioning config files... 01:08:24 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/oundry_device-rfid-llrp-go_PR-65@tmp/config7105290154097118651tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:08:25 ---> docker-login.sh 01:08:25 nexus3.edgexfoundry.org:10001 01:08:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:25 Configure a credential helper to remove this warning. See 01:08:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:25 01:08:25 Login Succeeded 01:08:25 nexus3.edgexfoundry.org:10002 01:08:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:25 Configure a credential helper to remove this warning. See 01:08:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:25 01:08:25 Login Succeeded 01:08:25 nexus3.edgexfoundry.org:10003 01:08:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:25 Configure a credential helper to remove this warning. See 01:08:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:25 01:08:25 Login Succeeded 01:08:25 nexus3.edgexfoundry.org:10004 01:08:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:25 Configure a credential helper to remove this warning. See 01:08:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:25 01:08:25 Login Succeeded 01:08:25 docker.io 01:08:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:26 Configure a credential helper to remove this warning. See 01:08:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:26 01:08:26 Login Succeeded 01:08:26 ---> docker-login.sh ends [Pipeline] } 01:08:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:08:26 + git rev-list -1 --merges 062e3051a5e94a1217e5bb0ff1be7564a27a94d7~1..062e3051a5e94a1217e5bb0ff1be7564a27a94d7 [Pipeline] echo 01:08:26 -----------> git rev-list -1 --merges 062e3051a5e94a1217e5bb0ff1be7564a27a94d7~1..062e3051a5e94a1217e5bb0ff1be7564a27a94d7 062e3051a5e94a1217e5bb0ff1be7564a27a94d7 01:08:26 062e3051a5e94a1217e5bb0ff1be7564a27a94d7 [false] [Pipeline] sh 01:08:27 + git log --format=format:%s -1 062e3051a5e94a1217e5bb0ff1be7564a27a94d7 [Pipeline] echo 01:08:27 ========================================================= 01:08:27 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:08:27 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:08:27 + git log --format=format:%s -1 062e3051a5e94a1217e5bb0ff1be7564a27a94d7 [Pipeline] echo 01:08:27 [semverPrep] GIT_COMMIT: 062e3051a5e94a1217e5bb0ff1be7564a27a94d7, Commit Message: Merge commit 'ae184f2d771396bb015a08ccabe66c9294cd9524' into HEAD [Pipeline] echo 01:08:27 [semverPrep] This is not a build commit. [Pipeline] sh 01:08:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:08:27 + grep -v github /etc/ssh/ssh_known_hosts 01:08:27 + [ -e /tmp/ssh_known_hosts ] 01:08:27 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:08:27 + + sudo tee -a /etc/ssh/ssh_known_hosts 01:08:27 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:08:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 01:08:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 01:08:28 01:08:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 01:08:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 01:08:28 latest: Pulling from edgex-devops/py-git-semver 01:08:28 1fe172e4850f: Pulling fs layer 01:08:28 caf521ccaac6: Pulling fs layer 01:08:28 3ead6fa29328: Pulling fs layer 01:08:28 5c2a1cbceb83: Pulling fs layer 01:08:28 a8d5f1318db7: Pulling fs layer 01:08:28 c427282e49a2: Pulling fs layer 01:08:28 c427282e49a2: Waiting 01:08:28 a8d5f1318db7: Waiting 01:08:28 5c2a1cbceb83: Waiting 01:08:28 1827001aaf11: Pulling fs layer 01:08:28 0714d37db230: Pulling fs layer 01:08:28 ac28cf19c067: Pulling fs layer 01:08:28 ca983d60f3e2: Pulling fs layer 01:08:28 1827001aaf11: Waiting 01:08:28 9f894cec8388: Pulling fs layer 01:08:28 0714d37db230: Waiting 01:08:28 ac28cf19c067: Waiting 01:08:28 ca983d60f3e2: Waiting 01:08:28 9f894cec8388: Waiting 01:08:28 caf521ccaac6: Download complete 01:08:28 5c2a1cbceb83: Verifying Checksum 01:08:28 5c2a1cbceb83: Download complete 01:08:28 a8d5f1318db7: Verifying Checksum 01:08:28 a8d5f1318db7: Download complete 01:08:28 3ead6fa29328: Verifying Checksum 01:08:28 3ead6fa29328: Download complete 01:08:28 c427282e49a2: Verifying Checksum 01:08:28 c427282e49a2: Download complete 01:08:28 0714d37db230: Download complete 01:08:28 ac28cf19c067: Verifying Checksum 01:08:28 ac28cf19c067: Download complete 01:08:28 ca983d60f3e2: Verifying Checksum 01:08:28 ca983d60f3e2: Download complete 01:08:28 9f894cec8388: Download complete 01:08:28 1fe172e4850f: Verifying Checksum 01:08:28 1fe172e4850f: Download complete 01:08:29 1827001aaf11: Verifying Checksum 01:08:29 1827001aaf11: Download complete 01:08:30 1fe172e4850f: Pull complete 01:08:30 caf521ccaac6: Pull complete 01:08:31 3ead6fa29328: Pull complete 01:08:31 5c2a1cbceb83: Pull complete 01:08:31 a8d5f1318db7: Pull complete 01:08:31 c427282e49a2: Pull complete 01:08:33 1827001aaf11: Pull complete 01:08:33 0714d37db230: Pull complete 01:08:33 ac28cf19c067: Pull complete 01:08:33 ca983d60f3e2: Pull complete 01:08:33 9f894cec8388: Pull complete 01:08:33 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 01:08:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 01:08:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 01:08:34 prd-ubuntu20.04-docker-8c-8g-33587 does not seem to be running inside a container 01:08:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-rfid-llrp-go_PR-65 -v /w/workspace/oundry_device-rfid-llrp-go_PR-65:/w/workspace/oundry_device-rfid-llrp-go_PR-65:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-65@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-65@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 01:08:35 $ docker top ad2bec7b4a4e39d088f6078a754d9ef904f240318d7e0027892e3f8edd129d49 -eo pid,comm 01:08:35 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). 01:08:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:08:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:08:35 [ssh-agent] Looking for ssh-agent implementation... 01:08:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:08:36 $ docker exec ad2bec7b4a4e39d088f6078a754d9ef904f240318d7e0027892e3f8edd129d49 ssh-agent 01:08:36 SSH_AUTH_SOCK=/tmp/ssh-pTwtOhBhTQ2w/agent.32 01:08:36 SSH_AGENT_PID=38 01:08:36 Running ssh-add (command line suppressed) 01:08:36 Identity added: /w/workspace/oundry_device-rfid-llrp-go_PR-65@tmp/private_key_2887308886728922021.key (/w/workspace/oundry_device-rfid-llrp-go_PR-65@tmp/private_key_2887308886728922021.key) 01:08:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:08:36 + git tag --points-at HEAD [Pipeline] } 01:08:36 $ docker exec --env ******** --env ******** ad2bec7b4a4e39d088f6078a754d9ef904f240318d7e0027892e3f8edd129d49 ssh-agent -k 01:08:36 unset SSH_AUTH_SOCK; 01:08:36 unset SSH_AGENT_PID; 01:08:36 echo Agent pid 38 killed; 01:08:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:08:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:08:36 [ssh-agent] Looking for ssh-agent implementation... 01:08:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:08:37 $ docker exec ad2bec7b4a4e39d088f6078a754d9ef904f240318d7e0027892e3f8edd129d49 ssh-agent 01:08:37 SSH_AUTH_SOCK=/tmp/ssh-HOy4lRgA0LEE/agent.70 01:08:37 SSH_AGENT_PID=76 01:08:37 Running ssh-add (command line suppressed) 01:08:37 Identity added: /w/workspace/oundry_device-rfid-llrp-go_PR-65@tmp/private_key_2499325105654997005.key (/w/workspace/oundry_device-rfid-llrp-go_PR-65@tmp/private_key_2499325105654997005.key) 01:08:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:08:37 + git semver init 01:08:37 2022-04-28 01:08:37,797 [run_init] DEBUG init version:0.0.0 force:False 01:08:37 2022-04-28 01:08:37,798 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-rfid-llrp-go_PR-65/.semver 01:08:37 2022-04-28 01:08:37,798 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rfid-llrp-go.git /w/workspace/oundry_device-rfid-llrp-go_PR-65/.semver 01:08:37 2022-04-28 01:08:37,799 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rfid-llrp-go.git', '/w/workspace/oundry_device-rfid-llrp-go_PR-65/.semver'], cwd=/w/workspace/oundry_device-rfid-llrp-go_PR-65, universal_newlines=False, shell=None, istream=None) 01:08:38 2022-04-28 01:08:38,678 [append_file] DEBUG append to file:/w/workspace/oundry_device-rfid-llrp-go_PR-65/.git/info/exclude 01:08:38 2022-04-28 01:08:38,678 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-rfid-llrp-go_PR-65/.semver/PR-65 with force:False 01:08:38 2022-04-28 01:08:38,678 [write_file] DEBUG write to file:/w/workspace/oundry_device-rfid-llrp-go_PR-65/.semver/PR-65 01:08:38 2022-04-28 01:08:38,683 [execute] INFO git cat-file --batch-check 01:08:38 2022-04-28 01:08:38,684 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-rfid-llrp-go_PR-65/.semver, universal_newlines=False, shell=None, istream=) 01:08:38 2022-04-28 01:08:38,690 [execute] INFO git cat-file --batch 01:08:38 2022-04-28 01:08:38,690 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-rfid-llrp-go_PR-65/.semver, universal_newlines=False, shell=None, istream=) 01:08:38 2022-04-28 01:08:38,695 [read_version] DEBUG read version from /w/workspace/oundry_device-rfid-llrp-go_PR-65/.semver/PR-65 01:08:38 0.0.0 [Pipeline] } 01:08:38 $ docker exec --env ******** --env ******** ad2bec7b4a4e39d088f6078a754d9ef904f240318d7e0027892e3f8edd129d49 ssh-agent -k 01:08:38 unset SSH_AUTH_SOCK; 01:08:38 unset SSH_AGENT_PID; 01:08:38 echo Agent pid 76 killed; 01:08:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:08:39 + git semver [Pipeline] } 01:08:39 $ docker stop --time=1 ad2bec7b4a4e39d088f6078a754d9ef904f240318d7e0027892e3f8edd129d49 01:08:40 $ docker rm -f ad2bec7b4a4e39d088f6078a754d9ef904f240318d7e0027892e3f8edd129d49 [Pipeline] // withDockerContainer [Pipeline] sh 01:08:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:08:41 Stashed 1 file(s) [Pipeline] echo 01:08:41 [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 01:08:41 provisioning config files... 01:08:41 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/oundry_device-rfid-llrp-go_PR-65@tmp/config1365369337069504634tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:08:41 ---> docker-login.sh 01:08:41 nexus3.edgexfoundry.org:10001 01:08:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:41 Configure a credential helper to remove this warning. See 01:08:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:41 01:08:41 Login Succeeded 01:08:41 nexus3.edgexfoundry.org:10002 01:08:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:42 Configure a credential helper to remove this warning. See 01:08:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:42 01:08:42 Login Succeeded 01:08:42 nexus3.edgexfoundry.org:10003 01:08:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:42 Configure a credential helper to remove this warning. See 01:08:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:42 01:08:42 Login Succeeded 01:08:42 nexus3.edgexfoundry.org:10004 01:08:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:42 Configure a credential helper to remove this warning. See 01:08:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:42 01:08:42 Login Succeeded 01:08:42 docker.io 01:08:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:42 Configure a credential helper to remove this warning. See 01:08:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:42 01:08:42 Login Succeeded 01:08:42 ---> docker-login.sh ends [Pipeline] } 01:08:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:08:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:08:42 ========================================================= 01:08:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 01:08:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 01:08:43 + 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 . 01:08:43 Sending build context to Docker daemon 4.003MB 01:08:43 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 01:08:43 Step 2/12 : FROM ${BASE} AS builder 01:08:43 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 01:08:43 59bf1c3509f3: Pulling fs layer 01:08:43 666ba61612fd: Pulling fs layer 01:08:43 8ed8ca486205: Pulling fs layer 01:08:43 4fe6c5a15a65: Pulling fs layer 01:08:43 22a0e8bec74d: Pulling fs layer 01:08:43 ca2b28591e48: Pulling fs layer 01:08:43 a51346096db8: Pulling fs layer 01:08:43 daebc70d1ce1: Pulling fs layer 01:08:43 0e18a0eac166: Pulling fs layer 01:08:43 4fe6c5a15a65: Waiting 01:08:43 22a0e8bec74d: Waiting 01:08:43 ca2b28591e48: Waiting 01:08:43 a51346096db8: Waiting 01:08:43 daebc70d1ce1: Waiting 01:08:43 0e18a0eac166: Waiting 01:08:43 8ed8ca486205: Download complete 01:08:43 666ba61612fd: Verifying Checksum 01:08:43 666ba61612fd: Download complete 01:08:43 22a0e8bec74d: Verifying Checksum 01:08:43 22a0e8bec74d: Download complete 01:08:43 ca2b28591e48: Verifying Checksum 01:08:43 ca2b28591e48: Download complete 01:08:43 59bf1c3509f3: Verifying Checksum 01:08:43 59bf1c3509f3: Download complete 01:08:43 a51346096db8: Verifying Checksum 01:08:43 a51346096db8: Download complete 01:08:43 daebc70d1ce1: Verifying Checksum 01:08:43 daebc70d1ce1: Download complete 01:08:43 59bf1c3509f3: Pull complete 01:08:43 666ba61612fd: Pull complete 01:08:43 8ed8ca486205: Pull complete 01:08:43 0e18a0eac166: Verifying Checksum 01:08:43 0e18a0eac166: Download complete 01:08:44 4fe6c5a15a65: Verifying Checksum 01:08:44 4fe6c5a15a65: Download complete 01:08:48 4fe6c5a15a65: Pull complete 01:08:48 22a0e8bec74d: Pull complete 01:08:48 ca2b28591e48: Pull complete 01:08:48 a51346096db8: Pull complete 01:08:48 daebc70d1ce1: Pull complete 01:08:50 0e18a0eac166: Pull complete 01:08:50 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 01:08:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 01:08:50 ---> f018257e8ee9 01:08:50 Step 3/12 : ARG MAKE='make build' 01:08:51 ---> Running in 08203d436032 01:08:52 Removing intermediate container 08203d436032 01:08:52 ---> 78cda07e8ffb 01:08:52 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 01:08:52 ---> Running in 910c3ff18cca 01:08:52 Removing intermediate container 910c3ff18cca 01:08:52 ---> be10581037d2 01:08:52 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 01:08:52 ---> Running in e966ef21d9d1 01:08:52 Removing intermediate container e966ef21d9d1 01:08:52 ---> 2c1b6cc56982 01:08:52 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:08:52 ---> Running in 156a91f75c22 01:08:52 Removing intermediate container 156a91f75c22 01:08:52 ---> fef67a6f4237 01:08:52 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:08:52 ---> Running in 46995477b111 01:08:53 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:08:54 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:08:54 OK: 221 MiB in 52 packages 01:08:54 Removing intermediate container 46995477b111 01:08:54 ---> cb4b64402428 01:08:54 Step 8/12 : WORKDIR /app 01:08:54 ---> Running in f4b8003c87c6 01:08:54 Removing intermediate container f4b8003c87c6 01:08:54 ---> 2a8d3dc091dc 01:08:54 Step 9/12 : COPY go.mod vendor* ./ 01:08:54 ---> 2850cc9baec3 01:08:54 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:08:54 ---> Running in f9f7684054ca 01:08:56 Still waiting to schedule task 01:08:56 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-33585’ 01:09:21 Removing intermediate container f9f7684054ca 01:09:21 ---> 4c75d76309f1 01:09:21 Step 11/12 : COPY . . 01:09:21 ---> caff2e948308 01:09:21 Step 12/12 : RUN $MAKE 01:09:21 ---> Running in 9069dd700b48 01:09:21 noop 01:09:21 Removing intermediate container 9069dd700b48 01:09:21 ---> 9cdf2c232261 01:09:21 Successfully built 9cdf2c232261 01:09:21 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 01:09:21 + docker inspect -f . ci-base-image-x86_64 01:09:21 . [Pipeline] withDockerContainer 01:09:21 prd-ubuntu20.04-docker-8c-8g-33587 does not seem to be running inside a container 01:09:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-rfid-llrp-go_PR-65 -v /w/workspace/oundry_device-rfid-llrp-go_PR-65:/w/workspace/oundry_device-rfid-llrp-go_PR-65:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-65@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-65@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 ******** ci-base-image-x86_64 cat 01:09:22 $ docker top 92585e0a4714a172ff0ff3612f0e2dee202904cf53d01cdec0151a7756fecee3 -eo pid,comm [Pipeline] { [Pipeline] sh 01:09:22 + go version 01:09:22 go version go1.17.6 linux/amd64 [Pipeline] } 01:09:22 $ docker stop --time=1 92585e0a4714a172ff0ff3612f0e2dee202904cf53d01cdec0151a7756fecee3 01:09:24 $ docker rm -f 92585e0a4714a172ff0ff3612f0e2dee202904cf53d01cdec0151a7756fecee3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:09:24 + docker inspect -f . ci-base-image-x86_64 01:09:24 . [Pipeline] withDockerContainer 01:09:24 prd-ubuntu20.04-docker-8c-8g-33587 does not seem to be running inside a container 01:09:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-rfid-llrp-go_PR-65 -v /w/workspace/oundry_device-rfid-llrp-go_PR-65:/w/workspace/oundry_device-rfid-llrp-go_PR-65:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-65@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-65@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 ******** ci-base-image-x86_64 cat 01:09:25 $ docker top 47e48d85affbc306ea93afdae84af73030c156a4317e3346d96e7eedcd0d838f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:09:25 + make test 01:09:25 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:09:25 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 01:09:33 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 01:09:33 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 01:09:38 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 4.280s coverage: 39.3% of statements 01:09:38 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.253s coverage: 51.9% of statements 01:09:38 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.037s coverage: 95.5% of statements 01:09:46 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:09:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:09:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:09:49 ./bin/test-attribution-txt.sh [Pipeline] echo 01:09:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:09:50 $ docker stop --time=1 47e48d85affbc306ea93afdae84af73030c156a4317e3346d96e7eedcd0d838f 01:09:51 $ docker rm -f 47e48d85affbc306ea93afdae84af73030c156a4317e3346d96e7eedcd0d838f [Pipeline] // withDockerContainer [Pipeline] sh 01:09:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:09:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:09:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:09:53 + ls -al . 01:09:53 total 648 01:09:53 drwxrwxr-x 11 jenkins jenkins 4096 Apr 28 01:09 . 01:09:53 drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 01:08 .. 01:09:53 -rw-rw-r-- 1 jenkins jenkins 134 Apr 28 01:08 .dockerignore 01:09:53 drwxrwxr-x 8 jenkins jenkins 4096 Apr 28 01:08 .git 01:09:53 drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 01:08 .github 01:09:53 -rw-rw-r-- 1 jenkins jenkins 946 Apr 28 01:08 .gitignore 01:09:53 -rw-rw-r-- 1 jenkins jenkins 41 Apr 28 01:08 .golangci.yml 01:09:53 drwxr-xr-x 3 jenkins jenkins 4096 Apr 28 01:08 .semver 01:09:53 -rw-rw-r-- 1 jenkins jenkins 9072 Apr 28 01:08 Attribution.txt 01:09:53 -rw-rw-r-- 1 jenkins jenkins 3309 Apr 28 01:08 CHANGELOG.md 01:09:53 -rw-rw-r-- 1 jenkins jenkins 1514 Apr 28 01:08 Dockerfile 01:09:53 -rw-rw-r-- 1 jenkins jenkins 677 Apr 28 01:08 GOVERNANCE.md 01:09:53 -rw-rw-r-- 1 jenkins jenkins 683 Apr 28 01:08 Jenkinsfile 01:09:53 -rw-rw-r-- 1 jenkins jenkins 11347 Apr 28 01:08 LICENSE 01:09:53 -rw-rw-r-- 1 jenkins jenkins 1435 Apr 28 01:08 Makefile 01:09:53 -rw-rw-r-- 1 jenkins jenkins 625 Apr 28 01:08 OWNERS.md 01:09:53 -rw-rw-r-- 1 jenkins jenkins 28496 Apr 28 01:08 README.md 01:09:53 -rw-rw-r-- 1 jenkins jenkins 5 Apr 28 01:08 VERSION 01:09:53 drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 01:08 bin 01:09:53 drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 01:08 cmd 01:09:53 -rw-r--r-- 1 jenkins jenkins 460394 Apr 28 01:09 coverage.out 01:09:53 drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 01:08 examples 01:09:53 -rw-rw-r-- 1 jenkins jenkins 2899 Apr 28 01:08 go.mod 01:09:53 -rw-rw-r-- 1 jenkins jenkins 49235 Apr 28 01:08 go.sum 01:09:53 drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 01:08 images 01:09:53 drwxrwxr-x 5 jenkins jenkins 4096 Apr 28 01:08 internal 01:09:53 drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 01:08 snap 01:09:53 -rw-rw-r-- 1 jenkins jenkins 193 Apr 28 01:08 version.go [Pipeline] isUnix [Pipeline] sh 01:09:53 + 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=062e3051a5e94a1217e5bb0ff1be7564a27a94d7 --label arch=amd64 --label version=0.0.0 . 01:09:53 Sending build context to Docker daemon 4.003MB 01:09:53 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 01:09:53 Step 2/25 : FROM ${BASE} AS builder 01:09:53 ---> 9cdf2c232261 01:09:53 Step 3/25 : ARG MAKE='make build' 01:09:53 ---> Running in 1c1c9f8850cd 01:09:53 Removing intermediate container 1c1c9f8850cd 01:09:53 ---> 296f2517f893 01:09:53 Step 4/25 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 01:09:53 ---> Running in 4c6bd8a3f5b0 01:09:54 Removing intermediate container 4c6bd8a3f5b0 01:09:54 ---> bd55529202d4 01:09:54 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 01:09:54 ---> Running in b4f0156079cf 01:09:54 Removing intermediate container b4f0156079cf 01:09:54 ---> a743238d9ba4 01:09:54 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:09:54 ---> Running in c4f2e9cb1f50 01:09:55 Removing intermediate container c4f2e9cb1f50 01:09:55 ---> 1980be0f9a4f 01:09:55 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:09:55 ---> Running in 6e1b9bba3810 01:09:55 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:09:56 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:09:56 OK: 221 MiB in 52 packages 01:09:56 Removing intermediate container 6e1b9bba3810 01:09:56 ---> 23b01e2d790b 01:09:56 Step 8/25 : WORKDIR /app 01:09:56 ---> Running in 49ef55dad20b 01:09:56 Removing intermediate container 49ef55dad20b 01:09:56 ---> b9acc81b31f3 01:09:56 Step 9/25 : COPY go.mod vendor* ./ 01:09:57 ---> 6e0e2d84810c 01:09:57 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:09:57 ---> Running in 5f0828830903 01:09:58 Removing intermediate container 5f0828830903 01:09:58 ---> b8ab8ef3f1e4 01:09:58 Step 11/25 : COPY . . 01:09:58 ---> 96318dcf725a 01:09:58 Step 12/25 : RUN $MAKE 01:09:58 ---> Running in 622255706d4a 01:09:58 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rfid-llrp.Version=0.0.0" -o cmd/device-rfid-llrp ./cmd 01:10:06 Removing intermediate container 622255706d4a 01:10:06 ---> 586abc8c2c7a 01:10:06 Step 13/25 : FROM alpine:3.14 01:10:07 3.14: Pulling from library/alpine 01:10:07 8663204ce13b: Pulling fs layer 01:10:07 8663204ce13b: Verifying Checksum 01:10:07 8663204ce13b: Download complete 01:10:07 8663204ce13b: Pull complete 01:10:07 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 01:10:07 Status: Downloaded newer image for alpine:3.14 01:10:07 ---> e04c818066af 01:10:07 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 01:10:07 ---> Running in bfb40c52f464 01:10:08 Removing intermediate container bfb40c52f464 01:10:08 ---> 3a484833fe2f 01:10:08 Step 15/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:10:08 ---> Running in d7ea14a0d8f2 01:10:09 Removing intermediate container d7ea14a0d8f2 01:10:09 ---> d577b327bc57 01:10:09 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 01:10:09 ---> Running in 21611096b95a 01:10:09 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 01:10:10 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 01:10:10 (1/6) Installing dumb-init (1.2.5-r1) 01:10:10 (2/6) Installing libgcc (10.3.1_git20210424-r2) 01:10:10 (3/6) Installing libsodium (1.0.18-r0) 01:10:10 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 01:10:10 (5/6) Installing libzmq (4.3.4-r0) 01:10:10 (6/6) Installing zeromq (4.3.4-r0) 01:10:10 Executing busybox-1.33.1-r7.trigger 01:10:10 OK: 8 MiB in 20 packages 01:10:11 Removing intermediate container 21611096b95a 01:10:11 ---> 383388125cd9 01:10:11 Step 17/25 : COPY --from=builder /app/LICENSE / 01:10:11 ---> 56e2ffd2c3ad 01:10:11 Step 18/25 : COPY --from=builder /app/Attribution.txt / 01:10:11 ---> 365948dd2b7c 01:10:11 Step 19/25 : COPY --from=builder /app/cmd/ / 01:10:12 ---> 78c6df12b60e 01:10:12 Step 20/25 : EXPOSE 59989 01:10:12 ---> Running in 6a61939790b6 01:10:12 Removing intermediate container 6a61939790b6 01:10:12 ---> fd2c38acbfb6 01:10:12 Step 21/25 : ENTRYPOINT ["/device-rfid-llrp"] 01:10:12 ---> Running in b7da11943b9b 01:10:12 Removing intermediate container b7da11943b9b 01:10:12 ---> be622114988b 01:10:12 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 01:10:12 ---> Running in 0e6bd726ffa9 01:10:12 Removing intermediate container 0e6bd726ffa9 01:10:12 ---> c1d7c95b9d41 01:10:12 Step 23/25 : LABEL arch=amd64 01:10:12 ---> Running in a707debca039 01:10:12 Removing intermediate container a707debca039 01:10:12 ---> 232dec522fa6 01:10:12 Step 24/25 : LABEL git_sha=062e3051a5e94a1217e5bb0ff1be7564a27a94d7 01:10:12 ---> Running in 50586c6b2704 01:10:12 Removing intermediate container 50586c6b2704 01:10:12 ---> 8b9c7d751fd0 01:10:12 Step 25/25 : LABEL version=0.0.0 01:10:12 ---> Running in d0ee7903fe7a 01:10:12 Removing intermediate container d0ee7903fe7a 01:10:12 ---> 1ae33bd6102d 01:10:12 [Warning] One or more build-args [ARCH] were not consumed 01:10:12 Successfully built 1ae33bd6102d 01:10:12 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 01:10:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:10:13 01:10:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 01:10:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:10:13 latest: Pulling from edgex-lftools-log-publisher 01:10:13 5eb5b503b376: Pulling fs layer 01:10:13 5c69ac0246d0: Pulling fs layer 01:10:13 ec43610c2a17: Pulling fs layer 01:10:13 3a2ae6a8a46f: Pulling fs layer 01:10:13 33b1e0a273af: Pulling fs layer 01:10:13 5d3b04190fa2: Pulling fs layer 01:10:13 2f39f015ded8: Pulling fs layer 01:10:13 33b1e0a273af: Waiting 01:10:13 5d3b04190fa2: Waiting 01:10:13 2f39f015ded8: Waiting 01:10:13 3a2ae6a8a46f: Waiting 01:10:13 5c69ac0246d0: Download complete 01:10:13 3a2ae6a8a46f: Verifying Checksum 01:10:13 3a2ae6a8a46f: Download complete 01:10:13 33b1e0a273af: Verifying Checksum 01:10:13 33b1e0a273af: Download complete 01:10:13 5d3b04190fa2: Download complete 01:10:13 ec43610c2a17: Verifying Checksum 01:10:13 ec43610c2a17: Download complete 01:10:13 5eb5b503b376: Verifying Checksum 01:10:13 5eb5b503b376: Download complete 01:10:14 2f39f015ded8: Download complete 01:10:15 5eb5b503b376: Pull complete 01:10:15 5c69ac0246d0: Pull complete 01:10:15 ec43610c2a17: Pull complete 01:10:15 3a2ae6a8a46f: Pull complete 01:10:16 33b1e0a273af: Pull complete 01:10:16 5d3b04190fa2: Pull complete 01:10:21 2f39f015ded8: Pull complete 01:10:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:10:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:10:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 01:10:21 prd-ubuntu20.04-docker-8c-8g-33587 does not seem to be running inside a container 01:10:21 $ 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-65 -v /w/workspace/oundry_device-rfid-llrp-go_PR-65:/w/workspace/oundry_device-rfid-llrp-go_PR-65:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-65@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-65@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:10:24 $ docker top 7f835ea5b5aacf88cb0a5015dc7ff3f2dc9ff308a3fab8700c9e3dbbca0a86e3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:10:24 ---> job-cost.sh 01:10:24 lf-activate-venv: SKIPPING 01:10:24 INFO: No Stack... 01:10:25 INFO: Retrieving Pricing Info for: v3-standard-8 01:10:25 INFO: Archiving Costs [Pipeline] sh 01:10:25 + cat /w/workspace/oundry_device-rfid-llrp-go_PR-65/archives/cost.csv 01:10:25 + cut -d, -f6 [Pipeline] lock 01:10:25 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-65-8-stack-cost] 01:10:25 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-65-8-stack-cost] did not exist. Created. 01:10:25 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-65-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:10:26 + echo total: 0.2199999988079071 [Pipeline] stash 01:10:26 Stashed 1 file(s) [Pipeline] } 01:10:26 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-65-8-stack-cost] [Pipeline] // lock [Pipeline] } 01:10:26 $ docker stop --time=1 7f835ea5b5aacf88cb0a5015dc7ff3f2dc9ff308a3fab8700c9e3dbbca0a86e3 01:10:27 $ docker rm -f 7f835ea5b5aacf88cb0a5015dc7ff3f2dc9ff308a3fab8700c9e3dbbca0a86e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:12:29 Running on prd-ubuntu20.04-docker-arm64-4c-16g-33588 in /w/workspace/oundry_device-rfid-llrp-go_PR-65 [Pipeline] { [Pipeline] ws 01:12:29 Running in /w/workspace/device-rfid-llrp-go/8 [Pipeline] { [Pipeline] checkout 01:12:29 Selected Git installation does not exist. Using Default 01:12:29 The recommended git tool is: NONE 01:12:36 using credential edgex-jenkins-ssh 01:12:36 Cloning the remote Git repository 01:12:36 Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git 01:12:36 > git init /w/workspace/device-rfid-llrp-go/8 # timeout=10 01:12:36 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 01:12:36 > git --version # timeout=10 01:12:36 > git --version # 'git version 2.25.1' 01:12:36 using GIT_SSH to set credentials SSH Credentials for GitHub 01:12:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:12:38 Merging remotes/origin/main commit ae184f2d771396bb015a08ccabe66c9294cd9524 into PR head commit 2488fc01f45d688702b960fc4ad648af03e93961 01:12:38 Merge succeeded, producing be29bbd471ffdefd445e6ae7d5a64f029d4cb93d 01:12:38 Checking out Revision be29bbd471ffdefd445e6ae7d5a64f029d4cb93d (PR-65) 01:12:37 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 01:12:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:12:37 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 01:12:37 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 01:12:37 using GIT_SSH to set credentials SSH Credentials for GitHub 01:12:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/65/head:refs/remotes/origin/PR-65 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:12:38 > git config core.sparsecheckout # timeout=10 01:12:38 > git checkout -f 2488fc01f45d688702b960fc4ad648af03e93961 # timeout=10 01:12:38 > git remote # timeout=10 01:12:38 > git config --get remote.origin.url # timeout=10 01:12:38 using GIT_SSH to set credentials SSH Credentials for GitHub 01:12:38 > git merge ae184f2d771396bb015a08ccabe66c9294cd9524 # timeout=10 01:12:38 > git rev-parse HEAD^{commit} # timeout=10 01:12:38 > git config core.sparsecheckout # timeout=10 01:12:38 > git checkout -f be29bbd471ffdefd445e6ae7d5a64f029d4cb93d # timeout=10 01:12:42 Commit message: "Merge commit 'ae184f2d771396bb015a08ccabe66c9294cd9524' into HEAD" 01:12:42 First time build. Skipping changelog. 01:12:42 > git rev-list --no-walk e7b4d86d7829962b7fc08b44c9db1037f1a5d2a4 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:12:43 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:12:43 % Total % Received % Xferd Average Speed Time Time Time Current 01:12:43 Dload Upload Total Spent Left Speed 01:12:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 68456 0 --:--:-- --:--:-- --:--:-- 68854 [Pipeline] sh 01:12:44 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:12:44 + + sudo teesudo /etc/docker/daemon.new jq 01:12:44 . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:12:44 { 01:12:44 "registry-mirrors": [ 01:12:44 "https://nexus3.edgexfoundry.org:10001" 01:12:44 ], 01:12:44 "bip": "10.250.0.254/24", 01:12:44 "hosts": [ 01:12:44 "tcp://0.0.0.0:5555", 01:12:44 "unix:///var/run/docker.sock" 01:12:44 ], 01:12:44 "mtu": 1458, 01:12:44 "selinux-enabled": true, 01:12:44 "seccomp-profile": "/etc/docker/seccomp.json" 01:12:44 } [Pipeline] sh 01:12:45 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:12:45 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:13:03 provisioning config files... 01:13:03 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/device-rfid-llrp-go/8@tmp/config2990890189800280382tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:13:04 ---> docker-login.sh 01:13:04 nexus3.edgexfoundry.org:10001 01:13:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:13:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:13:05 Configure a credential helper to remove this warning. See 01:13:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:13:05 01:13:05 Login Succeeded 01:13:05 nexus3.edgexfoundry.org:10002 01:13:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:13:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:13:05 Configure a credential helper to remove this warning. See 01:13:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:13:05 01:13:05 Login Succeeded 01:13:05 nexus3.edgexfoundry.org:10003 01:13:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:13:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:13:06 Configure a credential helper to remove this warning. See 01:13:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:13:06 01:13:06 Login Succeeded 01:13:06 nexus3.edgexfoundry.org:10004 01:13:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:13:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:13:06 Configure a credential helper to remove this warning. See 01:13:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:13:06 01:13:06 Login Succeeded 01:13:06 docker.io 01:13:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:13:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:13:07 Configure a credential helper to remove this warning. See 01:13:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:13:07 01:13:07 Login Succeeded 01:13:07 ---> docker-login.sh ends [Pipeline] } 01:13:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:13:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:13:08 ========================================================= 01:13:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 01:13:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 01:13:08 + 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 . 01:13:08 Sending build context to Docker daemon 1.232MB 01:13:08 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 01:13:08 Step 2/12 : FROM ${BASE} AS builder 01:13:09 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:13:09 9b3977197b4f: Pulling fs layer 01:13:09 1a89e8eeedd5: Pulling fs layer 01:13:09 94645a83ff95: Pulling fs layer 01:13:09 3f3a8bcf1eab: Pulling fs layer 01:13:09 0c92f367c5e7: Pulling fs layer 01:13:09 3096ccb668a1: Pulling fs layer 01:13:09 e8cf19c19ddd: Pulling fs layer 01:13:09 a4caa8a26152: Pulling fs layer 01:13:09 3f3a8bcf1eab: Waiting 01:13:09 0c92f367c5e7: Waiting 01:13:09 3096ccb668a1: Waiting 01:13:09 e8cf19c19ddd: Waiting 01:13:09 a4caa8a26152: Waiting 01:13:09 94645a83ff95: Verifying Checksum 01:13:09 94645a83ff95: Download complete 01:13:09 1a89e8eeedd5: Verifying Checksum 01:13:09 1a89e8eeedd5: Download complete 01:13:09 0c92f367c5e7: Verifying Checksum 01:13:09 0c92f367c5e7: Download complete 01:13:09 3096ccb668a1: Verifying Checksum 01:13:09 3096ccb668a1: Download complete 01:13:09 9b3977197b4f: Download complete 01:13:09 e8cf19c19ddd: Verifying Checksum 01:13:09 e8cf19c19ddd: Download complete 01:13:10 9b3977197b4f: Pull complete 01:13:10 1a89e8eeedd5: Pull complete 01:13:10 94645a83ff95: Pull complete 01:13:11 a4caa8a26152: Verifying Checksum 01:13:11 a4caa8a26152: Download complete 01:13:11 3f3a8bcf1eab: Verifying Checksum 01:13:11 3f3a8bcf1eab: Download complete 01:13:24 3f3a8bcf1eab: Pull complete 01:13:24 0c92f367c5e7: Pull complete 01:13:24 3096ccb668a1: Pull complete 01:13:24 e8cf19c19ddd: Pull complete 01:13:31 a4caa8a26152: Pull complete 01:13:31 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 01:13:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 01:13:31 ---> 725f1c02e7f9 01:13:31 Step 3/12 : ARG MAKE='make build' 01:13:32 ---> Running in 94dfb3a49469 01:13:32 Removing intermediate container 94dfb3a49469 01:13:32 ---> e343d48e0df6 01:13:32 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 01:13:32 ---> Running in 14ec790caaa5 01:13:32 Removing intermediate container 14ec790caaa5 01:13:32 ---> 359c8935a52a 01:13:32 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 01:13:33 ---> Running in f1a98229c059 01:13:33 Removing intermediate container f1a98229c059 01:13:33 ---> f954a208023f 01:13:33 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:13:33 ---> Running in 03af91b09de7 01:13:35 Removing intermediate container 03af91b09de7 01:13:35 ---> 9918919b33a5 01:13:35 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:13:35 ---> Running in 6ba35c78bcb7 01:13:36 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 01:13:37 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 01:13:38 OK: 220 MiB in 52 packages 01:13:38 Removing intermediate container 6ba35c78bcb7 01:13:38 ---> ffb59bd81af3 01:13:38 Step 8/12 : WORKDIR /app 01:13:39 ---> Running in c3c5ba0a1a14 01:13:39 Removing intermediate container c3c5ba0a1a14 01:13:39 ---> ca21500e71fe 01:13:39 Step 9/12 : COPY go.mod vendor* ./ 01:13:40 ---> 02a893b206b5 01:13:40 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:13:40 ---> Running in d8f62b923b77 01:15:01 Removing intermediate container d8f62b923b77 01:15:01 ---> 0efdf830f6d0 01:15:01 Step 11/12 : COPY . . 01:15:01 ---> a7b6996d22ec 01:15:01 Step 12/12 : RUN $MAKE 01:15:01 ---> Running in feb82f066a7a 01:15:01 noop 01:15:01 Removing intermediate container feb82f066a7a 01:15:01 ---> 8e96d281a72c 01:15:01 Successfully built 8e96d281a72c 01:15:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 01:15:02 + docker inspect -f . ci-base-image-arm64 01:15:02 . [Pipeline] withDockerContainer 01:15:02 prd-ubuntu20.04-docker-arm64-4c-16g-33588 does not seem to be running inside a container 01:15:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rfid-llrp-go/8 -v /w/workspace/device-rfid-llrp-go/8:/w/workspace/device-rfid-llrp-go/8:rw,z -v /w/workspace/device-rfid-llrp-go/8@tmp:/w/workspace/device-rfid-llrp-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:15:03 $ docker top 42e3811b080e6c29dc6179be8eee371b57da5128f5226ecb8c58dd5ed40333e6 -eo pid,comm [Pipeline] { [Pipeline] sh 01:15:04 + go version 01:15:04 go version go1.17.6 linux/arm64 [Pipeline] } 01:15:04 $ docker stop --time=1 42e3811b080e6c29dc6179be8eee371b57da5128f5226ecb8c58dd5ed40333e6 01:15:06 $ docker rm -f 42e3811b080e6c29dc6179be8eee371b57da5128f5226ecb8c58dd5ed40333e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:15:07 + docker inspect -f . ci-base-image-arm64 01:15:07 . [Pipeline] withDockerContainer 01:15:07 prd-ubuntu20.04-docker-arm64-4c-16g-33588 does not seem to be running inside a container 01:15:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rfid-llrp-go/8 -v /w/workspace/device-rfid-llrp-go/8:/w/workspace/device-rfid-llrp-go/8:rw,z -v /w/workspace/device-rfid-llrp-go/8@tmp:/w/workspace/device-rfid-llrp-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:15:08 $ docker top 29924ed3860448058e62d3e946c63a636ffa55abe8fa45c8cfb870dac48cb300 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:15:09 + make test 01:15:09 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:15:11 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 01:16:07 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 01:16:07 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 01:16:34 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 23.534s coverage: 39.3% of statements 01:16:34 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.487s coverage: 52.0% of statements 01:16:34 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.038s coverage: 95.5% of statements 01:16:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:16:34 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:16:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:16:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:16:56 ./bin/test-attribution-txt.sh [Pipeline] echo 01:16:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:16:59 $ docker stop --time=1 29924ed3860448058e62d3e946c63a636ffa55abe8fa45c8cfb870dac48cb300 01:17:01 $ docker rm -f 29924ed3860448058e62d3e946c63a636ffa55abe8fa45c8cfb870dac48cb300 [Pipeline] // withDockerContainer [Pipeline] sh 01:17:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:17:02 Warning: overwriting stash ‘coverage-report’ 01:17:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:17:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:17:03 + ls -al . 01:17:03 total 644 01:17:03 drwxrwxr-x 10 jenkins jenkins 4096 Apr 28 01:16 . 01:17:03 drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 01:12 .. 01:17:03 -rw-rw-r-- 1 jenkins jenkins 134 Apr 28 01:12 .dockerignore 01:17:03 drwxrwxr-x 8 jenkins jenkins 4096 Apr 28 01:12 .git 01:17:03 drwxrwxr-x 3 jenkins jenkins 4096 Apr 28 01:12 .github 01:17:03 -rw-rw-r-- 1 jenkins jenkins 946 Apr 28 01:12 .gitignore 01:17:03 -rw-rw-r-- 1 jenkins jenkins 41 Apr 28 01:12 .golangci.yml 01:17:03 -rw-rw-r-- 1 jenkins jenkins 9072 Apr 28 01:12 Attribution.txt 01:17:03 -rw-rw-r-- 1 jenkins jenkins 3309 Apr 28 01:12 CHANGELOG.md 01:17:03 -rw-rw-r-- 1 jenkins jenkins 1514 Apr 28 01:12 Dockerfile 01:17:03 -rw-rw-r-- 1 jenkins jenkins 677 Apr 28 01:12 GOVERNANCE.md 01:17:03 -rw-rw-r-- 1 jenkins jenkins 683 Apr 28 01:12 Jenkinsfile 01:17:03 -rw-rw-r-- 1 jenkins jenkins 11347 Apr 28 01:12 LICENSE 01:17:03 -rw-rw-r-- 1 jenkins jenkins 1435 Apr 28 01:12 Makefile 01:17:03 -rw-rw-r-- 1 jenkins jenkins 625 Apr 28 01:12 OWNERS.md 01:17:03 -rw-rw-r-- 1 jenkins jenkins 28496 Apr 28 01:12 README.md 01:17:03 -rw-rw-r-- 1 jenkins jenkins 5 Apr 28 01:08 VERSION 01:17:03 drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 01:12 bin 01:17:03 drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 01:12 cmd 01:17:03 -rw-r--r-- 1 jenkins jenkins 460394 Apr 28 01:16 coverage.out 01:17:03 drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 01:12 examples 01:17:03 -rw-rw-r-- 1 jenkins jenkins 2899 Apr 28 01:12 go.mod 01:17:03 -rw-rw-r-- 1 jenkins jenkins 49235 Apr 28 01:12 go.sum 01:17:03 drwxrwxr-x 2 jenkins jenkins 4096 Apr 28 01:12 images 01:17:03 drwxrwxr-x 5 jenkins jenkins 4096 Apr 28 01:12 internal 01:17:03 drwxrwxr-x 4 jenkins jenkins 4096 Apr 28 01:12 snap 01:17:03 -rw-rw-r-- 1 jenkins jenkins 193 Apr 28 01:12 version.go [Pipeline] isUnix [Pipeline] sh 01:17:03 + 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=be29bbd471ffdefd445e6ae7d5a64f029d4cb93d --label arch=arm64 --label version=0.0.0 . 01:17:04 Sending build context to Docker daemon 1.232MB 01:17:04 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 01:17:04 Step 2/25 : FROM ${BASE} AS builder 01:17:04 ---> 8e96d281a72c 01:17:04 Step 3/25 : ARG MAKE='make build' 01:17:04 ---> Running in 3a39b2316bd7 01:17:04 Removing intermediate container 3a39b2316bd7 01:17:04 ---> 8d1a0dadfc94 01:17:04 Step 4/25 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 01:17:05 ---> Running in 75203a6f1674 01:17:05 Removing intermediate container 75203a6f1674 01:17:05 ---> 30a393a1a9af 01:17:05 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 01:17:05 ---> Running in e75075fa060a 01:17:05 Removing intermediate container e75075fa060a 01:17:05 ---> 475e4d7724e3 01:17:05 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:17:05 ---> Running in 19263a5ee16d 01:17:07 Removing intermediate container 19263a5ee16d 01:17:07 ---> 3cadc78e3763 01:17:07 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:17:07 ---> Running in 3932c4013f1b 01:17:08 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 01:17:09 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 01:17:10 OK: 220 MiB in 52 packages 01:17:11 Removing intermediate container 3932c4013f1b 01:17:11 ---> 8555d428163b 01:17:11 Step 8/25 : WORKDIR /app 01:17:11 ---> Running in 3c7ba84f6ee3 01:17:11 Removing intermediate container 3c7ba84f6ee3 01:17:11 ---> 18b8ec596993 01:17:11 Step 9/25 : COPY go.mod vendor* ./ 01:17:12 ---> 3b87195ae7e3 01:17:12 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:17:12 ---> Running in 05510767feee 01:17:14 Removing intermediate container 05510767feee 01:17:14 ---> 712c4a66a1b3 01:17:14 Step 11/25 : COPY . . 01:17:15 ---> f44ac6f57a76 01:17:15 Step 12/25 : RUN $MAKE 01:17:15 ---> Running in 5205d9205fea 01:17:16 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rfid-llrp.Version=0.0.0" -o cmd/device-rfid-llrp ./cmd 01:18:03 Removing intermediate container 5205d9205fea 01:18:03 ---> 87bb4c6c9d57 01:18:03 Step 13/25 : FROM alpine:3.14 01:18:03 3.14: Pulling from library/alpine 01:18:03 455c02918c45: Pulling fs layer 01:18:03 455c02918c45: Verifying Checksum 01:18:03 455c02918c45: Download complete 01:18:03 455c02918c45: Pull complete 01:18:03 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 01:18:03 Status: Downloaded newer image for alpine:3.14 01:18:03 ---> ac73e934f311 01:18:03 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 01:18:03 ---> Running in fb8902b64f7a 01:18:03 Removing intermediate container fb8902b64f7a 01:18:03 ---> 1b7423e2ff39 01:18:03 Step 15/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:18:03 ---> Running in 2309f4ec99a0 01:18:04 Removing intermediate container 2309f4ec99a0 01:18:04 ---> 5e8156842c82 01:18:04 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 01:18:04 ---> Running in e84adda08704 01:18:05 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 01:18:06 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 01:18:07 (1/6) Installing dumb-init (1.2.5-r1) 01:18:07 (2/6) Installing libgcc (10.3.1_git20210424-r2) 01:18:07 (3/6) Installing libsodium (1.0.18-r0) 01:18:07 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 01:18:07 (5/6) Installing libzmq (4.3.4-r0) 01:18:07 (6/6) Installing zeromq (4.3.4-r0) 01:18:07 Executing busybox-1.33.1-r7.trigger 01:18:07 OK: 8 MiB in 20 packages 01:18:08 Removing intermediate container e84adda08704 01:18:08 ---> 30354f5bd91b 01:18:08 Step 17/25 : COPY --from=builder /app/LICENSE / 01:18:09 ---> 49c9ae0d6480 01:18:09 Step 18/25 : COPY --from=builder /app/Attribution.txt / 01:18:09 ---> 16110a2d0db4 01:18:09 Step 19/25 : COPY --from=builder /app/cmd/ / 01:18:10 ---> 41ec54037133 01:18:10 Step 20/25 : EXPOSE 59989 01:18:10 ---> Running in 6184dc481744 01:18:11 Removing intermediate container 6184dc481744 01:18:11 ---> 594aa073b808 01:18:11 Step 21/25 : ENTRYPOINT ["/device-rfid-llrp"] 01:18:11 ---> Running in f586c5d2136b 01:18:11 Removing intermediate container f586c5d2136b 01:18:11 ---> 131a19096420 01:18:11 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 01:18:11 ---> Running in 55afd1d848d9 01:18:11 Removing intermediate container 55afd1d848d9 01:18:11 ---> 615055cc9733 01:18:11 Step 23/25 : LABEL arch=arm64 01:18:11 ---> Running in 0f7de89512a3 01:18:12 Removing intermediate container 0f7de89512a3 01:18:12 ---> 0cfa8e5f2620 01:18:12 Step 24/25 : LABEL git_sha=be29bbd471ffdefd445e6ae7d5a64f029d4cb93d 01:18:12 ---> Running in 5a94ee5853bc 01:18:12 Removing intermediate container 5a94ee5853bc 01:18:12 ---> c145b4604b57 01:18:12 Step 25/25 : LABEL version=0.0.0 01:18:12 ---> Running in fc4c175a24e3 01:18:13 Removing intermediate container fc4c175a24e3 01:18:13 ---> a9a3047de545 01:18:13 [Warning] One or more build-args [ARCH] were not consumed 01:18:13 Successfully built a9a3047de545 01:18:13 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 01:18:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:18:13 01:18:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 01:18:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:18:14 arm64: Pulling from edgex-lftools-log-publisher 01:18:14 8998bd30e6a1: Pulling fs layer 01:18:14 04944245beec: Pulling fs layer 01:18:14 699f458cf7ca: Pulling fs layer 01:18:14 765212b225bb: Pulling fs layer 01:18:14 f23df028b6ca: Pulling fs layer 01:18:14 d65c8cfc05b1: Pulling fs layer 01:18:14 2437ff75d9bd: Pulling fs layer 01:18:14 f23df028b6ca: Waiting 01:18:14 765212b225bb: Waiting 01:18:14 d65c8cfc05b1: Waiting 01:18:14 2437ff75d9bd: Waiting 01:18:14 04944245beec: Verifying Checksum 01:18:14 04944245beec: Download complete 01:18:14 765212b225bb: Verifying Checksum 01:18:14 765212b225bb: Download complete 01:18:14 f23df028b6ca: Download complete 01:18:14 d65c8cfc05b1: Verifying Checksum 01:18:14 d65c8cfc05b1: Download complete 01:18:14 699f458cf7ca: Verifying Checksum 01:18:14 699f458cf7ca: Download complete 01:18:14 8998bd30e6a1: Verifying Checksum 01:18:14 8998bd30e6a1: Download complete 01:18:17 2437ff75d9bd: Verifying Checksum 01:18:17 2437ff75d9bd: Download complete 01:18:19 8998bd30e6a1: Pull complete 01:18:19 04944245beec: Pull complete 01:18:20 699f458cf7ca: Pull complete 01:18:21 765212b225bb: Pull complete 01:18:22 f23df028b6ca: Pull complete 01:18:22 d65c8cfc05b1: Pull complete 01:18:37 2437ff75d9bd: Pull complete 01:18:37 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:18:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:18:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 01:18:37 prd-ubuntu20.04-docker-arm64-4c-16g-33588 does not seem to be running inside a container 01:18:37 $ 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/8 -v /w/workspace/device-rfid-llrp-go/8:/w/workspace/device-rfid-llrp-go/8:rw,z -v /w/workspace/device-rfid-llrp-go/8@tmp:/w/workspace/device-rfid-llrp-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:18:40 $ docker top b014995a6008ef50d97cdf6a408faeda87137d7bbeec2439a21d2e3524e7f8bb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:18:41 ---> job-cost.sh 01:18:41 lf-activate-venv: SKIPPING 01:18:41 INFO: No Stack... 01:18:41 INFO: Retrieving Pricing Info for: v3-standard-4 01:18:42 INFO: Archiving Costs [Pipeline] sh 01:18:43 + cat /w/workspace/device-rfid-llrp-go/8/archives/cost.csv 01:18:43 + cut -d, -f6 [Pipeline] lock 01:18:43 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-65-8-stack-cost] 01:18:43 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-65-8-stack-cost] did not exist. Created. 01:18:43 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-65-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:18:44 /w/workspace/device-rfid-llrp-go/8@tmp/durable-1e9d5081/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:18:45 + echo total: 0.10999999940395355 [Pipeline] stash 01:18:45 Warning: overwriting stash ‘stack-cost’ 01:18:45 Stashed 1 file(s) [Pipeline] } 01:18:45 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-65-8-stack-cost] [Pipeline] // lock [Pipeline] } 01:18:45 $ docker stop --time=1 b014995a6008ef50d97cdf6a408faeda87137d7bbeec2439a21d2e3524e7f8bb 01:18:46 $ docker rm -f b014995a6008ef50d97cdf6a408faeda87137d7bbeec2439a21d2e3524e7f8bb [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 01:18:47 provisioning config files... 01:18:47 copy managed file [device-rfid-llrp-go-codecov-token] to file:/w/workspace/oundry_device-rfid-llrp-go_PR-65@tmp/config123324400586728713tmp [Pipeline] { [Pipeline] sh 01:18:47 + set +x 01:18:47 + curl -s https://codecov.io/bash 01:18:47 + bash -s -- 01:18:47 01:18:47 _____ _ 01:18:47 / ____| | | 01:18:47 | | ___ __| | ___ ___ _____ __ 01:18:47 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:18:47 | |___| (_) | (_| | __/ (_| (_) \ V / 01:18:47 \_____\___/ \__,_|\___|\___\___/ \_/ 01:18:47 Bash-1.0.6 01:18:47 01:18:47 01:18:47 ==> git version 2.25.1 found 01:18:47 ==> 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 01:18:47 Release-Date: 2020-01-08 01:18:47 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:18:47 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:18:47 ==> Jenkins CI detected. 01:18:47 current dir:  /w/workspace/oundry_device-rfid-llrp-go_PR-65 01:18:47 project root: . 01:18:47 --> token set from env 01:18:47 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:18:47 ==> Running gcov in . (disable via -X gcov) 01:18:47 ==> Python coveragepy not found 01:18:47 ==> Searching for coverage reports in: 01:18:47 + . 01:18:47 -> Found 1 reports 01:18:47 ==> Detecting git/mercurial file structure 01:18:47 ==> Reading reports 01:18:47 + ./coverage.out bytes=460394 01:18:47 ==> Appending adjustments 01:18:47 https://docs.codecov.io/docs/fixing-reports 01:18:47 + Found adjustments 01:18:47 ==> Gzipping contents 01:18:47 52K /tmp/codecov.URl2vf.gz 01:18:47 ==> Uploading reports 01:18:47 url: https://codecov.io 01:18:47 query: branch=PR-65&commit=062e3051a5e94a1217e5bb0ff1be7564a27a94d7&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-65%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=65&job=&cmd_args= 01:18:48 -> Pinging Codecov 01:18:48 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-65&commit=062e3051a5e94a1217e5bb0ff1be7564a27a94d7&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-65%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=65&job=&cmd_args= 01:18:48 -> Uploading to 01:18:48 https://storage.googleapis.com/codecov/v4/raw/2022-04-28/581DD39554BDF9B6E22D074273EAD858/062e3051a5e94a1217e5bb0ff1be7564a27a94d7/141694b2-d987-4ae1-b133-38d2f00fcd1c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220428%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220428T011848Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5f6f325b6db45bb6131a8cc6e66a9eee736a5236753abc9b0a9a2f3d07b7a6c2 01:18:48 % Total % Received % Xferd Average Speed Time Time Time Current 01:18:48 Dload Upload Total Spent Left Speed 01:18:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51853 0 0 100 51853 0 210k --:--:-- --:--:-- --:--:-- 210k 01:18:48 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/062e3051a5e94a1217e5bb0ff1be7564a27a94d7 [Pipeline] } 01:18:48 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 01:18:49 + [ -d /w/workspace/oundry_device-rfid-llrp-go_PR-65/archives ] 01:18:49 + ls -al /w/workspace/oundry_device-rfid-llrp-go_PR-65/archives 01:18:49 total 16 01:18:49 drwxr-xr-x 3 root root 4096 Apr 28 01:10 . 01:18:49 drwxrwxr-x 12 jenkins jenkins 4096 Apr 28 01:10 .. 01:18:49 drwxr-xr-x 2 root root 4096 Apr 28 01:10 cost 01:18:49 -rw-r--r-- 1 root root 89 Apr 28 01:10 cost.csv 01:18:49 + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-rfid-llrp-go_PR-65/archives 01:18:49 + ls -al /w/workspace/oundry_device-rfid-llrp-go_PR-65/archives 01:18:49 total 16 01:18:49 drwxr-xr-x 3 jenkins jenkins 4096 Apr 28 01:10 . 01:18:49 drwxrwxr-x 12 jenkins jenkins 4096 Apr 28 01:10 .. 01:18:49 drwxr-xr-x 2 jenkins jenkins 4096 Apr 28 01:10 cost 01:18:49 -rw-r--r-- 1 jenkins jenkins 89 Apr 28 01:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:18:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:18:50 ---> package-listing.sh 01:18:50 ++ facter osfamily 01:18:50 ++ tr '[:upper:]' '[:lower:]' 01:18:50 + OS_FAMILY=debian 01:18:50 + workspace=/w/workspace/oundry_device-rfid-llrp-go_PR-65 01:18:50 + START_PACKAGES=/tmp/packages_start.txt 01:18:50 + END_PACKAGES=/tmp/packages_end.txt 01:18:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:18:50 + PACKAGES=/tmp/packages_start.txt 01:18:50 + '[' /w/workspace/oundry_device-rfid-llrp-go_PR-65 ']' 01:18:50 + PACKAGES=/tmp/packages_end.txt 01:18:50 + case "${OS_FAMILY}" in 01:18:50 + dpkg -l 01:18:50 + grep '^ii' 01:18:50 + '[' -f /tmp/packages_start.txt ']' 01:18:50 + '[' -f /tmp/packages_end.txt ']' 01:18:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:18:50 + '[' /w/workspace/oundry_device-rfid-llrp-go_PR-65 ']' 01:18:50 + mkdir -p /w/workspace/oundry_device-rfid-llrp-go_PR-65/archives/ 01:18:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-rfid-llrp-go_PR-65/archives/ [Pipeline] echo 01:18:50 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-65/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:18:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 01:18:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:18:51 . [Pipeline] withDockerContainer 01:18:51 prd-ubuntu20.04-docker-8c-8g-33587 does not seem to be running inside a container 01:18:51 $ 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-65/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-65 -v /w/workspace/oundry_device-rfid-llrp-go_PR-65:/w/workspace/oundry_device-rfid-llrp-go_PR-65:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-65@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-65@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:18:51 $ docker top c2f5ac2f154c0f491f3d2dc326f555dd5d2d006dd5f27d20057ad5aa65c46a93 -eo pid,comm [Pipeline] { [Pipeline] sh 01:18:52 + touch /tmp/pre-build-complete [Pipeline] sh 01:18:52 + mkdir -p /var/log/sysstat [Pipeline] sh 01:18:52 + ls /var/log/sa-host 01:18:52 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:18:53 provisioning config files... 01:18:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-rfid-llrp-go_PR-65@tmp/config4940980048576994449tmp [Pipeline] { [Pipeline] echo 01:18:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:18:53 ---> create-netrc.sh [Pipeline] } 01:18:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:18:53 ---> python-tools-install.sh [Pipeline] echo 01:18:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:18:54 ---> sudo-logs.sh 01:18:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:18:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:18:54 ---> job-cost.sh 01:18:54 lf-activate-venv: SKIPPING 01:18:54 DEBUG: total: 0.2199999988079071 01:18:54 INFO: Retrieving Stack Cost... 01:18:54 INFO: Retrieving Pricing Info for: v3-standard-8 01:18:55 INFO: Archiving Costs [Pipeline] echo 01:18:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:18:55 ---> logs-deploy.sh 01:18:55 lf-activate-venv: SKIPPING 01:18:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rfid-llrp-go/PR-65/8 01:18:55 INFO: archiving workspace using pattern(s): 01:18:56 Archives upload complete. 01:18:56 INFO: archiving logs to Nexus