Push event to branch released-sdk Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from deb1929795e6d4404c8a13d3554381d1d11d6831 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-ssh9536085322126888486.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-ssh5864844804929502913.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/released-sdk/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/released-sdk/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh851469640984222497.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/released-sdk/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh18265670781972038584.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh16331570589421148308.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/released-sdk/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/released-sdk/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8091532580525972896.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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:app-rfid-llrp-inventory, 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: app-rfid-llrp-inventory-settings PROJECT: app-rfid-llrp-inventory 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: app-rfid-llrp-inventory DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-47810 in /w/workspace/rfid-llrp-inventory_released-sdk [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git > git init /w/workspace/rfid-llrp-inventory_released-sdk # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.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/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision deb1929795e6d4404c8a13d3554381d1d11d6831 (released-sdk) > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f deb1929795e6d4404c8a13d3554381d1d11d6831 # timeout=10 Commit message: "build: Update to released V2.2.0 Kamakura SDK" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:38:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:38:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:38:30 ========================================================= 17:38:30 EdgeX Global Pipelines Version Info 17:38:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:38:31 ------------------- 17:38:31 stable info: 17:38:31 ------------------- 17:38:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:38:31 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 17:38:31 Message: update stable to v1.0.227 17:38:31 ------------------- 17:38:31 experimental info: 17:38:31 ------------------- 17:38:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:38:31 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 17:38:31 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:38:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 17:38:31 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 17:38:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:38:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:38:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:38:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 17:38:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:38:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:38:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:38:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:38:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:38:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 17:38:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:38:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:38:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:38:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:38:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:38:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:38:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:38:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:38:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:38:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:38:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:38:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:38:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:38:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:38:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = released-sdk [Pipeline] echo 17:38:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = released-sdk [Pipeline] echo 17:38:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = released-sdk [Pipeline] echo 17:38:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = deb1929795e6d4404c8a13d3554381d1d11d6831 [Pipeline] echo 17:38:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = deb1929 [Pipeline] echo 17:38:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:38:33 provisioning config files... 17:38:33 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/rfid-llrp-inventory_released-sdk@tmp/config2663092948337936426tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:38:33 ---> docker-login.sh 17:38:33 nexus3.edgexfoundry.org:10001 17:38:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:33 Configure a credential helper to remove this warning. See 17:38:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:33 17:38:33 Login Succeeded 17:38:33 nexus3.edgexfoundry.org:10002 17:38:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:34 Configure a credential helper to remove this warning. See 17:38:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:34 17:38:34 Login Succeeded 17:38:34 nexus3.edgexfoundry.org:10003 17:38:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:34 Configure a credential helper to remove this warning. See 17:38:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:34 17:38:34 Login Succeeded 17:38:34 nexus3.edgexfoundry.org:10004 17:38:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:34 Configure a credential helper to remove this warning. See 17:38:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:34 17:38:34 Login Succeeded 17:38:34 docker.io 17:38:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:35 Configure a credential helper to remove this warning. See 17:38:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:35 17:38:35 Login Succeeded 17:38:35 ---> docker-login.sh ends [Pipeline] } 17:38:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:38:35 + git rev-list -1 --merges deb1929795e6d4404c8a13d3554381d1d11d6831~1..deb1929795e6d4404c8a13d3554381d1d11d6831 [Pipeline] echo 17:38:35 -----------> git rev-list -1 --merges deb1929795e6d4404c8a13d3554381d1d11d6831~1..deb1929795e6d4404c8a13d3554381d1d11d6831 deb1929795e6d4404c8a13d3554381d1d11d6831 [false] [Pipeline] sh 17:38:36 + git log --format=format:%s -1 deb1929795e6d4404c8a13d3554381d1d11d6831 [Pipeline] echo 17:38:36 ========================================================= 17:38:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:38:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:38:36 + git log --format=format:%s -1 deb1929795e6d4404c8a13d3554381d1d11d6831 [Pipeline] echo 17:38:36 [semverPrep] GIT_COMMIT: deb1929795e6d4404c8a13d3554381d1d11d6831, Commit Message: build: Update to released V2.2.0 Kamakura SDK [Pipeline] echo 17:38:36 [semverPrep] This is not a build commit. [Pipeline] sh 17:38:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:38:37 + grep -v github /etc/ssh/ssh_known_hosts 17:38:37 + [ -e /tmp/ssh_known_hosts ] 17:38:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:38:37 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:38:37 + sudo tee -a /etc/ssh/ssh_known_hosts 17:38:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 17:38:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 17:38:37 17:38:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:38:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 17:38:37 latest: Pulling from edgex-devops/py-git-semver 17:38:37 1fe172e4850f: Pulling fs layer 17:38:37 caf521ccaac6: Pulling fs layer 17:38:37 3ead6fa29328: Pulling fs layer 17:38:37 5c2a1cbceb83: Pulling fs layer 17:38:37 a8d5f1318db7: Pulling fs layer 17:38:37 c427282e49a2: Pulling fs layer 17:38:37 1827001aaf11: Pulling fs layer 17:38:37 0714d37db230: Pulling fs layer 17:38:37 ac28cf19c067: Pulling fs layer 17:38:37 ca983d60f3e2: Pulling fs layer 17:38:37 9f894cec8388: Pulling fs layer 17:38:37 5c2a1cbceb83: Waiting 17:38:37 a8d5f1318db7: Waiting 17:38:37 c427282e49a2: Waiting 17:38:37 1827001aaf11: Waiting 17:38:37 0714d37db230: Waiting 17:38:37 9f894cec8388: Waiting 17:38:37 ca983d60f3e2: Waiting 17:38:37 ac28cf19c067: Waiting 17:38:37 caf521ccaac6: Download complete 17:38:37 5c2a1cbceb83: Download complete 17:38:37 a8d5f1318db7: Verifying Checksum 17:38:37 a8d5f1318db7: Download complete 17:38:38 c427282e49a2: Verifying Checksum 17:38:38 c427282e49a2: Download complete 17:38:38 3ead6fa29328: Verifying Checksum 17:38:38 3ead6fa29328: Download complete 17:38:38 0714d37db230: Verifying Checksum 17:38:38 0714d37db230: Download complete 17:38:38 ac28cf19c067: Download complete 17:38:38 ca983d60f3e2: Download complete 17:38:38 9f894cec8388: Verifying Checksum 17:38:38 9f894cec8388: Download complete 17:38:38 1fe172e4850f: Verifying Checksum 17:38:38 1fe172e4850f: Download complete 17:38:38 1827001aaf11: Verifying Checksum 17:38:38 1827001aaf11: Download complete 17:38:39 1fe172e4850f: Pull complete 17:38:39 caf521ccaac6: Pull complete 17:38:40 3ead6fa29328: Pull complete 17:38:40 5c2a1cbceb83: Pull complete 17:38:40 a8d5f1318db7: Pull complete 17:38:40 c427282e49a2: Pull complete 17:38:42 1827001aaf11: Pull complete 17:38:42 0714d37db230: Pull complete 17:38:43 ac28cf19c067: Pull complete 17:38:43 ca983d60f3e2: Pull complete 17:38:43 9f894cec8388: Pull complete 17:38:43 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 17:38:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 17:38:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 17:38:43 prd-ubuntu20.04-docker-8c-8g-47810 does not seem to be running inside a container 17:38:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/rfid-llrp-inventory_released-sdk -v /w/workspace/rfid-llrp-inventory_released-sdk:/w/workspace/rfid-llrp-inventory_released-sdk:rw,z -v /w/workspace/rfid-llrp-inventory_released-sdk@tmp:/w/workspace/rfid-llrp-inventory_released-sdk@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 17:38:44 $ docker top b6f6c4d5d06533d0300f95d105363f5dee2ace7244aefd01d0badec92c1ebda1 -eo pid,comm 17:38:44 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). 17:38:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:38:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:38:45 [ssh-agent] Looking for ssh-agent implementation... 17:38:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:38:45 $ docker exec b6f6c4d5d06533d0300f95d105363f5dee2ace7244aefd01d0badec92c1ebda1 ssh-agent 17:38:45 SSH_AUTH_SOCK=/tmp/ssh-nb2bueBz6yH8/agent.33 17:38:45 SSH_AGENT_PID=39 17:38:45 Running ssh-add (command line suppressed) 17:38:45 Identity added: /w/workspace/rfid-llrp-inventory_released-sdk@tmp/private_key_5796641055816303560.key (/w/workspace/rfid-llrp-inventory_released-sdk@tmp/private_key_5796641055816303560.key) 17:38:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:38:45 + git tag --points-at HEAD [Pipeline] } 17:38:45 $ docker exec --env ******** --env ******** b6f6c4d5d06533d0300f95d105363f5dee2ace7244aefd01d0badec92c1ebda1 ssh-agent -k 17:38:45 unset SSH_AUTH_SOCK; 17:38:45 unset SSH_AGENT_PID; 17:38:45 echo Agent pid 39 killed; 17:38:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:38:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:38:45 [ssh-agent] Looking for ssh-agent implementation... 17:38:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:38:46 $ docker exec b6f6c4d5d06533d0300f95d105363f5dee2ace7244aefd01d0badec92c1ebda1 ssh-agent 17:38:46 SSH_AUTH_SOCK=/tmp/ssh-McD9nTkqShBc/agent.74 17:38:46 SSH_AGENT_PID=80 17:38:46 Running ssh-add (command line suppressed) 17:38:46 Identity added: /w/workspace/rfid-llrp-inventory_released-sdk@tmp/private_key_4281775145578495601.key (/w/workspace/rfid-llrp-inventory_released-sdk@tmp/private_key_4281775145578495601.key) 17:38:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:38:46 + git semver init 17:38:46 2022-05-10 17:38:46,849 [run_init] DEBUG init version:0.0.0 force:False 17:38:46 2022-05-10 17:38:46,850 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/rfid-llrp-inventory_released-sdk/.semver 17:38:46 2022-05-10 17:38:46,850 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/rfid-llrp-inventory_released-sdk/.semver 17:38:46 2022-05-10 17:38:46,850 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/rfid-llrp-inventory_released-sdk/.semver'], cwd=/w/workspace/rfid-llrp-inventory_released-sdk, universal_newlines=False, shell=None, istream=None) 17:38:48 2022-05-10 17:38:47,933 [append_file] DEBUG append to file:/w/workspace/rfid-llrp-inventory_released-sdk/.git/info/exclude 17:38:48 2022-05-10 17:38:47,933 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/rfid-llrp-inventory_released-sdk/.semver/released-sdk with force:False 17:38:48 2022-05-10 17:38:47,934 [write_file] DEBUG write to file:/w/workspace/rfid-llrp-inventory_released-sdk/.semver/released-sdk 17:38:48 2022-05-10 17:38:47,938 [execute] INFO git cat-file --batch-check 17:38:48 2022-05-10 17:38:47,939 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/rfid-llrp-inventory_released-sdk/.semver, universal_newlines=False, shell=None, istream=) 17:38:48 2022-05-10 17:38:47,945 [execute] INFO git cat-file --batch 17:38:48 2022-05-10 17:38:47,946 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/rfid-llrp-inventory_released-sdk/.semver, universal_newlines=False, shell=None, istream=) 17:38:48 2022-05-10 17:38:47,951 [read_version] DEBUG read version from /w/workspace/rfid-llrp-inventory_released-sdk/.semver/released-sdk 17:38:48 0.0.0 [Pipeline] } 17:38:48 $ docker exec --env ******** --env ******** b6f6c4d5d06533d0300f95d105363f5dee2ace7244aefd01d0badec92c1ebda1 ssh-agent -k 17:38:48 unset SSH_AUTH_SOCK; 17:38:48 unset SSH_AGENT_PID; 17:38:48 echo Agent pid 80 killed; 17:38:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:38:48 + git semver [Pipeline] } 17:38:49 $ docker stop --time=1 b6f6c4d5d06533d0300f95d105363f5dee2ace7244aefd01d0badec92c1ebda1 17:38:50 $ docker rm -f b6f6c4d5d06533d0300f95d105363f5dee2ace7244aefd01d0badec92c1ebda1 [Pipeline] // withDockerContainer [Pipeline] sh 17:38:50 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:38:51 Stashed 1 file(s) [Pipeline] echo 17:38:51 [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 17:38:51 provisioning config files... 17:38:51 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/rfid-llrp-inventory_released-sdk@tmp/config4214800140037338371tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:38:52 ---> docker-login.sh 17:38:52 nexus3.edgexfoundry.org:10001 17:38:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:52 Configure a credential helper to remove this warning. See 17:38:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:52 17:38:52 Login Succeeded 17:38:52 nexus3.edgexfoundry.org:10002 17:38:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:52 Configure a credential helper to remove this warning. See 17:38:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:52 17:38:52 Login Succeeded 17:38:52 nexus3.edgexfoundry.org:10003 17:38:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:52 Configure a credential helper to remove this warning. See 17:38:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:52 17:38:52 Login Succeeded 17:38:52 nexus3.edgexfoundry.org:10004 17:38:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:52 Configure a credential helper to remove this warning. See 17:38:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:52 17:38:52 Login Succeeded 17:38:52 docker.io 17:38:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:52 Configure a credential helper to remove this warning. See 17:38:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:52 17:38:52 Login Succeeded 17:38:52 ---> docker-login.sh ends [Pipeline] } 17:38:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:38:53 [edgeX.isLTS] Checking if [released-sdk] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:38:53 ========================================================= 17:38:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 17:38:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 17:38:53 + 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 . 17:38:53 Sending build context to Docker daemon 12.39MB 17:38:53 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 17:38:53 Step 2/13 : FROM ${BASE} AS builder 17:38:53 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 17:38:53 59bf1c3509f3: Pulling fs layer 17:38:53 666ba61612fd: Pulling fs layer 17:38:53 8ed8ca486205: Pulling fs layer 17:38:53 4fe6c5a15a65: Pulling fs layer 17:38:53 22a0e8bec74d: Pulling fs layer 17:38:53 ca2b28591e48: Pulling fs layer 17:38:53 a51346096db8: Pulling fs layer 17:38:53 daebc70d1ce1: Pulling fs layer 17:38:53 0e18a0eac166: Pulling fs layer 17:38:53 4fe6c5a15a65: Waiting 17:38:53 22a0e8bec74d: Waiting 17:38:53 a51346096db8: Waiting 17:38:53 daebc70d1ce1: Waiting 17:38:53 0e18a0eac166: Waiting 17:38:53 8ed8ca486205: Verifying Checksum 17:38:53 8ed8ca486205: Download complete 17:38:53 666ba61612fd: Verifying Checksum 17:38:53 666ba61612fd: Download complete 17:38:53 22a0e8bec74d: Verifying Checksum 17:38:53 22a0e8bec74d: Download complete 17:38:53 ca2b28591e48: Verifying Checksum 17:38:53 ca2b28591e48: Download complete 17:38:53 59bf1c3509f3: Verifying Checksum 17:38:53 59bf1c3509f3: Download complete 17:38:53 a51346096db8: Verifying Checksum 17:38:53 a51346096db8: Download complete 17:38:53 daebc70d1ce1: Verifying Checksum 17:38:53 daebc70d1ce1: Download complete 17:38:54 59bf1c3509f3: Pull complete 17:38:54 666ba61612fd: Pull complete 17:38:54 0e18a0eac166: Verifying Checksum 17:38:54 0e18a0eac166: Download complete 17:38:54 4fe6c5a15a65: Verifying Checksum 17:38:54 4fe6c5a15a65: Download complete 17:38:54 8ed8ca486205: Pull complete 17:38:58 4fe6c5a15a65: Pull complete 17:38:58 22a0e8bec74d: Pull complete 17:38:58 ca2b28591e48: Pull complete 17:38:58 a51346096db8: Pull complete 17:38:58 daebc70d1ce1: Pull complete 17:39:00 0e18a0eac166: Pull complete 17:39:00 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 17:39:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 17:39:00 ---> f018257e8ee9 17:39:00 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 17:39:02 ---> Running in 57c558198e46 17:39:02 Removing intermediate container 57c558198e46 17:39:02 ---> bb1165079861 17:39:02 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 17:39:02 ---> Running in 0a2de68aecb7 17:39:02 Removing intermediate container 0a2de68aecb7 17:39:02 ---> bd05577742a4 17:39:02 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:39:02 ---> Running in d323106032c2 17:39:02 Removing intermediate container d323106032c2 17:39:02 ---> 73ba41a904c5 17:39:02 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:39:02 ---> Running in 5b31e559f2f0 17:39:03 Removing intermediate container 5b31e559f2f0 17:39:03 ---> 59337162beb0 17:39:03 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:39:03 ---> Running in 0f3b355b7138 17:39:03 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 17:39:04 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 17:39:04 OK: 221 MiB in 52 packages 17:39:05 Removing intermediate container 0f3b355b7138 17:39:05 ---> e38af11fc8d9 17:39:05 Step 8/13 : WORKDIR /app 17:39:05 ---> Running in afa9b3c0239c 17:39:05 Removing intermediate container afa9b3c0239c 17:39:05 ---> 7d55f8fe15af 17:39:05 Step 9/13 : COPY go.mod vendor* ./ 17:39:05 ---> 487837130699 17:39:05 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:39:05 ---> Running in b0810099cbb5 17:39:06 Still waiting to schedule task 17:39:06 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 17:39:20 Removing intermediate container b0810099cbb5 17:39:20 ---> 7efca9f99ab3 17:39:20 Step 11/13 : COPY . . 17:39:20 ---> 4ee4b17c7877 17:39:20 Step 12/13 : ARG MAKE="make build" 17:39:20 ---> Running in a2736af3f36f 17:39:20 Removing intermediate container a2736af3f36f 17:39:20 ---> 3a3a656c0073 17:39:20 Step 13/13 : RUN $MAKE 17:39:20 ---> Running in dc7f673e3c1f 17:39:20 noop 17:39:20 Removing intermediate container dc7f673e3c1f 17:39:20 ---> 82e7919f2330 17:39:20 Successfully built 82e7919f2330 17:39:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 17:39:20 + docker inspect -f . ci-base-image-x86_64 17:39:20 . [Pipeline] withDockerContainer 17:39:20 prd-ubuntu20.04-docker-8c-8g-47810 does not seem to be running inside a container 17:39:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/rfid-llrp-inventory_released-sdk -v /w/workspace/rfid-llrp-inventory_released-sdk:/w/workspace/rfid-llrp-inventory_released-sdk:rw,z -v /w/workspace/rfid-llrp-inventory_released-sdk@tmp:/w/workspace/rfid-llrp-inventory_released-sdk@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 ******** ci-base-image-x86_64 cat 17:39:21 $ docker top 292ef39c4c5905fbcdc811c38b9982bdabf196f80003b9c65a79fa30b5885848 -eo pid,comm [Pipeline] { [Pipeline] sh 17:39:21 + go version 17:39:21 go version go1.17.6 linux/amd64 [Pipeline] } 17:39:21 $ docker stop --time=1 292ef39c4c5905fbcdc811c38b9982bdabf196f80003b9c65a79fa30b5885848 17:39:22 $ docker rm -f 292ef39c4c5905fbcdc811c38b9982bdabf196f80003b9c65a79fa30b5885848 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:39:23 + docker inspect -f . ci-base-image-x86_64 17:39:23 . [Pipeline] withDockerContainer 17:39:23 prd-ubuntu20.04-docker-8c-8g-47810 does not seem to be running inside a container 17:39:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/rfid-llrp-inventory_released-sdk -v /w/workspace/rfid-llrp-inventory_released-sdk:/w/workspace/rfid-llrp-inventory_released-sdk:rw,z -v /w/workspace/rfid-llrp-inventory_released-sdk@tmp:/w/workspace/rfid-llrp-inventory_released-sdk@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 ******** ci-base-image-x86_64 cat 17:39:24 $ docker top 724c62e79014f3f873700eea02e6955d88b74a27b00ed902b668dc4702584c26 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:39:24 + make test 17:39:24 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:39:34 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 17:39:34 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.025s coverage: 86.2% of statements 17:39:34 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 17:39:37 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.545s coverage: 71.9% of statements 17:39:45 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:39:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:39:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:39:48 ./bin/test-attribution.sh [Pipeline] echo 17:39:48 [edgeX.isLTS] Checking if [released-sdk] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:39:48 $ docker stop --time=1 724c62e79014f3f873700eea02e6955d88b74a27b00ed902b668dc4702584c26 17:39:50 $ docker rm -f 724c62e79014f3f873700eea02e6955d88b74a27b00ed902b668dc4702584c26 [Pipeline] // withDockerContainer [Pipeline] sh 17:39:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:39:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:39:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:39:52 + ls -al . 17:39:52 total 228 17:39:52 drwxrwxr-x 11 jenkins jenkins 4096 May 10 17:39 . 17:39:52 drwxrwxr-x 4 jenkins jenkins 4096 May 10 17:38 .. 17:39:52 -rw-rw-r-- 1 jenkins jenkins 262 May 10 17:38 .dockerignore 17:39:52 drwxrwxr-x 8 jenkins jenkins 4096 May 10 17:38 .git 17:39:52 drwxrwxr-x 3 jenkins jenkins 4096 May 10 17:38 .github 17:39:52 -rw-rw-r-- 1 jenkins jenkins 788 May 10 17:38 .gitignore 17:39:52 -rw-rw-r-- 1 jenkins jenkins 41 May 10 17:38 .golangci.yml 17:39:52 drwxr-xr-x 3 jenkins jenkins 4096 May 10 17:38 .semver 17:39:52 -rw-rw-r-- 1 jenkins jenkins 9410 May 10 17:38 Attribution.txt 17:39:52 -rw-rw-r-- 1 jenkins jenkins 1678 May 10 17:38 CHANGELOG.md 17:39:52 -rw-rw-r-- 1 jenkins jenkins 1923 May 10 17:38 Dockerfile 17:39:52 -rw-rw-r-- 1 jenkins jenkins 677 May 10 17:38 GOVERNANCE.md 17:39:52 -rw-rw-r-- 1 jenkins jenkins 687 May 10 17:38 Jenkinsfile 17:39:52 -rw-rw-r-- 1 jenkins jenkins 11347 May 10 17:38 LICENSE 17:39:52 -rw-rw-r-- 1 jenkins jenkins 2949 May 10 17:38 Makefile 17:39:52 -rw-rw-r-- 1 jenkins jenkins 617 May 10 17:38 OWNERS.md 17:39:52 -rw-rw-r-- 1 jenkins jenkins 30359 May 10 17:38 README.md 17:39:52 -rw-rw-r-- 1 jenkins jenkins 5 May 10 17:38 VERSION 17:39:52 drwxrwxr-x 2 jenkins jenkins 4096 May 10 17:38 bin 17:39:52 -rw-r--r-- 1 jenkins jenkins 41008 May 10 17:39 coverage.out 17:39:52 -rw-rw-r-- 1 jenkins jenkins 3452 May 10 17:38 go.mod 17:39:52 -rw-rw-r-- 1 jenkins jenkins 35440 May 10 17:38 go.sum 17:39:52 drwxrwxr-x 2 jenkins jenkins 4096 May 10 17:38 images 17:39:52 drwxrwxr-x 4 jenkins jenkins 4096 May 10 17:38 internal 17:39:52 -rw-rw-r-- 1 jenkins jenkins 531 May 10 17:38 main.go 17:39:52 drwxrwxr-x 2 jenkins jenkins 4096 May 10 17:38 res 17:39:52 drwxrwxr-x 4 jenkins jenkins 4096 May 10 17:38 snap 17:39:52 drwxrwxr-x 3 jenkins jenkins 4096 May 10 17:38 static [Pipeline] isUnix [Pipeline] sh 17:39:52 + docker build -t app-rfid-llrp-inventory -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=deb1929795e6d4404c8a13d3554381d1d11d6831 --label arch=amd64 --label version=0.0.0 . 17:39:52 Sending build context to Docker daemon 12.39MB 17:39:52 Step 1/31 : ARG BASE=golang:1.17-alpine3.15 17:39:52 Step 2/31 : FROM ${BASE} AS builder 17:39:52 ---> 82e7919f2330 17:39:52 Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 17:39:53 ---> Running in 1ce82e823b54 17:39:53 Removing intermediate container 1ce82e823b54 17:39:53 ---> 2a84220fee70 17:39:53 Step 4/31 : ARG ALPINE_PKG_EXTRA="" 17:39:53 ---> Running in 3108d41f40d8 17:39:53 Removing intermediate container 3108d41f40d8 17:39:53 ---> c422b21e6608 17:39:53 Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:39:53 ---> Running in 20babb34bcf2 17:39:53 Removing intermediate container 20babb34bcf2 17:39:53 ---> d3eb4b8728bd 17:39:53 Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:39:53 ---> Running in a8ad3bc3ce01 17:39:54 Removing intermediate container a8ad3bc3ce01 17:39:54 ---> b2eac9b62aa5 17:39:54 Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:39:54 ---> Running in 094582aaa5e2 17:39:54 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 17:39:55 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 17:39:55 OK: 221 MiB in 52 packages 17:39:55 Removing intermediate container 094582aaa5e2 17:39:55 ---> dec9dbb1f8c6 17:39:55 Step 8/31 : WORKDIR /app 17:39:55 ---> Running in 16973f6fa7ad 17:39:56 Removing intermediate container 16973f6fa7ad 17:39:56 ---> 15988b820dd1 17:39:56 Step 9/31 : COPY go.mod vendor* ./ 17:39:56 ---> 24c5aa807b0c 17:39:56 Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:39:56 ---> Running in 6598eb950c95 17:39:57 Removing intermediate container 6598eb950c95 17:39:57 ---> c73c62cf2457 17:39:57 Step 11/31 : COPY . . 17:39:57 ---> d0d4e2b58145 17:39:57 Step 12/31 : ARG MAKE="make build" 17:39:57 ---> Running in f370448beae6 17:39:57 Removing intermediate container f370448beae6 17:39:57 ---> 8d2c408515cd 17:39:57 Step 13/31 : RUN $MAKE 17:39:57 ---> Running in 24e0d57b132a 17:39:58 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.2.0 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0 -X edgexfoundry/app-rfid-llrp-inventory.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o app-rfid-llrp-inventory 17:40:19 Removing intermediate container 24e0d57b132a 17:40:19 ---> 5935daff273c 17:40:19 Step 14/31 : FROM alpine:3.14 17:40:19 3.14: Pulling from library/alpine 17:40:19 8663204ce13b: Pulling fs layer 17:40:19 8663204ce13b: Verifying Checksum 17:40:19 8663204ce13b: Download complete 17:40:19 8663204ce13b: Pull complete 17:40:19 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 17:40:19 Status: Downloaded newer image for alpine:3.14 17:40:19 ---> e04c818066af 17:40:19 Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:40:19 ---> Running in f0b95f4c8737 17:40:19 Removing intermediate container f0b95f4c8737 17:40:19 ---> e5002e6a6de6 17:40:19 Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 17:40:19 ---> Running in e3c14745a89e 17:40:19 Removing intermediate container e3c14745a89e 17:40:19 ---> fd2799b5d382 17:40:19 Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:40:19 ---> Running in a58d8bc56319 17:40:20 Removing intermediate container a58d8bc56319 17:40:20 ---> 49a2220df744 17:40:20 Step 18/31 : RUN apk --no-cache add ca-certificates zeromq 17:40:20 ---> Running in 6e48c026230f 17:40:20 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 17:40:21 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 17:40:21 (1/6) Installing ca-certificates (20211220-r0) 17:40:22 (2/6) Installing libgcc (10.3.1_git20210424-r2) 17:40:22 (3/6) Installing libsodium (1.0.18-r0) 17:40:22 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 17:40:22 (5/6) Installing libzmq (4.3.4-r0) 17:40:22 (6/6) Installing zeromq (4.3.4-r0) 17:40:22 Executing busybox-1.33.1-r7.trigger 17:40:22 Executing ca-certificates-20211220-r0.trigger 17:40:22 OK: 9 MiB in 20 packages 17:40:22 Removing intermediate container 6e48c026230f 17:40:22 ---> f94c2b13d32c 17:40:22 Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt 17:40:23 ---> d39254f80db3 17:40:23 Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE 17:40:23 ---> 06deb60e5a7d 17:40:23 Step 21/31 : COPY --from=builder /app/res/ /res/ 17:40:23 ---> 442094ce4801 17:40:23 Step 22/31 : COPY --from=builder /app/static/ /static/ 17:40:23 ---> 3be2b9867b5c 17:40:23 Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 17:40:24 ---> 02516ccac9c9 17:40:24 Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 17:40:24 ---> Running in 06027a9cf67c 17:40:25 Removing intermediate container 06027a9cf67c 17:40:25 ---> 360f4345fcb7 17:40:25 Step 25/31 : VOLUME /cache 17:40:25 ---> Running in 283729594da7 17:40:25 Removing intermediate container 283729594da7 17:40:25 ---> 942ac05e7cff 17:40:25 Step 26/31 : EXPOSE 59711 17:40:25 ---> Running in 33c0af4593c8 17:40:25 Removing intermediate container 33c0af4593c8 17:40:25 ---> c62ec7758e6e 17:40:25 Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 17:40:25 ---> Running in b41a7556b538 17:40:25 Removing intermediate container b41a7556b538 17:40:25 ---> 4b92d711c544 17:40:25 Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 17:40:25 ---> Running in 1e1c83e8f4a0 17:40:25 Removing intermediate container 1e1c83e8f4a0 17:40:25 ---> c4fa5d9cc80d 17:40:25 Step 29/31 : LABEL arch=amd64 17:40:25 ---> Running in 6f869b26161c 17:40:25 Removing intermediate container 6f869b26161c 17:40:25 ---> 6be8d7bb3abd 17:40:25 Step 30/31 : LABEL git_sha=deb1929795e6d4404c8a13d3554381d1d11d6831 17:40:25 ---> Running in 5784cb343111 17:40:25 Removing intermediate container 5784cb343111 17:40:25 ---> 79799bfc7a4e 17:40:25 Step 31/31 : LABEL version=0.0.0 17:40:25 ---> Running in 0279f819a399 17:40:25 Removing intermediate container 0279f819a399 17:40:25 ---> 1eb2498312dc 17:40:25 [Warning] One or more build-args [ARCH] were not consumed 17:40:25 Successfully built 1eb2498312dc 17:40:25 Successfully tagged app-rfid-llrp-inventory: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 17:40:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:40:26 17:40:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 17:40:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:40:26 latest: Pulling from edgex-lftools-log-publisher 17:40:26 5eb5b503b376: Pulling fs layer 17:40:26 5c69ac0246d0: Pulling fs layer 17:40:26 ec43610c2a17: Pulling fs layer 17:40:26 3a2ae6a8a46f: Pulling fs layer 17:40:26 33b1e0a273af: Pulling fs layer 17:40:26 5d3b04190fa2: Pulling fs layer 17:40:26 2f39f015ded8: Pulling fs layer 17:40:26 2f39f015ded8: Waiting 17:40:26 5d3b04190fa2: Waiting 17:40:26 3a2ae6a8a46f: Waiting 17:40:26 5c69ac0246d0: Verifying Checksum 17:40:26 5c69ac0246d0: Download complete 17:40:26 3a2ae6a8a46f: Download complete 17:40:26 33b1e0a273af: Verifying Checksum 17:40:26 33b1e0a273af: Download complete 17:40:26 5d3b04190fa2: Download complete 17:40:26 ec43610c2a17: Verifying Checksum 17:40:26 ec43610c2a17: Download complete 17:40:27 5eb5b503b376: Verifying Checksum 17:40:27 5eb5b503b376: Download complete 17:40:27 2f39f015ded8: Verifying Checksum 17:40:27 2f39f015ded8: Download complete 17:40:28 5eb5b503b376: Pull complete 17:40:28 5c69ac0246d0: Pull complete 17:40:29 ec43610c2a17: Pull complete 17:40:29 3a2ae6a8a46f: Pull complete 17:40:29 33b1e0a273af: Pull complete 17:40:29 5d3b04190fa2: Pull complete 17:40:34 2f39f015ded8: Pull complete 17:40:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:40:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:40:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 17:40:34 prd-ubuntu20.04-docker-8c-8g-47810 does not seem to be running inside a container 17:40:34 $ 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/rfid-llrp-inventory_released-sdk -v /w/workspace/rfid-llrp-inventory_released-sdk:/w/workspace/rfid-llrp-inventory_released-sdk:rw,z -v /w/workspace/rfid-llrp-inventory_released-sdk@tmp:/w/workspace/rfid-llrp-inventory_released-sdk@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:40:36 $ docker top 76676b20f5622c27bc059d8001995cbb73bf8c75fb843934e192945e0dd6cd12 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:40:36 ---> job-cost.sh 17:40:36 lf-activate-venv: SKIPPING 17:40:36 INFO: No Stack... 17:40:36 INFO: Retrieving Pricing Info for: v3-standard-8 17:40:37 INFO: Archiving Costs [Pipeline] sh 17:40:37 + cat /w/workspace/rfid-llrp-inventory_released-sdk/archives/cost.csv 17:40:37 + cut -d, -f6 [Pipeline] lock 17:40:37 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-released-sdk-1-stack-cost] 17:40:37 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-released-sdk-1-stack-cost] did not exist. Created. 17:40:37 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-released-sdk-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:40:38 + echo total: 0.2199999988079071 [Pipeline] stash 17:40:38 Stashed 1 file(s) [Pipeline] } 17:40:38 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-released-sdk-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:40:38 $ docker stop --time=1 76676b20f5622c27bc059d8001995cbb73bf8c75fb843934e192945e0dd6cd12 17:40:39 $ docker rm -f 76676b20f5622c27bc059d8001995cbb73bf8c75fb843934e192945e0dd6cd12 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:41:39 Running on prd-ubuntu20.04-docker-arm64-4c-16g-47813 in /w/workspace/rfid-llrp-inventory_released-sdk [Pipeline] { [Pipeline] ws 17:41:39 Running in /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] { [Pipeline] checkout 17:41:39 The recommended git tool is: git 17:41:47 using credential edgex-jenkins-ssh 17:41:47 Cloning the remote Git repository 17:41:47 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 17:41:47 > git init /w/workspace/app-rfid-llrp-inventory/1 # timeout=10 17:41:48 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 17:41:48 > git --version # timeout=10 17:41:48 > git --version # 'git version 2.25.1' 17:41:48 using GIT_SSH to set credentials SSH Credentials for GitHub 17:41:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:41:50 Avoid second fetch 17:41:50 Checking out Revision deb1929795e6d4404c8a13d3554381d1d11d6831 (released-sdk) 17:41:50 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 17:41:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:41:50 > git config core.sparsecheckout # timeout=10 17:41:50 > git checkout -f deb1929795e6d4404c8a13d3554381d1d11d6831 # timeout=10 17:41:55 Commit message: "build: Update to released V2.2.0 Kamakura SDK" 17:41:55 > git --version # timeout=10 17:41:55 > git --version # 'git version 2.25.1' 17:41:55 fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:41:56 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:41:56 % Total % Received % Xferd Average Speed Time Time Time Current 17:41:56 Dload Upload Total Spent Left Speed 17:41:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 192k 0 --:--:-- --:--:-- --:--:-- 192k [Pipeline] sh 17:41:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:41:57 + sudo tee /etc/docker/daemon.new 17:41:57 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:41:57 { 17:41:57 "registry-mirrors": [ 17:41:57 "https://nexus3.edgexfoundry.org:10001" 17:41:57 ], 17:41:57 "bip": "10.250.0.254/24", 17:41:57 "hosts": [ 17:41:57 "tcp://0.0.0.0:5555", 17:41:57 "unix:///var/run/docker.sock" 17:41:57 ], 17:41:57 "mtu": 1458, 17:41:57 "selinux-enabled": true, 17:41:57 "seccomp-profile": "/etc/docker/seccomp.json" 17:41:57 } [Pipeline] sh 17:41:57 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:41:58 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:42:16 provisioning config files... 17:42:16 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/1@tmp/config5367008508998575537tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:42:16 ---> docker-login.sh 17:42:16 nexus3.edgexfoundry.org:10001 17:42:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:42:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:42:17 Configure a credential helper to remove this warning. See 17:42:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:42:17 17:42:17 Login Succeeded 17:42:17 nexus3.edgexfoundry.org:10002 17:42:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:42:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:42:18 Configure a credential helper to remove this warning. See 17:42:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:42:18 17:42:18 Login Succeeded 17:42:18 nexus3.edgexfoundry.org:10003 17:42:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:42:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:42:19 Configure a credential helper to remove this warning. See 17:42:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:42:19 17:42:19 Login Succeeded 17:42:19 nexus3.edgexfoundry.org:10004 17:42:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:42:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:42:19 Configure a credential helper to remove this warning. See 17:42:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:42:19 17:42:19 Login Succeeded 17:42:19 docker.io 17:42:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:42:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:42:20 Configure a credential helper to remove this warning. See 17:42:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:42:20 17:42:20 Login Succeeded 17:42:20 ---> docker-login.sh ends [Pipeline] } 17:42:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:42:21 [edgeX.isLTS] Checking if [released-sdk] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:42:21 ========================================================= 17:42:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 17:42:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 17:42:21 + 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 . 17:42:21 Sending build context to Docker daemon 687.1kB 17:42:21 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 17:42:21 Step 2/13 : FROM ${BASE} AS builder 17:42:22 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:42:22 9b3977197b4f: Pulling fs layer 17:42:22 1a89e8eeedd5: Pulling fs layer 17:42:22 94645a83ff95: Pulling fs layer 17:42:22 3f3a8bcf1eab: Pulling fs layer 17:42:22 0c92f367c5e7: Pulling fs layer 17:42:22 3096ccb668a1: Pulling fs layer 17:42:22 e8cf19c19ddd: Pulling fs layer 17:42:22 a4caa8a26152: Pulling fs layer 17:42:22 0c92f367c5e7: Waiting 17:42:22 3096ccb668a1: Waiting 17:42:22 a4caa8a26152: Waiting 17:42:22 e8cf19c19ddd: Waiting 17:42:22 3f3a8bcf1eab: Waiting 17:42:22 94645a83ff95: Verifying Checksum 17:42:22 94645a83ff95: Download complete 17:42:22 1a89e8eeedd5: Verifying Checksum 17:42:22 1a89e8eeedd5: Download complete 17:42:22 0c92f367c5e7: Download complete 17:42:22 3096ccb668a1: Verifying Checksum 17:42:22 3096ccb668a1: Download complete 17:42:22 9b3977197b4f: Verifying Checksum 17:42:22 9b3977197b4f: Download complete 17:42:22 e8cf19c19ddd: Verifying Checksum 17:42:22 e8cf19c19ddd: Download complete 17:42:22 9b3977197b4f: Pull complete 17:42:23 1a89e8eeedd5: Pull complete 17:42:24 94645a83ff95: Pull complete 17:42:24 a4caa8a26152: Verifying Checksum 17:42:24 a4caa8a26152: Download complete 17:42:24 3f3a8bcf1eab: Download complete 17:42:37 3f3a8bcf1eab: Pull complete 17:42:37 0c92f367c5e7: Pull complete 17:42:37 3096ccb668a1: Pull complete 17:42:37 e8cf19c19ddd: Pull complete 17:42:44 a4caa8a26152: Pull complete 17:42:44 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 17:42:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 17:42:44 ---> 725f1c02e7f9 17:42:44 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 17:42:45 ---> Running in 99d81672fc0e 17:42:45 Removing intermediate container 99d81672fc0e 17:42:45 ---> 6f3b52d27717 17:42:45 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 17:42:45 ---> Running in f1edc3079f7e 17:42:45 Removing intermediate container f1edc3079f7e 17:42:45 ---> 3baaad820554 17:42:45 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:42:45 ---> Running in 0e1e41fabf10 17:42:46 Removing intermediate container 0e1e41fabf10 17:42:46 ---> 643036f30325 17:42:46 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:42:46 ---> Running in 2f5ae2561eff 17:42:49 Removing intermediate container 2f5ae2561eff 17:42:49 ---> 2c71a61eabbd 17:42:49 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:42:49 ---> Running in 500d6b0cc442 17:42:50 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:42:51 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:42:52 OK: 220 MiB in 52 packages 17:42:53 Removing intermediate container 500d6b0cc442 17:42:53 ---> b1d1ae968948 17:42:53 Step 8/13 : WORKDIR /app 17:42:53 ---> Running in 7e47bc67620a 17:42:54 Removing intermediate container 7e47bc67620a 17:42:54 ---> 4bd2fa560a3c 17:42:54 Step 9/13 : COPY go.mod vendor* ./ 17:42:54 ---> 3e854ce5a725 17:42:54 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:42:55 ---> Running in 05685aefe1e6 17:43:42 Removing intermediate container 05685aefe1e6 17:43:42 ---> c1fb27517dab 17:43:42 Step 11/13 : COPY . . 17:43:42 ---> 6ba8bed6ee0c 17:43:42 Step 12/13 : ARG MAKE="make build" 17:43:42 ---> Running in 56f884193a01 17:43:42 Removing intermediate container 56f884193a01 17:43:42 ---> 248d1d392bb9 17:43:42 Step 13/13 : RUN $MAKE 17:43:42 ---> Running in 3c28ce666df0 17:43:43 noop 17:43:43 Removing intermediate container 3c28ce666df0 17:43:43 ---> 5b20b0d705a1 17:43:43 Successfully built 5b20b0d705a1 17:43:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 17:43:44 + docker inspect -f . ci-base-image-arm64 17:43:44 . [Pipeline] withDockerContainer 17:43:44 prd-ubuntu20.04-docker-arm64-4c-16g-47813 does not seem to be running inside a container 17:43:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:43:45 $ docker top ab45788c295981adaddc223855f06bc070c6420aeb9895775ab0bbd7cb4a985d -eo pid,comm [Pipeline] { [Pipeline] sh 17:43:52 + go version 17:43:52 go version go1.17.6 linux/arm64 [Pipeline] } 17:43:52 $ docker stop --time=1 ab45788c295981adaddc223855f06bc070c6420aeb9895775ab0bbd7cb4a985d 17:43:54 $ docker rm -f ab45788c295981adaddc223855f06bc070c6420aeb9895775ab0bbd7cb4a985d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:43:54 + docker inspect -f . ci-base-image-arm64 17:43:54 . [Pipeline] withDockerContainer 17:43:55 prd-ubuntu20.04-docker-arm64-4c-16g-47813 does not seem to be running inside a container 17:43:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:43:56 $ docker top b1dce004d97d608860ee88c98615881c35e76bc733cdf4148062bf792674d85c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 17:43:57 + make test 17:43:57 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:45:34 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 17:45:34 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.197s coverage: 86.2% of statements 17:45:34 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 17:45:39 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.727s coverage: 71.9% of statements 17:45:39 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:45:39 CGO_ENABLED=1 GO111MODULE=on go vet ./... 17:46:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:46:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:46:11 ./bin/test-attribution.sh [Pipeline] echo 17:46:15 [edgeX.isLTS] Checking if [released-sdk] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:46:15 $ docker stop --time=1 b1dce004d97d608860ee88c98615881c35e76bc733cdf4148062bf792674d85c 17:46:16 $ docker rm -f b1dce004d97d608860ee88c98615881c35e76bc733cdf4148062bf792674d85c [Pipeline] // withDockerContainer [Pipeline] sh 17:46:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:46:18 Warning: overwriting stash ‘coverage-report’ 17:46:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:46:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:46:19 + ls -al . 17:46:19 total 224 17:46:19 drwxrwxr-x 10 jenkins jenkins 4096 May 10 17:46 . 17:46:19 drwxrwxr-x 4 jenkins jenkins 4096 May 10 17:41 .. 17:46:19 -rw-rw-r-- 1 jenkins jenkins 262 May 10 17:41 .dockerignore 17:46:19 drwxrwxr-x 8 jenkins jenkins 4096 May 10 17:41 .git 17:46:19 drwxrwxr-x 3 jenkins jenkins 4096 May 10 17:41 .github 17:46:19 -rw-rw-r-- 1 jenkins jenkins 788 May 10 17:41 .gitignore 17:46:19 -rw-rw-r-- 1 jenkins jenkins 41 May 10 17:41 .golangci.yml 17:46:19 -rw-rw-r-- 1 jenkins jenkins 9410 May 10 17:41 Attribution.txt 17:46:19 -rw-rw-r-- 1 jenkins jenkins 1678 May 10 17:41 CHANGELOG.md 17:46:19 -rw-rw-r-- 1 jenkins jenkins 1923 May 10 17:41 Dockerfile 17:46:19 -rw-rw-r-- 1 jenkins jenkins 677 May 10 17:41 GOVERNANCE.md 17:46:19 -rw-rw-r-- 1 jenkins jenkins 687 May 10 17:41 Jenkinsfile 17:46:19 -rw-rw-r-- 1 jenkins jenkins 11347 May 10 17:41 LICENSE 17:46:19 -rw-rw-r-- 1 jenkins jenkins 2949 May 10 17:41 Makefile 17:46:19 -rw-rw-r-- 1 jenkins jenkins 617 May 10 17:41 OWNERS.md 17:46:19 -rw-rw-r-- 1 jenkins jenkins 30359 May 10 17:41 README.md 17:46:19 -rw-rw-r-- 1 jenkins jenkins 5 May 10 17:38 VERSION 17:46:19 drwxrwxr-x 2 jenkins jenkins 4096 May 10 17:41 bin 17:46:19 -rw-r--r-- 1 jenkins jenkins 41008 May 10 17:45 coverage.out 17:46:19 -rw-rw-r-- 1 jenkins jenkins 3452 May 10 17:41 go.mod 17:46:19 -rw-rw-r-- 1 jenkins jenkins 35440 May 10 17:41 go.sum 17:46:19 drwxrwxr-x 2 jenkins jenkins 4096 May 10 17:41 images 17:46:19 drwxrwxr-x 4 jenkins jenkins 4096 May 10 17:41 internal 17:46:19 -rw-rw-r-- 1 jenkins jenkins 531 May 10 17:41 main.go 17:46:19 drwxrwxr-x 2 jenkins jenkins 4096 May 10 17:41 res 17:46:19 drwxrwxr-x 4 jenkins jenkins 4096 May 10 17:41 snap 17:46:19 drwxrwxr-x 3 jenkins jenkins 4096 May 10 17:41 static [Pipeline] isUnix [Pipeline] sh 17:46:20 + docker build -t app-rfid-llrp-inventory-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=deb1929795e6d4404c8a13d3554381d1d11d6831 --label arch=arm64 --label version=0.0.0 . 17:46:20 Sending build context to Docker daemon 687.1kB 17:46:20 Step 1/31 : ARG BASE=golang:1.17-alpine3.15 17:46:20 Step 2/31 : FROM ${BASE} AS builder 17:46:20 ---> 5b20b0d705a1 17:46:20 Step 3/31 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 17:46:20 ---> Running in 973bc1a74156 17:46:20 Removing intermediate container 973bc1a74156 17:46:20 ---> 8405e5aafc51 17:46:20 Step 4/31 : ARG ALPINE_PKG_EXTRA="" 17:46:20 ---> Running in 5f15a64c5d65 17:46:21 Removing intermediate container 5f15a64c5d65 17:46:21 ---> 01f0481c829f 17:46:21 Step 5/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:46:21 ---> Running in 47351b946a3d 17:46:21 Removing intermediate container 47351b946a3d 17:46:21 ---> cb34d010e4ee 17:46:21 Step 6/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:46:22 ---> Running in 489165e6e484 17:46:24 Removing intermediate container 489165e6e484 17:46:24 ---> 9b3dc0127a55 17:46:24 Step 7/31 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:46:24 ---> Running in 743e766a06aa 17:46:25 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 17:46:26 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 17:46:27 OK: 220 MiB in 52 packages 17:46:27 Removing intermediate container 743e766a06aa 17:46:27 ---> 85b730f4870b 17:46:27 Step 8/31 : WORKDIR /app 17:46:27 ---> Running in 0516e452f579 17:46:28 Removing intermediate container 0516e452f579 17:46:28 ---> 440d06116645 17:46:28 Step 9/31 : COPY go.mod vendor* ./ 17:46:28 ---> 9dae3aaad5bd 17:46:28 Step 10/31 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:46:28 ---> Running in e353597f1c08 17:46:30 Removing intermediate container e353597f1c08 17:46:30 ---> db75fb53ffb2 17:46:30 Step 11/31 : COPY . . 17:46:31 ---> 7e9d6d9501d3 17:46:31 Step 12/31 : ARG MAKE="make build" 17:46:31 ---> Running in a9f401d79bbe 17:46:32 Removing intermediate container a9f401d79bbe 17:46:32 ---> 4caef5800e72 17:46:32 Step 13/31 : RUN $MAKE 17:46:32 ---> Running in fa30414b1415 17:46:33 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.2.0 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0 -X edgexfoundry/app-rfid-llrp-inventory.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o app-rfid-llrp-inventory 17:48:55 Removing intermediate container fa30414b1415 17:48:55 ---> 6260ab00edb8 17:48:55 Step 14/31 : FROM alpine:3.14 17:48:55 3.14: Pulling from library/alpine 17:48:55 455c02918c45: Pulling fs layer 17:48:55 455c02918c45: Verifying Checksum 17:48:55 455c02918c45: Download complete 17:48:55 455c02918c45: Pull complete 17:48:55 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 17:48:55 Status: Downloaded newer image for alpine:3.14 17:48:55 ---> ac73e934f311 17:48:55 Step 15/31 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:48:55 ---> Running in 119116f2747c 17:48:55 Removing intermediate container 119116f2747c 17:48:55 ---> 7b9e1c9ca82e 17:48:55 Step 16/31 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} 17:48:55 ---> Running in 15a1d7ad0f29 17:48:55 Removing intermediate container 15a1d7ad0f29 17:48:55 ---> 6899710fa107 17:48:55 Step 17/31 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:48:55 ---> Running in 3f1aa82676bf 17:48:55 Removing intermediate container 3f1aa82676bf 17:48:55 ---> 98faa126a5df 17:48:55 Step 18/31 : RUN apk --no-cache add ca-certificates zeromq 17:48:55 ---> Running in b436062f7604 17:48:57 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 17:48:57 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 17:48:58 (1/6) Installing ca-certificates (20211220-r0) 17:48:58 (2/6) Installing libgcc (10.3.1_git20210424-r2) 17:48:58 (3/6) Installing libsodium (1.0.18-r0) 17:48:58 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 17:48:58 (5/6) Installing libzmq (4.3.4-r0) 17:48:59 (6/6) Installing zeromq (4.3.4-r0) 17:48:59 Executing busybox-1.33.1-r7.trigger 17:48:59 Executing ca-certificates-20211220-r0.trigger 17:48:59 OK: 9 MiB in 20 packages 17:49:00 Removing intermediate container b436062f7604 17:49:00 ---> 7f9ac32b6161 17:49:00 Step 19/31 : COPY --from=builder /app/Attribution.txt /Attribution.txt 17:49:01 ---> c54629d96ba8 17:49:01 Step 20/31 : COPY --from=builder /app/LICENSE /LICENSE 17:49:01 ---> 922d8aa779cd 17:49:01 Step 21/31 : COPY --from=builder /app/res/ /res/ 17:49:02 ---> c29356349ddb 17:49:02 Step 22/31 : COPY --from=builder /app/static/ /static/ 17:49:03 ---> 986f54078d48 17:49:03 Step 23/31 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory 17:49:04 ---> fed29eacfafe 17:49:04 Step 24/31 : RUN mkdir -p /cache && chown -R 2002:2002 /cache 17:49:04 ---> Running in e12930f54c55 17:49:06 Removing intermediate container e12930f54c55 17:49:06 ---> 359df821fd67 17:49:06 Step 25/31 : VOLUME /cache 17:49:06 ---> Running in 0b966206d653 17:49:06 Removing intermediate container 0b966206d653 17:49:06 ---> 830e99895ded 17:49:06 Step 26/31 : EXPOSE 59711 17:49:07 ---> Running in 5cd2e215c4a0 17:49:07 Removing intermediate container 5cd2e215c4a0 17:49:07 ---> 8d11d22b0750 17:49:07 Step 27/31 : ENTRYPOINT ["/app-rfid-llrp-inventory"] 17:49:07 ---> Running in 8784642f2bf7 17:49:07 Removing intermediate container 8784642f2bf7 17:49:07 ---> 52882df599f3 17:49:07 Step 28/31 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] 17:49:07 ---> Running in 5c65ba4f3682 17:49:08 Removing intermediate container 5c65ba4f3682 17:49:08 ---> 5e6a48c3420e 17:49:08 Step 29/31 : LABEL arch=arm64 17:49:08 ---> Running in 63b77e6c9087 17:49:08 Removing intermediate container 63b77e6c9087 17:49:08 ---> 1ee1a9e34688 17:49:08 Step 30/31 : LABEL git_sha=deb1929795e6d4404c8a13d3554381d1d11d6831 17:49:08 ---> Running in bed50b469f30 17:49:09 Removing intermediate container bed50b469f30 17:49:09 ---> 6becf031eda4 17:49:09 Step 31/31 : LABEL version=0.0.0 17:49:09 ---> Running in 15bbcec0a0d1 17:49:09 Removing intermediate container 15bbcec0a0d1 17:49:09 ---> 37e03b618bca 17:49:09 [Warning] One or more build-args [ARCH] were not consumed 17:49:09 Successfully built 37e03b618bca 17:49:09 Successfully tagged app-rfid-llrp-inventory-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 17:49:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:49:10 17:49:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 17:49:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:49:10 arm64: Pulling from edgex-lftools-log-publisher 17:49:10 8998bd30e6a1: Pulling fs layer 17:49:10 04944245beec: Pulling fs layer 17:49:10 699f458cf7ca: Pulling fs layer 17:49:10 765212b225bb: Pulling fs layer 17:49:10 f23df028b6ca: Pulling fs layer 17:49:10 d65c8cfc05b1: Pulling fs layer 17:49:10 2437ff75d9bd: Pulling fs layer 17:49:10 765212b225bb: Waiting 17:49:10 d65c8cfc05b1: Waiting 17:49:10 f23df028b6ca: Waiting 17:49:10 2437ff75d9bd: Waiting 17:49:10 04944245beec: Verifying Checksum 17:49:10 04944245beec: Download complete 17:49:10 765212b225bb: Verifying Checksum 17:49:10 765212b225bb: Download complete 17:49:10 f23df028b6ca: Download complete 17:49:10 d65c8cfc05b1: Verifying Checksum 17:49:10 d65c8cfc05b1: Download complete 17:49:11 699f458cf7ca: Verifying Checksum 17:49:11 699f458cf7ca: Download complete 17:49:11 8998bd30e6a1: Verifying Checksum 17:49:11 8998bd30e6a1: Download complete 17:49:14 2437ff75d9bd: Verifying Checksum 17:49:14 2437ff75d9bd: Download complete 17:49:15 8998bd30e6a1: Pull complete 17:49:16 04944245beec: Pull complete 17:49:17 699f458cf7ca: Pull complete 17:49:17 765212b225bb: Pull complete 17:49:18 f23df028b6ca: Pull complete 17:49:18 d65c8cfc05b1: Pull complete 17:49:33 2437ff75d9bd: Pull complete 17:49:33 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:49:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:49:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 17:49:34 prd-ubuntu20.04-docker-arm64-4c-16g-47813 does not seem to be running inside a container 17:49:34 $ 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/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:49:37 $ docker top 126647543a9994e44a46df39f670a452db7886e42344f8c5826e828196083b88 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:49:38 ---> job-cost.sh 17:49:38 lf-activate-venv: SKIPPING 17:49:38 INFO: No Stack... 17:49:38 INFO: Retrieving Pricing Info for: v3-standard-4 17:49:39 INFO: Archiving Costs [Pipeline] sh 17:49:40 + cat /w/workspace/app-rfid-llrp-inventory/1/archives/cost.csv 17:49:40 + cut -d, -f6 [Pipeline] lock 17:49:40 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-released-sdk-1-stack-cost] 17:49:40 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-released-sdk-1-stack-cost] did not exist. Created. 17:49:40 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-released-sdk-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:49:41 /w/workspace/app-rfid-llrp-inventory/1@tmp/durable-ec2e3c1e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:49:41 + echo total: 0.10999999940395355 [Pipeline] stash 17:49:41 Warning: overwriting stash ‘stack-cost’ 17:49:41 Stashed 1 file(s) [Pipeline] } 17:49:41 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-released-sdk-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:49:41 $ docker stop --time=1 126647543a9994e44a46df39f670a452db7886e42344f8c5826e828196083b88 17:49:43 $ docker rm -f 126647543a9994e44a46df39f670a452db7886e42344f8c5826e828196083b88 [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 17:49:44 provisioning config files... 17:49:44 copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/rfid-llrp-inventory_released-sdk@tmp/config3703123893444784381tmp [Pipeline] { [Pipeline] sh 17:49:44 + set +x 17:49:44 + + curl -s https://codecov.io/bash 17:49:44 bash -s -- 17:49:44 17:49:44 _____ _ 17:49:44 / ____| | | 17:49:44 | | ___ __| | ___ ___ _____ __ 17:49:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:49:44 | |___| (_) | (_| | __/ (_| (_) \ V / 17:49:44 \_____\___/ \__,_|\___|\___\___/ \_/ 17:49:44 Bash-1.0.6 17:49:44 17:49:44 17:49:44 ==> git version 2.25.1 found 17:49:44 ==> 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 17:49:44 Release-Date: 2020-01-08 17:49:44 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:49:44 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:49:44 ==> Jenkins CI detected. 17:49:44 current dir:  /w/workspace/rfid-llrp-inventory_released-sdk 17:49:44 project root: . 17:49:44 --> token set from env 17:49:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:49:44 ==> Running gcov in . (disable via -X gcov) 17:49:44 ==> Python coveragepy not found 17:49:44 ==> Searching for coverage reports in: 17:49:44 + . 17:49:44 -> Found 1 reports 17:49:44 ==> Detecting git/mercurial file structure 17:49:44 ==> Reading reports 17:49:44 + ./coverage.out bytes=41008 17:49:44 ==> Appending adjustments 17:49:44 https://docs.codecov.io/docs/fixing-reports 17:49:45 + Found adjustments 17:49:45 ==> Gzipping contents 17:49:45 12K /tmp/codecov.QbQwBr.gz 17:49:45 ==> Uploading reports 17:49:45 url: https://codecov.io 17:49:45 query: branch=released-sdk&commit=deb1929795e6d4404c8a13d3554381d1d11d6831&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2Freleased-sdk%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=&job=&cmd_args= 17:49:45 -> Pinging Codecov 17:49:45 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=released-sdk&commit=deb1929795e6d4404c8a13d3554381d1d11d6831&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2Freleased-sdk%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=&job=&cmd_args= 17:49:45 -> Uploading to 17:49:45 https://storage.googleapis.com/codecov/v4/raw/2022-05-10/581DD39554BDF9B6E22D074273EAD858/deb1929795e6d4404c8a13d3554381d1d11d6831/c670f276-6bdd-4f32-9e9d-43390d220600.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220510T174945Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3904d3bd40ea19ad6aea7517d38e9b3e97f443c5826085b6cdd3f3de4f4febf3 17:49:45 % Total % Received % Xferd Average Speed Time Time Time Current 17:49:45 Dload Upload Total Spent Left Speed 17:49:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11475 0 0 100 11475 0 56527 --:--:-- --:--:-- --:--:-- 56250 100 11475 0 0 100 11475 0 53372 --:--:-- --:--:-- --:--:-- 53125 17:49:45 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/deb1929795e6d4404c8a13d3554381d1d11d6831 [Pipeline] } 17:49:45 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 17:49:47 + [ -d /w/workspace/rfid-llrp-inventory_released-sdk/archives ] 17:49:47 + ls -al /w/workspace/rfid-llrp-inventory_released-sdk/archives 17:49:47 total 16 17:49:47 drwxr-xr-x 3 root root 4096 May 10 17:40 . 17:49:47 drwxrwxr-x 12 jenkins jenkins 4096 May 10 17:40 .. 17:49:47 drwxr-xr-x 2 root root 4096 May 10 17:40 cost 17:49:47 -rw-r--r-- 1 root root 100 May 10 17:40 cost.csv 17:49:47 + sudo chown -R jenkins:jenkins /w/workspace/rfid-llrp-inventory_released-sdk/archives 17:49:47 + ls -al /w/workspace/rfid-llrp-inventory_released-sdk/archives 17:49:47 total 16 17:49:47 drwxr-xr-x 3 jenkins jenkins 4096 May 10 17:40 . 17:49:47 drwxrwxr-x 12 jenkins jenkins 4096 May 10 17:40 .. 17:49:47 drwxr-xr-x 2 jenkins jenkins 4096 May 10 17:40 cost 17:49:47 -rw-r--r-- 1 jenkins jenkins 100 May 10 17:40 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:49:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:49:48 ---> package-listing.sh 17:49:48 ++ facter osfamily 17:49:48 ++ tr '[:upper:]' '[:lower:]' 17:49:48 + OS_FAMILY=debian 17:49:48 + workspace=/w/workspace/rfid-llrp-inventory_released-sdk 17:49:48 + START_PACKAGES=/tmp/packages_start.txt 17:49:48 + END_PACKAGES=/tmp/packages_end.txt 17:49:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:49:48 + PACKAGES=/tmp/packages_start.txt 17:49:48 + '[' /w/workspace/rfid-llrp-inventory_released-sdk ']' 17:49:48 + PACKAGES=/tmp/packages_end.txt 17:49:48 + case "${OS_FAMILY}" in 17:49:48 + dpkg -l 17:49:48 + grep '^ii' 17:49:48 + '[' -f /tmp/packages_start.txt ']' 17:49:48 + '[' -f /tmp/packages_end.txt ']' 17:49:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:49:48 + '[' /w/workspace/rfid-llrp-inventory_released-sdk ']' 17:49:48 + mkdir -p /w/workspace/rfid-llrp-inventory_released-sdk/archives/ 17:49:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/rfid-llrp-inventory_released-sdk/archives/ [Pipeline] echo 17:49:48 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/rfid-llrp-inventory_released-sdk/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:49:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:49:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:49:49 . [Pipeline] withDockerContainer 17:49:49 prd-ubuntu20.04-docker-8c-8g-47810 does not seem to be running inside a container 17:49:49 $ 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/rfid-llrp-inventory_released-sdk/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/rfid-llrp-inventory_released-sdk -v /w/workspace/rfid-llrp-inventory_released-sdk:/w/workspace/rfid-llrp-inventory_released-sdk:rw,z -v /w/workspace/rfid-llrp-inventory_released-sdk@tmp:/w/workspace/rfid-llrp-inventory_released-sdk@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:49:50 $ docker top 9847c708f47b35ef499dd8765f8a61d8ebfd813184054e7d5ddb7013dc95e9cc -eo pid,comm [Pipeline] { [Pipeline] sh 17:49:50 + touch /tmp/pre-build-complete [Pipeline] sh 17:49:50 + mkdir -p /var/log/sysstat [Pipeline] sh 17:49:51 + ls /var/log/sa-host 17:49:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:49:51 provisioning config files... 17:49:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/rfid-llrp-inventory_released-sdk@tmp/config4896769629783275531tmp [Pipeline] { [Pipeline] echo 17:49:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:49:51 ---> create-netrc.sh [Pipeline] } 17:49:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:49:52 ---> python-tools-install.sh [Pipeline] echo 17:49:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:49:52 ---> sudo-logs.sh 17:49:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:49:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:49:52 ---> job-cost.sh 17:49:52 lf-activate-venv: SKIPPING 17:49:52 DEBUG: total: 0.2199999988079071 17:49:52 INFO: Retrieving Stack Cost... 17:49:53 INFO: Retrieving Pricing Info for: v3-standard-8 17:49:54 INFO: Archiving Costs [Pipeline] echo 17:49:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:49:54 ---> logs-deploy.sh 17:49:54 lf-activate-venv: SKIPPING 17:49:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/released-sdk/1 17:49:54 INFO: archiving workspace using pattern(s): 17:49:55 Archives upload complete. 17:49:55 INFO: archiving logs to Nexus