Pull request #61 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 siggiskulason for edgexfoundry/device-rfid-llrp-go Obtained Jenkinsfile from 68f09ed31034ad5a8b7f5c9fa3381e8dddbd8593+fdb8dc9e065565c3e0b08ed77eb96ef70046d97a (908493b8a0090372ff0e89746aa1be45300133a4) 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-ssh14955569979785929623.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-ssh8075043828505272867.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/device-rfid-llrp-go/branches/PR-61/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/PR-61/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2615760057015320472.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-ssh7068826684864192039.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/device-rfid-llrp-go/branches/PR-61/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/PR-61/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5151557605884742552.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:device-rfid-llrp-go, 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: device-rfid-llrp-go-settings PROJECT: device-rfid-llrp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rfid-llrp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: 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 on ‘prd-centos7-docker-4c-2g-5342’ Running on prd-centos7-docker-4c-2g-5345 in /w/workspace/oundry_device-rfid-llrp-go_PR-61 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git > git init /w/workspace/oundry_device-rfid-llrp-go_PR-61 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.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/oundry_device-rfid-llrp-go_PR-61@tmp/jenkins-gitclient-ssh3827166600590320560.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [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/oundry_device-rfid-llrp-go_PR-61@tmp/jenkins-gitclient-ssh2019630926262296479.key Merging remotes/origin/main commit fdb8dc9e065565c3e0b08ed77eb96ef70046d97a into PR head commit 68f09ed31034ad5a8b7f5c9fa3381e8dddbd8593 Merge succeeded, producing 68f09ed31034ad5a8b7f5c9fa3381e8dddbd8593 Checking out Revision 68f09ed31034ad5a8b7f5c9fa3381e8dddbd8593 (PR-61) > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/61/head:refs/remotes/origin/PR-61 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 68f09ed31034ad5a8b7f5c9fa3381e8dddbd8593 # 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/oundry_device-rfid-llrp-go_PR-61@tmp/jenkins-gitclient-ssh2546352702637616994.key > git merge fdb8dc9e065565c3e0b08ed77eb96ef70046d97a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 68f09ed31034ad5a8b7f5c9fa3381e8dddbd8593 # timeout=10 Commit message: "fix(snap): updates to snap packaging" > git rev-list --no-walk 1ca5cebb282be9416e83c17ebb4839d0ba53189c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:40:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:40:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:40:41 ========================================================= 12:40:41 EdgeX Global Pipelines Version Info 12:40:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:40:42 ------------------- 12:40:42 stable info: 12:40:42 ------------------- 12:40:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:40:42 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 12:40:42 Message: update stable to v1.0.220 12:40:42 ------------------- 12:40:42 experimental info: 12:40:42 ------------------- 12:40:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:40:42 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 12:40:42 Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:40:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rfid-llrp-go-settings [Pipeline] echo 12:40:43 [edgeXSetupEnvironment]: set envvar PROJECT = device-rfid-llrp-go [Pipeline] echo 12:40:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:40:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:40:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:40:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 12:40:43 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:40:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:40:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:40:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:40:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:40:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rfid-llrp [Pipeline] echo 12:40:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:40:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:40:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:40:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:40:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:40:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:40:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:40:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 12:40:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:40:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:40:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:40:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:40:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:40:43 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:40:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-61 [Pipeline] echo 12:40:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-61 [Pipeline] echo 12:40:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-61 [Pipeline] echo 12:40:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 68f09ed31034ad5a8b7f5c9fa3381e8dddbd8593 [Pipeline] echo 12:40:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 68f09ed [Pipeline] echo 12:40:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:40:43 provisioning config files... 12:40:43 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/oundry_device-rfid-llrp-go_PR-61@tmp/config6866866309711075911tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:40:43 ---> docker-login.sh 12:40:43 nexus3.edgexfoundry.org:10001 12:40:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:40:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:40:43 Configure a credential helper to remove this warning. See 12:40:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:40:43 12:40:43 Login Succeeded 12:40:43 nexus3.edgexfoundry.org:10002 12:40:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:40:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:40:44 Configure a credential helper to remove this warning. See 12:40:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:40:44 12:40:44 Login Succeeded 12:40:44 nexus3.edgexfoundry.org:10003 12:40:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:40:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:40:44 Configure a credential helper to remove this warning. See 12:40:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:40:44 12:40:44 Login Succeeded 12:40:44 nexus3.edgexfoundry.org:10004 12:40:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:40:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:40:44 Configure a credential helper to remove this warning. See 12:40:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:40:44 12:40:44 Login Succeeded 12:40:44 docker.io 12:40:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:40:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:40:44 Configure a credential helper to remove this warning. See 12:40:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:40:44 12:40:44 Login Succeeded 12:40:44 ---> docker-login.sh ends [Pipeline] } 12:40:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:40:45 + git rev-list -1 --merges 68f09ed31034ad5a8b7f5c9fa3381e8dddbd8593~1..68f09ed31034ad5a8b7f5c9fa3381e8dddbd8593 [Pipeline] echo 12:40:45 -----------> git rev-list -1 --merges 68f09ed31034ad5a8b7f5c9fa3381e8dddbd8593~1..68f09ed31034ad5a8b7f5c9fa3381e8dddbd8593 68f09ed31034ad5a8b7f5c9fa3381e8dddbd8593 [false] [Pipeline] sh 12:40:45 + git log --format=format:%s -1 68f09ed31034ad5a8b7f5c9fa3381e8dddbd8593 [Pipeline] echo 12:40:45 ========================================================= 12:40:45 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:40:45 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:40:45 + git log --format=format:%s -1 68f09ed31034ad5a8b7f5c9fa3381e8dddbd8593 [Pipeline] echo 12:40:45 [semverPrep] GIT_COMMIT: 68f09ed31034ad5a8b7f5c9fa3381e8dddbd8593, Commit Message: fix(snap): updates to snap packaging [Pipeline] echo 12:40:45 [semverPrep] This is not a build commit. [Pipeline] sh 12:40:46 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 12:40:46 + grep -v github /etc/ssh/ssh_known_hosts 12:40:46 + '[' -e /tmp/ssh_known_hosts ']' 12:40:46 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:40:46 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 12:40:46 + sudo tee -a /etc/ssh/ssh_known_hosts 12:40:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 12:40:46 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:40:46 12:40:46 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 12:40:46 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:40:46 latest: Pulling from edgex-devops/git-semver 12:40:46 a0d0a0d46f8b: Pulling fs layer 12:40:46 3e5f54012d9b: Pulling fs layer 12:40:46 4c7163046ea9: Pulling fs layer 12:40:46 0c2d73faf560: Pulling fs layer 12:40:46 0c2d73faf560: Waiting 12:40:46 3e5f54012d9b: Verifying Checksum 12:40:46 3e5f54012d9b: Download complete 12:40:46 a0d0a0d46f8b: Verifying Checksum 12:40:46 a0d0a0d46f8b: Download complete 12:40:46 0c2d73faf560: Verifying Checksum 12:40:46 0c2d73faf560: Download complete 12:40:46 4c7163046ea9: Verifying Checksum 12:40:46 4c7163046ea9: Download complete 12:40:47 a0d0a0d46f8b: Pull complete 12:40:47 3e5f54012d9b: Pull complete 12:40:47 4c7163046ea9: Pull complete 12:40:47 0c2d73faf560: Pull complete 12:40:47 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 12:40:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:40:47 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 12:40:47 prd-centos7-docker-4c-2g-5345 does not seem to be running inside a container 12:40:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-rfid-llrp-go_PR-61 -v /w/workspace/oundry_device-rfid-llrp-go_PR-61:/w/workspace/oundry_device-rfid-llrp-go_PR-61:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-61@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-61@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 12:40:48 $ docker top 08f6b76adcec994d2e995c5f80416f286383612326c00dac05af8231ba1ead17 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:40:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:40:48 [ssh-agent] Looking for ssh-agent implementation... 12:40:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:40:48 $ docker exec 08f6b76adcec994d2e995c5f80416f286383612326c00dac05af8231ba1ead17 ssh-agent 12:40:48 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXabGnki/agent.14 12:40:48 SSH_AGENT_PID=21 12:40:48 Running ssh-add (command line suppressed) 12:40:48 Identity added: /w/workspace/oundry_device-rfid-llrp-go_PR-61@tmp/private_key_8382314950192548734.key (/w/workspace/oundry_device-rfid-llrp-go_PR-61@tmp/private_key_8382314950192548734.key) 12:40:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:40:48 + git tag --points-at HEAD [Pipeline] } 12:40:48 $ docker exec --env ******** --env ******** 08f6b76adcec994d2e995c5f80416f286383612326c00dac05af8231ba1ead17 ssh-agent -k 12:40:48 unset SSH_AUTH_SOCK; 12:40:48 unset SSH_AGENT_PID; 12:40:48 echo Agent pid 21 killed; 12:40:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:40:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:40:49 [ssh-agent] Looking for ssh-agent implementation... 12:40:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:40:49 $ docker exec 08f6b76adcec994d2e995c5f80416f286383612326c00dac05af8231ba1ead17 ssh-agent 12:40:49 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgObddK/agent.56 12:40:49 SSH_AGENT_PID=63 12:40:49 Running ssh-add (command line suppressed) 12:40:49 Identity added: /w/workspace/oundry_device-rfid-llrp-go_PR-61@tmp/private_key_8431484906820699106.key (/w/workspace/oundry_device-rfid-llrp-go_PR-61@tmp/private_key_8431484906820699106.key) 12:40:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:40:49 + git semver init 12:40:49 # -> Open(): unable to determine branch for HEAD 12:40:49 # $GIT_DIR = /w/workspace/oundry_device-rfid-llrp-go_PR-61/.git 12:40:49 # $GIT_WORK_TREE = /w/workspace/oundry_device-rfid-llrp-go_PR-61 12:40:49 # $SEMVER_REMOTE_NAME = origin 12:40:49 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 12:40:49 # $SEMVER_USER_NAME = edgex-jenkins 12:40:49 # $SEMVER_BRANCH = PR-61 12:40:49 # $SEMVER_TEMP = /tmp/semver-387473620 12:40:49 # git clone --branch semver git@github.com:edgexfoundry/device-rfid-llrp-go.git $SEMVER_TEMP 12:40:50 # '/tmp/semver-387473620' -> '/w/workspace/oundry_device-rfid-llrp-go_PR-61/.semver' 12:40:50 # -> Force: false 12:40:50 # $SEMVER_DIR = /w/workspace/oundry_device-rfid-llrp-go_PR-61/.semver [Pipeline] } 12:40:50 $ docker exec --env ******** --env ******** 08f6b76adcec994d2e995c5f80416f286383612326c00dac05af8231ba1ead17 ssh-agent -k 12:40:50 unset SSH_AUTH_SOCK; 12:40:50 unset SSH_AGENT_PID; 12:40:50 echo Agent pid 63 killed; 12:40:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:40:50 + git semver [Pipeline] } 12:40:50 $ docker stop --time=1 08f6b76adcec994d2e995c5f80416f286383612326c00dac05af8231ba1ead17 12:40:51 $ docker rm -f 08f6b76adcec994d2e995c5f80416f286383612326c00dac05af8231ba1ead17 [Pipeline] // withDockerContainer [Pipeline] sh 12:40:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:40:52 Stashed 1 file(s) [Pipeline] echo 12:40:52 [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 12:40:52 provisioning config files... 12:40:52 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/oundry_device-rfid-llrp-go_PR-61@tmp/config8029944799992000322tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:40:52 ---> docker-login.sh 12:40:52 nexus3.edgexfoundry.org:10001 12:40:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:40:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:40:52 Configure a credential helper to remove this warning. See 12:40:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:40:52 12:40:52 Login Succeeded 12:40:52 nexus3.edgexfoundry.org:10002 12:40:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:40:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:40:52 Configure a credential helper to remove this warning. See 12:40:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:40:52 12:40:52 Login Succeeded 12:40:52 nexus3.edgexfoundry.org:10003 12:40:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:40:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:40:53 Configure a credential helper to remove this warning. See 12:40:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:40:53 12:40:53 Login Succeeded 12:40:53 nexus3.edgexfoundry.org:10004 12:40:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:40:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:40:53 Configure a credential helper to remove this warning. See 12:40:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:40:53 12:40:53 Login Succeeded 12:40:53 docker.io 12:40:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:40:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:40:53 Configure a credential helper to remove this warning. See 12:40:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:40:53 12:40:53 Login Succeeded 12:40:53 ---> docker-login.sh ends [Pipeline] } 12:40:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:40:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:40:53 ========================================================= 12:40:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 12:40:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:40:54 + 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 . 12:40:54 Sending build context to Docker daemon 1.723MB 12:40:54 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 12:40:54 Step 2/12 : FROM ${BASE} AS builder 12:40:54 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 12:40:54 59bf1c3509f3: Pulling fs layer 12:40:54 666ba61612fd: Pulling fs layer 12:40:54 8ed8ca486205: Pulling fs layer 12:40:54 4fe6c5a15a65: Pulling fs layer 12:40:54 22a0e8bec74d: Pulling fs layer 12:40:54 640e595b4fbd: Pulling fs layer 12:40:54 763cafe07f6e: Pulling fs layer 12:40:54 0c0b528cf693: Pulling fs layer 12:40:54 10935f4eaf8b: Pulling fs layer 12:40:54 4fe6c5a15a65: Waiting 12:40:54 22a0e8bec74d: Waiting 12:40:54 640e595b4fbd: Waiting 12:40:54 763cafe07f6e: Waiting 12:40:54 0c0b528cf693: Waiting 12:40:54 10935f4eaf8b: Waiting 12:40:54 8ed8ca486205: Verifying Checksum 12:40:54 8ed8ca486205: Download complete 12:40:54 666ba61612fd: Verifying Checksum 12:40:54 666ba61612fd: Download complete 12:40:54 22a0e8bec74d: Verifying Checksum 12:40:54 22a0e8bec74d: Download complete 12:40:54 640e595b4fbd: Verifying Checksum 12:40:54 640e595b4fbd: Download complete 12:40:54 763cafe07f6e: Verifying Checksum 12:40:54 763cafe07f6e: Download complete 12:40:54 59bf1c3509f3: Verifying Checksum 12:40:54 59bf1c3509f3: Download complete 12:40:54 0c0b528cf693: Verifying Checksum 12:40:54 0c0b528cf693: Download complete 12:40:54 59bf1c3509f3: Pull complete 12:40:54 4fe6c5a15a65: Verifying Checksum 12:40:54 4fe6c5a15a65: Download complete 12:40:54 666ba61612fd: Pull complete 12:40:54 8ed8ca486205: Pull complete 12:40:54 10935f4eaf8b: Verifying Checksum 12:40:54 10935f4eaf8b: Download complete 12:40:59 4fe6c5a15a65: Pull complete 12:40:59 22a0e8bec74d: Pull complete 12:40:59 640e595b4fbd: Pull complete 12:40:59 763cafe07f6e: Pull complete 12:40:59 0c0b528cf693: Pull complete 12:41:01 10935f4eaf8b: Pull complete 12:41:01 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 12:41:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 12:41:01 ---> 99d49a6021b9 12:41:01 Step 3/12 : ARG MAKE='make build' 12:41:02 ---> Running in 2e37ff12bd8e 12:41:03 Removing intermediate container 2e37ff12bd8e 12:41:03 ---> 5d017dabb33f 12:41:03 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 12:41:03 ---> Running in 79da5cef526d 12:41:03 Removing intermediate container 79da5cef526d 12:41:03 ---> d9992ce0223e 12:41:03 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 12:41:03 ---> Running in 2225b125534e 12:41:03 Removing intermediate container 2225b125534e 12:41:03 ---> a9c820f311e4 12:41:03 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:41:03 ---> Running in a90e9b48ee5c 12:41:03 Removing intermediate container a90e9b48ee5c 12:41:03 ---> a6fccc1fab0c 12:41:03 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:41:03 ---> Running in c023b686e9de 12:41:03 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:41:04 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:41:05 OK: 221 MiB in 52 packages 12:41:05 Removing intermediate container c023b686e9de 12:41:05 ---> 16470b1ec1cb 12:41:05 Step 8/12 : WORKDIR /app 12:41:05 ---> Running in 7c671b31b70e 12:41:05 Removing intermediate container 7c671b31b70e 12:41:05 ---> 531aa379b12e 12:41:05 Step 9/12 : COPY go.mod vendor* ./ 12:41:05 ---> b2b7ba792605 12:41:05 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:41:05 ---> Running in 3763539f7550 12:41:07 Still waiting to schedule task 12:41:07 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-5343’ 12:41:32 Removing intermediate container 3763539f7550 12:41:32 ---> 9ee2f0f8e45b 12:41:32 Step 11/12 : COPY . . 12:41:32 ---> 8bb4826e9f31 12:41:32 Step 12/12 : RUN $MAKE 12:41:32 ---> Running in 279b52754451 12:41:32 noop 12:41:32 Removing intermediate container 279b52754451 12:41:32 ---> 167e6f9ef05c 12:41:32 Successfully built 167e6f9ef05c 12:41:32 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 12:41:32 + docker inspect -f . ci-base-image-x86_64 12:41:32 . [Pipeline] withDockerContainer 12:41:32 prd-centos7-docker-4c-2g-5345 does not seem to be running inside a container 12:41:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-rfid-llrp-go_PR-61 -v /w/workspace/oundry_device-rfid-llrp-go_PR-61:/w/workspace/oundry_device-rfid-llrp-go_PR-61:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-61@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-61@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 12:41:33 $ docker top 1cd9390c5e88326751b80adc9ad7da0aab4951db0a17b80735151a3000c1e3fd -eo pid,comm [Pipeline] { [Pipeline] sh 12:41:33 + go version 12:41:33 go version go1.17.6 linux/amd64 [Pipeline] } 12:41:33 $ docker stop --time=1 1cd9390c5e88326751b80adc9ad7da0aab4951db0a17b80735151a3000c1e3fd 12:41:34 $ docker rm -f 1cd9390c5e88326751b80adc9ad7da0aab4951db0a17b80735151a3000c1e3fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:41:35 + docker inspect -f . ci-base-image-x86_64 12:41:35 . [Pipeline] withDockerContainer 12:41:35 prd-centos7-docker-4c-2g-5345 does not seem to be running inside a container 12:41:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-rfid-llrp-go_PR-61 -v /w/workspace/oundry_device-rfid-llrp-go_PR-61:/w/workspace/oundry_device-rfid-llrp-go_PR-61:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-61@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-61@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 12:41:35 $ docker top e6ed12249290a62f511cb95f680ab317f8b5ce275a00efb614a6cb0edae09f64 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:41:36 + make test 12:41:36 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 12:41:36 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 12:41:51 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 12:41:51 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 12:41:56 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 3.243s coverage: 39.3% of statements 12:41:56 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.258s coverage: 52.0% of statements 12:41:56 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.008s coverage: 95.5% of statements 12:42:09 CGO_ENABLED=1 GO111MODULE=on go vet ./... 12:42:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:42:13 ./snap/local/hooks/cmd/install/install.go 12:42:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:42:13 make: *** [Makefile:33: test] Error 1 [Pipeline] } 12:42:13 $ docker stop --time=1 e6ed12249290a62f511cb95f680ab317f8b5ce275a00efb614a6cb0edae09f64 12:42:14 $ docker rm -f e6ed12249290a62f511cb95f680ab317f8b5ce275a00efb614a6cb0edae09f64 [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 12:42:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:42:15 12:42:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 12:42:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:42:15 latest: Pulling from edgex-lftools-log-publisher 12:42:15 b4d181a07f80: Pulling fs layer 12:42:15 a1111a8f2ec3: Pulling fs layer 12:42:15 ed53099fbce6: Pulling fs layer 12:42:15 dc539afda2c1: Pulling fs layer 12:42:15 77bc0d833cb6: Pulling fs layer 12:42:15 9065ff56babe: Pulling fs layer 12:42:15 d287ab97295c: Pulling fs layer 12:42:15 dc539afda2c1: Waiting 12:42:15 77bc0d833cb6: Waiting 12:42:15 9065ff56babe: Waiting 12:42:15 d287ab97295c: Waiting 12:42:15 a1111a8f2ec3: Verifying Checksum 12:42:15 a1111a8f2ec3: Download complete 12:42:15 dc539afda2c1: Verifying Checksum 12:42:15 dc539afda2c1: Download complete 12:42:15 ed53099fbce6: Verifying Checksum 12:42:15 ed53099fbce6: Download complete 12:42:15 9065ff56babe: Verifying Checksum 12:42:15 9065ff56babe: Download complete 12:42:16 77bc0d833cb6: Verifying Checksum 12:42:16 77bc0d833cb6: Download complete 12:42:16 b4d181a07f80: Verifying Checksum 12:42:16 b4d181a07f80: Download complete 12:42:16 d287ab97295c: Verifying Checksum 12:42:16 d287ab97295c: Download complete 12:42:17 b4d181a07f80: Pull complete 12:42:17 a1111a8f2ec3: Pull complete 12:42:18 ed53099fbce6: Pull complete 12:42:18 dc539afda2c1: Pull complete 12:42:18 77bc0d833cb6: Pull complete 12:42:18 9065ff56babe: Pull complete 12:42:23 d287ab97295c: Pull complete 12:42:23 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 12:42:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:42:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 12:42:23 prd-centos7-docker-4c-2g-5345 does not seem to be running inside a container 12:42:23 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-rfid-llrp-go_PR-61 -v /w/workspace/oundry_device-rfid-llrp-go_PR-61:/w/workspace/oundry_device-rfid-llrp-go_PR-61:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-61@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-61@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 12:42:26 $ docker top a2ba14d4cba4fac841d2fdb320dcc402e53f3afcc7a4e384c39e09699351ef71 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:42:26 ---> job-cost.sh 12:42:26 lf-activate-venv: SKIPPING 12:42:26 INFO: No Stack... 12:42:26 INFO: Retrieving Pricing Info for: v3-standard-2 12:42:26 INFO: Archiving Costs [Pipeline] sh 12:42:27 + cut -d, -f6 12:42:27 + cat /w/workspace/oundry_device-rfid-llrp-go_PR-61/archives/cost.csv [Pipeline] lock 12:42:27 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-61-14-stack-cost] 12:42:27 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-61-14-stack-cost] did not exist. Created. 12:42:27 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-61-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:42:27 + echo total: 0.05999999865889549 [Pipeline] stash 12:42:27 Stashed 1 file(s) [Pipeline] } 12:42:27 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-61-14-stack-cost] [Pipeline] // lock [Pipeline] } 12:42:27 $ docker stop --time=1 a2ba14d4cba4fac841d2fdb320dcc402e53f3afcc7a4e384c39e09699351ef71 12:42:28 $ docker rm -f a2ba14d4cba4fac841d2fdb320dcc402e53f3afcc7a4e384c39e09699351ef71 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:42:28 Failed in branch amd64 12:43:52 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5347 in /w/workspace/oundry_device-rfid-llrp-go_PR-61 [Pipeline] { [Pipeline] ws 12:43:52 Running in /w/workspace/device-rfid-llrp-go/14 [Pipeline] { [Pipeline] checkout 12:43:52 Selected Git installation does not exist. Using Default 12:43:52 The recommended git tool is: NONE 12:43:57 using credential edgex-jenkins-ssh 12:43:57 Cloning the remote Git repository 12:43:57 Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git 12:43:57 > git init /w/workspace/device-rfid-llrp-go/14 # timeout=10 12:43:57 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 12:43:57 > git --version # timeout=10 12:43:57 > git --version # 'git version 2.17.1' 12:43:57 using GIT_SSH to set credentials SSH Credentials for GitHub 12:43:58 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:43:58 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 12:43:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:43:59 Merging remotes/origin/main commit fdb8dc9e065565c3e0b08ed77eb96ef70046d97a into PR head commit 68f09ed31034ad5a8b7f5c9fa3381e8dddbd8593 12:43:59 Merge succeeded, producing 68f09ed31034ad5a8b7f5c9fa3381e8dddbd8593 12:43:59 Checking out Revision 68f09ed31034ad5a8b7f5c9fa3381e8dddbd8593 (PR-61) 12:43:58 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 12:43:58 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 12:43:58 using GIT_SSH to set credentials SSH Credentials for GitHub 12:43:58 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/61/head:refs/remotes/origin/PR-61 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:43:59 > git config core.sparsecheckout # timeout=10 12:43:59 > git checkout -f 68f09ed31034ad5a8b7f5c9fa3381e8dddbd8593 # timeout=10 12:43:59 > git remote # timeout=10 12:43:59 > git config --get remote.origin.url # timeout=10 12:43:59 using GIT_SSH to set credentials SSH Credentials for GitHub 12:43:59 > git merge fdb8dc9e065565c3e0b08ed77eb96ef70046d97a # timeout=10 12:43:59 > git rev-parse HEAD^{commit} # timeout=10 12:43:59 > git config core.sparsecheckout # timeout=10 12:43:59 > git checkout -f 68f09ed31034ad5a8b7f5c9fa3381e8dddbd8593 # timeout=10 12:44:04 Commit message: "fix(snap): updates to snap packaging" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:44:04 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:44:04 % Total % Received % Xferd Average Speed Time Time Time Current 12:44:04 Dload Upload Total Spent Left Speed 12:44:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 214k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh 12:44:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:44:05 + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:44:05 sudo tee /etc/docker/daemon.new 12:44:05 { 12:44:05 "registry-mirrors": [ 12:44:05 "https://nexus3.edgexfoundry.org:10001" 12:44:05 ], 12:44:05 "bip": "10.250.0.254/24", 12:44:05 "hosts": [ 12:44:05 "tcp://0.0.0.0:5555", 12:44:05 "unix:///var/run/docker.sock" 12:44:05 ], 12:44:05 "mtu": 1458, 12:44:05 "selinux-enabled": true, 12:44:05 "seccomp-profile": "/etc/docker/seccomp.json" 12:44:05 } [Pipeline] sh 12:44:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:44:06 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:44:25 provisioning config files... 12:44:25 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/device-rfid-llrp-go/14@tmp/config8590934805505061484tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:44:25 ---> docker-login.sh 12:44:25 nexus3.edgexfoundry.org:10001 12:44:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:44:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:44:26 Configure a credential helper to remove this warning. See 12:44:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:44:26 12:44:26 Login Succeeded 12:44:26 nexus3.edgexfoundry.org:10002 12:44:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:44:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:44:26 Configure a credential helper to remove this warning. See 12:44:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:44:26 12:44:26 Login Succeeded 12:44:26 nexus3.edgexfoundry.org:10003 12:44:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:44:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:44:27 Configure a credential helper to remove this warning. See 12:44:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:44:27 12:44:27 Login Succeeded 12:44:27 nexus3.edgexfoundry.org:10004 12:44:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:44:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:44:27 Configure a credential helper to remove this warning. See 12:44:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:44:27 12:44:27 Login Succeeded 12:44:27 docker.io 12:44:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:44:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:44:28 Configure a credential helper to remove this warning. See 12:44:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:44:28 12:44:28 Login Succeeded 12:44:28 ---> docker-login.sh ends [Pipeline] } 12:44:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:44:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:44:28 ========================================================= 12:44:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 12:44:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:44:29 + 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 . 12:44:29 Sending build context to Docker daemon 1.225MB 12:44:29 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 12:44:29 Step 2/12 : FROM ${BASE} AS builder 12:44:29 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:44:29 9b3977197b4f: Pulling fs layer 12:44:29 1a89e8eeedd5: Pulling fs layer 12:44:29 94645a83ff95: Pulling fs layer 12:44:29 3f3a8bcf1eab: Pulling fs layer 12:44:29 0c92f367c5e7: Pulling fs layer 12:44:29 f7c0051592d6: Pulling fs layer 12:44:29 a227ed2f7395: Pulling fs layer 12:44:29 7b1c46037f91: Pulling fs layer 12:44:29 f7c0051592d6: Waiting 12:44:29 a227ed2f7395: Waiting 12:44:29 3f3a8bcf1eab: Waiting 12:44:29 7b1c46037f91: Waiting 12:44:29 0c92f367c5e7: Waiting 12:44:29 94645a83ff95: Verifying Checksum 12:44:29 94645a83ff95: Download complete 12:44:29 1a89e8eeedd5: Verifying Checksum 12:44:29 1a89e8eeedd5: Download complete 12:44:29 0c92f367c5e7: Download complete 12:44:29 f7c0051592d6: Verifying Checksum 12:44:29 f7c0051592d6: Download complete 12:44:29 a227ed2f7395: Verifying Checksum 12:44:29 a227ed2f7395: Download complete 12:44:29 9b3977197b4f: Verifying Checksum 12:44:29 9b3977197b4f: Download complete 12:44:30 9b3977197b4f: Pull complete 12:44:31 1a89e8eeedd5: Pull complete 12:44:31 94645a83ff95: Pull complete 12:44:31 7b1c46037f91: Verifying Checksum 12:44:31 7b1c46037f91: Download complete 12:44:32 3f3a8bcf1eab: Download complete 12:44:44 3f3a8bcf1eab: Pull complete 12:44:44 0c92f367c5e7: Pull complete 12:44:44 f7c0051592d6: Pull complete 12:44:44 a227ed2f7395: Pull complete 12:44:50 7b1c46037f91: Pull complete 12:44:50 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 12:44:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 12:44:50 ---> f79e39bc4007 12:44:50 Step 3/12 : ARG MAKE='make build' 12:44:51 ---> Running in b4d197dd3b97 12:44:51 Removing intermediate container b4d197dd3b97 12:44:51 ---> 8214d4619211 12:44:51 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 12:44:52 ---> Running in d7b72dfbeee0 12:44:52 Removing intermediate container d7b72dfbeee0 12:44:52 ---> 3aa2a2ff572a 12:44:52 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 12:44:52 ---> Running in 2c432a9c7d0d 12:44:52 Removing intermediate container 2c432a9c7d0d 12:44:52 ---> 676eac1847f5 12:44:52 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:44:52 ---> Running in e4fd6ce4fda3 12:44:54 Removing intermediate container e4fd6ce4fda3 12:44:54 ---> 7b3dfe8f5116 12:44:54 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:44:54 ---> Running in 2890c55ed25d 12:44:55 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:44:56 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:44:57 OK: 220 MiB in 52 packages 12:44:58 Removing intermediate container 2890c55ed25d 12:44:58 ---> 543ac8cebef8 12:44:58 Step 8/12 : WORKDIR /app 12:44:58 ---> Running in 8a8f389d48d3 12:44:59 Removing intermediate container 8a8f389d48d3 12:44:59 ---> d4cb9fe15491 12:44:59 Step 9/12 : COPY go.mod vendor* ./ 12:44:59 ---> 48fdb166f465 12:44:59 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:44:59 ---> Running in eeba6f83c8b5 12:46:07 Removing intermediate container eeba6f83c8b5 12:46:07 ---> 43f833049c65 12:46:07 Step 11/12 : COPY . . 12:46:07 ---> 9a2b9f72ea70 12:46:07 Step 12/12 : RUN $MAKE 12:46:07 ---> Running in 47141572aa7a 12:46:08 noop 12:46:09 Removing intermediate container 47141572aa7a 12:46:09 ---> 3fb4d3546549 12:46:09 Successfully built 3fb4d3546549 12:46:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 12:46:09 + docker inspect -f . ci-base-image-arm64 12:46:09 . [Pipeline] withDockerContainer 12:46:09 prd-ubuntu18.04-docker-arm64-4c-16g-5347 does not seem to be running inside a container 12:46:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rfid-llrp-go/14 -v /w/workspace/device-rfid-llrp-go/14:/w/workspace/device-rfid-llrp-go/14:rw,z -v /w/workspace/device-rfid-llrp-go/14@tmp:/w/workspace/device-rfid-llrp-go/14@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 12:46:11 $ docker top b575289a97342229e10a3e382b3cbccd04173806d79d197cf43f3ac2369ebb2a -eo pid,comm [Pipeline] { [Pipeline] sh 12:46:12 + go version 12:46:12 go version go1.17.6 linux/arm64 [Pipeline] } 12:46:12 $ docker stop --time=1 b575289a97342229e10a3e382b3cbccd04173806d79d197cf43f3ac2369ebb2a 12:46:13 $ docker rm -f b575289a97342229e10a3e382b3cbccd04173806d79d197cf43f3ac2369ebb2a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:46:14 + docker inspect -f . ci-base-image-arm64 12:46:14 . [Pipeline] withDockerContainer 12:46:14 prd-ubuntu18.04-docker-arm64-4c-16g-5347 does not seem to be running inside a container 12:46:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rfid-llrp-go/14 -v /w/workspace/device-rfid-llrp-go/14:/w/workspace/device-rfid-llrp-go/14:rw,z -v /w/workspace/device-rfid-llrp-go/14@tmp:/w/workspace/device-rfid-llrp-go/14@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 12:46:15 $ docker top c8e5b537d5cbe60d71a9bd552e38241d36ae67b3da692f97f0997678c36f3883 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:46:16 + make test 12:46:16 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 12:46:18 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 12:47:14 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 12:47:14 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 12:47:41 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 26.058s coverage: 39.3% of statements 12:47:41 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.490s coverage: 52.0% of statements 12:47:41 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.039s coverage: 94.6% of statements 12:47:41 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:47:41 CGO_ENABLED=1 GO111MODULE=on go vet ./... 12:47:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:47:59 ./snap/local/hooks/cmd/install/install.go 12:47:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:47:59 make: *** [Makefile:33: test] Error 1 [Pipeline] } 12:47:59 $ docker stop --time=1 c8e5b537d5cbe60d71a9bd552e38241d36ae67b3da692f97f0997678c36f3883 12:48:01 $ docker rm -f c8e5b537d5cbe60d71a9bd552e38241d36ae67b3da692f97f0997678c36f3883 [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 12:48:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:48:02 12:48:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 12:48:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:48:02 arm64: Pulling from edgex-lftools-log-publisher 12:48:02 448f6bf000e3: Pulling fs layer 12:48:02 f757da607395: Pulling fs layer 12:48:02 05883995daec: Pulling fs layer 12:48:02 8603b9c90790: Pulling fs layer 12:48:02 1560dd03e051: Pulling fs layer 12:48:02 27f5ce0e4adf: Pulling fs layer 12:48:02 c2d8d7efcc4b: Pulling fs layer 12:48:02 8603b9c90790: Waiting 12:48:02 1560dd03e051: Waiting 12:48:02 27f5ce0e4adf: Waiting 12:48:02 c2d8d7efcc4b: Waiting 12:48:03 f757da607395: Verifying Checksum 12:48:03 f757da607395: Download complete 12:48:03 8603b9c90790: Verifying Checksum 12:48:03 8603b9c90790: Download complete 12:48:03 1560dd03e051: Verifying Checksum 12:48:03 1560dd03e051: Download complete 12:48:03 27f5ce0e4adf: Verifying Checksum 12:48:03 27f5ce0e4adf: Download complete 12:48:03 05883995daec: Verifying Checksum 12:48:03 05883995daec: Download complete 12:48:03 448f6bf000e3: Verifying Checksum 12:48:03 448f6bf000e3: Download complete 12:48:06 c2d8d7efcc4b: Verifying Checksum 12:48:06 c2d8d7efcc4b: Download complete 12:48:07 448f6bf000e3: Pull complete 12:48:08 f757da607395: Pull complete 12:48:09 05883995daec: Pull complete 12:48:09 8603b9c90790: Pull complete 12:48:10 1560dd03e051: Pull complete 12:48:10 27f5ce0e4adf: Pull complete 12:48:29 c2d8d7efcc4b: Pull complete 12:48:29 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 12:48:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:48:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 12:48:29 prd-ubuntu18.04-docker-arm64-4c-16g-5347 does not seem to be running inside a container 12:48:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rfid-llrp-go/14 -v /w/workspace/device-rfid-llrp-go/14:/w/workspace/device-rfid-llrp-go/14:rw,z -v /w/workspace/device-rfid-llrp-go/14@tmp:/w/workspace/device-rfid-llrp-go/14@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 12:48:31 $ docker top 0c46cdc1bf7bd8755684a6f34b245a1bbe2a6644fd06681e614f3efc19a6679b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:48:32 ---> job-cost.sh 12:48:32 lf-activate-venv: SKIPPING 12:48:32 INFO: No Stack... 12:48:33 INFO: Retrieving Pricing Info for: v3-standard-4 12:48:33 INFO: Archiving Costs [Pipeline] sh 12:48:34 + cat /w/workspace/device-rfid-llrp-go/14/archives/cost.csv 12:48:34 + cut -d, -f6 [Pipeline] lock 12:48:34 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-61-14-stack-cost] 12:48:34 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-61-14-stack-cost] did not exist. Created. 12:48:34 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-61-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:48:34 /w/workspace/device-rfid-llrp-go/14@tmp/durable-2baf2dd0/script.sh: 1: /w/workspace/device-rfid-llrp-go/14@tmp/durable-2baf2dd0/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 12:48:35 + echo total: 0.10999999940395355 [Pipeline] stash 12:48:35 Warning: overwriting stash ‘stack-cost’ 12:48:35 Stashed 1 file(s) [Pipeline] } 12:48:35 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-61-14-stack-cost] [Pipeline] // lock [Pipeline] } 12:48:35 $ docker stop --time=1 0c46cdc1bf7bd8755684a6f34b245a1bbe2a6644fd06681e614f3efc19a6679b 12:48:37 $ docker rm -f 0c46cdc1bf7bd8755684a6f34b245a1bbe2a6644fd06681e614f3efc19a6679b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 12:48:37 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 12:48:38 + '[' -d /w/workspace/oundry_device-rfid-llrp-go_PR-61/archives ']' 12:48:38 + ls -al /w/workspace/oundry_device-rfid-llrp-go_PR-61/archives 12:48:38 total 8 12:48:38 drwxr-xr-x. 3 root root 34 Feb 16 12:42 . 12:48:38 drwxrwxr-x. 12 jenkins jenkins 4096 Feb 16 12:42 .. 12:48:38 drwxr-xr-x. 2 root root 6 Feb 16 12:42 cost 12:48:38 -rw-r--r--. 1 root root 90 Feb 16 12:42 cost.csv 12:48:38 + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-rfid-llrp-go_PR-61/archives 12:48:38 + ls -al /w/workspace/oundry_device-rfid-llrp-go_PR-61/archives 12:48:38 total 8 12:48:38 drwxr-xr-x. 3 jenkins jenkins 34 Feb 16 12:42 . 12:48:38 drwxrwxr-x. 12 jenkins jenkins 4096 Feb 16 12:42 .. 12:48:38 drwxr-xr-x. 2 jenkins jenkins 6 Feb 16 12:42 cost 12:48:38 -rw-r--r--. 1 jenkins jenkins 90 Feb 16 12:42 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:48:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:48:39 ---> package-listing.sh 12:48:39 ++ facter osfamily 12:48:39 ++ tr '[:upper:]' '[:lower:]' 12:48:39 + OS_FAMILY=redhat 12:48:39 + workspace=/w/workspace/oundry_device-rfid-llrp-go_PR-61 12:48:39 + START_PACKAGES=/tmp/packages_start.txt 12:48:39 + END_PACKAGES=/tmp/packages_end.txt 12:48:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:48:39 + PACKAGES=/tmp/packages_start.txt 12:48:39 + '[' /w/workspace/oundry_device-rfid-llrp-go_PR-61 ']' 12:48:39 + PACKAGES=/tmp/packages_end.txt 12:48:39 + case "${OS_FAMILY}" in 12:48:39 + rpm -qa 12:48:39 + sort 12:48:40 + '[' -f /tmp/packages_start.txt ']' 12:48:40 + '[' -f /tmp/packages_end.txt ']' 12:48:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:48:40 + '[' /w/workspace/oundry_device-rfid-llrp-go_PR-61 ']' 12:48:40 + mkdir -p /w/workspace/oundry_device-rfid-llrp-go_PR-61/archives/ 12:48:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-rfid-llrp-go_PR-61/archives/ [Pipeline] echo 12:48:40 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/oundry_device-rfid-llrp-go_PR-61/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:48:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 12:48:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:48:40 . [Pipeline] withDockerContainer 12:48:41 prd-centos7-docker-4c-2g-5345 does not seem to be running inside a container 12:48:41 $ 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/oundry_device-rfid-llrp-go_PR-61/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-rfid-llrp-go_PR-61 -v /w/workspace/oundry_device-rfid-llrp-go_PR-61:/w/workspace/oundry_device-rfid-llrp-go_PR-61:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-61@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-61@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 12:48:41 $ docker top 4676054c9a8b9c75cb6f847b4c27fbf17b2ecbfa15379da2a7c07d29dc57fd3d -eo pid,comm [Pipeline] { [Pipeline] sh 12:48:41 + touch /tmp/pre-build-complete [Pipeline] sh 12:48:42 + mkdir -p /var/log/sysstat [Pipeline] sh 12:48:42 + ls /var/log/sa-host 12:48:42 + sadf -c /var/log/sa-host/sa16 12:48:42 file_magic: OK 12:48:42 HZ: Using current value: 100 12:48:42 file_header: OK 12:48:42 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 12:48:42 Statistics: 12:48:42 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 12:48:42 File successfully converted to sysstat format version 12.0.3 12:48:42 + sadf -c /var/log/sa-host/sa17 12:48:42 file_magic: OK 12:48:42 HZ: Using current value: 100 12:48:42 file_header: OK 12:48:42 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 12:48:42 Statistics: 12:48:42 Hnuu...uuuununununu...Hnuu...uuuununununu... 12:48:42 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:48:42 provisioning config files... 12:48:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-rfid-llrp-go_PR-61@tmp/config5125734341026090341tmp [Pipeline] { [Pipeline] echo 12:48:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:48:42 ---> create-netrc.sh [Pipeline] } 12:48:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:48:43 ---> python-tools-install.sh [Pipeline] echo 12:48:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:48:43 ---> sudo-logs.sh 12:48:43 Archiving 'sudo' log.. 12:48:43 sudo: unable to resolve host prd-centos7-docker-4c-2g-5345.novalocal: Name or service not known 12:48:43 sudo: unable to resolve host prd-centos7-docker-4c-2g-5345.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 12:48:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:48:43 ---> job-cost.sh 12:48:43 lf-activate-venv: SKIPPING 12:48:43 DEBUG: total: 0.05999999865889549 12:48:43 INFO: Retrieving Stack Cost... 12:48:44 INFO: Retrieving Pricing Info for: v3-standard-2 12:48:44 INFO: Archiving Costs [Pipeline] echo 12:48:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:48:44 ---> logs-deploy.sh 12:48:44 lf-activate-venv: SKIPPING 12:48:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rfid-llrp-go/PR-61/14 12:48:44 INFO: archiving workspace using pattern(s): 12:48:45 Archives upload complete. 12:48:45 INFO: archiving logs to Nexus