Pull request #56 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of marcpfuller for edgexfoundry/device-rfid-llrp-go Loading trusted files from base branch main at 60419adc06483b68d49990c8544a97850d76c544 rather than 7dfc412db463ce2802ee721be8ebb8412e4901cb Obtained Jenkinsfile from 60419adc06483b68d49990c8544a97850d76c544 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-ssh18077805751888543475.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh6822974266199050523.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 dae07dc806156effb2cae02074e2f5f64a063e83 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/PR-56/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/PR-56/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5090317929990232359.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/PR-56/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh18238173157588876694.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dae07dc806156effb2cae02074e2f5f64a063e83 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f dae07dc806156effb2cae02074e2f5f64a063e83 # timeout=10 Commit message: "Merge pull request #375 from ernestojeda/golang-1-17-updates" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14257348431183707667.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/PR-56/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/PR-56/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh17545544846546390226.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 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-1754’ Running on prd-centos7-docker-4c-2g-1756 in /w/workspace/oundry_device-rfid-llrp-go_PR-56 [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-56 # 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-56@tmp/jenkins-gitclient-ssh3662916706626631052.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 60419adc06483b68d49990c8544a97850d76c544 into PR head commit 7dfc412db463ce2802ee721be8ebb8412e4901cb Merge succeeded, producing 1e846ace47a0e3cc145010dc7fedf9ab2f62a2a7 Checking out Revision 1e846ace47a0e3cc145010dc7fedf9ab2f62a2a7 (PR-56) > 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-56@tmp/jenkins-gitclient-ssh5701777410159558926.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/56/head:refs/remotes/origin/PR-56 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7dfc412db463ce2802ee721be8ebb8412e4901cb # 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-56@tmp/jenkins-gitclient-ssh7814232738726945728.key > git merge 60419adc06483b68d49990c8544a97850d76c544 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1e846ace47a0e3cc145010dc7fedf9ab2f62a2a7 # timeout=10 Commit message: "Merge commit '60419adc06483b68d49990c8544a97850d76c544' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:59:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:59:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:59:52 ========================================================= 23:59:52 EdgeX Global Pipelines Version Info 23:59:52 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:59:53 ------------------- 23:59:53 stable info: 23:59:53 ------------------- 23:59:53 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:59:53 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 23:59:53 Message: update stable to v1.0.219 23:59:54 ------------------- 23:59:54 experimental info: 23:59:54 ------------------- 23:59:54 Commited By: **** collab-it+edgex@linuxfoundation.org 23:59:54 Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 23:59:54 Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:59:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rfid-llrp-go-settings [Pipeline] echo 23:59:54 [edgeXSetupEnvironment]: set envvar PROJECT = device-rfid-llrp-go [Pipeline] echo 23:59:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:59:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:59:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:59:54 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 23:59:54 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:59:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:59:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:59:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:59:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:59:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rfid-llrp [Pipeline] echo 23:59:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:59:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:59:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:59:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:59:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:59:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:59:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:59:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 23:59:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:59:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:59:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:59:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:59:55 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:59:55 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:59:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-56 [Pipeline] echo 23:59:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-56 [Pipeline] echo 23:59:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-56 [Pipeline] echo 23:59:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1e846ace47a0e3cc145010dc7fedf9ab2f62a2a7 [Pipeline] echo 23:59:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1e846ac [Pipeline] echo 23:59:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:59:55 provisioning config files... 23:59:55 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/oundry_device-rfid-llrp-go_PR-56@tmp/config3856410350954951527tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:59:56 ---> docker-login.sh 23:59:56 nexus3.edgexfoundry.org:10001 23:59:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:59:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:59:56 Configure a credential helper to remove this warning. See 23:59:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:59:56 23:59:56 Login Succeeded 23:59:56 nexus3.edgexfoundry.org:10002 23:59:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:59:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:59:56 Configure a credential helper to remove this warning. See 23:59:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:59:56 23:59:56 Login Succeeded 23:59:56 nexus3.edgexfoundry.org:10003 23:59:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:59:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:59:56 Configure a credential helper to remove this warning. See 23:59:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:59:56 23:59:56 Login Succeeded 23:59:56 nexus3.edgexfoundry.org:10004 23:59:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:59:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:59:56 Configure a credential helper to remove this warning. See 23:59:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:59:56 23:59:56 Login Succeeded 23:59:56 docker.io 23:59:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:59:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:59:57 Configure a credential helper to remove this warning. See 23:59:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:59:57 23:59:57 Login Succeeded 23:59:57 ---> docker-login.sh ends [Pipeline] } 23:59:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:59:57 + git rev-list -1 --merges 1e846ace47a0e3cc145010dc7fedf9ab2f62a2a7~1..1e846ace47a0e3cc145010dc7fedf9ab2f62a2a7 [Pipeline] echo 23:59:57 -----------> git rev-list -1 --merges 1e846ace47a0e3cc145010dc7fedf9ab2f62a2a7~1..1e846ace47a0e3cc145010dc7fedf9ab2f62a2a7 1e846ace47a0e3cc145010dc7fedf9ab2f62a2a7 23:59:57 1e846ace47a0e3cc145010dc7fedf9ab2f62a2a7 [false] [Pipeline] sh 23:59:58 + git log --format=format:%s -1 1e846ace47a0e3cc145010dc7fedf9ab2f62a2a7 [Pipeline] echo 23:59:58 ========================================================= 23:59:58 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:59:58 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:59:58 + git log --format=format:%s -1 1e846ace47a0e3cc145010dc7fedf9ab2f62a2a7 [Pipeline] echo 23:59:58 [semverPrep] GIT_COMMIT: 1e846ace47a0e3cc145010dc7fedf9ab2f62a2a7, Commit Message: Merge commit '60419adc06483b68d49990c8544a97850d76c544' into HEAD [Pipeline] echo 23:59:58 [semverPrep] This is not a build commit. [Pipeline] sh 23:59:59 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 23:59:59 + grep -v github /etc/ssh/ssh_known_hosts 23:59:59 + '[' -e /tmp/ssh_known_hosts ']' 23:59:59 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:59:59 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 23:59:59 + sudo tee -a /etc/ssh/ssh_known_hosts 23:59:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 23:59:59 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:59:59 23:59:59 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:59:59 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:59:59 latest: Pulling from edgex-devops/git-semver 23:59:59 a0d0a0d46f8b: Pulling fs layer 23:59:59 3e5f54012d9b: Pulling fs layer 23:59:59 4c7163046ea9: Pulling fs layer 23:59:59 0c2d73faf560: Pulling fs layer 23:59:59 0c2d73faf560: Waiting 23:59:59 3e5f54012d9b: Verifying Checksum 23:59:59 3e5f54012d9b: Download complete 23:59:59 a0d0a0d46f8b: Verifying Checksum 23:59:59 a0d0a0d46f8b: Download complete 23:59:59 4c7163046ea9: Verifying Checksum 23:59:59 4c7163046ea9: Download complete 23:59:59 0c2d73faf560: Verifying Checksum 23:59:59 0c2d73faf560: Download complete 00:00:00 a0d0a0d46f8b: Pull complete 00:00:00 3e5f54012d9b: Pull complete 00:00:00 4c7163046ea9: Pull complete 00:00:00 0c2d73faf560: Pull complete 00:00:00 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 00:00:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:00:00 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:00:00 prd-centos7-docker-4c-2g-1756 does not seem to be running inside a container 00:00:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-rfid-llrp-go_PR-56 -v /w/workspace/oundry_device-rfid-llrp-go_PR-56:/w/workspace/oundry_device-rfid-llrp-go_PR-56:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-56@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-56@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:00:01 $ docker top 46c355d3c0cdb06b3c46576cef8e4c6a50ff41befbdd00f55d441362687f2de5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:00:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:00:01 [ssh-agent] Looking for ssh-agent implementation... 00:00:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:00:01 $ docker exec 46c355d3c0cdb06b3c46576cef8e4c6a50ff41befbdd00f55d441362687f2de5 ssh-agent 00:00:01 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpnHmPJ/agent.14 00:00:01 SSH_AGENT_PID=21 00:00:01 Running ssh-add (command line suppressed) 00:00:01 Identity added: /w/workspace/oundry_device-rfid-llrp-go_PR-56@tmp/private_key_1547741977891584244.key (/w/workspace/oundry_device-rfid-llrp-go_PR-56@tmp/private_key_1547741977891584244.key) 00:00:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:00:02 + git tag --points-at HEAD [Pipeline] } 00:00:02 $ docker exec --env ******** --env ******** 46c355d3c0cdb06b3c46576cef8e4c6a50ff41befbdd00f55d441362687f2de5 ssh-agent -k 00:00:02 unset SSH_AUTH_SOCK; 00:00:02 unset SSH_AGENT_PID; 00:00:02 echo Agent pid 21 killed; 00:00:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:00:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:00:02 [ssh-agent] Looking for ssh-agent implementation... 00:00:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:00:02 $ docker exec 46c355d3c0cdb06b3c46576cef8e4c6a50ff41befbdd00f55d441362687f2de5 ssh-agent 00:00:02 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHKkafi/agent.53 00:00:02 SSH_AGENT_PID=59 00:00:02 Running ssh-add (command line suppressed) 00:00:02 Identity added: /w/workspace/oundry_device-rfid-llrp-go_PR-56@tmp/private_key_4887822511221430919.key (/w/workspace/oundry_device-rfid-llrp-go_PR-56@tmp/private_key_4887822511221430919.key) 00:00:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:00:02 + git semver init 00:00:02 # -> Open(): unable to determine branch for HEAD 00:00:02 # $GIT_DIR = /w/workspace/oundry_device-rfid-llrp-go_PR-56/.git 00:00:02 # $GIT_WORK_TREE = /w/workspace/oundry_device-rfid-llrp-go_PR-56 00:00:02 # $SEMVER_REMOTE_NAME = origin 00:00:02 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:00:02 # $SEMVER_USER_NAME = edgex-jenkins 00:00:02 # $SEMVER_BRANCH = PR-56 00:00:02 # $SEMVER_TEMP = /tmp/semver-108658359 00:00:02 # git clone --branch semver git@github.com:edgexfoundry/device-rfid-llrp-go.git $SEMVER_TEMP 00:00:03 # '/tmp/semver-108658359' -> '/w/workspace/oundry_device-rfid-llrp-go_PR-56/.semver' 00:00:03 # -> Force: false 00:00:03 # $SEMVER_DIR = /w/workspace/oundry_device-rfid-llrp-go_PR-56/.semver [Pipeline] } 00:00:03 $ docker exec --env ******** --env ******** 46c355d3c0cdb06b3c46576cef8e4c6a50ff41befbdd00f55d441362687f2de5 ssh-agent -k 00:00:04 unset SSH_AUTH_SOCK; 00:00:04 unset SSH_AGENT_PID; 00:00:04 echo Agent pid 59 killed; 00:00:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:00:04 + git semver [Pipeline] } 00:00:04 $ docker stop --time=1 46c355d3c0cdb06b3c46576cef8e4c6a50ff41befbdd00f55d441362687f2de5 00:00:05 $ docker rm -f 46c355d3c0cdb06b3c46576cef8e4c6a50ff41befbdd00f55d441362687f2de5 [Pipeline] // withDockerContainer [Pipeline] sh 00:00:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:00:06 Stashed 1 file(s) [Pipeline] echo 00:00:06 [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 00:00:06 provisioning config files... 00:00:07 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/oundry_device-rfid-llrp-go_PR-56@tmp/config7058646316361208373tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:00:07 ---> docker-login.sh 00:00:07 nexus3.edgexfoundry.org:10001 00:00:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:00:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:00:07 Configure a credential helper to remove this warning. See 00:00:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:00:07 00:00:07 Login Succeeded 00:00:07 nexus3.edgexfoundry.org:10002 00:00:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:00:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:00:07 Configure a credential helper to remove this warning. See 00:00:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:00:07 00:00:07 Login Succeeded 00:00:07 nexus3.edgexfoundry.org:10003 00:00:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:00:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:00:07 Configure a credential helper to remove this warning. See 00:00:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:00:07 00:00:07 Login Succeeded 00:00:07 nexus3.edgexfoundry.org:10004 00:00:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:00:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:00:07 Configure a credential helper to remove this warning. See 00:00:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:00:07 00:00:07 Login Succeeded 00:00:07 docker.io 00:00:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:00:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:00:08 Configure a credential helper to remove this warning. See 00:00:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:00:08 00:00:08 Login Succeeded 00:00:08 ---> docker-login.sh ends [Pipeline] } 00:00:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:00:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:00:08 ========================================================= 00:00:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 00:00:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 00:00:08 + 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 . 00:00:08 Sending build context to Docker daemon 1.622MB 00:00:08 Step 1/12 : ARG BASE=golang:1.16-alpine3.14 00:00:08 Step 2/12 : FROM ${BASE} AS builder 00:00:08 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 00:00:08 59bf1c3509f3: Pulling fs layer 00:00:08 666ba61612fd: Pulling fs layer 00:00:08 8ed8ca486205: Pulling fs layer 00:00:08 4fe6c5a15a65: Pulling fs layer 00:00:08 22a0e8bec74d: Pulling fs layer 00:00:08 f965cba54748: Pulling fs layer 00:00:08 861ffc35075e: Pulling fs layer 00:00:08 4b385c91608e: Pulling fs layer 00:00:08 560528eb2ebb: Pulling fs layer 00:00:08 4fe6c5a15a65: Waiting 00:00:08 22a0e8bec74d: Waiting 00:00:08 f965cba54748: Waiting 00:00:08 861ffc35075e: Waiting 00:00:08 4b385c91608e: Waiting 00:00:08 560528eb2ebb: Waiting 00:00:08 8ed8ca486205: Verifying Checksum 00:00:08 8ed8ca486205: Download complete 00:00:08 666ba61612fd: Verifying Checksum 00:00:08 666ba61612fd: Download complete 00:00:08 22a0e8bec74d: Verifying Checksum 00:00:08 22a0e8bec74d: Download complete 00:00:08 f965cba54748: Verifying Checksum 00:00:08 f965cba54748: Download complete 00:00:08 59bf1c3509f3: Verifying Checksum 00:00:08 59bf1c3509f3: Download complete 00:00:08 861ffc35075e: Verifying Checksum 00:00:08 861ffc35075e: Download complete 00:00:09 4b385c91608e: Verifying Checksum 00:00:09 4b385c91608e: Download complete 00:00:09 4fe6c5a15a65: Verifying Checksum 00:00:09 4fe6c5a15a65: Download complete 00:00:09 560528eb2ebb: Verifying Checksum 00:00:09 560528eb2ebb: Download complete 00:00:09 59bf1c3509f3: Pull complete 00:00:09 666ba61612fd: Pull complete 00:00:09 8ed8ca486205: Pull complete 00:00:13 4fe6c5a15a65: Pull complete 00:00:13 22a0e8bec74d: Pull complete 00:00:13 f965cba54748: Pull complete 00:00:13 861ffc35075e: Pull complete 00:00:13 4b385c91608e: Pull complete 00:00:16 560528eb2ebb: Pull complete 00:00:16 Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f 00:00:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 00:00:16 ---> dd4a08f94e63 00:00:16 Step 3/12 : ARG MAKE='make build' 00:00:18 ---> Running in fe95705bc7b5 00:00:18 Removing intermediate container fe95705bc7b5 00:00:18 ---> 60d9e425cd15 00:00:18 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 00:00:18 ---> Running in 295ef90519ee 00:00:18 Removing intermediate container 295ef90519ee 00:00:18 ---> 648eac4a16cb 00:00:18 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 00:00:18 ---> Running in 8b4f74315c46 00:00:18 Removing intermediate container 8b4f74315c46 00:00:18 ---> 6b56a0755b45 00:00:18 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:00:18 ---> Running in 978160b5ae3b 00:00:18 Removing intermediate container 978160b5ae3b 00:00:18 ---> deb72887bf62 00:00:18 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:00:18 ---> Running in d4ee875b1cfc 00:00:19 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 00:00:20 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 00:00:20 OK: 221 MiB in 52 packages 00:00:20 Removing intermediate container d4ee875b1cfc 00:00:20 ---> d00c57bcb343 00:00:20 Step 8/12 : WORKDIR /app 00:00:20 ---> Running in 3bf5f407c3bb 00:00:20 Removing intermediate container 3bf5f407c3bb 00:00:20 ---> 124fc7b1fe6d 00:00:20 Step 9/12 : COPY . . 00:00:20 ---> abd7561c32df 00:00:20 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:00:20 ---> Running in f1f6fa1d7200 00:00:21 Still waiting to schedule task 00:00:21 ‘prd-ubuntu18.04-docker-arm64-4c-16g-1755’ is offline 00:00:53 Removing intermediate container f1f6fa1d7200 00:00:53 ---> 0f9e2d412a9e 00:00:53 Step 11/12 : RUN go mod tidy 00:00:53 ---> Running in 3bad6a0398dc 00:00:53 Removing intermediate container 3bad6a0398dc 00:00:53 ---> 86adf1feff06 00:00:53 Step 12/12 : RUN $MAKE 00:00:53 ---> Running in daad867656b1 00:00:53 noop 00:00:53 Removing intermediate container daad867656b1 00:00:53 ---> f53258ba816f 00:00:53 Successfully built f53258ba816f 00:00:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:00:53 + docker inspect -f . ci-base-image-x86_64 00:00:53 . [Pipeline] withDockerContainer 00:00:53 prd-centos7-docker-4c-2g-1756 does not seem to be running inside a container 00:00:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-rfid-llrp-go_PR-56 -v /w/workspace/oundry_device-rfid-llrp-go_PR-56:/w/workspace/oundry_device-rfid-llrp-go_PR-56:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-56@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-56@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 ******** ci-base-image-x86_64 cat 00:00:53 $ docker top 7dc00199e60c1013365b27048c81d75d648000557804e4e70c4e1b5959662763 -eo pid,comm [Pipeline] { [Pipeline] sh 00:00:54 + go version 00:00:54 go version go1.17.6 linux/amd64 [Pipeline] } 00:00:54 $ docker stop --time=1 7dc00199e60c1013365b27048c81d75d648000557804e4e70c4e1b5959662763 00:00:55 $ docker rm -f 7dc00199e60c1013365b27048c81d75d648000557804e4e70c4e1b5959662763 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:00:56 + docker inspect -f . ci-base-image-x86_64 00:00:56 . [Pipeline] withDockerContainer 00:00:56 prd-centos7-docker-4c-2g-1756 does not seem to be running inside a container 00:00:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-rfid-llrp-go_PR-56 -v /w/workspace/oundry_device-rfid-llrp-go_PR-56:/w/workspace/oundry_device-rfid-llrp-go_PR-56:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-56@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-56@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 ******** ci-base-image-x86_64 cat 00:00:56 $ docker top ddd2271a38319e9c8008ffba2ddd6ba4065267e26e828af73f27d88109989e04 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:00:56 + make test 00:00:56 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 00:00:57 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 00:01:12 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 00:01:12 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 00:01:17 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 3.181s coverage: 39.5% of statements 00:01:17 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.232s coverage: 52.0% of statements 00:01:17 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.004s coverage: 95.5% of statements 00:01:17 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:01:21 # github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp 00:01:21 cmd/llrp/llrp.go:217:2: misuse of unbuffered os.Signal channel as argument to signal.Notify 00:01:21 make: *** [Makefile:24: test] Error 2 [Pipeline] } 00:01:21 $ docker stop --time=1 ddd2271a38319e9c8008ffba2ddd6ba4065267e26e828af73f27d88109989e04 00:01:23 $ docker rm -f ddd2271a38319e9c8008ffba2ddd6ba4065267e26e828af73f27d88109989e04 [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 00:01:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:01:24 00:01:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 00:01:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:01:24 latest: Pulling from edgex-lftools-log-publisher 00:01:24 b4d181a07f80: Pulling fs layer 00:01:24 a1111a8f2ec3: Pulling fs layer 00:01:24 ed53099fbce6: Pulling fs layer 00:01:24 dc539afda2c1: Pulling fs layer 00:01:24 77bc0d833cb6: Pulling fs layer 00:01:24 9065ff56babe: Pulling fs layer 00:01:24 d287ab97295c: Pulling fs layer 00:01:24 dc539afda2c1: Waiting 00:01:24 77bc0d833cb6: Waiting 00:01:24 9065ff56babe: Waiting 00:01:24 d287ab97295c: Waiting 00:01:24 a1111a8f2ec3: Verifying Checksum 00:01:24 a1111a8f2ec3: Download complete 00:01:24 dc539afda2c1: Verifying Checksum 00:01:24 dc539afda2c1: Download complete 00:01:24 ed53099fbce6: Verifying Checksum 00:01:24 ed53099fbce6: Download complete 00:01:24 9065ff56babe: Verifying Checksum 00:01:24 9065ff56babe: Download complete 00:01:24 77bc0d833cb6: Verifying Checksum 00:01:24 77bc0d833cb6: Download complete 00:01:25 b4d181a07f80: Verifying Checksum 00:01:25 b4d181a07f80: Download complete 00:01:25 d287ab97295c: Verifying Checksum 00:01:25 d287ab97295c: Download complete 00:01:26 b4d181a07f80: Pull complete 00:01:26 a1111a8f2ec3: Pull complete 00:01:27 ed53099fbce6: Pull complete 00:01:27 dc539afda2c1: Pull complete 00:01:27 77bc0d833cb6: Pull complete 00:01:27 9065ff56babe: Pull complete 00:01:32 d287ab97295c: Pull complete 00:01:32 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 00:01:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:01:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 00:01:33 prd-centos7-docker-4c-2g-1756 does not seem to be running inside a container 00:01:33 $ 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-56 -v /w/workspace/oundry_device-rfid-llrp-go_PR-56:/w/workspace/oundry_device-rfid-llrp-go_PR-56:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-56@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-56@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:01:35 $ docker top 7bd8eb7afdce28e36d76b6879bd73a71d01af045bab93794f698c70b654b04af -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:01:35 ---> job-cost.sh 00:01:35 lf-activate-venv: SKIPPING 00:01:35 INFO: No Stack... 00:01:36 INFO: Retrieving Pricing Info for: v3-standard-2 00:01:37 INFO: Archiving Costs [Pipeline] sh 00:01:37 + cat /w/workspace/oundry_device-rfid-llrp-go_PR-56/archives/cost.csv 00:01:37 + cut -d, -f6 [Pipeline] lock 00:01:37 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-56-1-stack-cost] 00:01:37 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-56-1-stack-cost] did not exist. Created. 00:01:37 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-56-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:01:37 + echo total: 0.05999999865889549 [Pipeline] stash 00:01:37 Stashed 1 file(s) [Pipeline] } 00:01:37 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-56-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:01:38 $ docker stop --time=1 7bd8eb7afdce28e36d76b6879bd73a71d01af045bab93794f698c70b654b04af 00:01:39 $ docker rm -f 7bd8eb7afdce28e36d76b6879bd73a71d01af045bab93794f698c70b654b04af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:01:39 Failed in branch amd64 00:01:48 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1758 in /w/workspace/oundry_device-rfid-llrp-go_PR-56 [Pipeline] { [Pipeline] ws 00:01:48 Running in /w/workspace/device-rfid-llrp-go/1 [Pipeline] { [Pipeline] checkout 00:01:48 Selected Git installation does not exist. Using Default 00:01:48 The recommended git tool is: NONE 00:01:53 using credential edgex-jenkins-ssh 00:01:53 Cloning the remote Git repository 00:01:53 Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git 00:01:53 > git init /w/workspace/device-rfid-llrp-go/1 # timeout=10 00:01:53 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 00:01:53 > git --version # timeout=10 00:01:53 > git --version # 'git version 2.17.1' 00:01:53 using GIT_SSH to set credentials SSH Credentials for GitHub 00:01:53 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:01:54 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 00:01:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:01:54 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 00:01:55 Merging remotes/origin/main commit 60419adc06483b68d49990c8544a97850d76c544 into PR head commit 7dfc412db463ce2802ee721be8ebb8412e4901cb 00:01:55 Merge succeeded, producing 2277b95394224399f7c366ef8f384419609dd697 00:01:55 Checking out Revision 2277b95394224399f7c366ef8f384419609dd697 (PR-56) 00:01:54 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 00:01:54 using GIT_SSH to set credentials SSH Credentials for GitHub 00:01:54 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/56/head:refs/remotes/origin/PR-56 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:01:55 > git config core.sparsecheckout # timeout=10 00:01:55 > git checkout -f 7dfc412db463ce2802ee721be8ebb8412e4901cb # timeout=10 00:01:55 > git remote # timeout=10 00:01:55 > git config --get remote.origin.url # timeout=10 00:01:55 using GIT_SSH to set credentials SSH Credentials for GitHub 00:01:55 > git merge 60419adc06483b68d49990c8544a97850d76c544 # timeout=10 00:01:55 > git rev-parse HEAD^{commit} # timeout=10 00:01:55 > git config core.sparsecheckout # timeout=10 00:01:55 > git checkout -f 2277b95394224399f7c366ef8f384419609dd697 # timeout=10 00:01:59 Commit message: "Merge commit '60419adc06483b68d49990c8544a97850d76c544' into HEAD" 00:01:59 First time build. Skipping changelog. 00:01:59 > git --version # timeout=10 00:01:59 > git --version # 'git version 2.17.1' 00:01:59 fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:02:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:02:00 % Total % Received % Xferd Average Speed Time Time Time Current 00:02:00 Dload Upload Total Spent Left Speed 00:02:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 93251 0 --:--:-- --:--:-- --:--:-- 93251 [Pipeline] sh 00:02:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:02:01 + sudo tee /etc/docker/daemon.new 00:02:01 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:02:01 { 00:02:01 "registry-mirrors": [ 00:02:01 "https://nexus3.edgexfoundry.org:10001" 00:02:01 ], 00:02:01 "bip": "10.250.0.254/24", 00:02:01 "hosts": [ 00:02:01 "tcp://0.0.0.0:5555", 00:02:01 "unix:///var/run/docker.sock" 00:02:01 ], 00:02:01 "mtu": 1458, 00:02:01 "selinux-enabled": true, 00:02:01 "seccomp-profile": "/etc/docker/seccomp.json" 00:02:01 } [Pipeline] sh 00:02:02 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:02:02 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:02:21 provisioning config files... 00:02:21 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/device-rfid-llrp-go/1@tmp/config5700697817801030907tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:02:21 ---> docker-login.sh 00:02:21 nexus3.edgexfoundry.org:10001 00:02:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:02:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:02:22 Configure a credential helper to remove this warning. See 00:02:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:02:22 00:02:22 Login Succeeded 00:02:22 nexus3.edgexfoundry.org:10002 00:02:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:02:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:02:22 Configure a credential helper to remove this warning. See 00:02:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:02:22 00:02:22 Login Succeeded 00:02:22 nexus3.edgexfoundry.org:10003 00:02:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:02:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:02:23 Configure a credential helper to remove this warning. See 00:02:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:02:23 00:02:23 Login Succeeded 00:02:23 nexus3.edgexfoundry.org:10004 00:02:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:02:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:02:23 Configure a credential helper to remove this warning. See 00:02:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:02:23 00:02:23 Login Succeeded 00:02:23 docker.io 00:02:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:02:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:02:24 Configure a credential helper to remove this warning. See 00:02:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:02:24 00:02:24 Login Succeeded 00:02:24 ---> docker-login.sh ends [Pipeline] } 00:02:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:02:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:02:25 ========================================================= 00:02:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 00:02:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 00:02:25 + 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 . 00:02:25 Sending build context to Docker daemon 1.218MB 00:02:25 Step 1/12 : ARG BASE=golang:1.16-alpine3.14 00:02:25 Step 2/12 : FROM ${BASE} AS builder 00:02:26 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:02:26 9b3977197b4f: Pulling fs layer 00:02:26 1a89e8eeedd5: Pulling fs layer 00:02:26 94645a83ff95: Pulling fs layer 00:02:26 3f3a8bcf1eab: Pulling fs layer 00:02:26 0c92f367c5e7: Pulling fs layer 00:02:26 4b8299f9d1f4: Pulling fs layer 00:02:26 9a6b49a46696: Pulling fs layer 00:02:26 cf05db05a679: Pulling fs layer 00:02:26 3f3a8bcf1eab: Waiting 00:02:26 0c92f367c5e7: Waiting 00:02:26 4b8299f9d1f4: Waiting 00:02:26 9a6b49a46696: Waiting 00:02:26 cf05db05a679: Waiting 00:02:26 94645a83ff95: Download complete 00:02:26 1a89e8eeedd5: Verifying Checksum 00:02:26 1a89e8eeedd5: Download complete 00:02:26 0c92f367c5e7: Verifying Checksum 00:02:26 0c92f367c5e7: Download complete 00:02:26 4b8299f9d1f4: Download complete 00:02:26 9b3977197b4f: Verifying Checksum 00:02:26 9b3977197b4f: Download complete 00:02:26 9a6b49a46696: Verifying Checksum 00:02:26 9a6b49a46696: Download complete 00:02:27 9b3977197b4f: Pull complete 00:02:27 1a89e8eeedd5: Pull complete 00:02:27 94645a83ff95: Pull complete 00:02:27 cf05db05a679: Verifying Checksum 00:02:27 cf05db05a679: Download complete 00:02:28 3f3a8bcf1eab: Verifying Checksum 00:02:28 3f3a8bcf1eab: Download complete 00:02:40 3f3a8bcf1eab: Pull complete 00:02:40 0c92f367c5e7: Pull complete 00:02:40 4b8299f9d1f4: Pull complete 00:02:40 9a6b49a46696: Pull complete 00:02:46 cf05db05a679: Pull complete 00:02:46 Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 00:02:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 00:02:46 ---> 0ccda1f7e2ee 00:02:46 Step 3/12 : ARG MAKE='make build' 00:02:48 ---> Running in 25ec54d7e4f0 00:02:48 Removing intermediate container 25ec54d7e4f0 00:02:48 ---> e6c6151b3c17 00:02:48 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 00:02:48 ---> Running in 1b8bcfc994fb 00:02:48 Removing intermediate container 1b8bcfc994fb 00:02:48 ---> 78d99ba524ea 00:02:48 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 00:02:49 ---> Running in ee41995aa5a5 00:02:49 Removing intermediate container ee41995aa5a5 00:02:49 ---> 7e5753d3db62 00:02:49 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:02:49 ---> Running in 435a6b4e406c 00:02:51 Removing intermediate container 435a6b4e406c 00:02:51 ---> e0514c719414 00:02:51 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:02:51 ---> Running in a7d5cf71fd3a 00:02:52 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:02:53 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:02:54 OK: 220 MiB in 52 packages 00:02:55 Removing intermediate container a7d5cf71fd3a 00:02:55 ---> 1436fc8b82bb 00:02:55 Step 8/12 : WORKDIR /app 00:02:55 ---> Running in 51735013cdb4 00:02:55 Removing intermediate container 51735013cdb4 00:02:55 ---> f9c54c23a47d 00:02:55 Step 9/12 : COPY . . 00:02:56 ---> 6975459820d0 00:02:56 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:02:56 ---> Running in 3f1349fff917 00:04:18 Removing intermediate container 3f1349fff917 00:04:18 ---> 6871bf13f37d 00:04:18 Step 11/12 : RUN go mod tidy 00:04:18 ---> Running in e1e18e7afbce 00:04:18 Removing intermediate container e1e18e7afbce 00:04:18 ---> 6c016fb30386 00:04:18 Step 12/12 : RUN $MAKE 00:04:18 ---> Running in 4d3960fde4b6 00:04:18 noop 00:04:18 Removing intermediate container 4d3960fde4b6 00:04:18 ---> 51cc4fc9822a 00:04:18 Successfully built 51cc4fc9822a 00:04:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:04:18 + docker inspect -f . ci-base-image-arm64 00:04:18 . [Pipeline] withDockerContainer 00:04:19 prd-ubuntu18.04-docker-arm64-4c-16g-1758 does not seem to be running inside a container 00:04:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rfid-llrp-go/1 -v /w/workspace/device-rfid-llrp-go/1:/w/workspace/device-rfid-llrp-go/1:rw,z -v /w/workspace/device-rfid-llrp-go/1@tmp:/w/workspace/device-rfid-llrp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:04:20 $ docker top 091e089cb756682554dad60670f24adfbfe8af10d2a8e3c2cc3734ab3ce0fccf -eo pid,comm [Pipeline] { [Pipeline] sh 00:04:21 + go version 00:04:21 go version go1.17.6 linux/arm64 [Pipeline] } 00:04:21 $ docker stop --time=1 091e089cb756682554dad60670f24adfbfe8af10d2a8e3c2cc3734ab3ce0fccf 00:04:23 $ docker rm -f 091e089cb756682554dad60670f24adfbfe8af10d2a8e3c2cc3734ab3ce0fccf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:04:24 + docker inspect -f . ci-base-image-arm64 00:04:24 . [Pipeline] withDockerContainer 00:04:24 prd-ubuntu18.04-docker-arm64-4c-16g-1758 does not seem to be running inside a container 00:04:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rfid-llrp-go/1 -v /w/workspace/device-rfid-llrp-go/1:/w/workspace/device-rfid-llrp-go/1:rw,z -v /w/workspace/device-rfid-llrp-go/1@tmp:/w/workspace/device-rfid-llrp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:04:25 $ docker top fcfdac10e9840279deffe7aa99ebffdfe24378fe0cc386997e0b2fcf2a8ca8ec -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:04:26 + make test 00:04:26 CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... 00:04:28 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 00:05:24 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 00:05:24 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 00:05:57 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 30.066s coverage: 39.5% of statements 00:05:57 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.469s coverage: 52.0% of statements 00:05:57 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.028s coverage: 95.5% of statements 00:05:57 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:06:12 # github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp 00:06:12 cmd/llrp/llrp.go:217:2: misuse of unbuffered os.Signal channel as argument to signal.Notify 00:06:14 make: *** [Makefile:24: test] Error 2 [Pipeline] } 00:06:14 $ docker stop --time=1 fcfdac10e9840279deffe7aa99ebffdfe24378fe0cc386997e0b2fcf2a8ca8ec 00:06:16 $ docker rm -f fcfdac10e9840279deffe7aa99ebffdfe24378fe0cc386997e0b2fcf2a8ca8ec [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 00:06:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:06:17 00:06:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 00:06:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:06:18 arm64: Pulling from edgex-lftools-log-publisher 00:06:18 448f6bf000e3: Pulling fs layer 00:06:18 f757da607395: Pulling fs layer 00:06:18 05883995daec: Pulling fs layer 00:06:18 8603b9c90790: Pulling fs layer 00:06:18 1560dd03e051: Pulling fs layer 00:06:18 27f5ce0e4adf: Pulling fs layer 00:06:18 c2d8d7efcc4b: Pulling fs layer 00:06:18 8603b9c90790: Waiting 00:06:18 27f5ce0e4adf: Waiting 00:06:18 1560dd03e051: Waiting 00:06:18 c2d8d7efcc4b: Waiting 00:06:18 f757da607395: Verifying Checksum 00:06:18 f757da607395: Download complete 00:06:18 8603b9c90790: Verifying Checksum 00:06:18 8603b9c90790: Download complete 00:06:18 1560dd03e051: Verifying Checksum 00:06:18 1560dd03e051: Download complete 00:06:18 27f5ce0e4adf: Verifying Checksum 00:06:18 27f5ce0e4adf: Download complete 00:06:18 05883995daec: Verifying Checksum 00:06:18 05883995daec: Download complete 00:06:19 448f6bf000e3: Verifying Checksum 00:06:19 448f6bf000e3: Download complete 00:06:21 c2d8d7efcc4b: Verifying Checksum 00:06:21 c2d8d7efcc4b: Download complete 00:06:23 448f6bf000e3: Pull complete 00:06:23 f757da607395: Pull complete 00:06:25 05883995daec: Pull complete 00:06:25 8603b9c90790: Pull complete 00:06:26 1560dd03e051: Pull complete 00:06:26 27f5ce0e4adf: Pull complete 00:06:42 c2d8d7efcc4b: Pull complete 00:06:42 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 00:06:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:06:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 00:06:42 prd-ubuntu18.04-docker-arm64-4c-16g-1758 does not seem to be running inside a container 00:06:42 $ 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/1 -v /w/workspace/device-rfid-llrp-go/1:/w/workspace/device-rfid-llrp-go/1:rw,z -v /w/workspace/device-rfid-llrp-go/1@tmp:/w/workspace/device-rfid-llrp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:06:45 $ docker top 50db8fa89fee350ed16a097c79e9d39fa4113808b95b9c6cc39dfbf4a9f05187 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:06:46 ---> job-cost.sh 00:06:46 lf-activate-venv: SKIPPING 00:06:46 INFO: No Stack... 00:06:46 INFO: Retrieving Pricing Info for: v3-standard-4 00:06:46 INFO: Archiving Costs [Pipeline] sh 00:06:47 + cat /w/workspace/device-rfid-llrp-go/1/archives/cost.csv 00:06:47 + cut -d, -f6 [Pipeline] lock 00:06:47 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-56-1-stack-cost] 00:06:47 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-56-1-stack-cost] did not exist. Created. 00:06:47 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-56-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:06:48 /w/workspace/device-rfid-llrp-go/1@tmp/durable-d76d1e14/script.sh: 1: /w/workspace/device-rfid-llrp-go/1@tmp/durable-d76d1e14/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 00:06:48 + echo total: 0.10999999940395355 [Pipeline] stash 00:06:49 Warning: overwriting stash ‘stack-cost’ 00:06:49 Stashed 1 file(s) [Pipeline] } 00:06:49 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-56-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:06:49 $ docker stop --time=1 50db8fa89fee350ed16a097c79e9d39fa4113808b95b9c6cc39dfbf4a9f05187 00:06:51 $ docker rm -f 50db8fa89fee350ed16a097c79e9d39fa4113808b95b9c6cc39dfbf4a9f05187 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:06:51 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 00:06:54 + '[' -d /w/workspace/oundry_device-rfid-llrp-go_PR-56/archives ']' 00:06:54 + ls -al /w/workspace/oundry_device-rfid-llrp-go_PR-56/archives 00:06:54 total 8 00:06:54 drwxr-xr-x. 3 root root 34 Jan 19 00:01 . 00:06:54 drwxrwxr-x. 12 jenkins jenkins 4096 Jan 19 00:01 .. 00:06:54 drwxr-xr-x. 2 root root 6 Jan 19 00:01 cost 00:06:54 -rw-r--r--. 1 root root 89 Jan 19 00:01 cost.csv 00:06:54 + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-rfid-llrp-go_PR-56/archives 00:06:54 + ls -al /w/workspace/oundry_device-rfid-llrp-go_PR-56/archives 00:06:54 total 8 00:06:54 drwxr-xr-x. 3 jenkins jenkins 34 Jan 19 00:01 . 00:06:54 drwxrwxr-x. 12 jenkins jenkins 4096 Jan 19 00:01 .. 00:06:54 drwxr-xr-x. 2 jenkins jenkins 6 Jan 19 00:01 cost 00:06:54 -rw-r--r--. 1 jenkins jenkins 89 Jan 19 00:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:06:54 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:06:55 ---> package-listing.sh 00:06:55 ++ facter osfamily 00:06:55 ++ tr '[:upper:]' '[:lower:]' 00:06:55 + OS_FAMILY=redhat 00:06:55 + workspace=/w/workspace/oundry_device-rfid-llrp-go_PR-56 00:06:55 + START_PACKAGES=/tmp/packages_start.txt 00:06:55 + END_PACKAGES=/tmp/packages_end.txt 00:06:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:06:55 + PACKAGES=/tmp/packages_start.txt 00:06:55 + '[' /w/workspace/oundry_device-rfid-llrp-go_PR-56 ']' 00:06:55 + PACKAGES=/tmp/packages_end.txt 00:06:55 + case "${OS_FAMILY}" in 00:06:55 + sort 00:06:55 + rpm -qa 00:06:55 + '[' -f /tmp/packages_start.txt ']' 00:06:55 + '[' -f /tmp/packages_end.txt ']' 00:06:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:06:55 + '[' /w/workspace/oundry_device-rfid-llrp-go_PR-56 ']' 00:06:55 + mkdir -p /w/workspace/oundry_device-rfid-llrp-go_PR-56/archives/ 00:06:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-rfid-llrp-go_PR-56/archives/ [Pipeline] echo 00:06:55 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-56/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:06:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:06:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:06:56 . [Pipeline] withDockerContainer 00:06:56 prd-centos7-docker-4c-2g-1756 does not seem to be running inside a container 00:06:56 $ 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-56/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-56 -v /w/workspace/oundry_device-rfid-llrp-go_PR-56:/w/workspace/oundry_device-rfid-llrp-go_PR-56:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-56@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-56@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:10003/edgex-lftools-log-publisher:latest cat 00:06:57 $ docker top d01d810c16827df8b203b37fdb0bab990e035ea28eea0a0ec83d520e35d7fabf -eo pid,comm [Pipeline] { [Pipeline] sh 00:06:57 + touch /tmp/pre-build-complete [Pipeline] sh 00:06:58 + mkdir -p /var/log/sysstat [Pipeline] sh 00:06:58 + ls /var/log/sa-host 00:06:58 + sadf -c /var/log/sa-host/sa17 00:06:58 file_magic: OK 00:06:58 HZ: Using current value: 100 00:06:58 file_header: OK 00:06:58 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 00:06:58 Statistics: 00:06:58 Hnuu...uuuununununu...Hnuu...uuuununununu... 00:06:58 File successfully converted to sysstat format version 12.0.3 00:06:58 + sadf -c /var/log/sa-host/sa18 00:06:58 file_magic: OK 00:06:58 HZ: Using current value: 100 00:06:58 file_header: OK 00:06:58 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 00:06:58 Statistics: 00:06:58 HR 00:06:58 File successfully converted to sysstat format version 12.0.3 00:06:58 + sadf -c /var/log/sa-host/sa19 00:06:58 file_magic: OK 00:06:58 HZ: Using current value: 100 00:06:58 file_header: OK 00:06:58 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 00:06:58 Statistics: 00:06:58 Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:06:58 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:06:58 provisioning config files... 00:06:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-rfid-llrp-go_PR-56@tmp/config2987049018789574543tmp [Pipeline] { [Pipeline] echo 00:06:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:06:59 ---> create-netrc.sh [Pipeline] } 00:06:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:06:59 ---> python-tools-install.sh [Pipeline] echo 00:06:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:06:59 ---> sudo-logs.sh 00:06:59 Archiving 'sudo' log.. 00:06:59 sudo: unable to resolve host prd-centos7-docker-4c-2g-1756.novalocal: Name or service not known 00:06:59 sudo: unable to resolve host prd-centos7-docker-4c-2g-1756.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 00:06:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:07:00 ---> job-cost.sh 00:07:00 lf-activate-venv: SKIPPING 00:07:00 DEBUG: total: 0.05999999865889549 00:07:00 INFO: Retrieving Stack Cost... 00:07:00 INFO: Retrieving Pricing Info for: v3-standard-2 00:07:00 INFO: Archiving Costs [Pipeline] echo 00:07:00 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:07:01 ---> logs-deploy.sh 00:07:01 lf-activate-venv: SKIPPING 00:07:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rfid-llrp-go/PR-56/1 00:07:01 INFO: archiving workspace using pattern(s): 00:07:01 Archives upload complete. 00:07:01 INFO: archiving logs to Nexus