Pull request #54 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of marcpfuller for edgexfoundry/app-rfid-llrp-inventory Loading trusted files from base branch main at 2f4ea3c6137ff523b703c1b23c70899e2e4dc4cd rather than 228182bff9cc35ae89d04a1eb1114e61af6120e6 Obtained Jenkinsfile from 2f4ea3c6137ff523b703c1b23c70899e2e4dc4cd Running in Durability level: PERFORMANCE_OPTIMIZED 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-ssh2864538748557070786.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 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-ssh1248636312314941365.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 d6bf42d899a6140169a1fadeb6f44df9cdc48750 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-54/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-54/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7891837944045955691.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d6bf42d899a6140169a1fadeb6f44df9cdc48750 # timeout=10 Commit message: "Merge pull request #360 from ernestojeda/fix-alpine-3-14-seccomp-issue" > 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-ssh1334921935139946533.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-54/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-54/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1569598279681155251.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.16 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 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 Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-2351 in /w/workspace/ry_app-rfid-llrp-inventory_PR-54 [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-54 # 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-54@tmp/jenkins-gitclient-ssh5138659694517283875.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 2f4ea3c6137ff523b703c1b23c70899e2e4dc4cd into PR head commit 228182bff9cc35ae89d04a1eb1114e61af6120e6 > 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-54@tmp/jenkins-gitclient-ssh5624884094804605973.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/54/head:refs/remotes/origin/PR-54 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 Merge succeeded, producing 228182bff9cc35ae89d04a1eb1114e61af6120e6 Checking out Revision 228182bff9cc35ae89d04a1eb1114e61af6120e6 (PR-54) > git checkout -f 228182bff9cc35ae89d04a1eb1114e61af6120e6 # 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-54@tmp/jenkins-gitclient-ssh5007258899898896543.key > git merge 2f4ea3c6137ff523b703c1b23c70899e2e4dc4cd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 228182bff9cc35ae89d04a1eb1114e61af6120e6 # timeout=10 Commit message: "feat: migrate service to V2" First time build. Skipping changelog. > git rev-list --no-walk 07d788ae87b5661a24a0cd7cda6fd0cef0c3b77d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:38:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:38:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:38:30 ========================================================= 23:38:30 EdgeX Global Pipelines Version Info 23:38:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:38:31 ------------------- 23:38:31 stable info: 23:38:31 ------------------- 23:38:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:38:31 Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 23:38:31 Message: update stable to v1.0.210 23:38:31 ------------------- 23:38:31 experimental info: 23:38:31 ------------------- 23:38:31 Commited By: **** collab-it+edgex@linuxfoundation.org 23:38:31 Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 23:38:31 Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:38:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo 23:38:31 [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo 23:38:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:38:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:38:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:38:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 23:38:31 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 23:38:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:38:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:38:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:38:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:38:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo 23:38:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:38:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:38:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:38:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:38:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:38:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:38:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:38:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 23:38:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:38:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:38:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:38:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:38:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:38:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:38:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-54 [Pipeline] echo 23:38:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-54 [Pipeline] echo 23:38:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-54 [Pipeline] echo 23:38:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 228182bff9cc35ae89d04a1eb1114e61af6120e6 [Pipeline] echo 23:38:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 228182b [Pipeline] echo 23:38:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:38:33 provisioning config files... 23:38:33 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-54@tmp/config9198012171002057035tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:38:33 ---> docker-login.sh 23:38:33 nexus3.edgexfoundry.org:10001 23:38:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:38:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:38:33 Configure a credential helper to remove this warning. See 23:38:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:38:33 23:38:33 Login Succeeded 23:38:33 nexus3.edgexfoundry.org:10002 23:38:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:38:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:38:33 Configure a credential helper to remove this warning. See 23:38:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:38:33 23:38:33 Login Succeeded 23:38:33 nexus3.edgexfoundry.org:10003 23:38:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:38:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:38:34 Configure a credential helper to remove this warning. See 23:38:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:38:34 23:38:34 Login Succeeded 23:38:34 nexus3.edgexfoundry.org:10004 23:38:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:38:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:38:34 Configure a credential helper to remove this warning. See 23:38:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:38:34 23:38:34 Login Succeeded 23:38:34 docker.io 23:38:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:38:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:38:34 Configure a credential helper to remove this warning. See 23:38:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:38:34 23:38:34 Login Succeeded 23:38:34 ---> docker-login.sh ends [Pipeline] } 23:38:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:38:35 + git log --format=format:%s -1 228182bff9cc35ae89d04a1eb1114e61af6120e6 [Pipeline] echo 23:38:35 GIT_COMMIT: 228182bff9cc35ae89d04a1eb1114e61af6120e6, Commit Message: feat: migrate service to V2 [Pipeline] echo 23:38:35 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 23:38:37 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:38:37 23:38:37 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:38:38 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:38:38 latest: Pulling from edgex-devops/git-semver 23:38:38 a0d0a0d46f8b: Pulling fs layer 23:38:38 3e5f54012d9b: Pulling fs layer 23:38:38 4c7163046ea9: Pulling fs layer 23:38:38 0c2d73faf560: Pulling fs layer 23:38:38 0c2d73faf560: Waiting 23:38:38 3e5f54012d9b: Verifying Checksum 23:38:38 3e5f54012d9b: Download complete 23:38:38 a0d0a0d46f8b: Verifying Checksum 23:38:38 a0d0a0d46f8b: Download complete 23:38:38 4c7163046ea9: Verifying Checksum 23:38:38 4c7163046ea9: Download complete 23:38:38 0c2d73faf560: Verifying Checksum 23:38:38 0c2d73faf560: Download complete 23:38:38 a0d0a0d46f8b: Pull complete 23:38:38 3e5f54012d9b: Pull complete 23:38:38 4c7163046ea9: Pull complete 23:38:38 0c2d73faf560: Pull complete 23:38:38 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 23:38:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:38:38 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:38:38 prd-centos7-docker-4c-2g-2351 does not seem to be running inside a container 23:38:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/ry_app-rfid-llrp-inventory_PR-54 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-54:/w/workspace/ry_app-rfid-llrp-inventory_PR-54:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-54@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-54@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:38:39 $ docker top 19bb7c3e470e57eca8e264596e5a60ef6607cb5323e38bb10a5960b41a751ea7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:38:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:38:39 [ssh-agent] Looking for ssh-agent implementation... 23:38:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:38:39 $ docker exec 19bb7c3e470e57eca8e264596e5a60ef6607cb5323e38bb10a5960b41a751ea7 ssh-agent 23:38:39 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXeOccHf/agent.14 23:38:39 SSH_AGENT_PID=20 23:38:39 Running ssh-add (command line suppressed) 23:38:39 Identity added: /w/workspace/ry_app-rfid-llrp-inventory_PR-54@tmp/private_key_167175234144528233.key (/w/workspace/ry_app-rfid-llrp-inventory_PR-54@tmp/private_key_167175234144528233.key) 23:38:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:38:40 + git tag --points-at HEAD [Pipeline] } 23:38:40 $ docker exec --env ******** --env ******** 19bb7c3e470e57eca8e264596e5a60ef6607cb5323e38bb10a5960b41a751ea7 ssh-agent -k 23:38:40 unset SSH_AUTH_SOCK; 23:38:40 unset SSH_AGENT_PID; 23:38:40 echo Agent pid 20 killed; 23:38:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:38:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:38:40 [ssh-agent] Looking for ssh-agent implementation... 23:38:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:38:40 $ docker exec 19bb7c3e470e57eca8e264596e5a60ef6607cb5323e38bb10a5960b41a751ea7 ssh-agent 23:38:40 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPbaPDd/agent.55 23:38:40 SSH_AGENT_PID=62 23:38:40 Running ssh-add (command line suppressed) 23:38:40 Identity added: /w/workspace/ry_app-rfid-llrp-inventory_PR-54@tmp/private_key_308643881870472419.key (/w/workspace/ry_app-rfid-llrp-inventory_PR-54@tmp/private_key_308643881870472419.key) 23:38:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:38:41 + git semver init 23:38:41 # -> Open(): unable to determine branch for HEAD 23:38:41 # $GIT_DIR = /w/workspace/ry_app-rfid-llrp-inventory_PR-54/.git 23:38:41 # $GIT_WORK_TREE = /w/workspace/ry_app-rfid-llrp-inventory_PR-54 23:38:41 # $SEMVER_REMOTE_NAME = origin 23:38:41 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:38:41 # $SEMVER_USER_NAME = edgex-jenkins 23:38:41 # $SEMVER_BRANCH = PR-54 23:38:41 # $SEMVER_TEMP = /tmp/semver-041272678 23:38:41 # git clone --branch semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git $SEMVER_TEMP 23:38:41 # '/tmp/semver-041272678' -> '/w/workspace/ry_app-rfid-llrp-inventory_PR-54/.semver' 23:38:41 # -> Force: false 23:38:41 # $SEMVER_DIR = /w/workspace/ry_app-rfid-llrp-inventory_PR-54/.semver [Pipeline] } 23:38:41 $ docker exec --env ******** --env ******** 19bb7c3e470e57eca8e264596e5a60ef6607cb5323e38bb10a5960b41a751ea7 ssh-agent -k 23:38:42 unset SSH_AUTH_SOCK; 23:38:42 unset SSH_AGENT_PID; 23:38:42 echo Agent pid 62 killed; 23:38:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:38:42 + git semver [Pipeline] } 23:38:42 $ docker stop --time=1 19bb7c3e470e57eca8e264596e5a60ef6607cb5323e38bb10a5960b41a751ea7 23:38:43 $ docker rm -f 19bb7c3e470e57eca8e264596e5a60ef6607cb5323e38bb10a5960b41a751ea7 [Pipeline] // withDockerContainer [Pipeline] sh 23:38:44 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:38:44 Stashed 1 file(s) [Pipeline] echo 23:38:44 [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] node [Pipeline] node 23:39:00 Still waiting to schedule task 23:39:00 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-2351’ 23:39:00 Still waiting to schedule task 23:39:00 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 23:40:35 Running on prd-ubuntu18.04-docker-arm64-4c-16g-2352 in /w/workspace/ry_app-rfid-llrp-inventory_PR-54 [Pipeline] { [Pipeline] ws 23:40:35 Running in /w/workspace/app-rfid-llrp-inventory/2 [Pipeline] { [Pipeline] checkout 23:40:35 The recommended git tool is: git 23:40:41 using credential edgex-jenkins-ssh 23:40:41 Cloning the remote Git repository 23:40:41 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 23:40:41 > git init /w/workspace/app-rfid-llrp-inventory/2 # timeout=10 23:40:41 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 23:40:41 > git --version # timeout=10 23:40:41 > git --version # 'git version 2.17.1' 23:40:41 using GIT_SSH to set credentials SSH Credentials for GitHub 23:40:41 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:40:43 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 23:40:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:40:43 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 23:40:43 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 23:40:43 using GIT_SSH to set credentials SSH Credentials for GitHub 23:40:43 > git fetch --tags --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/54/head:refs/remotes/origin/PR-54 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:40:44 Merging remotes/origin/main commit 2f4ea3c6137ff523b703c1b23c70899e2e4dc4cd into PR head commit 228182bff9cc35ae89d04a1eb1114e61af6120e6 23:40:44 Merge succeeded, producing 228182bff9cc35ae89d04a1eb1114e61af6120e6 23:40:44 Checking out Revision 228182bff9cc35ae89d04a1eb1114e61af6120e6 (PR-54) 23:40:44 > git config core.sparsecheckout # timeout=10 23:40:44 > git checkout -f 228182bff9cc35ae89d04a1eb1114e61af6120e6 # timeout=10 23:40:44 > git remote # timeout=10 23:40:44 > git config --get remote.origin.url # timeout=10 23:40:44 using GIT_SSH to set credentials SSH Credentials for GitHub 23:40:44 > git merge 2f4ea3c6137ff523b703c1b23c70899e2e4dc4cd # timeout=10 23:40:44 > git rev-parse HEAD^{commit} # timeout=10 23:40:44 > git config core.sparsecheckout # timeout=10 23:40:44 > git checkout -f 228182bff9cc35ae89d04a1eb1114e61af6120e6 # timeout=10 23:40:49 Commit message: "feat: migrate service to V2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:40:50 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:40:50 % Total % Received % Xferd Average Speed Time Time Time Current 23:40:50 Dload Upload Total Spent Left Speed 23:40:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 88902 0 --:--:-- --:--:-- --:--:-- 88902 [Pipeline] sh 23:40:50 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:40:51 + sudo tee /etc/docker/daemon.new 23:40:51 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:40:51 { 23:40:51 "registry-mirrors": [ 23:40:51 "https://nexus3.edgexfoundry.org:10001" 23:40:51 ], 23:40:51 "bip": "10.250.0.254/24", 23:40:51 "hosts": [ 23:40:51 "tcp://0.0.0.0:5555", 23:40:51 "unix:///var/run/docker.sock" 23:40:51 ], 23:40:51 "mtu": 1458, 23:40:51 "selinux-enabled": true, 23:40:51 "seccomp-profile": "/etc/docker/seccomp.json" 23:40:51 } [Pipeline] sh 23:40:51 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:40:51 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:41:10 provisioning config files... 23:41:10 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/2@tmp/config7192130644322506511tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:41:10 ---> docker-login.sh 23:41:10 nexus3.edgexfoundry.org:10001 23:41:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:11 Configure a credential helper to remove this warning. See 23:41:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:11 23:41:11 Login Succeeded 23:41:11 nexus3.edgexfoundry.org:10002 23:41:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:12 Configure a credential helper to remove this warning. See 23:41:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:12 23:41:12 Login Succeeded 23:41:12 nexus3.edgexfoundry.org:10003 23:41:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:12 Configure a credential helper to remove this warning. See 23:41:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:12 23:41:12 Login Succeeded 23:41:12 nexus3.edgexfoundry.org:10004 23:41:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:14 Configure a credential helper to remove this warning. See 23:41:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:14 23:41:14 Login Succeeded 23:41:14 docker.io 23:41:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:14 Configure a credential helper to remove this warning. See 23:41:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:14 23:41:14 Login Succeeded 23:41:14 ---> docker-login.sh ends [Pipeline] } 23:41:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:41:15 ========================================================= 23:41:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 23:41:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:41:15 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . 23:41:16 Sending build context to Docker daemon 681kB 23:41:16 Step 1/12 : ARG BASE=golang:1.16-alpine3.14 23:41:16 Step 2/12 : FROM ${BASE} AS builder 23:41:16 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:41:16 552d1f2373af: Pulling fs layer 23:41:16 ea3f2d53f512: Pulling fs layer 23:41:16 9e70ebbbe112: Pulling fs layer 23:41:16 7a9cfe048b4a: Pulling fs layer 23:41:16 72dc09318566: Pulling fs layer 23:41:16 f4f7b4309257: Pulling fs layer 23:41:16 0ac9a79272e3: Pulling fs layer 23:41:16 b78e95d17946: Pulling fs layer 23:41:16 7a9cfe048b4a: Waiting 23:41:16 72dc09318566: Waiting 23:41:16 f4f7b4309257: Waiting 23:41:16 b78e95d17946: Waiting 23:41:16 9e70ebbbe112: Download complete 23:41:16 ea3f2d53f512: Download complete 23:41:16 72dc09318566: Verifying Checksum 23:41:16 72dc09318566: Download complete 23:41:16 f4f7b4309257: Verifying Checksum 23:41:16 f4f7b4309257: Download complete 23:41:16 552d1f2373af: Verifying Checksum 23:41:16 552d1f2373af: Download complete 23:41:16 0ac9a79272e3: Verifying Checksum 23:41:16 0ac9a79272e3: Download complete 23:41:17 552d1f2373af: Pull complete 23:41:17 ea3f2d53f512: Pull complete 23:41:18 9e70ebbbe112: Pull complete 23:41:18 b78e95d17946: Verifying Checksum 23:41:18 b78e95d17946: Download complete 23:41:18 7a9cfe048b4a: Verifying Checksum 23:41:18 7a9cfe048b4a: Download complete 23:41:25 Running on prd-centos7-docker-4c-2g-2353 in /w/workspace/ry_app-rfid-llrp-inventory_PR-54 [Pipeline] { [Pipeline] ws 23:41:25 Running in /w/workspace/app-rfid-llrp-inventory/2 [Pipeline] { [Pipeline] checkout 23:41:26 The recommended git tool is: git 23:41:29 7a9cfe048b4a: Pull complete 23:41:29 72dc09318566: Pull complete 23:41:29 using credential edgex-jenkins-ssh 23:41:29 Cloning the remote Git repository 23:41:29 f4f7b4309257: Pull complete 23:41:29 Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 23:41:29 > git init /w/workspace/app-rfid-llrp-inventory/2 # timeout=10 23:41:29 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 23:41:29 > git --version # timeout=10 23:41:29 > git --version # 'git version 2.24.4' 23:41:29 using GIT_SSH to set credentials SSH Credentials for GitHub 23:41:29 [INFO] Currently running in a labeled security context 23:41:29 [INFO] Currently SELinux is 'enforcing' on the host 23:41:29 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-rfid-llrp-inventory/2@tmp/jenkins-gitclient-ssh5318327440422157245.key 23:41:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:41:30 0ac9a79272e3: Pull complete 23:41:30 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 23:41:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:41:30 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 23:41:30 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git 23:41:30 using GIT_SSH to set credentials SSH Credentials for GitHub 23:41:30 [INFO] Currently running in a labeled security context 23:41:30 [INFO] Currently SELinux is 'enforcing' on the host 23:41:30 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-rfid-llrp-inventory/2@tmp/jenkins-gitclient-ssh7283612101373393284.key 23:41:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/54/head:refs/remotes/origin/PR-54 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:41:31 Merging remotes/origin/main commit 2f4ea3c6137ff523b703c1b23c70899e2e4dc4cd into PR head commit 228182bff9cc35ae89d04a1eb1114e61af6120e6 23:41:31 Merge succeeded, producing 228182bff9cc35ae89d04a1eb1114e61af6120e6 23:41:31 Checking out Revision 228182bff9cc35ae89d04a1eb1114e61af6120e6 (PR-54) 23:41:31 > git config core.sparsecheckout # timeout=10 23:41:31 > git checkout -f 228182bff9cc35ae89d04a1eb1114e61af6120e6 # timeout=10 23:41:31 > git remote # timeout=10 23:41:31 > git config --get remote.origin.url # timeout=10 23:41:31 using GIT_SSH to set credentials SSH Credentials for GitHub 23:41:31 [INFO] Currently running in a labeled security context 23:41:31 [INFO] Currently SELinux is 'enforcing' on the host 23:41:31 > /usr/bin/chcon --type=ssh_home_t /w/workspace/app-rfid-llrp-inventory/2@tmp/jenkins-gitclient-ssh7004162597814111010.key 23:41:31 > git merge 2f4ea3c6137ff523b703c1b23c70899e2e4dc4cd # timeout=10 23:41:31 > git rev-parse HEAD^{commit} # timeout=10 23:41:31 > git config core.sparsecheckout # timeout=10 23:41:31 > git checkout -f 228182bff9cc35ae89d04a1eb1114e61af6120e6 # timeout=10 23:41:35 Commit message: "feat: migrate service to V2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 23:41:36 b78e95d17946: Pull complete 23:41:36 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 23:41:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 23:41:36 ---> 8b459fc5aaf0 23:41:36 Step 3/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:41:36 provisioning config files... 23:41:36 copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/2@tmp/config3435180383402881191tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:41:36 ---> docker-login.sh 23:41:36 nexus3.edgexfoundry.org:10001 23:41:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:36 Configure a credential helper to remove this warning. See 23:41:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:36 23:41:36 Login Succeeded 23:41:37 nexus3.edgexfoundry.org:10002 23:41:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:37 Configure a credential helper to remove this warning. See 23:41:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:37 23:41:37 Login Succeeded 23:41:37 nexus3.edgexfoundry.org:10003 23:41:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:37 Configure a credential helper to remove this warning. See 23:41:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:37 23:41:37 Login Succeeded 23:41:37 nexus3.edgexfoundry.org:10004 23:41:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:37 Configure a credential helper to remove this warning. See 23:41:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:37 23:41:37 Login Succeeded 23:41:37 docker.io 23:41:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:37 ---> Running in 7bc9a207b625 23:41:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:37 Configure a credential helper to remove this warning. See 23:41:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:37 23:41:37 Login Succeeded 23:41:37 ---> docker-login.sh ends 23:41:37 Removing intermediate container 7bc9a207b625 23:41:37 ---> 8eaac966a5d9 23:41:37 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:41:37 ---> Running in 97cc9f6964d9 [Pipeline] } 23:41:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:41:38 ========================================================= 23:41:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 23:41:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:41:38 Removing intermediate container 97cc9f6964d9 23:41:38 ---> 59330cdd7fed 23:41:38 Step 5/12 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:41:38 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . 23:41:38 Sending build context to Docker daemon 681kB 23:41:38 Step 1/12 : ARG BASE=golang:1.16-alpine3.14 23:41:38 Step 2/12 : FROM ${BASE} AS builder 23:41:38 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 23:41:38 a0d0a0d46f8b: Pulling fs layer 23:41:38 31adcdaf11c8: Pulling fs layer 23:41:38 b8b176561691: Pulling fs layer 23:41:38 4527c011a84f: Pulling fs layer 23:41:38 5d74067f8e1e: Pulling fs layer 23:41:38 e0aca202a116: Pulling fs layer 23:41:38 3a43be97a3b4: Pulling fs layer 23:41:38 34cad66bf833: Pulling fs layer 23:41:38 b4e3c513aaa6: Pulling fs layer 23:41:38 e0aca202a116: Waiting 23:41:38 3a43be97a3b4: Waiting 23:41:38 34cad66bf833: Waiting 23:41:38 4527c011a84f: Waiting 23:41:38 b4e3c513aaa6: Waiting 23:41:38 5d74067f8e1e: Waiting 23:41:38 b8b176561691: Verifying Checksum 23:41:38 b8b176561691: Download complete 23:41:38 31adcdaf11c8: Verifying Checksum 23:41:38 31adcdaf11c8: Download complete 23:41:38 5d74067f8e1e: Download complete 23:41:38 e0aca202a116: Verifying Checksum 23:41:38 e0aca202a116: Download complete 23:41:38 a0d0a0d46f8b: Verifying Checksum 23:41:38 a0d0a0d46f8b: Download complete 23:41:38 ---> Running in 2c5c6a1d9577 23:41:38 3a43be97a3b4: Verifying Checksum 23:41:38 3a43be97a3b4: Download complete 23:41:38 34cad66bf833: Verifying Checksum 23:41:38 34cad66bf833: Download complete 23:41:38 Removing intermediate container 2c5c6a1d9577 23:41:38 ---> 3b1c20bb76aa 23:41:38 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:41:38 a0d0a0d46f8b: Pull complete 23:41:38 ---> Running in 7dde90f1486e 23:41:39 4527c011a84f: Verifying Checksum 23:41:39 4527c011a84f: Download complete 23:41:39 b4e3c513aaa6: Verifying Checksum 23:41:39 b4e3c513aaa6: Download complete 23:41:39 31adcdaf11c8: Pull complete 23:41:39 b8b176561691: Pull complete 23:41:40 Removing intermediate container 7dde90f1486e 23:41:40 ---> 91ea3209a6df 23:41:40 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:41:40 ---> Running in 8f893556e38a 23:41:42 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 23:41:43 4527c011a84f: Pull complete 23:41:43 5d74067f8e1e: Pull complete 23:41:43 e0aca202a116: Pull complete 23:41:43 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 23:41:43 3a43be97a3b4: Pull complete 23:41:43 34cad66bf833: Pull complete 23:41:43 OK: 219 MiB in 52 packages 23:41:44 Removing intermediate container 8f893556e38a 23:41:44 ---> d71139bb36f4 23:41:44 Step 8/12 : WORKDIR /app 23:41:44 ---> Running in 9da6f198c09b 23:41:45 Removing intermediate container 9da6f198c09b 23:41:45 ---> 96ae161c6659 23:41:45 Step 9/12 : COPY . . 23:41:46 ---> 95a8dfd63e04 23:41:46 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:41:46 b4e3c513aaa6: Pull complete 23:41:46 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 23:41:46 ---> Running in 5f3219cdc7aa 23:41:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 23:41:46 ---> 9f6097aaca64 23:41:46 Step 3/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" 23:41:48 ---> Running in 507bc306a86a 23:41:48 Removing intermediate container 507bc306a86a 23:41:48 ---> 5dfc0021aa01 23:41:48 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 23:41:48 ---> Running in e86b34bc9b75 23:41:48 Removing intermediate container e86b34bc9b75 23:41:48 ---> f64559cf7985 23:41:48 Step 5/12 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:41:48 ---> Running in de3ced761534 23:41:48 Removing intermediate container de3ced761534 23:41:48 ---> f998fb0f3f0e 23:41:48 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:41:48 ---> Running in 730c343eb9a0 23:41:48 Removing intermediate container 730c343eb9a0 23:41:48 ---> 0838a1d3bde0 23:41:48 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:41:48 ---> Running in e0e53ae93a20 23:41:49 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 23:41:50 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 23:41:50 OK: 220 MiB in 52 packages 23:41:50 Removing intermediate container e0e53ae93a20 23:41:50 ---> 2e0e9b976ab6 23:41:50 Step 8/12 : WORKDIR /app 23:41:50 ---> Running in 274291ba7159 23:41:51 Removing intermediate container 274291ba7159 23:41:51 ---> dab5d955c566 23:41:51 Step 9/12 : COPY . . 23:41:51 ---> 42fbbc906082 23:41:51 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:41:51 ---> Running in b9861607a89c 23:42:29 Removing intermediate container b9861607a89c 23:42:29 ---> e67cf0e2b20e 23:42:29 Step 11/12 : ARG MAKE="make build" 23:42:29 ---> Running in de0bb15091a5 23:42:29 Removing intermediate container de0bb15091a5 23:42:29 ---> f69e3c935dfb 23:42:29 Step 12/12 : RUN $MAKE 23:42:29 ---> Running in 1f78815ebf71 23:42:29 noop 23:42:29 Removing intermediate container 1f78815ebf71 23:42:29 ---> 79ca11b6c5ed 23:42:29 Successfully built 79ca11b6c5ed 23:42:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 23:42:30 + docker inspect -f . ci-base-image-x86_64 23:42:30 . [Pipeline] withDockerContainer 23:42:30 prd-centos7-docker-4c-2g-2353 does not seem to be running inside a container 23:42:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/2 -v /w/workspace/app-rfid-llrp-inventory/2:/w/workspace/app-rfid-llrp-inventory/2:rw,z -v /w/workspace/app-rfid-llrp-inventory/2@tmp:/w/workspace/app-rfid-llrp-inventory/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:42:31 $ docker top 05274ee260faf0fd62892b4bd39dec9e165a8ccc135aa835f3dd366dcc1fcdc2 -eo pid,comm [Pipeline] { [Pipeline] sh 23:42:31 + go version 23:42:31 go version go1.16.8 linux/amd64 [Pipeline] } 23:42:31 $ docker stop --time=1 05274ee260faf0fd62892b4bd39dec9e165a8ccc135aa835f3dd366dcc1fcdc2 23:42:32 $ docker rm -f 05274ee260faf0fd62892b4bd39dec9e165a8ccc135aa835f3dd366dcc1fcdc2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:42:33 + docker inspect -f . ci-base-image-x86_64 23:42:33 . [Pipeline] withDockerContainer 23:42:33 prd-centos7-docker-4c-2g-2353 does not seem to be running inside a container 23:42:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/2 -v /w/workspace/app-rfid-llrp-inventory/2:/w/workspace/app-rfid-llrp-inventory/2:rw,z -v /w/workspace/app-rfid-llrp-inventory/2@tmp:/w/workspace/app-rfid-llrp-inventory/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:42:34 $ docker top 9d305354ffe0b8ba531a2aacb1f9dbbb9006420f8f0b11a6d2b4ccda5498a5e7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:42:34 + make test 23:42:34 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 23:42:52 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 23:42:52 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.056s coverage: 82.4% of statements 23:42:52 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app 0.012s coverage: 0.0% of statements 23:43:02 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 8.332s coverage: 73.3% of statements 23:43:02 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:43:08 Removing intermediate container 5f3219cdc7aa 23:43:08 ---> 9a5a22ac15b4 23:43:08 Step 11/12 : ARG MAKE="make build" 23:43:08 ---> Running in 502bd7e19bea 23:43:08 Removing intermediate container 502bd7e19bea 23:43:08 ---> 32474e41e0d2 23:43:08 Step 12/12 : RUN $MAKE 23:43:08 ---> Running in ab0f305cdc66 23:43:08 noop 23:43:08 Removing intermediate container ab0f305cdc66 23:43:08 ---> 92162df55ce9 23:43:08 Successfully built 92162df55ce9 23:43:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:43:08 + docker inspect -f . ci-base-image-arm64 23:43:08 . [Pipeline] withDockerContainer 23:43:08 prd-ubuntu18.04-docker-arm64-4c-16g-2352 does not seem to be running inside a container 23:43:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/2 -v /w/workspace/app-rfid-llrp-inventory/2:/w/workspace/app-rfid-llrp-inventory/2:rw,z -v /w/workspace/app-rfid-llrp-inventory/2@tmp:/w/workspace/app-rfid-llrp-inventory/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:43:10 $ docker top 82d88294ebd13811d31efb334f5bb9e73ac99f1405e7aa7ff4105711535e008c -eo pid,comm [Pipeline] { [Pipeline] sh 23:43:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:43:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:43:10 ./bin/test-attribution.sh 23:43:10 An attribution for github.com/stretchr/objx is missing from in Attribution.txt, please add 23:43:10 make: *** [Makefile:34: test] Error 1 [Pipeline] } 23:43:10 $ docker stop --time=1 9d305354ffe0b8ba531a2aacb1f9dbbb9006420f8f0b11a6d2b4ccda5498a5e7 23:43:11 + go version 23:43:11 go version go1.16.8 linux/arm64 23:43:12 $ docker rm -f 9d305354ffe0b8ba531a2aacb1f9dbbb9006420f8f0b11a6d2b4ccda5498a5e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 23:43:12 $ docker stop --time=1 82d88294ebd13811d31efb334f5bb9e73ac99f1405e7aa7ff4105711535e008c 23:43:14 $ docker rm -f 82d88294ebd13811d31efb334f5bb9e73ac99f1405e7aa7ff4105711535e008c [Pipeline] // script [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // script [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] stage [Pipeline] { (Test) 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] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 23:43:16 + docker inspect -f . ci-base-image-arm64 23:43:16 . [Pipeline] withDockerContainer 23:43:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:43:16 23:43:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:43:16 prd-ubuntu18.04-docker-arm64-4c-16g-2352 does not seem to be running inside a container 23:43:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/2 -v /w/workspace/app-rfid-llrp-inventory/2:/w/workspace/app-rfid-llrp-inventory/2:rw,z -v /w/workspace/app-rfid-llrp-inventory/2@tmp:/w/workspace/app-rfid-llrp-inventory/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:43:17 $ docker top 10dd201d2628fde316963e4d228a04e1f5cc6e7ae7fe4e2447ee2b9425ba8a6b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [Pipeline] sh 23:43:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:43:18 latest: Pulling from edgex-lftools-log-publisher 23:43:18 b4d181a07f80: Pulling fs layer 23:43:18 a1111a8f2ec3: Pulling fs layer 23:43:18 ed53099fbce6: Pulling fs layer 23:43:18 dc539afda2c1: Pulling fs layer 23:43:18 77bc0d833cb6: Pulling fs layer 23:43:18 9065ff56babe: Pulling fs layer 23:43:18 d287ab97295c: Pulling fs layer 23:43:18 77bc0d833cb6: Waiting 23:43:18 9065ff56babe: Waiting 23:43:18 d287ab97295c: Waiting 23:43:18 dc539afda2c1: Waiting 23:43:18 a1111a8f2ec3: Verifying Checksum 23:43:18 a1111a8f2ec3: Download complete 23:43:18 dc539afda2c1: Verifying Checksum 23:43:18 dc539afda2c1: Download complete 23:43:18 ed53099fbce6: Verifying Checksum 23:43:18 ed53099fbce6: Download complete 23:43:18 9065ff56babe: Verifying Checksum 23:43:18 9065ff56babe: Download complete 23:43:18 77bc0d833cb6: Verifying Checksum 23:43:18 77bc0d833cb6: Download complete 23:43:18 b4d181a07f80: Verifying Checksum 23:43:18 b4d181a07f80: Download complete 23:43:18 + make test 23:43:18 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 23:43:19 d287ab97295c: Verifying Checksum 23:43:19 d287ab97295c: Download complete 23:43:20 b4d181a07f80: Pull complete 23:43:20 a1111a8f2ec3: Pull complete 23:43:21 ed53099fbce6: Pull complete 23:43:21 dc539afda2c1: Pull complete 23:43:21 77bc0d833cb6: Pull complete 23:43:21 9065ff56babe: Pull complete 23:43:26 d287ab97295c: Pull complete 23:43:26 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 23:43:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:43:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:43:26 prd-centos7-docker-4c-2g-2353 does not seem to be running inside a container 23:43:26 $ 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/2 -v /w/workspace/app-rfid-llrp-inventory/2:/w/workspace/app-rfid-llrp-inventory/2:rw,z -v /w/workspace/app-rfid-llrp-inventory/2@tmp:/w/workspace/app-rfid-llrp-inventory/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:43:29 $ docker top 07eaa133832ead5b1f22676a1cc55b860c65ed89dbe8e32b3e9bf24c8dfd90f6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:43:31 ---> job-cost.sh 23:43:31 lf-activate-venv: SKIPPING 23:43:31 INFO: No Stack... 23:43:31 INFO: Retrieving Pricing Info for: v3-standard-2 23:43:31 INFO: Archiving Costs [Pipeline] sh 23:43:31 + cat /w/workspace/app-rfid-llrp-inventory/2/archives/cost.csv 23:43:31 + cut -d, -f6 [Pipeline] lock 23:43:31 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-54-2-stack-cost] 23:43:31 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-54-2-stack-cost] did not exist. Created. 23:43:31 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-54-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:43:32 + echo total: 0.05999999865889549 [Pipeline] stash 23:43:32 Stashed 1 file(s) [Pipeline] } 23:43:32 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-54-2-stack-cost] [Pipeline] // lock [Pipeline] } 23:43:32 $ docker stop --time=1 07eaa133832ead5b1f22676a1cc55b860c65ed89dbe8e32b3e9bf24c8dfd90f6 23:43:33 $ docker rm -f 07eaa133832ead5b1f22676a1cc55b860c65ed89dbe8e32b3e9bf24c8dfd90f6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:43:33 Failed in branch amd64 23:44:15 ? edgexfoundry/app-rfid-llrp-inventory [no test files] 23:44:15 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.262s coverage: 82.4% of statements 23:44:15 ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app 0.050s coverage: 0.0% of statements 23:44:25 ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 6.037s coverage: 73.3% of statements 23:44:25 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:44:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:44:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:44:57 ./bin/test-attribution.sh 23:44:57 An attribution for github.com/stretchr/objx is missing from in Attribution.txt, please add 23:44:57 make: *** [Makefile:34: test] Error 1 [Pipeline] } 23:44:57 $ docker stop --time=1 10dd201d2628fde316963e4d228a04e1f5cc6e7ae7fe4e2447ee2b9425ba8a6b 23:44:59 $ docker rm -f 10dd201d2628fde316963e4d228a04e1f5cc6e7ae7fe4e2447ee2b9425ba8a6b [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:45:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:45:01 23:45:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 23:45:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:45:01 arm64: Pulling from edgex-lftools-log-publisher 23:45:01 448f6bf000e3: Pulling fs layer 23:45:01 f757da607395: Pulling fs layer 23:45:01 05883995daec: Pulling fs layer 23:45:01 8603b9c90790: Pulling fs layer 23:45:01 1560dd03e051: Pulling fs layer 23:45:01 27f5ce0e4adf: Pulling fs layer 23:45:01 c2d8d7efcc4b: Pulling fs layer 23:45:01 1560dd03e051: Waiting 23:45:01 c2d8d7efcc4b: Waiting 23:45:01 27f5ce0e4adf: Waiting 23:45:01 f757da607395: Verifying Checksum 23:45:01 f757da607395: Download complete 23:45:01 8603b9c90790: Verifying Checksum 23:45:01 8603b9c90790: Download complete 23:45:01 1560dd03e051: Verifying Checksum 23:45:01 1560dd03e051: Download complete 23:45:01 27f5ce0e4adf: Download complete 23:45:01 05883995daec: Verifying Checksum 23:45:01 05883995daec: Download complete 23:45:02 448f6bf000e3: Verifying Checksum 23:45:02 448f6bf000e3: Download complete 23:45:04 c2d8d7efcc4b: Verifying Checksum 23:45:04 c2d8d7efcc4b: Download complete 23:45:05 448f6bf000e3: Pull complete 23:45:06 f757da607395: Pull complete 23:45:08 05883995daec: Pull complete 23:45:08 8603b9c90790: Pull complete 23:45:09 1560dd03e051: Pull complete 23:45:09 27f5ce0e4adf: Pull complete 23:45:24 c2d8d7efcc4b: Pull complete 23:45:24 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 23:45:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:45:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 23:45:25 prd-ubuntu18.04-docker-arm64-4c-16g-2352 does not seem to be running inside a container 23:45:25 $ 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/2 -v /w/workspace/app-rfid-llrp-inventory/2:/w/workspace/app-rfid-llrp-inventory/2:rw,z -v /w/workspace/app-rfid-llrp-inventory/2@tmp:/w/workspace/app-rfid-llrp-inventory/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:45:27 $ docker top fa9a1f5d8d95ad26fb9bad668bac55834d00938a7af178517f820bd3eb6fe78d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:45:28 ---> job-cost.sh 23:45:28 lf-activate-venv: SKIPPING 23:45:28 INFO: No Stack... 23:45:28 INFO: Retrieving Pricing Info for: v3-standard-4 23:45:29 INFO: Archiving Costs [Pipeline] sh 23:45:30 + cat /w/workspace/app-rfid-llrp-inventory/2/archives/cost.csv 23:45:30 + cut -d, -f6 [Pipeline] lock 23:45:30 Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-54-2-stack-cost] 23:45:30 Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-54-2-stack-cost] did not exist. Created. 23:45:30 Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-54-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:45:30 /w/workspace/app-rfid-llrp-inventory/2@tmp/durable-dfb01af4/script.sh: 1: /w/workspace/app-rfid-llrp-inventory/2@tmp/durable-dfb01af4/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 23:45:31 + echo total: 0.10999999940395355 [Pipeline] stash 23:45:31 Warning: overwriting stash ‘stack-cost’ 23:45:32 Stashed 1 file(s) [Pipeline] } 23:45:32 Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-54-2-stack-cost] [Pipeline] // lock [Pipeline] } 23:45:32 $ docker stop --time=1 fa9a1f5d8d95ad26fb9bad668bac55834d00938a7af178517f820bd3eb6fe78d 23:45:33 $ docker rm -f fa9a1f5d8d95ad26fb9bad668bac55834d00938a7af178517f820bd3eb6fe78d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:45:35 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] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 23:45:37 + '[' -d /w/workspace/ry_app-rfid-llrp-inventory_PR-54/archives ']' [Pipeline] libraryResource [Pipeline] sh 23:45:37 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:45:38 ---> package-listing.sh 23:45:38 ++ facter osfamily 23:45:38 ++ tr '[:upper:]' '[:lower:]' 23:45:38 + OS_FAMILY=redhat 23:45:38 + workspace=/w/workspace/ry_app-rfid-llrp-inventory_PR-54 23:45:38 + START_PACKAGES=/tmp/packages_start.txt 23:45:38 + END_PACKAGES=/tmp/packages_end.txt 23:45:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:45:38 + PACKAGES=/tmp/packages_start.txt 23:45:38 + '[' /w/workspace/ry_app-rfid-llrp-inventory_PR-54 ']' 23:45:38 + PACKAGES=/tmp/packages_end.txt 23:45:38 + case "${OS_FAMILY}" in 23:45:38 + sort 23:45:38 + rpm -qa 23:45:39 + '[' -f /tmp/packages_start.txt ']' 23:45:39 + '[' -f /tmp/packages_end.txt ']' 23:45:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:45:39 + '[' /w/workspace/ry_app-rfid-llrp-inventory_PR-54 ']' 23:45:39 + mkdir -p /w/workspace/ry_app-rfid-llrp-inventory_PR-54/archives/ 23:45:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ry_app-rfid-llrp-inventory_PR-54/archives/ [Pipeline] echo 23:45:39 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-54/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:45:39 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:45:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:45:39 23:45:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:45:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:45:40 latest: Pulling from edgex-lftools-log-publisher 23:45:40 b4d181a07f80: Pulling fs layer 23:45:40 a1111a8f2ec3: Pulling fs layer 23:45:40 ed53099fbce6: Pulling fs layer 23:45:40 dc539afda2c1: Pulling fs layer 23:45:40 77bc0d833cb6: Pulling fs layer 23:45:40 9065ff56babe: Pulling fs layer 23:45:40 d287ab97295c: Pulling fs layer 23:45:40 dc539afda2c1: Waiting 23:45:40 77bc0d833cb6: Waiting 23:45:40 9065ff56babe: Waiting 23:45:40 d287ab97295c: Waiting 23:45:40 a1111a8f2ec3: Verifying Checksum 23:45:40 a1111a8f2ec3: Download complete 23:45:40 dc539afda2c1: Verifying Checksum 23:45:40 dc539afda2c1: Download complete 23:45:40 ed53099fbce6: Verifying Checksum 23:45:40 ed53099fbce6: Download complete 23:45:40 77bc0d833cb6: Verifying Checksum 23:45:40 77bc0d833cb6: Download complete 23:45:40 9065ff56babe: Verifying Checksum 23:45:40 9065ff56babe: Download complete 23:45:40 b4d181a07f80: Verifying Checksum 23:45:40 b4d181a07f80: Download complete 23:45:41 d287ab97295c: Verifying Checksum 23:45:41 d287ab97295c: Download complete 23:45:42 b4d181a07f80: Pull complete 23:45:42 a1111a8f2ec3: Pull complete 23:45:42 ed53099fbce6: Pull complete 23:45:42 dc539afda2c1: Pull complete 23:45:42 77bc0d833cb6: Pull complete 23:45:43 9065ff56babe: Pull complete 23:45:48 d287ab97295c: Pull complete 23:45:48 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 23:45:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:45:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:45:48 prd-centos7-docker-4c-2g-2351 does not seem to be running inside a container 23:45:48 $ 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-54/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-54 -v /w/workspace/ry_app-rfid-llrp-inventory_PR-54:/w/workspace/ry_app-rfid-llrp-inventory_PR-54:rw,z -v /w/workspace/ry_app-rfid-llrp-inventory_PR-54@tmp:/w/workspace/ry_app-rfid-llrp-inventory_PR-54@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:45:51 $ docker top 962c75a66a8c981c33876de720264447abd9b5db78063aa3c2f2671542cbb818 -eo pid,comm [Pipeline] { [Pipeline] sh 23:45:51 + touch /tmp/pre-build-complete [Pipeline] sh 23:45:52 + mkdir -p /var/log/sysstat [Pipeline] sh 23:45:53 + ls /var/log/sa-host 23:45:53 + sadf -c /var/log/sa-host/sa27 23:45:53 file_magic: OK 23:45:53 HZ: Using current value: 100 23:45:53 file_header: OK 23:45:53 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:45:53 Statistics: 23:45:53 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 23:45:53 File successfully converted to sysstat format version 12.0.3 23:45:53 + sadf -c /var/log/sa-host/sa30 23:45:53 file_magic: OK 23:45:53 HZ: Using current value: 100 23:45:53 file_header: OK 23:45:53 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:45:53 Statistics: 23:45:53 Hnuu...uuuununununu...Hnuu...uuuununununu... 23:45:53 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:45:54 provisioning config files... 23:45:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ry_app-rfid-llrp-inventory_PR-54@tmp/config560149233752864404tmp [Pipeline] { [Pipeline] echo 23:45:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:45:54 ---> create-netrc.sh [Pipeline] } 23:45:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:45:55 ---> python-tools-install.sh [Pipeline] echo 23:45:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:45:55 ---> sudo-logs.sh 23:45:55 Archiving 'sudo' log.. 23:45:55 sudo: unable to resolve host prd-centos7-docker-4c-2g-2351.novalocal: Name or service not known 23:45:55 sudo: unable to resolve host prd-centos7-docker-4c-2g-2351.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 23:45:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:45:55 ---> job-cost.sh 23:45:55 lf-activate-venv: SKIPPING 23:45:55 DEBUG: total: 0.10999999940395355 23:45:55 INFO: Retrieving Stack Cost... 23:45:56 INFO: Retrieving Pricing Info for: v3-standard-2 23:45:57 INFO: Archiving Costs [Pipeline] echo 23:45:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:45:57 ---> logs-deploy.sh 23:45:57 lf-activate-venv: SKIPPING 23:45:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-54/2 23:45:57 INFO: archiving workspace using pattern(s): 23:45:57 Archives upload complete. 23:45:58 INFO: archiving logs to Nexus