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 c3e9370ee22691ec287363278e9a9b5908ad903b+fdb8dc9e065565c3e0b08ed77eb96ef70046d97a (0435df46b2e4b1dd13630c8ec069b433ef4dd832) 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-ssh5181021857583704046.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-ssh1872339372504698568.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-ssh2895422032086935961.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-ssh10931805885742735113.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-ssh18407506932071049776.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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-5342 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-ssh5336819552735206388.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit fdb8dc9e065565c3e0b08ed77eb96ef70046d97a into PR head commit c3e9370ee22691ec287363278e9a9b5908ad903b Merge succeeded, producing c3e9370ee22691ec287363278e9a9b5908ad903b Checking out Revision c3e9370ee22691ec287363278e9a9b5908ad903b (PR-61) > 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-ssh5057414616150022279.key > 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 c3e9370ee22691ec287363278e9a9b5908ad903b # 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-ssh3557841524155576182.key > git merge fdb8dc9e065565c3e0b08ed77eb96ef70046d97a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c3e9370ee22691ec287363278e9a9b5908ad903b # timeout=10 Commit message: "fix(snap): updates to snap packaging" > git rev-list --no-walk 14c0fd154b89793c9e7ff76fc26f5bc4cd23d086 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:34:54 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:34:54 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:34:54 ========================================================= 12:34:54 EdgeX Global Pipelines Version Info 12:34:54 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:34:55 ------------------- 12:34:55 stable info: 12:34:55 ------------------- 12:34:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:34:55 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 12:34:55 Message: update stable to v1.0.220 12:34:55 ------------------- 12:34:55 experimental info: 12:34:55 ------------------- 12:34:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:34:55 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 12:34:55 Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:34:56 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rfid-llrp-go-settings [Pipeline] echo 12:34:56 [edgeXSetupEnvironment]: set envvar PROJECT = device-rfid-llrp-go [Pipeline] echo 12:34:56 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:34:56 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:34:56 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:34:56 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 12:34:56 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:34:56 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:34:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:34:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:34:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:34:56 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rfid-llrp [Pipeline] echo 12:34:56 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:34:56 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:34:56 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:34:56 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:34:56 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:34:56 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:34:56 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:34:56 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 12:34:56 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:34:56 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:34:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:34:56 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:34:56 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:34:56 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:34:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-61 [Pipeline] echo 12:34:56 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-61 [Pipeline] echo 12:34:56 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-61 [Pipeline] echo 12:34:56 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c3e9370ee22691ec287363278e9a9b5908ad903b [Pipeline] echo 12:34:56 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c3e9370 [Pipeline] echo 12:34:56 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:34:56 provisioning config files... 12:34:56 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/oundry_device-rfid-llrp-go_PR-61@tmp/config3304098812171484030tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:34:56 ---> docker-login.sh 12:34:56 nexus3.edgexfoundry.org:10001 12:34:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:34:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:34:57 Configure a credential helper to remove this warning. See 12:34:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:34:57 12:34:57 Login Succeeded 12:34:57 nexus3.edgexfoundry.org:10002 12:34:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:34:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:34:57 Configure a credential helper to remove this warning. See 12:34:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:34:57 12:34:57 Login Succeeded 12:34:57 nexus3.edgexfoundry.org:10003 12:34:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:34:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:34:57 Configure a credential helper to remove this warning. See 12:34:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:34:57 12:34:57 Login Succeeded 12:34:57 nexus3.edgexfoundry.org:10004 12:34:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:34:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:34:57 Configure a credential helper to remove this warning. See 12:34:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:34:57 12:34:57 Login Succeeded 12:34:57 docker.io 12:34:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:34:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:34:57 Configure a credential helper to remove this warning. See 12:34:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:34:57 12:34:57 Login Succeeded 12:34:57 ---> docker-login.sh ends [Pipeline] } 12:34:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:34:58 + git rev-list -1 --merges c3e9370ee22691ec287363278e9a9b5908ad903b~1..c3e9370ee22691ec287363278e9a9b5908ad903b [Pipeline] echo 12:34:58 -----------> git rev-list -1 --merges c3e9370ee22691ec287363278e9a9b5908ad903b~1..c3e9370ee22691ec287363278e9a9b5908ad903b c3e9370ee22691ec287363278e9a9b5908ad903b [false] [Pipeline] sh 12:34:58 + git log --format=format:%s -1 c3e9370ee22691ec287363278e9a9b5908ad903b [Pipeline] echo 12:34:58 ========================================================= 12:34:58 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:34:58 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:34:58 + git log --format=format:%s -1 c3e9370ee22691ec287363278e9a9b5908ad903b [Pipeline] echo 12:34:58 [semverPrep] GIT_COMMIT: c3e9370ee22691ec287363278e9a9b5908ad903b, Commit Message: fix(snap): updates to snap packaging [Pipeline] echo 12:34:58 [semverPrep] This is not a build commit. [Pipeline] sh 12:34:59 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 12:34:59 + grep -v github /etc/ssh/ssh_known_hosts 12:34:59 + '[' -e /tmp/ssh_known_hosts ']' 12:34:59 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:34:59 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 12:34:59 + sudo tee -a /etc/ssh/ssh_known_hosts 12:34:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 12:34:59 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:34:59 12:34:59 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 12:35:00 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:35:00 latest: Pulling from edgex-devops/git-semver 12:35:00 a0d0a0d46f8b: Pulling fs layer 12:35:00 3e5f54012d9b: Pulling fs layer 12:35:00 4c7163046ea9: Pulling fs layer 12:35:00 0c2d73faf560: Pulling fs layer 12:35:00 0c2d73faf560: Waiting 12:35:00 3e5f54012d9b: Verifying Checksum 12:35:00 3e5f54012d9b: Download complete 12:35:00 a0d0a0d46f8b: Download complete 12:35:00 4c7163046ea9: Verifying Checksum 12:35:00 4c7163046ea9: Download complete 12:35:00 0c2d73faf560: Verifying Checksum 12:35:00 0c2d73faf560: Download complete 12:35:00 a0d0a0d46f8b: Pull complete 12:35:00 3e5f54012d9b: Pull complete 12:35:00 4c7163046ea9: Pull complete 12:35:00 0c2d73faf560: Pull complete 12:35:00 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 12:35:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 12:35:00 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 12:35:01 prd-centos7-docker-4c-2g-5342 does not seem to be running inside a container 12:35:01 $ 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:35:01 $ docker top 233a2cf75db1f44a458126fd228f424a538d5f7bde21a36dd0aafe6a31c510ae -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:35:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:35:01 [ssh-agent] Looking for ssh-agent implementation... 12:35:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:35:01 $ docker exec 233a2cf75db1f44a458126fd228f424a538d5f7bde21a36dd0aafe6a31c510ae ssh-agent 12:35:02 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCPhjap/agent.13 12:35:02 SSH_AGENT_PID=20 12:35:02 Running ssh-add (command line suppressed) 12:35:02 Identity added: /w/workspace/oundry_device-rfid-llrp-go_PR-61@tmp/private_key_7816338763811074121.key (/w/workspace/oundry_device-rfid-llrp-go_PR-61@tmp/private_key_7816338763811074121.key) 12:35:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:35:02 + git tag --points-at HEAD [Pipeline] } 12:35:02 $ docker exec --env ******** --env ******** 233a2cf75db1f44a458126fd228f424a538d5f7bde21a36dd0aafe6a31c510ae ssh-agent -k 12:35:02 unset SSH_AUTH_SOCK; 12:35:02 unset SSH_AGENT_PID; 12:35:02 echo Agent pid 20 killed; 12:35:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:35:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:35:02 [ssh-agent] Looking for ssh-agent implementation... 12:35:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:35:02 $ docker exec 233a2cf75db1f44a458126fd228f424a538d5f7bde21a36dd0aafe6a31c510ae ssh-agent 12:35:02 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnEHgCL/agent.53 12:35:02 SSH_AGENT_PID=59 12:35:02 Running ssh-add (command line suppressed) 12:35:02 Identity added: /w/workspace/oundry_device-rfid-llrp-go_PR-61@tmp/private_key_7130302244897374018.key (/w/workspace/oundry_device-rfid-llrp-go_PR-61@tmp/private_key_7130302244897374018.key) 12:35:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:35:03 + git semver init 12:35:03 # -> Open(): unable to determine branch for HEAD 12:35:03 # $GIT_DIR = /w/workspace/oundry_device-rfid-llrp-go_PR-61/.git 12:35:03 # $GIT_WORK_TREE = /w/workspace/oundry_device-rfid-llrp-go_PR-61 12:35:03 # $SEMVER_REMOTE_NAME = origin 12:35:03 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 12:35:03 # $SEMVER_USER_NAME = edgex-jenkins 12:35:03 # $SEMVER_BRANCH = PR-61 12:35:03 # $SEMVER_TEMP = /tmp/semver-568614654 12:35:03 # git clone --branch semver git@github.com:edgexfoundry/device-rfid-llrp-go.git $SEMVER_TEMP 12:35:03 # '/tmp/semver-568614654' -> '/w/workspace/oundry_device-rfid-llrp-go_PR-61/.semver' 12:35:03 # -> Force: false 12:35:03 # $SEMVER_DIR = /w/workspace/oundry_device-rfid-llrp-go_PR-61/.semver [Pipeline] } 12:35:03 $ docker exec --env ******** --env ******** 233a2cf75db1f44a458126fd228f424a538d5f7bde21a36dd0aafe6a31c510ae ssh-agent -k 12:35:03 unset SSH_AUTH_SOCK; 12:35:03 unset SSH_AGENT_PID; 12:35:03 echo Agent pid 59 killed; 12:35:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:35:04 + git semver [Pipeline] } 12:35:04 $ docker stop --time=1 233a2cf75db1f44a458126fd228f424a538d5f7bde21a36dd0aafe6a31c510ae 12:35:05 $ docker rm -f 233a2cf75db1f44a458126fd228f424a538d5f7bde21a36dd0aafe6a31c510ae [Pipeline] // withDockerContainer [Pipeline] sh 12:35:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:35:05 Stashed 1 file(s) [Pipeline] echo 12:35:05 [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:35:06 provisioning config files... 12:35:06 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/oundry_device-rfid-llrp-go_PR-61@tmp/config7072227827164742895tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:35:06 ---> docker-login.sh 12:35:06 nexus3.edgexfoundry.org:10001 12:35:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:35:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:35:06 Configure a credential helper to remove this warning. See 12:35:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:35:06 12:35:06 Login Succeeded 12:35:06 nexus3.edgexfoundry.org:10002 12:35:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:35:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:35:06 Configure a credential helper to remove this warning. See 12:35:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:35:06 12:35:06 Login Succeeded 12:35:06 nexus3.edgexfoundry.org:10003 12:35:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:35:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:35:06 Configure a credential helper to remove this warning. See 12:35:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:35:06 12:35:06 Login Succeeded 12:35:06 nexus3.edgexfoundry.org:10004 12:35:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:35:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:35:06 Configure a credential helper to remove this warning. See 12:35:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:35:06 12:35:06 Login Succeeded 12:35:06 docker.io 12:35:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:35:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:35:07 Configure a credential helper to remove this warning. See 12:35:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:35:07 12:35:07 Login Succeeded 12:35:07 ---> docker-login.sh ends [Pipeline] } 12:35:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:35:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:35:07 ========================================================= 12:35:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 12:35:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:35:07 + 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:35:07 Sending build context to Docker daemon 1.724MB 12:35:07 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 12:35:07 Step 2/12 : FROM ${BASE} AS builder 12:35:07 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 12:35:07 59bf1c3509f3: Pulling fs layer 12:35:07 666ba61612fd: Pulling fs layer 12:35:07 8ed8ca486205: Pulling fs layer 12:35:07 4fe6c5a15a65: Pulling fs layer 12:35:07 22a0e8bec74d: Pulling fs layer 12:35:07 640e595b4fbd: Pulling fs layer 12:35:07 763cafe07f6e: Pulling fs layer 12:35:07 0c0b528cf693: Pulling fs layer 12:35:07 10935f4eaf8b: Pulling fs layer 12:35:07 4fe6c5a15a65: Waiting 12:35:07 22a0e8bec74d: Waiting 12:35:07 640e595b4fbd: Waiting 12:35:07 763cafe07f6e: Waiting 12:35:07 0c0b528cf693: Waiting 12:35:07 10935f4eaf8b: Waiting 12:35:07 8ed8ca486205: Verifying Checksum 12:35:07 8ed8ca486205: Download complete 12:35:07 666ba61612fd: Download complete 12:35:07 22a0e8bec74d: Verifying Checksum 12:35:07 22a0e8bec74d: Download complete 12:35:07 640e595b4fbd: Verifying Checksum 12:35:07 640e595b4fbd: Download complete 12:35:07 59bf1c3509f3: Verifying Checksum 12:35:07 59bf1c3509f3: Download complete 12:35:07 763cafe07f6e: Verifying Checksum 12:35:07 763cafe07f6e: Download complete 12:35:07 0c0b528cf693: Verifying Checksum 12:35:07 0c0b528cf693: Download complete 12:35:08 59bf1c3509f3: Pull complete 12:35:08 10935f4eaf8b: Verifying Checksum 12:35:08 10935f4eaf8b: Download complete 12:35:08 4fe6c5a15a65: Verifying Checksum 12:35:08 4fe6c5a15a65: Download complete 12:35:08 666ba61612fd: Pull complete 12:35:08 8ed8ca486205: Pull complete 12:35:12 4fe6c5a15a65: Pull complete 12:35:12 22a0e8bec74d: Pull complete 12:35:12 640e595b4fbd: Pull complete 12:35:12 763cafe07f6e: Pull complete 12:35:12 0c0b528cf693: Pull complete 12:35:15 10935f4eaf8b: Pull complete 12:35:15 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 12:35:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 12:35:15 ---> 99d49a6021b9 12:35:15 Step 3/12 : ARG MAKE='make build' 12:35:17 ---> Running in 2ed5220185c6 12:35:17 Removing intermediate container 2ed5220185c6 12:35:17 ---> 4e0180a59a7a 12:35:17 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 12:35:17 ---> Running in e20d7c1e357f 12:35:17 Removing intermediate container e20d7c1e357f 12:35:17 ---> 1e38dfbf2d37 12:35:17 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 12:35:17 ---> Running in 8d0fa77c6620 12:35:17 Removing intermediate container 8d0fa77c6620 12:35:17 ---> be2ec75b0a15 12:35:17 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:35:17 ---> Running in e7ccb6c7e448 12:35:18 Removing intermediate container e7ccb6c7e448 12:35:18 ---> 4683e5fb211f 12:35:18 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:35:18 ---> Running in a97125b75a6d 12:35:18 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:35:21 Still waiting to schedule task 12:35:21 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 12:35:21 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:35:22 OK: 221 MiB in 52 packages 12:35:22 Removing intermediate container a97125b75a6d 12:35:22 ---> 45cd4aa38aff 12:35:22 Step 8/12 : WORKDIR /app 12:35:22 ---> Running in 708a5ca812a3 12:35:22 Removing intermediate container 708a5ca812a3 12:35:22 ---> 433e208895c7 12:35:22 Step 9/12 : COPY go.mod vendor* ./ 12:35:22 ---> 869f5b9de51a 12:35:22 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:35:22 ---> Running in 244e98186974 12:35:54 Removing intermediate container 244e98186974 12:35:54 ---> 7fb8783a3c50 12:35:54 Step 11/12 : COPY . . 12:35:54 ---> 59d58a184f74 12:35:54 Step 12/12 : RUN $MAKE 12:35:54 ---> Running in 12d70b15628e 12:35:54 noop 12:35:54 Removing intermediate container 12d70b15628e 12:35:54 ---> e2fa213cc323 12:35:54 Successfully built e2fa213cc323 12:35:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 12:35:55 + docker inspect -f . ci-base-image-x86_64 12:35:55 . [Pipeline] withDockerContainer 12:35:55 prd-centos7-docker-4c-2g-5342 does not seem to be running inside a container 12:35:55 $ 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:35:55 $ docker top 44af61e1df26e370b143734418f4d08a13fce557eec8c196a7fd33cf7f27f046 -eo pid,comm [Pipeline] { [Pipeline] sh 12:35:55 + go version 12:35:55 go version go1.17.6 linux/amd64 [Pipeline] } 12:35:56 $ docker stop --time=1 44af61e1df26e370b143734418f4d08a13fce557eec8c196a7fd33cf7f27f046 12:35:57 $ docker rm -f 44af61e1df26e370b143734418f4d08a13fce557eec8c196a7fd33cf7f27f046 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:35:57 + docker inspect -f . ci-base-image-x86_64 12:35:57 . [Pipeline] withDockerContainer 12:35:57 prd-centos7-docker-4c-2g-5342 does not seem to be running inside a container 12:35:57 $ 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:35:58 $ docker top 6d84b2b6e026150dcd7c121951686677090a3d1223f105037f06a527f6ec2972 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:35:58 + make test 12:35:58 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 12:35:58 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 12:36:13 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 12:36:13 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 12:36:17 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 2.991s coverage: 39.3% of statements 12:36:17 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.227s coverage: 52.0% of statements 12:36:17 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.008s coverage: 95.5% of statements 12:36:30 CGO_ENABLED=1 GO111MODULE=on go vet ./... 12:36:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:36:34 ./snap/local/hooks/cmd/install/install.go 12:36:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:36:34 make: *** [Makefile:33: test] Error 1 [Pipeline] } 12:36:34 $ docker stop --time=1 6d84b2b6e026150dcd7c121951686677090a3d1223f105037f06a527f6ec2972 12:36:36 $ docker rm -f 6d84b2b6e026150dcd7c121951686677090a3d1223f105037f06a527f6ec2972 [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:36:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:36:37 12:36:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 12:36:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:36:37 latest: Pulling from edgex-lftools-log-publisher 12:36:37 b4d181a07f80: Pulling fs layer 12:36:37 a1111a8f2ec3: Pulling fs layer 12:36:37 ed53099fbce6: Pulling fs layer 12:36:37 dc539afda2c1: Pulling fs layer 12:36:37 77bc0d833cb6: Pulling fs layer 12:36:37 9065ff56babe: Pulling fs layer 12:36:37 d287ab97295c: Pulling fs layer 12:36:37 dc539afda2c1: Waiting 12:36:37 77bc0d833cb6: Waiting 12:36:37 9065ff56babe: Waiting 12:36:37 d287ab97295c: Waiting 12:36:37 a1111a8f2ec3: Verifying Checksum 12:36:37 a1111a8f2ec3: Download complete 12:36:37 dc539afda2c1: Verifying Checksum 12:36:37 dc539afda2c1: Download complete 12:36:37 ed53099fbce6: Verifying Checksum 12:36:37 ed53099fbce6: Download complete 12:36:37 9065ff56babe: Verifying Checksum 12:36:37 9065ff56babe: Download complete 12:36:37 77bc0d833cb6: Verifying Checksum 12:36:37 77bc0d833cb6: Download complete 12:36:37 b4d181a07f80: Verifying Checksum 12:36:37 b4d181a07f80: Download complete 12:36:38 d287ab97295c: Verifying Checksum 12:36:38 d287ab97295c: Download complete 12:36:39 b4d181a07f80: Pull complete 12:36:39 a1111a8f2ec3: Pull complete 12:36:39 ed53099fbce6: Pull complete 12:36:39 dc539afda2c1: Pull complete 12:36:40 77bc0d833cb6: Pull complete 12:36:40 9065ff56babe: Pull complete 12:36:43 Running on prd-ubuntu18.04-docker-arm64-4c-16g-5343 in /w/workspace/oundry_device-rfid-llrp-go_PR-61 [Pipeline] { [Pipeline] ws 12:36:43 Running in /w/workspace/device-rfid-llrp-go/12 [Pipeline] { [Pipeline] checkout 12:36:44 Selected Git installation does not exist. Using Default 12:36:44 The recommended git tool is: NONE 12:36:45 d287ab97295c: Pull complete 12:36:45 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 12:36:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:36:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 12:36:45 prd-centos7-docker-4c-2g-5342 does not seem to be running inside a container 12:36:45 $ 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:36:48 $ docker top 0729b5a1e7b69a6566d9c393594d062be0a101537a39abbaf735a327b18d6b9b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:36:48 using credential edgex-jenkins-ssh 12:36:48 Cloning the remote Git repository 12:36:48 ---> job-cost.sh 12:36:48 lf-activate-venv: SKIPPING 12:36:48 INFO: No Stack... 12:36:48 Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git 12:36:48 > git init /w/workspace/device-rfid-llrp-go/12 # timeout=10 12:36:48 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 12:36:48 > git --version # timeout=10 12:36:48 > git --version # 'git version 2.17.1' 12:36:48 using GIT_SSH to set credentials SSH Credentials for GitHub 12:36:48 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:36:49 INFO: Retrieving Pricing Info for: v3-standard-2 12:36:49 INFO: Archiving Costs [Pipeline] sh 12:36:50 + cat /w/workspace/oundry_device-rfid-llrp-go_PR-61/archives/cost.csv 12:36:50 + cut -d, -f6 [Pipeline] lock 12:36:50 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-61-12-stack-cost] 12:36:50 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-61-12-stack-cost] did not exist. Created. 12:36:50 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-61-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:36:49 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 12:36:49 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:36:49 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 12:36:49 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 12:36:49 using GIT_SSH to set credentials SSH Credentials for GitHub 12:36:49 > 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:36:50 Merging remotes/origin/main commit fdb8dc9e065565c3e0b08ed77eb96ef70046d97a into PR head commit c3e9370ee22691ec287363278e9a9b5908ad903b 12:36:50 + echo total: 0.05999999865889549 [Pipeline] stash 12:36:50 Stashed 1 file(s) [Pipeline] } 12:36:50 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-61-12-stack-cost] [Pipeline] // lock [Pipeline] } 12:36:50 $ docker stop --time=1 0729b5a1e7b69a6566d9c393594d062be0a101537a39abbaf735a327b18d6b9b 12:36:50 Merge succeeded, producing c3e9370ee22691ec287363278e9a9b5908ad903b 12:36:50 Checking out Revision c3e9370ee22691ec287363278e9a9b5908ad903b (PR-61) 12:36:50 > git config core.sparsecheckout # timeout=10 12:36:50 > git checkout -f c3e9370ee22691ec287363278e9a9b5908ad903b # timeout=10 12:36:50 > git remote # timeout=10 12:36:50 > git config --get remote.origin.url # timeout=10 12:36:50 using GIT_SSH to set credentials SSH Credentials for GitHub 12:36:50 > git merge fdb8dc9e065565c3e0b08ed77eb96ef70046d97a # timeout=10 12:36:50 > git rev-parse HEAD^{commit} # timeout=10 12:36:50 > git config core.sparsecheckout # timeout=10 12:36:50 > git checkout -f c3e9370ee22691ec287363278e9a9b5908ad903b # timeout=10 12:36:51 $ docker rm -f 0729b5a1e7b69a6566d9c393594d062be0a101537a39abbaf735a327b18d6b9b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:36:51 Failed in branch amd64 12:36:54 Commit message: "fix(snap): updates to snap packaging" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:36:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:36:55 % Total % Received % Xferd Average Speed Time Time Time Current 12:36:55 Dload Upload Total Spent Left Speed 12:36:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 64715 0 --:--:-- --:--:-- --:--:-- 64715 [Pipeline] sh 12:36:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:36:56 + sudo tee /etc/docker/daemon.new 12:36:56 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:36:56 { 12:36:56 "registry-mirrors": [ 12:36:56 "https://nexus3.edgexfoundry.org:10001" 12:36:56 ], 12:36:56 "bip": "10.250.0.254/24", 12:36:56 "hosts": [ 12:36:56 "tcp://0.0.0.0:5555", 12:36:56 "unix:///var/run/docker.sock" 12:36:56 ], 12:36:56 "mtu": 1458, 12:36:56 "selinux-enabled": true, 12:36:56 "seccomp-profile": "/etc/docker/seccomp.json" 12:36:56 } [Pipeline] sh 12:36:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:36:57 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:37:15 provisioning config files... 12:37:15 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/device-rfid-llrp-go/12@tmp/config7494322740711617829tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:37:15 ---> docker-login.sh 12:37:15 nexus3.edgexfoundry.org:10001 12:37:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:37:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:37:16 Configure a credential helper to remove this warning. See 12:37:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:37:16 12:37:16 Login Succeeded 12:37:16 nexus3.edgexfoundry.org:10002 12:37:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:37:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:37:17 Configure a credential helper to remove this warning. See 12:37:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:37:17 12:37:17 Login Succeeded 12:37:17 nexus3.edgexfoundry.org:10003 12:37:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:37:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:37:17 Configure a credential helper to remove this warning. See 12:37:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:37:17 12:37:17 Login Succeeded 12:37:17 nexus3.edgexfoundry.org:10004 12:37:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:37:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:37:17 Configure a credential helper to remove this warning. See 12:37:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:37:17 12:37:17 Login Succeeded 12:37:17 docker.io 12:37:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:37:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:37:18 Configure a credential helper to remove this warning. See 12:37:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:37:18 12:37:18 Login Succeeded 12:37:18 ---> docker-login.sh ends [Pipeline] } 12:37:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:37:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:37:19 ========================================================= 12:37:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 12:37:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:37:19 + 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:37:19 Sending build context to Docker daemon 1.227MB 12:37:19 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 12:37:19 Step 2/12 : FROM ${BASE} AS builder 12:37:20 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:37:20 9b3977197b4f: Pulling fs layer 12:37:20 1a89e8eeedd5: Pulling fs layer 12:37:20 94645a83ff95: Pulling fs layer 12:37:20 3f3a8bcf1eab: Pulling fs layer 12:37:20 0c92f367c5e7: Pulling fs layer 12:37:20 f7c0051592d6: Pulling fs layer 12:37:20 a227ed2f7395: Pulling fs layer 12:37:20 7b1c46037f91: Pulling fs layer 12:37:20 3f3a8bcf1eab: Waiting 12:37:20 f7c0051592d6: Waiting 12:37:20 a227ed2f7395: Waiting 12:37:20 7b1c46037f91: Waiting 12:37:20 0c92f367c5e7: Waiting 12:37:20 94645a83ff95: Verifying Checksum 12:37:20 94645a83ff95: Download complete 12:37:20 1a89e8eeedd5: Download complete 12:37:20 0c92f367c5e7: Verifying Checksum 12:37:20 0c92f367c5e7: Download complete 12:37:20 f7c0051592d6: Download complete 12:37:20 a227ed2f7395: Verifying Checksum 12:37:20 a227ed2f7395: Download complete 12:37:20 9b3977197b4f: Verifying Checksum 12:37:20 9b3977197b4f: Download complete 12:37:21 9b3977197b4f: Pull complete 12:37:21 1a89e8eeedd5: Pull complete 12:37:21 94645a83ff95: Pull complete 12:37:21 7b1c46037f91: Verifying Checksum 12:37:21 7b1c46037f91: Download complete 12:37:22 3f3a8bcf1eab: Verifying Checksum 12:37:22 3f3a8bcf1eab: Download complete 12:37:34 3f3a8bcf1eab: Pull complete 12:37:34 0c92f367c5e7: Pull complete 12:37:34 f7c0051592d6: Pull complete 12:37:34 a227ed2f7395: Pull complete 12:37:40 7b1c46037f91: Pull complete 12:37:40 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 12:37:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 12:37:40 ---> f79e39bc4007 12:37:40 Step 3/12 : ARG MAKE='make build' 12:37:42 ---> Running in d3da251a43ec 12:37:42 Removing intermediate container d3da251a43ec 12:37:42 ---> 8e381eacefa1 12:37:42 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 12:37:42 ---> Running in e9a9cd66e173 12:37:42 Removing intermediate container e9a9cd66e173 12:37:42 ---> b7f00afff086 12:37:42 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 12:37:42 ---> Running in 6eb83028c199 12:37:43 Removing intermediate container 6eb83028c199 12:37:43 ---> 7b5d5437bc43 12:37:43 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:37:43 ---> Running in 0585de2e65af 12:37:45 Removing intermediate container 0585de2e65af 12:37:45 ---> 6d61e8d6a09b 12:37:45 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:37:45 ---> Running in 501695aaf099 12:37:46 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:37:47 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:37:47 OK: 220 MiB in 52 packages 12:37:48 Removing intermediate container 501695aaf099 12:37:48 ---> 587bbb0d58ca 12:37:48 Step 8/12 : WORKDIR /app 12:37:48 ---> Running in 6b5076683a8e 12:37:49 Removing intermediate container 6b5076683a8e 12:37:49 ---> 92db246cf480 12:37:49 Step 9/12 : COPY go.mod vendor* ./ 12:37:49 ---> 2a03249ac0b0 12:37:49 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:37:49 ---> Running in b8041a1379f8 12:38:57 Removing intermediate container b8041a1379f8 12:38:57 ---> add4c61aa897 12:38:57 Step 11/12 : COPY . . 12:38:57 ---> e447c8bde478 12:38:57 Step 12/12 : RUN $MAKE 12:38:58 ---> Running in a95dcd3c26a6 12:38:59 noop 12:38:59 Removing intermediate container a95dcd3c26a6 12:38:59 ---> 63c54d64776b 12:38:59 Successfully built 63c54d64776b 12:38:59 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 12:39:00 + docker inspect -f . ci-base-image-arm64 12:39:00 . [Pipeline] withDockerContainer 12:39:00 prd-ubuntu18.04-docker-arm64-4c-16g-5343 does not seem to be running inside a container 12:39:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rfid-llrp-go/12 -v /w/workspace/device-rfid-llrp-go/12:/w/workspace/device-rfid-llrp-go/12:rw,z -v /w/workspace/device-rfid-llrp-go/12@tmp:/w/workspace/device-rfid-llrp-go/12@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:39:01 $ docker top e18f4a6d23eab314f24a207f3acbe1a869aa902bc5c8b8b1707f383feec51f6c -eo pid,comm [Pipeline] { [Pipeline] sh 12:39:02 + go version 12:39:02 go version go1.17.6 linux/arm64 [Pipeline] } 12:39:02 $ docker stop --time=1 e18f4a6d23eab314f24a207f3acbe1a869aa902bc5c8b8b1707f383feec51f6c 12:39:04 $ docker rm -f e18f4a6d23eab314f24a207f3acbe1a869aa902bc5c8b8b1707f383feec51f6c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:39:04 + docker inspect -f . ci-base-image-arm64 12:39:04 . [Pipeline] withDockerContainer 12:39:05 prd-ubuntu18.04-docker-arm64-4c-16g-5343 does not seem to be running inside a container 12:39:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rfid-llrp-go/12 -v /w/workspace/device-rfid-llrp-go/12:/w/workspace/device-rfid-llrp-go/12:rw,z -v /w/workspace/device-rfid-llrp-go/12@tmp:/w/workspace/device-rfid-llrp-go/12@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:39:06 $ docker top adb78f17f3ddfbcde8ebb6359bbe9ccc0820f99487283fc8488559c45462c6c2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:39:07 + make test 12:39:07 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 12:39:08 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 12:39:55 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 12:39:55 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 12:40:28 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 25.606s coverage: 39.3% of statements 12:40:28 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.459s coverage: 52.0% of statements 12:40:28 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.052s coverage: 96.4% of statements 12:40:28 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:40:28 CGO_ENABLED=1 GO111MODULE=on go vet ./... 12:40:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:40:46 ./snap/local/hooks/cmd/install/install.go 12:40:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:40:46 make: *** [Makefile:33: test] Error 1 [Pipeline] } 12:40:46 $ docker stop --time=1 adb78f17f3ddfbcde8ebb6359bbe9ccc0820f99487283fc8488559c45462c6c2 12:40:48 $ docker rm -f adb78f17f3ddfbcde8ebb6359bbe9ccc0820f99487283fc8488559c45462c6c2 [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:40:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:40:49 12:40:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 12:40:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:40:49 arm64: Pulling from edgex-lftools-log-publisher 12:40:49 448f6bf000e3: Pulling fs layer 12:40:49 f757da607395: Pulling fs layer 12:40:49 05883995daec: Pulling fs layer 12:40:49 8603b9c90790: Pulling fs layer 12:40:49 1560dd03e051: Pulling fs layer 12:40:49 27f5ce0e4adf: Pulling fs layer 12:40:49 c2d8d7efcc4b: Pulling fs layer 12:40:49 8603b9c90790: Waiting 12:40:49 1560dd03e051: Waiting 12:40:49 27f5ce0e4adf: Waiting 12:40:49 c2d8d7efcc4b: Waiting 12:40:49 f757da607395: Verifying Checksum 12:40:49 f757da607395: Download complete 12:40:49 8603b9c90790: Download complete 12:40:49 1560dd03e051: Verifying Checksum 12:40:49 1560dd03e051: Download complete 12:40:49 27f5ce0e4adf: Verifying Checksum 12:40:49 27f5ce0e4adf: Download complete 12:40:50 05883995daec: Verifying Checksum 12:40:50 05883995daec: Download complete 12:40:50 448f6bf000e3: Verifying Checksum 12:40:50 448f6bf000e3: Download complete 12:40:52 c2d8d7efcc4b: Verifying Checksum 12:40:52 c2d8d7efcc4b: Download complete 12:40:53 448f6bf000e3: Pull complete 12:40:54 f757da607395: Pull complete 12:40:55 05883995daec: Pull complete 12:40:55 8603b9c90790: Pull complete 12:40:56 1560dd03e051: Pull complete 12:40:57 27f5ce0e4adf: Pull complete 12:41:12 c2d8d7efcc4b: Pull complete 12:41:12 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 12:41:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:41:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 12:41:12 prd-ubuntu18.04-docker-arm64-4c-16g-5343 does not seem to be running inside a container 12:41:12 $ 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/12 -v /w/workspace/device-rfid-llrp-go/12:/w/workspace/device-rfid-llrp-go/12:rw,z -v /w/workspace/device-rfid-llrp-go/12@tmp:/w/workspace/device-rfid-llrp-go/12@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:41:14 $ docker top f97480862c96b635ea63710c02a7b7e305550f2b161412f9c8f65c7b233a5a4a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:41:15 ---> job-cost.sh 12:41:15 lf-activate-venv: SKIPPING 12:41:15 INFO: No Stack... 12:41:15 INFO: Retrieving Pricing Info for: v3-standard-4 12:41:16 INFO: Archiving Costs [Pipeline] sh 12:41:17 + cut -d, -f6 12:41:17 + cat /w/workspace/device-rfid-llrp-go/12/archives/cost.csv [Pipeline] lock 12:41:17 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-61-12-stack-cost] 12:41:17 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-61-12-stack-cost] did not exist. Created. 12:41:17 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-61-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:41:17 /w/workspace/device-rfid-llrp-go/12@tmp/durable-fb76efe2/script.sh: 1: /w/workspace/device-rfid-llrp-go/12@tmp/durable-fb76efe2/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 12:41:18 + echo total: 0.10999999940395355 [Pipeline] stash 12:41:18 Warning: overwriting stash ‘stack-cost’ 12:41:19 Stashed 1 file(s) [Pipeline] } 12:41:19 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-61-12-stack-cost] [Pipeline] // lock [Pipeline] } 12:41:19 $ docker stop --time=1 f97480862c96b635ea63710c02a7b7e305550f2b161412f9c8f65c7b233a5a4a 12:41:20 $ docker rm -f f97480862c96b635ea63710c02a7b7e305550f2b161412f9c8f65c7b233a5a4a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 12:41:20 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:41:21 + '[' -d /w/workspace/oundry_device-rfid-llrp-go_PR-61/archives ']' 12:41:21 + ls -al /w/workspace/oundry_device-rfid-llrp-go_PR-61/archives 12:41:21 total 8 12:41:21 drwxr-xr-x. 3 root root 34 Feb 16 12:36 . 12:41:21 drwxrwxr-x. 12 jenkins jenkins 4096 Feb 16 12:36 .. 12:41:21 drwxr-xr-x. 2 root root 6 Feb 16 12:36 cost 12:41:21 -rw-r--r--. 1 root root 90 Feb 16 12:36 cost.csv 12:41:21 + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-rfid-llrp-go_PR-61/archives 12:41:21 + ls -al /w/workspace/oundry_device-rfid-llrp-go_PR-61/archives 12:41:21 total 8 12:41:21 drwxr-xr-x. 3 jenkins jenkins 34 Feb 16 12:36 . 12:41:21 drwxrwxr-x. 12 jenkins jenkins 4096 Feb 16 12:36 .. 12:41:21 drwxr-xr-x. 2 jenkins jenkins 6 Feb 16 12:36 cost 12:41:21 -rw-r--r--. 1 jenkins jenkins 90 Feb 16 12:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:41:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:41:22 ---> package-listing.sh 12:41:22 ++ facter osfamily 12:41:22 ++ tr '[:upper:]' '[:lower:]' 12:41:22 + OS_FAMILY=redhat 12:41:22 + workspace=/w/workspace/oundry_device-rfid-llrp-go_PR-61 12:41:22 + START_PACKAGES=/tmp/packages_start.txt 12:41:22 + END_PACKAGES=/tmp/packages_end.txt 12:41:22 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:41:22 + PACKAGES=/tmp/packages_start.txt 12:41:22 + '[' /w/workspace/oundry_device-rfid-llrp-go_PR-61 ']' 12:41:22 + PACKAGES=/tmp/packages_end.txt 12:41:22 + case "${OS_FAMILY}" in 12:41:22 + rpm -qa 12:41:22 + sort 12:41:23 + '[' -f /tmp/packages_start.txt ']' 12:41:23 + '[' -f /tmp/packages_end.txt ']' 12:41:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:41:23 + '[' /w/workspace/oundry_device-rfid-llrp-go_PR-61 ']' 12:41:23 + mkdir -p /w/workspace/oundry_device-rfid-llrp-go_PR-61/archives/ 12:41:23 + 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:41:23 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:41:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 12:41:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:41:24 . [Pipeline] withDockerContainer 12:41:24 prd-centos7-docker-4c-2g-5342 does not seem to be running inside a container 12:41:24 $ 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:41:24 $ docker top 700e11de3ce7d1c5840a19c52549a451e1d6ab812309b9bd885275f26c84e78f -eo pid,comm [Pipeline] { [Pipeline] sh 12:41:25 + touch /tmp/pre-build-complete [Pipeline] sh 12:41:25 + mkdir -p /var/log/sysstat [Pipeline] sh 12:41:25 + ls /var/log/sa-host 12:41:25 + sadf -c /var/log/sa-host/sa16 12:41:25 file_magic: OK 12:41:25 HZ: Using current value: 100 12:41:25 file_header: OK 12:41:25 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:41:25 Statistics: 12:41:25 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 12:41:25 File successfully converted to sysstat format version 12.0.3 12:41:25 + sadf -c /var/log/sa-host/sa17 12:41:25 file_magic: OK 12:41:25 HZ: Using current value: 100 12:41:25 file_header: OK 12:41:25 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:41:25 Statistics: 12:41:25 Hnuu...uuuununununu...Hnuu...uuuununununu... 12:41:25 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:41:26 provisioning config files... 12:41:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-rfid-llrp-go_PR-61@tmp/config5113088882143954240tmp [Pipeline] { [Pipeline] echo 12:41:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:41:26 ---> create-netrc.sh [Pipeline] } 12:41:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:41:26 ---> python-tools-install.sh [Pipeline] echo 12:41:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:41:26 ---> sudo-logs.sh 12:41:26 Archiving 'sudo' log.. 12:41:26 sudo: unable to resolve host prd-centos7-docker-4c-2g-5342.novalocal: Name or service not known 12:41:26 sudo: unable to resolve host prd-centos7-docker-4c-2g-5342.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 12:41:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:41:27 ---> job-cost.sh 12:41:27 lf-activate-venv: SKIPPING 12:41:27 DEBUG: total: 0.05999999865889549 12:41:27 INFO: Retrieving Stack Cost... 12:41:27 INFO: Retrieving Pricing Info for: v3-standard-2 12:41:27 INFO: Archiving Costs [Pipeline] echo 12:41:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:41:28 ---> logs-deploy.sh 12:41:28 lf-activate-venv: SKIPPING 12:41:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rfid-llrp-go/PR-61/12 12:41:28 INFO: archiving workspace using pattern(s): 12:41:28 Archives upload complete. 12:41:28 INFO: archiving logs to Nexus