Pull request #62 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1a6f563b3fb115197b8ab52bc5a5b7d0a622c945+a218d4f56953046ecdce72b8d912b6fb71d7f601 (d2860e1ca763d753dc55f24d998be73288f13a16) 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-ssh5193001777461019386.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-ssh11416423306075328429.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 efdbc04638cc485a1a2a98c60e49a0e43cac6f53 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-62/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-62/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3150848980474919998.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f efdbc04638cc485a1a2a98c60e49a0e43cac6f53 # timeout=10 Commit message: "Merge pull request #376 from ernestojeda/add-ireland-release-stream" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15475317571785304425.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-62/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-62/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh13136380086700863357.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-rfid-llrp-inventory, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.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: true 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 Running on prd-centos7-docker-4c-2g-5250 in /w/workspace/ry_app-rfid-llrp-inventory_PR-62 [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/ry_app-rfid-llrp-inventory_PR-62 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git > git --version # timeout=10 > git --version # 'git version 2.24.4' 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 /w/workspace/ry_app-rfid-llrp-inventory_PR-62@tmp/jenkins-gitclient-ssh8289381837052318919.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit a218d4f56953046ecdce72b8d912b6fb71d7f601 into PR head commit 1a6f563b3fb115197b8ab52bc5a5b7d0a622c945 Merge succeeded, producing 727382466a9b599ddda98586f124edd8e92dcf10 Checking out Revision 727382466a9b599ddda98586f124edd8e92dcf10 (PR-62) > 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 remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.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 /w/workspace/ry_app-rfid-llrp-inventory_PR-62@tmp/jenkins-gitclient-ssh7990655200368424036.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/62/head:refs/remotes/origin/PR-62 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1a6f563b3fb115197b8ab52bc5a5b7d0a622c945 # timeout=10 > git remote # timeout=10 > 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 /w/workspace/ry_app-rfid-llrp-inventory_PR-62@tmp/jenkins-gitclient-ssh8855718194813400092.key > git merge a218d4f56953046ecdce72b8d912b6fb71d7f601 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 727382466a9b599ddda98586f124edd8e92dcf10 # timeout=10 Commit message: "Merge commit 'a218d4f56953046ecdce72b8d912b6fb71d7f601' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 82d8f17dc7c43484c453b8e09bbc16301e919b1f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:10:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:10:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:10:43 ========================================================= 23:10:43 EdgeX Global Pipelines Version Info 23:10:43 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:10:44 ------------------- 23:10:44 stable info: 23:10:44 ------------------- 23:10:44 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:10:44 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 23:10:44 Message: update stable to v1.0.220 23:10:45 ------------------- 23:10:45 experimental info: 23:10:45 ------------------- 23:10:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:10:45 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 23:10:45 Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:10:45 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 23:10:45 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 23:10:45 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:10:45 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:10:45 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:10:45 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 23:10:45 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:10:45 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:10:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:10:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:10:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:10:45 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 23:10:45 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:10:45 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:10:45 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:10:45 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:10:45 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:10:45 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:10:45 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:10:45 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 23:10:45 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:10:45 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:10:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:10:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:10:45 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:10:45 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:10:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-62 [Pipeline] echo 23:10:45 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-62 [Pipeline] echo 23:10:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-62 [Pipeline] echo 23:10:45 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 727382466a9b599ddda98586f124edd8e92dcf10 [Pipeline] echo 23:10:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7273824 [Pipeline] echo 23:10:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:10:45 provisioning config files... 23:10:45 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-62@tmp/config6239570803008692682tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:10:45 ---> docker-login.sh 23:10:45 nexus3.edgexfoundry.org:10001 23:10:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:10:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:10:46 Configure a credential helper to remove this warning. See 23:10:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:10:46 23:10:46 Login Succeeded 23:10:46 nexus3.edgexfoundry.org:10002 23:10:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:10:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:10:46 Configure a credential helper to remove this warning. See 23:10:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:10:46 23:10:46 Login Succeeded 23:10:46 nexus3.edgexfoundry.org:10003 23:10:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:10:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:10:46 Configure a credential helper to remove this warning. See 23:10:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:10:46 23:10:46 Login Succeeded 23:10:46 nexus3.edgexfoundry.org:10004 23:10:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:10:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:10:46 Configure a credential helper to remove this warning. See 23:10:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:10:46 23:10:46 Login Succeeded 23:10:46 docker.io 23:10:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:10:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:10:47 Configure a credential helper to remove this warning. See 23:10:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:10:47 23:10:47 Login Succeeded 23:10:47 ---> docker-login.sh ends [Pipeline] } 23:10:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:10:47 + git rev-list -1 --merges 727382466a9b599ddda98586f124edd8e92dcf10~1..727382466a9b599ddda98586f124edd8e92dcf10 [Pipeline] echo 23:10:47 -----------> git rev-list -1 --merges 727382466a9b599ddda98586f124edd8e92dcf10~1..727382466a9b599ddda98586f124edd8e92dcf10 727382466a9b599ddda98586f124edd8e92dcf10 23:10:47 727382466a9b599ddda98586f124edd8e92dcf10 [false] [Pipeline] sh 23:10:47 + git log --format=format:%s -1 727382466a9b599ddda98586f124edd8e92dcf10 [Pipeline] echo 23:10:47 ========================================================= 23:10:47 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:10:47 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:10:48 + git log --format=format:%s -1 727382466a9b599ddda98586f124edd8e92dcf10 [Pipeline] echo 23:10:48 [semverPrep] GIT_COMMIT: 727382466a9b599ddda98586f124edd8e92dcf10, Commit Message: Merge commit 'a218d4f56953046ecdce72b8d912b6fb71d7f601' into HEAD [Pipeline] echo 23:10:48 [semverPrep] This is not a build commit. [Pipeline] sh 23:10:48 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 23:10:48 + grep -v github /etc/ssh/ssh_known_hosts 23:10:48 + '[' -e /tmp/ssh_known_hosts ']' 23:10:48 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:10:48 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 23:10:48 + sudo tee -a /etc/ssh/ssh_known_hosts 23:10:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 23:10:49 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:10:49 23:10:49 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:10:49 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:10:49 latest: Pulling from edgex-devops/git-semver 23:10:49 a0d0a0d46f8b: Pulling fs layer 23:10:49 3e5f54012d9b: Pulling fs layer 23:10:49 4c7163046ea9: Pulling fs layer 23:10:49 0c2d73faf560: Pulling fs layer 23:10:49 0c2d73faf560: Waiting 23:10:49 3e5f54012d9b: Verifying Checksum 23:10:49 3e5f54012d9b: Download complete 23:10:49 a0d0a0d46f8b: Verifying Checksum 23:10:49 a0d0a0d46f8b: Download complete 23:10:49 0c2d73faf560: Verifying Checksum 23:10:49 0c2d73faf560: Download complete 23:10:49 4c7163046ea9: Verifying Checksum 23:10:49 4c7163046ea9: Download complete 23:10:49 a0d0a0d46f8b: Pull complete 23:10:49 3e5f54012d9b: Pull complete 23:10:49 4c7163046ea9: Pull complete 23:10:50 0c2d73faf560: Pull complete 23:10:50 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 23:10:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:10:50 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:10:50 prd-centos7-docker-4c-2g-5250 does not seem to be running inside a container 23:10:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ry_app-rfid-llrp-inventory_PR-62 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-62:/w/workspace/ry_app-rfid-llrp-inventory_PR-62:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-62@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-62@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 23:10:50 $ docker top f19aa315c50134efcd19b8ca8fa2ea58a33c949821f1865a55b01c20e0873e1a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:10:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:10:51 [ssh-agent] Looking for ssh-agent implementation... 23:10:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:10:51 $ docker exec f19aa315c50134efcd19b8ca8fa2ea58a33c949821f1865a55b01c20e0873e1a ssh-agent 23:10:51 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNJPHnh/agent.14 23:10:51 SSH_AGENT_PID=21 23:10:51 Running ssh-add (command line suppressed) 23:10:51 Identity added: /w/workspace/ry_app-rfid-llrp-inventory_PR-62@tmp/private_key_8460368262881402235.key (/w/workspace/ry_app-rfid-llrp-inventory_PR-62@tmp/private_key_8460368262881402235.key) 23:10:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:10:51 + git tag --points-at HEAD [Pipeline] } 23:10:51 $ docker exec --env ******** --env ******** f19aa315c50134efcd19b8ca8fa2ea58a33c949821f1865a55b01c20e0873e1a ssh-agent -k 23:10:51 unset SSH_AUTH_SOCK; 23:10:51 unset SSH_AGENT_PID; 23:10:51 echo Agent pid 21 killed; 23:10:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:10:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:10:51 [ssh-agent] Looking for ssh-agent implementation... 23:10:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:10:51 $ docker exec f19aa315c50134efcd19b8ca8fa2ea58a33c949821f1865a55b01c20e0873e1a ssh-agent 23:10:52 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpJjhdO/agent.55 23:10:52 SSH_AGENT_PID=62 23:10:52 Running ssh-add (command line suppressed) 23:10:52 Identity added: /w/workspace/ry_app-rfid-llrp-inventory_PR-62@tmp/private_key_2649134652767975141.key (/w/workspace/ry_app-rfid-llrp-inventory_PR-62@tmp/private_key_2649134652767975141.key) 23:10:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:10:52 + git semver init 23:10:52 # -> Open(): unable to determine branch for HEAD 23:10:52 # $GIT_DIR = /w/workspace/ry_app-rfid-llrp-inventory_PR-62/.git 23:10:52 # $GIT_WORK_TREE = /w/workspace/ry_app-rfid-llrp-inventory_PR-62 23:10:52 # $SEMVER_REMOTE_NAME = origin 23:10:52 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:10:52 # $SEMVER_USER_NAME = edgex-jenkins 23:10:52 # $SEMVER_BRANCH = PR-62 23:10:52 # $SEMVER_TEMP = /tmp/semver-010880830 23:10:52 # git clone --branch semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git $SEMVER_TEMP 23:10:53 # '/tmp/semver-010880830' -> '/w/workspace/ry_app-rfid-llrp-inventory_PR-62/.semver' 23:10:53 # -> Force: false 23:10:53 # $SEMVER_DIR = /w/workspace/ry_app-rfid-llrp-inventory_PR-62/.semver [Pipeline] } 23:10:53 $ docker exec --env ******** --env ******** f19aa315c50134efcd19b8ca8fa2ea58a33c949821f1865a55b01c20e0873e1a ssh-agent -k 23:10:53 unset SSH_AUTH_SOCK; 23:10:53 unset SSH_AGENT_PID; 23:10:53 echo Agent pid 62 killed; 23:10:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:10:53 + git semver [Pipeline] } 23:10:53 $ docker stop --time=1 f19aa315c50134efcd19b8ca8fa2ea58a33c949821f1865a55b01c20e0873e1a 23:10:55 $ docker rm -f f19aa315c50134efcd19b8ca8fa2ea58a33c949821f1865a55b01c20e0873e1a [Pipeline] // withDockerContainer [Pipeline] sh 23:10:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:10:55 Stashed 1 file(s) [Pipeline] echo 23:10:55 [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 23:10:55 provisioning config files... 23:10:55 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-62@tmp/config5930481670316791025tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:10:56 ---> docker-login.sh 23:10:56 nexus3.edgexfoundry.org:10001 23:10:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:10:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:10:56 Configure a credential helper to remove this warning. See 23:10:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:10:56 23:10:56 Login Succeeded 23:10:56 nexus3.edgexfoundry.org:10002 23:10:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:10:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:10:56 Configure a credential helper to remove this warning. See 23:10:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:10:56 23:10:56 Login Succeeded 23:10:56 nexus3.edgexfoundry.org:10003 23:10:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:10:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:10:56 Configure a credential helper to remove this warning. See 23:10:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:10:56 23:10:56 Login Succeeded 23:10:56 nexus3.edgexfoundry.org:10004 23:10:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:10:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:10:56 Configure a credential helper to remove this warning. See 23:10:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:10:56 23:10:56 Login Succeeded 23:10:56 docker.io 23:10:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:10:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:10:56 Configure a credential helper to remove this warning. See 23:10:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:10:56 23:10:56 Login Succeeded 23:10:56 ---> docker-login.sh ends [Pipeline] } 23:10:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:10:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:10:57 ========================================================= 23:10:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 23:10:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:10:57 + 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 . 23:10:57 Sending build context to Docker daemon 10.01MB 23:10:57 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 23:10:57 Step 2/13 : FROM ${BASE} AS builder 23:10:57 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 23:10:57 59bf1c3509f3: Pulling fs layer 23:10:57 666ba61612fd: Pulling fs layer 23:10:57 8ed8ca486205: Pulling fs layer 23:10:57 4fe6c5a15a65: Pulling fs layer 23:10:57 22a0e8bec74d: Pulling fs layer 23:10:57 640e595b4fbd: Pulling fs layer 23:10:57 763cafe07f6e: Pulling fs layer 23:10:57 0c0b528cf693: Pulling fs layer 23:10:57 10935f4eaf8b: Pulling fs layer 23:10:57 4fe6c5a15a65: Waiting 23:10:57 22a0e8bec74d: Waiting 23:10:57 640e595b4fbd: Waiting 23:10:57 763cafe07f6e: Waiting 23:10:57 0c0b528cf693: Waiting 23:10:57 10935f4eaf8b: Waiting 23:10:57 8ed8ca486205: Verifying Checksum 23:10:57 8ed8ca486205: Download complete 23:10:57 666ba61612fd: Verifying Checksum 23:10:57 666ba61612fd: Download complete 23:10:57 22a0e8bec74d: Verifying Checksum 23:10:57 22a0e8bec74d: Download complete 23:10:57 640e595b4fbd: Verifying Checksum 23:10:57 640e595b4fbd: Download complete 23:10:57 59bf1c3509f3: Verifying Checksum 23:10:57 59bf1c3509f3: Download complete 23:10:57 763cafe07f6e: Verifying Checksum 23:10:57 763cafe07f6e: Download complete 23:10:57 0c0b528cf693: Verifying Checksum 23:10:57 0c0b528cf693: Download complete 23:10:57 59bf1c3509f3: Pull complete 23:10:58 4fe6c5a15a65: Verifying Checksum 23:10:58 4fe6c5a15a65: Download complete 23:10:58 666ba61612fd: Pull complete 23:10:58 10935f4eaf8b: Verifying Checksum 23:10:58 10935f4eaf8b: Download complete 23:10:58 8ed8ca486205: Pull complete 23:11:02 4fe6c5a15a65: Pull complete 23:11:02 22a0e8bec74d: Pull complete 23:11:02 640e595b4fbd: Pull complete 23:11:02 763cafe07f6e: Pull complete 23:11:02 0c0b528cf693: Pull complete 23:11:04 10935f4eaf8b: Pull complete 23:11:04 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 23:11:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 23:11:04 ---> 99d49a6021b9 23:11:04 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 23:11:06 ---> Running in 5196e88ab327 23:11:06 Removing intermediate container 5196e88ab327 23:11:06 ---> 021b86927f83 23:11:06 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 23:11:06 ---> Running in beb8667ba6ff 23:11:06 Removing intermediate container beb8667ba6ff 23:11:06 ---> 57c2817d75a6 23:11:06 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:11:06 ---> Running in 4d641e60ac76 23:11:06 Removing intermediate container 4d641e60ac76 23:11:06 ---> 98cb0d7737dc 23:11:06 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:11:06 ---> Running in a7de6afee823 23:11:07 Removing intermediate container a7de6afee823 23:11:07 ---> 0b308dda7b5c 23:11:07 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:11:07 ---> Running in 10b9e46b60b1 23:11:07 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 23:11:08 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 23:11:08 OK: 221 MiB in 52 packages 23:11:08 Removing intermediate container 10b9e46b60b1 23:11:08 ---> 18c99e485357 23:11:08 Step 8/13 : WORKDIR /app 23:11:08 ---> Running in 7e64a81d215e 23:11:09 Removing intermediate container 7e64a81d215e 23:11:09 ---> dd6a46369202 23:11:09 Step 9/13 : COPY go.mod vendor* ./ 23:11:09 ---> e505c544817f 23:11:09 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:11:09 ---> Running in f1d1ad9faa5e 23:11:10 Still waiting to schedule task 23:11:10 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 23:11:55 Removing intermediate container f1d1ad9faa5e 23:11:55 ---> e475b5f5c162 23:11:55 Step 11/13 : COPY . . 23:11:55 ---> 5c2798e4cf45 23:11:55 Step 12/13 : ARG MAKE="make build" 23:11:55 ---> Running in 49faa7f1df81 23:11:55 Removing intermediate container 49faa7f1df81 23:11:55 ---> 09c8deb4f695 23:11:55 Step 13/13 : RUN $MAKE 23:11:55 ---> Running in b5ac96f2ca99 23:11:55 noop 23:11:55 Removing intermediate container b5ac96f2ca99 23:11:55 ---> 55a99b7ec4f8 23:11:55 Successfully built 55a99b7ec4f8 23:11:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 23:11:56 + docker inspect -f . ci-base-image-x86_64 23:11:56 . [Pipeline] withDockerContainer 23:11:56 prd-centos7-docker-4c-2g-5250 does not seem to be running inside a container 23:11:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ry_app-rfid-llrp-inventory_PR-62 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-62:/w/workspace/ry_app-rfid-llrp-inventory_PR-62:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-62@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-62@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:11:56 $ docker top 45241738b68c9a9ff87b3714a340ec5b92c80f48980700e85e161f4f4d1f59fb -eo pid,comm [Pipeline] { [Pipeline] sh 23:11:57 + go version 23:11:57 go version go1.17.6 linux/amd64 [Pipeline] } 23:11:57 $ docker stop --time=1 45241738b68c9a9ff87b3714a340ec5b92c80f48980700e85e161f4f4d1f59fb 23:11:58 $ docker rm -f 45241738b68c9a9ff87b3714a340ec5b92c80f48980700e85e161f4f4d1f59fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:11:58 + docker inspect -f . ci-base-image-x86_64 23:11:58 . [Pipeline] withDockerContainer 23:11:58 prd-centos7-docker-4c-2g-5250 does not seem to be running inside a container 23:11:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/ry_app-rfid-llrp-inventory_PR-62 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-62:/w/workspace/ry_app-rfid-llrp-inventory_PR-62:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-62@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-62@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:11:59 $ docker top 94d72072ed5c956fa583c5826642e8e9142809d5a15a379c99c5402692aa1448 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:11:59 + make test 23:11:59 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:12:14 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 23:12:15 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.025s coverage: 86.2% of statements 23:12:15 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 23:12:18 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.534s coverage: 71.9% of statements 23:12:18 ? edgexfoundry/app-rfid-llrp-inventory/internal/llrp/mocks [no test files] 23:12:30 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:12:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:12:33 ./internal/inventory/app/controller.go 23:12:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:12:33 make: *** [Makefile:40: test] Error 1 [Pipeline] } 23:12:33 $ docker stop --time=1 94d72072ed5c956fa583c5826642e8e9142809d5a15a379c99c5402692aa1448 23:12:35 $ docker rm -f 94d72072ed5c956fa583c5826642e8e9142809d5a15a379c99c5402692aa1448 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:12:35 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5254 in /w/workspace/ry_app-rfid-llrp-inventory_PR-62 [Pipeline] { [Pipeline] ws 23:12:35 Running in /w/workspace/app-rfid-llrp-inventory/3 [Pipeline] { [Pipeline] checkout 23:12:36 The recommended git tool is: git 23:12:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:12:36 23:12:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:12:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:12:36 latest: Pulling from edgex-lftools-log-publisher 23:12:36 b4d181a07f80: Pulling fs layer 23:12:36 a1111a8f2ec3: Pulling fs layer 23:12:36 ed53099fbce6: Pulling fs layer 23:12:36 dc539afda2c1: Pulling fs layer 23:12:36 77bc0d833cb6: Pulling fs layer 23:12:36 9065ff56babe: Pulling fs layer 23:12:36 d287ab97295c: Pulling fs layer 23:12:36 dc539afda2c1: Waiting 23:12:36 77bc0d833cb6: Waiting 23:12:36 9065ff56babe: Waiting 23:12:36 d287ab97295c: Waiting 23:12:36 a1111a8f2ec3: Verifying Checksum 23:12:36 a1111a8f2ec3: Download complete 23:12:36 dc539afda2c1: Verifying Checksum 23:12:36 dc539afda2c1: Download complete 23:12:36 ed53099fbce6: Verifying Checksum 23:12:36 ed53099fbce6: Download complete 23:12:36 9065ff56babe: Verifying Checksum 23:12:36 9065ff56babe: Download complete 23:12:36 77bc0d833cb6: Verifying Checksum 23:12:36 77bc0d833cb6: Download complete 23:12:36 b4d181a07f80: Verifying Checksum 23:12:36 b4d181a07f80: Download complete 23:12:37 d287ab97295c: Verifying Checksum 23:12:37 d287ab97295c: Download complete 23:12:38 b4d181a07f80: Pull complete 23:12:38 a1111a8f2ec3: Pull complete 23:12:38 ed53099fbce6: Pull complete 23:12:38 dc539afda2c1: Pull complete 23:12:39 77bc0d833cb6: Pull complete 23:12:39 9065ff56babe: Pull complete 23:12:40 using credential edgex-jenkins-ssh 23:12:40 Cloning the remote Git repository 23:12:41 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 23:12:41 > git init /w/workspace/app-rfid-llrp-inventory/3 # timeout=10 23:12:41 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 23:12:41 > git --version # timeout=10 23:12:41 > git --version # 'git version 2.17.1' 23:12:41 using GIT_SSH to set credentials SSH Credentials for GitHub 23:12:41 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:12:42 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 23:12:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:12:43 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 23:12:43 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 23:12:43 using GIT_SSH to set credentials SSH Credentials for GitHub 23:12:43 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/62/head:refs/remotes/origin/PR-62 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:12:43 Merging remotes/origin/main commit a218d4f56953046ecdce72b8d912b6fb71d7f601 into PR head commit 1a6f563b3fb115197b8ab52bc5a5b7d0a622c945 23:12:44 Merge succeeded, producing 2f3187a69b9ca3d707dfd245d9732b9ab48dd2ab 23:12:44 Checking out Revision 2f3187a69b9ca3d707dfd245d9732b9ab48dd2ab (PR-62) 23:12:44 d287ab97295c: Pull complete 23:12:44 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 23:12:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:12:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:12:44 prd-centos7-docker-4c-2g-5250 does not seem to be running inside a container 23:12:44 $ 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/ry_app-rfid-llrp-inventory_PR-62 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-62:/w/workspace/ry_app-rfid-llrp-inventory_PR-62:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-62@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-62@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:12:43 > git config core.sparsecheckout # timeout=10 23:12:43 > git checkout -f 1a6f563b3fb115197b8ab52bc5a5b7d0a622c945 # timeout=10 23:12:43 > git remote # timeout=10 23:12:43 > git config --get remote.origin.url # timeout=10 23:12:43 using GIT_SSH to set credentials SSH Credentials for GitHub 23:12:43 > git merge a218d4f56953046ecdce72b8d912b6fb71d7f601 # timeout=10 23:12:44 > git rev-parse HEAD^{commit} # timeout=10 23:12:44 > git config core.sparsecheckout # timeout=10 23:12:44 > git checkout -f 2f3187a69b9ca3d707dfd245d9732b9ab48dd2ab # timeout=10 23:12:47 $ docker top 53798f89fb3c8cbeb448176d05bb41dab52dfb6cc70bf2e36e89b32b8c67e531 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:12:48 ---> job-cost.sh 23:12:48 lf-activate-venv: SKIPPING 23:12:48 INFO: No Stack... 23:12:48 Commit message: "Merge commit 'a218d4f56953046ecdce72b8d912b6fb71d7f601' into HEAD" 23:12:48 First time build. Skipping changelog. 23:12:48 23:12:48 GitHub has been notified of this commit’s build result 23:12:48 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 23:12:48 INFO: Retrieving Pricing Info for: v3-standard-2 [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:12:49 INFO: Archiving Costs [Pipeline] sh 23:12:48 > git rev-list --no-walk 82d8f17dc7c43484c453b8e09bbc16301e919b1f # timeout=10 23:12:49 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:12:49 % Total % Received % Xferd Average Speed Time Time Time Current 23:12:49 Dload Upload Total Spent Left Speed 23:12:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 89045 0 --:--:-- --:--:-- --:--:-- 89045 23:12:49 + cat /w/workspace/ry_app-rfid-llrp-inventory_PR-62/archives/cost.csv 23:12:49 + cut -d, -f6 [Pipeline] lock 23:12:49 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-62-3-stack-cost] 23:12:49 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-62-3-stack-cost] did not exist. Created. 23:12:49 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-62-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [Pipeline] sh 23:12:49 + echo total: 0.05999999865889549 [Pipeline] stash 23:12:49 Stashed 1 file(s) [Pipeline] } 23:12:49 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-62-3-stack-cost] [Pipeline] // lock [Pipeline] } 23:12:49 $ docker stop --time=1 53798f89fb3c8cbeb448176d05bb41dab52dfb6cc70bf2e36e89b32b8c67e531 23:12:49 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json 23:12:50 $ docker rm -f 53798f89fb3c8cbeb448176d05bb41dab52dfb6cc70bf2e36e89b32b8c67e531 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:12:50 Failed in branch amd64 23:12:51 + sudo tee /etc/docker/daemon.new 23:12:51 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:12:51 { 23:12:51 "registry-mirrors": [ 23:12:51 "https://nexus3.edgexfoundry.org:10001" 23:12:51 ], 23:12:51 "bip": "10.250.0.254/24", 23:12:51 "hosts": [ 23:12:51 "tcp://0.0.0.0:5555", 23:12:51 "unix:///var/run/docker.sock" 23:12:51 ], 23:12:51 "mtu": 1458, 23:12:51 "selinux-enabled": true, 23:12:51 "seccomp-profile": "/etc/docker/seccomp.json" 23:12:51 } [Pipeline] sh 23:12:51 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:12:51 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:13:10 provisioning config files... 23:13:10 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/3@tmp/config8511330716456466764tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:13:10 ---> docker-login.sh 23:13:10 nexus3.edgexfoundry.org:10001 23:13:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:13:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:13:11 Configure a credential helper to remove this warning. See 23:13:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:13:11 23:13:11 Login Succeeded 23:13:11 nexus3.edgexfoundry.org:10002 23:13:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:13:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:13:11 Configure a credential helper to remove this warning. See 23:13:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:13:11 23:13:11 Login Succeeded 23:13:11 nexus3.edgexfoundry.org:10003 23:13:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:13:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:13:12 Configure a credential helper to remove this warning. See 23:13:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:13:12 23:13:12 Login Succeeded 23:13:12 nexus3.edgexfoundry.org:10004 23:13:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:13:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:13:12 Configure a credential helper to remove this warning. See 23:13:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:13:12 23:13:12 Login Succeeded 23:13:12 docker.io 23:13:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:13:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:13:13 Configure a credential helper to remove this warning. See 23:13:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:13:13 23:13:13 Login Succeeded 23:13:13 ---> docker-login.sh ends [Pipeline] } 23:13:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:13:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:13:14 ========================================================= 23:13:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 23:13:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:13:14 + 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 . 23:13:14 Sending build context to Docker daemon 682kB 23:13:14 Step 1/13 : ARG BASE=golang:1.17-alpine3.15 23:13:14 Step 2/13 : FROM ${BASE} AS builder 23:13:14 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:13:14 9b3977197b4f: Pulling fs layer 23:13:14 1a89e8eeedd5: Pulling fs layer 23:13:14 94645a83ff95: Pulling fs layer 23:13:14 3f3a8bcf1eab: Pulling fs layer 23:13:14 3f3a8bcf1eab: Waiting 23:13:14 0c92f367c5e7: Pulling fs layer 23:13:14 f7c0051592d6: Pulling fs layer 23:13:14 a227ed2f7395: Pulling fs layer 23:13:14 7b1c46037f91: Pulling fs layer 23:13:14 0c92f367c5e7: Waiting 23:13:14 f7c0051592d6: Waiting 23:13:14 a227ed2f7395: Waiting 23:13:14 7b1c46037f91: Waiting 23:13:14 94645a83ff95: Verifying Checksum 23:13:14 94645a83ff95: Download complete 23:13:14 1a89e8eeedd5: Verifying Checksum 23:13:14 1a89e8eeedd5: Download complete 23:13:14 0c92f367c5e7: Verifying Checksum 23:13:14 0c92f367c5e7: Download complete 23:13:14 f7c0051592d6: Verifying Checksum 23:13:14 f7c0051592d6: Download complete 23:13:14 9b3977197b4f: Download complete 23:13:14 a227ed2f7395: Verifying Checksum 23:13:14 a227ed2f7395: Download complete 23:13:15 9b3977197b4f: Pull complete 23:13:16 1a89e8eeedd5: Pull complete 23:13:16 94645a83ff95: Pull complete 23:13:16 7b1c46037f91: Verifying Checksum 23:13:16 7b1c46037f91: Download complete 23:13:17 3f3a8bcf1eab: Verifying Checksum 23:13:17 3f3a8bcf1eab: Download complete 23:13:29 3f3a8bcf1eab: Pull complete 23:13:29 0c92f367c5e7: Pull complete 23:13:29 f7c0051592d6: Pull complete 23:13:29 a227ed2f7395: Pull complete 23:13:35 7b1c46037f91: Pull complete 23:13:35 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 23:13:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 23:13:35 ---> f79e39bc4007 23:13:35 Step 3/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 23:13:36 ---> Running in 5f4cae44b7aa 23:13:36 Removing intermediate container 5f4cae44b7aa 23:13:36 ---> a460c89b0bb5 23:13:36 Step 4/13 : ARG ALPINE_PKG_EXTRA="" 23:13:36 ---> Running in 83ef6ef1641d 23:13:37 Removing intermediate container 83ef6ef1641d 23:13:37 ---> 3e355e9c3ea3 23:13:37 Step 5/13 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:13:37 ---> Running in 2e44f9f09c41 23:13:37 Removing intermediate container 2e44f9f09c41 23:13:37 ---> ea232df21cf8 23:13:37 Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:13:37 ---> Running in e55b39731e2a 23:13:39 Removing intermediate container e55b39731e2a 23:13:39 ---> 8c1684361aca 23:13:39 Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:13:39 ---> Running in 6cf0ad4b8e3c 23:13:40 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 23:13:41 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 23:13:42 OK: 220 MiB in 52 packages 23:13:43 Removing intermediate container 6cf0ad4b8e3c 23:13:43 ---> 931c2d14752b 23:13:43 Step 8/13 : WORKDIR /app 23:13:43 ---> Running in 10e2e0fc0dbe 23:13:43 Removing intermediate container 10e2e0fc0dbe 23:13:43 ---> 7596652f845e 23:13:43 Step 9/13 : COPY go.mod vendor* ./ 23:13:44 ---> 7bb18e09c03e 23:13:44 Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:13:44 ---> Running in 1b4f9956bbe6 23:14:52 Removing intermediate container 1b4f9956bbe6 23:14:52 ---> b340c7923439 23:14:52 Step 11/13 : COPY . . 23:14:52 ---> ed1bbe506f40 23:14:52 Step 12/13 : ARG MAKE="make build" 23:14:52 ---> Running in 969313e9f892 23:14:53 Removing intermediate container 969313e9f892 23:14:53 ---> 60cf07fe4756 23:14:53 Step 13/13 : RUN $MAKE 23:14:53 ---> Running in f3afdc95efe3 23:14:54 noop 23:14:55 Removing intermediate container f3afdc95efe3 23:14:55 ---> 4e1f3282f901 23:14:55 Successfully built 4e1f3282f901 23:14:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:14:55 + docker inspect -f . ci-base-image-arm64 23:14:55 . [Pipeline] withDockerContainer 23:14:55 prd-ubuntu18.04-docker-arm64-4c-16g-5254 does not seem to be running inside a container 23:14:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/3 -v /w/workspace/app-rfid-llrp-inventory/3:/w/workspace/app-rfid-llrp-inventory/3:rw,z -v /w/workspace/app-rfid-llrp-inventory/3@tmp:/w/workspace/app-rfid-llrp-inventory/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:14:56 $ docker top ff49905baeeb79d60456ecd104f6fd7a2d28058facde221ec7e987f7d8e95b82 -eo pid,comm [Pipeline] { [Pipeline] sh 23:14:57 + go version 23:14:57 go version go1.17.6 linux/arm64 [Pipeline] } 23:14:57 $ docker stop --time=1 ff49905baeeb79d60456ecd104f6fd7a2d28058facde221ec7e987f7d8e95b82 23:14:59 $ docker rm -f ff49905baeeb79d60456ecd104f6fd7a2d28058facde221ec7e987f7d8e95b82 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:15:00 + docker inspect -f . ci-base-image-arm64 23:15:00 . [Pipeline] withDockerContainer 23:15:00 prd-ubuntu18.04-docker-arm64-4c-16g-5254 does not seem to be running inside a container 23:15:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/3 -v /w/workspace/app-rfid-llrp-inventory/3:/w/workspace/app-rfid-llrp-inventory/3:rw,z -v /w/workspace/app-rfid-llrp-inventory/3@tmp:/w/workspace/app-rfid-llrp-inventory/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:15:01 $ docker top 4957f9aeaf13947f0f332a75a189efb0308f948e1edf6c9085771c0aecc8955a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:15:02 + make test 23:15:02 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:15:49 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 23:15:52 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.191s coverage: 86.2% of statements 23:15:52 ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] 23:15:56 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.670s coverage: 71.9% of statements 23:15:56 ? edgexfoundry/app-rfid-llrp-inventory/internal/llrp/mocks [no test files] 23:15:56 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:15:56 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:16:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:16:14 ./internal/inventory/app/controller.go 23:16:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:16:14 make: *** [Makefile:40: test] Error 1 [Pipeline] } 23:16:14 $ docker stop --time=1 4957f9aeaf13947f0f332a75a189efb0308f948e1edf6c9085771c0aecc8955a 23:16:16 $ docker rm -f 4957f9aeaf13947f0f332a75a189efb0308f948e1edf6c9085771c0aecc8955a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:16:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:16:17 23:16:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 23:16:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:16:18 arm64: Pulling from edgex-lftools-log-publisher 23:16:18 448f6bf000e3: Pulling fs layer 23:16:18 f757da607395: Pulling fs layer 23:16:18 05883995daec: Pulling fs layer 23:16:18 8603b9c90790: Pulling fs layer 23:16:18 1560dd03e051: Pulling fs layer 23:16:18 27f5ce0e4adf: Pulling fs layer 23:16:18 c2d8d7efcc4b: Pulling fs layer 23:16:18 1560dd03e051: Waiting 23:16:18 27f5ce0e4adf: Waiting 23:16:18 c2d8d7efcc4b: Waiting 23:16:18 8603b9c90790: Waiting 23:16:18 f757da607395: Verifying Checksum 23:16:18 f757da607395: Download complete 23:16:18 8603b9c90790: Verifying Checksum 23:16:18 8603b9c90790: Download complete 23:16:18 1560dd03e051: Verifying Checksum 23:16:18 1560dd03e051: Download complete 23:16:18 27f5ce0e4adf: Verifying Checksum 23:16:18 27f5ce0e4adf: Download complete 23:16:18 05883995daec: Verifying Checksum 23:16:18 05883995daec: Download complete 23:16:18 448f6bf000e3: Verifying Checksum 23:16:18 448f6bf000e3: Download complete 23:16:21 c2d8d7efcc4b: Verifying Checksum 23:16:21 c2d8d7efcc4b: Download complete 23:16:22 448f6bf000e3: Pull complete 23:16:22 f757da607395: Pull complete 23:16:24 05883995daec: Pull complete 23:16:24 8603b9c90790: Pull complete 23:16:25 1560dd03e051: Pull complete 23:16:25 27f5ce0e4adf: Pull complete 23:16:40 c2d8d7efcc4b: Pull complete 23:16:40 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 23:16:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:16:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 23:16:40 prd-ubuntu18.04-docker-arm64-4c-16g-5254 does not seem to be running inside a container 23:16:40 $ 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/3 -v /w/workspace/app-rfid-llrp-inventory/3:/w/workspace/app-rfid-llrp-inventory/3:rw,z -v /w/workspace/app-rfid-llrp-inventory/3@tmp:/w/workspace/app-rfid-llrp-inventory/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:16:43 $ docker top 242a4659fbc36578d1305ce7601235d213327ae9275f92e7b1b0b11cf36e2969 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:16:44 ---> job-cost.sh 23:16:44 lf-activate-venv: SKIPPING 23:16:44 INFO: No Stack... 23:16:44 INFO: Retrieving Pricing Info for: v3-standard-4 23:16:45 INFO: Archiving Costs [Pipeline] sh 23:16:46 + + cut -d, -f6cat 23:16:46 /w/workspace/app-rfid-llrp-inventory/3/archives/cost.csv [Pipeline] lock 23:16:46 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-62-3-stack-cost] 23:16:46 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-62-3-stack-cost] did not exist. Created. 23:16:46 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-62-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:16:46 /w/workspace/app-rfid-llrp-inventory/3@tmp/durable-1727249e/script.sh: 1: /w/workspace/app-rfid-llrp-inventory/3@tmp/durable-1727249e/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 23:16:47 + echo total: 0.10999999940395355 [Pipeline] stash 23:16:47 Warning: overwriting stash ‘stack-cost’ 23:16:47 Stashed 1 file(s) [Pipeline] } 23:16:47 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-62-3-stack-cost] [Pipeline] // lock [Pipeline] } 23:16:47 $ docker stop --time=1 242a4659fbc36578d1305ce7601235d213327ae9275f92e7b1b0b11cf36e2969 23:16:49 $ docker rm -f 242a4659fbc36578d1305ce7601235d213327ae9275f92e7b1b0b11cf36e2969 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:16:49 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 23:16:50 + '[' -d /w/workspace/ry_app-rfid-llrp-inventory_PR-62/archives ']' 23:16:50 + ls -al /w/workspace/ry_app-rfid-llrp-inventory_PR-62/archives 23:16:50 total 8 23:16:50 drwxr-xr-x. 3 root root 34 Feb 14 23:12 . 23:16:50 drwxrwxr-x. 12 jenkins jenkins 4096 Feb 14 23:12 .. 23:16:50 drwxr-xr-x. 2 root root 6 Feb 14 23:12 cost 23:16:50 -rw-r--r--. 1 root root 94 Feb 14 23:12 cost.csv 23:16:50 + sudo chown -R jenkins:jenkins /w/workspace/ry_app-rfid-llrp-inventory_PR-62/archives 23:16:50 + ls -al /w/workspace/ry_app-rfid-llrp-inventory_PR-62/archives 23:16:50 total 8 23:16:50 drwxr-xr-x. 3 jenkins jenkins 34 Feb 14 23:12 . 23:16:50 drwxrwxr-x. 12 jenkins jenkins 4096 Feb 14 23:12 .. 23:16:50 drwxr-xr-x. 2 jenkins jenkins 6 Feb 14 23:12 cost 23:16:50 -rw-r--r--. 1 jenkins jenkins 94 Feb 14 23:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:16:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:16:51 ---> package-listing.sh 23:16:51 ++ facter osfamily 23:16:51 ++ tr '[:upper:]' '[:lower:]' 23:16:51 + OS_FAMILY=redhat 23:16:51 + workspace=/w/workspace/ry_app-rfid-llrp-inventory_PR-62 23:16:51 + START_PACKAGES=/tmp/packages_start.txt 23:16:51 + END_PACKAGES=/tmp/packages_end.txt 23:16:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:16:51 + PACKAGES=/tmp/packages_start.txt 23:16:51 + '[' /w/workspace/ry_app-rfid-llrp-inventory_PR-62 ']' 23:16:51 + PACKAGES=/tmp/packages_end.txt 23:16:51 + case "${OS_FAMILY}" in 23:16:51 + sort 23:16:51 + rpm -qa 23:16:52 + '[' -f /tmp/packages_start.txt ']' 23:16:52 + '[' -f /tmp/packages_end.txt ']' 23:16:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:16:52 + '[' /w/workspace/ry_app-rfid-llrp-inventory_PR-62 ']' 23:16:52 + mkdir -p /w/workspace/ry_app-rfid-llrp-inventory_PR-62/archives/ 23:16:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ry_app-rfid-llrp-inventory_PR-62/archives/ [Pipeline] echo 23:16:52 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ry_app-rfid-llrp-inventory_PR-62/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:16:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:16:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:16:53 . [Pipeline] withDockerContainer 23:16:53 prd-centos7-docker-4c-2g-5250 does not seem to be running inside a container 23:16:53 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/ry_app-rfid-llrp-inventory_PR-62/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/ry_app-rfid-llrp-inventory_PR-62 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-62:/w/workspace/ry_app-rfid-llrp-inventory_PR-62:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-62@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-62@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:16:53 $ docker top 006c7bba9c9a3c39041d156ab99ef5f13e026ffe3377ca84e9ed00b92eff52e0 -eo pid,comm [Pipeline] { [Pipeline] sh 23:16:54 + touch /tmp/pre-build-complete [Pipeline] sh 23:16:54 + mkdir -p /var/log/sysstat [Pipeline] sh 23:16:54 + ls /var/log/sa-host 23:16:54 + sadf -c /var/log/sa-host/sa14 23:16:54 file_magic: OK 23:16:54 HZ: Using current value: 100 23:16:54 file_header: OK 23:16:54 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 23:16:54 Statistics: 23:16:54 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 23:16:54 File successfully converted to sysstat format version 12.0.3 23:16:54 + sadf -c /var/log/sa-host/sa17 23:16:54 file_magic: OK 23:16:54 HZ: Using current value: 100 23:16:54 file_header: OK 23:16:54 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 23:16:54 Statistics: 23:16:54 Hnuu...uuuununununu...Hnuu...uuuununununu... 23:16:54 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:16:54 provisioning config files... 23:16:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-62@tmp/config1739575951644103527tmp [Pipeline] { [Pipeline] echo 23:16:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:16:55 ---> create-netrc.sh [Pipeline] } 23:16:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:16:55 ---> python-tools-install.sh [Pipeline] echo 23:16:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:16:55 ---> sudo-logs.sh 23:16:55 Archiving 'sudo' log.. 23:16:55 sudo: unable to resolve host prd-centos7-docker-4c-2g-5250.novalocal: Name or service not known 23:16:55 sudo: unable to resolve host prd-centos7-docker-4c-2g-5250.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 23:16:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:16:56 ---> job-cost.sh 23:16:56 lf-activate-venv: SKIPPING 23:16:56 DEBUG: total: 0.05999999865889549 23:16:56 INFO: Retrieving Stack Cost... 23:16:56 INFO: Retrieving Pricing Info for: v3-standard-2 23:16:57 INFO: Archiving Costs [Pipeline] echo 23:16:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:16:57 ---> logs-deploy.sh 23:16:57 lf-activate-venv: SKIPPING 23:16:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-62/3 23:16:57 INFO: archiving workspace using pattern(s): 23:16:57 Archives upload complete. 23:16:58 INFO: archiving logs to Nexus