Pull request #74 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 8b44d22ccb04215a285fcb59312b26223b5ddbf5 rather than 394212b340168c52d153593504d18e86e58dc119 Obtained Jenkinsfile from 8b44d22ccb04215a285fcb59312b26223b5ddbf5 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-ssh5001490835218969568.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh6084159195580689528.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 c72b16708d6eed9a08be464a432ce22db7d90667 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-74/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-74/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3215163801364638043.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-74/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10165785788180716313.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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-ssh6644744819853896619.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-74/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-74/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2299065820645565530.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 b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 c72b16708d6eed9a08be464a432ce22db7d90667 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:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.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: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-21696 in /w/workspace/oundry_device-rfid-llrp-go_PR-74 [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-74 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > 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 8b44d22ccb04215a285fcb59312b26223b5ddbf5 into PR head commit 394212b340168c52d153593504d18e86e58dc119 Merge succeeded, producing 394212b340168c52d153593504d18e86e58dc119 Checking out Revision 394212b340168c52d153593504d18e86e58dc119 (PR-74) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/74/head:refs/remotes/origin/PR-74 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 394212b340168c52d153593504d18e86e58dc119 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 8b44d22ccb04215a285fcb59312b26223b5ddbf5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 394212b340168c52d153593504d18e86e58dc119 # timeout=10 Commit message: "fix: updated example scripts to work with current changes of edgex" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:34:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:34:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:34:41 ========================================================= 23:34:41 EdgeX Global Pipelines Version Info 23:34:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:34:42 ------------------- 23:34:42 stable info: 23:34:42 ------------------- 23:34:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:34:42 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 23:34:42 Message: update stable to v1.0.221 23:34:43 ------------------- 23:34:43 experimental info: 23:34:43 ------------------- 23:34:43 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:34:43 Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b 23:34:43 Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:34:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rfid-llrp-go-settings [Pipeline] echo 23:34:43 [edgeXSetupEnvironment]: set envvar PROJECT = device-rfid-llrp-go [Pipeline] echo 23:34:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:34:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:34:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:34:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 23:34:43 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:34:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:34:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:34:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:34:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:34:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rfid-llrp [Pipeline] echo 23:34:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:34:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:34:44 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:34:44 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:34:44 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:34:44 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:34:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:34:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:34:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:34:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:34:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:34:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:34:44 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:34:44 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:34:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-74 [Pipeline] echo 23:34:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-74 [Pipeline] echo 23:34:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-74 [Pipeline] echo 23:34:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 394212b340168c52d153593504d18e86e58dc119 [Pipeline] echo 23:34:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 394212b [Pipeline] echo 23:34:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:34:44 provisioning config files... 23:34:44 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/oundry_device-rfid-llrp-go_PR-74@tmp/config6375388909713094187tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:34:45 ---> docker-login.sh 23:34:45 nexus3.edgexfoundry.org:10001 23:34:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:34:45 Configure a credential helper to remove this warning. See 23:34:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:34:45 23:34:45 Login Succeeded 23:34:45 nexus3.edgexfoundry.org:10002 23:34:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:34:45 Configure a credential helper to remove this warning. See 23:34:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:34:45 23:34:45 Login Succeeded 23:34:45 nexus3.edgexfoundry.org:10003 23:34:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:34:45 Configure a credential helper to remove this warning. See 23:34:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:34:45 23:34:45 Login Succeeded 23:34:45 nexus3.edgexfoundry.org:10004 23:34:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:34:45 Configure a credential helper to remove this warning. See 23:34:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:34:45 23:34:45 Login Succeeded 23:34:45 docker.io 23:34:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:34:46 Configure a credential helper to remove this warning. See 23:34:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:34:46 23:34:46 Login Succeeded 23:34:46 ---> docker-login.sh ends [Pipeline] } 23:34:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:34:47 + git rev-list -1 --merges 394212b340168c52d153593504d18e86e58dc119~1..394212b340168c52d153593504d18e86e58dc119 [Pipeline] echo 23:34:47 -----------> git rev-list -1 --merges 394212b340168c52d153593504d18e86e58dc119~1..394212b340168c52d153593504d18e86e58dc119 394212b340168c52d153593504d18e86e58dc119 [false] [Pipeline] sh 23:34:47 + git log --format=format:%s -1 394212b340168c52d153593504d18e86e58dc119 [Pipeline] echo 23:34:47 ========================================================= 23:34:47 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:34:47 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:34:47 + git log --format=format:%s -1 394212b340168c52d153593504d18e86e58dc119 [Pipeline] echo 23:34:48 [semverPrep] GIT_COMMIT: 394212b340168c52d153593504d18e86e58dc119, Commit Message: fix: updated example scripts to work with current changes of edgex [Pipeline] echo 23:34:48 [semverPrep] This is not a build commit. [Pipeline] sh 23:34:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:34:48 + grep -v github /etc/ssh/ssh_known_hosts 23:34:48 + [ -e /tmp/ssh_known_hosts ] 23:34:48 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:34:48 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:34:48 + sudo tee -a /etc/ssh/ssh_known_hosts 23:34:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 23:34:48 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:34:48 23:34:48 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:34:49 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:34:49 latest: Pulling from edgex-devops/git-semver 23:34:49 a0d0a0d46f8b: Pulling fs layer 23:34:49 3e5f54012d9b: Pulling fs layer 23:34:49 4c7163046ea9: Pulling fs layer 23:34:49 0c2d73faf560: Pulling fs layer 23:34:49 0c2d73faf560: Waiting 23:34:49 3e5f54012d9b: Verifying Checksum 23:34:49 3e5f54012d9b: Download complete 23:34:49 a0d0a0d46f8b: Verifying Checksum 23:34:49 a0d0a0d46f8b: Download complete 23:34:49 4c7163046ea9: Verifying Checksum 23:34:49 4c7163046ea9: Download complete 23:34:49 0c2d73faf560: Verifying Checksum 23:34:49 0c2d73faf560: Download complete 23:34:49 a0d0a0d46f8b: Pull complete 23:34:49 3e5f54012d9b: Pull complete 23:34:49 4c7163046ea9: Pull complete 23:34:50 0c2d73faf560: Pull complete 23:34:50 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 23:34:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:34:50 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:34:50 prd-ubuntu20.04-docker-8c-8g-21696 does not seem to be running inside a container 23:34:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-rfid-llrp-go_PR-74 -v /w/workspace/oundry_device-rfid-llrp-go_PR-74:/w/workspace/oundry_device-rfid-llrp-go_PR-74:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-74@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-74@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 23:34:50 $ docker top 1dde2269a199936c9663dd5f7267527937733f571c6a174930dda3988ec8286e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:34:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:34:51 [ssh-agent] Looking for ssh-agent implementation... 23:34:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:34:51 $ docker exec 1dde2269a199936c9663dd5f7267527937733f571c6a174930dda3988ec8286e ssh-agent 23:34:51 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXokcknf/agent.13 23:34:51 SSH_AGENT_PID=19 23:34:51 Running ssh-add (command line suppressed) 23:34:51 Identity added: /w/workspace/oundry_device-rfid-llrp-go_PR-74@tmp/private_key_473568322016050723.key (/w/workspace/oundry_device-rfid-llrp-go_PR-74@tmp/private_key_473568322016050723.key) 23:34:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:34:51 + git tag --points-at HEAD [Pipeline] } 23:34:51 $ docker exec --env ******** --env ******** 1dde2269a199936c9663dd5f7267527937733f571c6a174930dda3988ec8286e ssh-agent -k 23:34:51 unset SSH_AUTH_SOCK; 23:34:51 unset SSH_AGENT_PID; 23:34:51 echo Agent pid 19 killed; 23:34:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:34:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:34:52 [ssh-agent] Looking for ssh-agent implementation... 23:34:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:34:52 $ docker exec 1dde2269a199936c9663dd5f7267527937733f571c6a174930dda3988ec8286e ssh-agent 23:34:52 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHJfPeo/agent.51 23:34:52 SSH_AGENT_PID=57 23:34:52 Running ssh-add (command line suppressed) 23:34:52 Identity added: /w/workspace/oundry_device-rfid-llrp-go_PR-74@tmp/private_key_1083198248131420386.key (/w/workspace/oundry_device-rfid-llrp-go_PR-74@tmp/private_key_1083198248131420386.key) 23:34:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:34:52 + git semver init 23:34:52 # -> Open(): unable to determine branch for HEAD 23:34:52 # $GIT_DIR = /w/workspace/oundry_device-rfid-llrp-go_PR-74/.git 23:34:52 # $GIT_WORK_TREE = /w/workspace/oundry_device-rfid-llrp-go_PR-74 23:34:52 # $SEMVER_REMOTE_NAME = origin 23:34:52 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:34:52 # $SEMVER_USER_NAME = edgex-jenkins 23:34:52 # $SEMVER_BRANCH = PR-74 23:34:52 # $SEMVER_TEMP = /tmp/semver-004288154 23:34:52 # git clone --branch semver git@github.com:edgexfoundry/device-rfid-llrp-go.git $SEMVER_TEMP 23:34:53 # '/tmp/semver-004288154' -> '/w/workspace/oundry_device-rfid-llrp-go_PR-74/.semver' 23:34:53 # -> Force: false 23:34:53 # $SEMVER_DIR = /w/workspace/oundry_device-rfid-llrp-go_PR-74/.semver [Pipeline] } 23:34:53 $ docker exec --env ******** --env ******** 1dde2269a199936c9663dd5f7267527937733f571c6a174930dda3988ec8286e ssh-agent -k 23:34:53 unset SSH_AUTH_SOCK; 23:34:53 unset SSH_AGENT_PID; 23:34:53 echo Agent pid 57 killed; 23:34:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:34:54 + git semver [Pipeline] } 23:34:54 $ docker stop --time=1 1dde2269a199936c9663dd5f7267527937733f571c6a174930dda3988ec8286e 23:34:55 $ docker rm -f 1dde2269a199936c9663dd5f7267527937733f571c6a174930dda3988ec8286e [Pipeline] // withDockerContainer [Pipeline] sh 23:34:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:34:56 Stashed 1 file(s) [Pipeline] echo 23:34:56 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:34:56 provisioning config files... 23:34:56 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/oundry_device-rfid-llrp-go_PR-74@tmp/config2770972763027214643tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:34:57 ---> docker-login.sh 23:34:57 nexus3.edgexfoundry.org:10001 23:34:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:34:57 Configure a credential helper to remove this warning. See 23:34:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:34:57 23:34:57 Login Succeeded 23:34:57 nexus3.edgexfoundry.org:10002 23:34:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:34:57 Configure a credential helper to remove this warning. See 23:34:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:34:57 23:34:57 Login Succeeded 23:34:57 nexus3.edgexfoundry.org:10003 23:34:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:34:57 Configure a credential helper to remove this warning. See 23:34:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:34:57 23:34:57 Login Succeeded 23:34:57 nexus3.edgexfoundry.org:10004 23:34:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:34:57 Configure a credential helper to remove this warning. See 23:34:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:34:57 23:34:57 Login Succeeded 23:34:57 docker.io 23:34:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:34:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:34:57 Configure a credential helper to remove this warning. See 23:34:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:34:57 23:34:57 Login Succeeded 23:34:57 ---> docker-login.sh ends [Pipeline] } 23:34:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:34:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:34:58 ========================================================= 23:34:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 23:34:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:34:58 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 23:34:58 Sending build context to Docker daemon 1.719MB 23:34:58 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 23:34:58 Step 2/12 : FROM ${BASE} AS builder 23:34:58 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 23:34:58 59bf1c3509f3: Pulling fs layer 23:34:58 666ba61612fd: Pulling fs layer 23:34:58 8ed8ca486205: Pulling fs layer 23:34:58 4fe6c5a15a65: Pulling fs layer 23:34:58 22a0e8bec74d: Pulling fs layer 23:34:58 640e595b4fbd: Pulling fs layer 23:34:58 763cafe07f6e: Pulling fs layer 23:34:58 0c0b528cf693: Pulling fs layer 23:34:58 10935f4eaf8b: Pulling fs layer 23:34:58 22a0e8bec74d: Waiting 23:34:58 4fe6c5a15a65: Waiting 23:34:58 640e595b4fbd: Waiting 23:34:58 0c0b528cf693: Waiting 23:34:58 763cafe07f6e: Waiting 23:34:58 10935f4eaf8b: Waiting 23:34:58 8ed8ca486205: Verifying Checksum 23:34:58 8ed8ca486205: Download complete 23:34:58 666ba61612fd: Download complete 23:34:58 22a0e8bec74d: Verifying Checksum 23:34:58 22a0e8bec74d: Download complete 23:34:58 640e595b4fbd: Verifying Checksum 23:34:58 640e595b4fbd: Download complete 23:34:58 59bf1c3509f3: Verifying Checksum 23:34:58 59bf1c3509f3: Download complete 23:34:58 763cafe07f6e: Verifying Checksum 23:34:58 0c0b528cf693: Verifying Checksum 23:34:58 0c0b528cf693: Download complete 23:34:58 59bf1c3509f3: Pull complete 23:34:59 666ba61612fd: Pull complete 23:34:59 8ed8ca486205: Pull complete 23:34:59 10935f4eaf8b: Verifying Checksum 23:34:59 10935f4eaf8b: Download complete 23:34:59 4fe6c5a15a65: Verifying Checksum 23:34:59 4fe6c5a15a65: Download complete 23:35:03 4fe6c5a15a65: Pull complete 23:35:03 22a0e8bec74d: Pull complete 23:35:03 640e595b4fbd: Pull complete 23:35:03 763cafe07f6e: Pull complete 23:35:03 0c0b528cf693: Pull complete 23:35:06 10935f4eaf8b: Pull complete 23:35:06 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 23:35:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 23:35:06 ---> 99d49a6021b9 23:35:06 Step 3/12 : ARG MAKE='make build' 23:35:07 ---> Running in 9215d0177843 23:35:07 Removing intermediate container 9215d0177843 23:35:07 ---> 4ab19af3e892 23:35:07 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 23:35:07 ---> Running in f22fe11fd513 23:35:07 Removing intermediate container f22fe11fd513 23:35:07 ---> 928b68910482 23:35:07 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 23:35:07 ---> Running in ce80d69b386f 23:35:07 Removing intermediate container ce80d69b386f 23:35:07 ---> 81fcf0cdae7b 23:35:07 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:35:07 ---> Running in 6bbaefe180b3 23:35:08 Removing intermediate container 6bbaefe180b3 23:35:08 ---> 0805e639623e 23:35:08 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:35:08 ---> Running in 807bbcd8e1cb 23:35:08 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 23:35:10 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 23:35:10 OK: 221 MiB in 52 packages 23:35:10 Removing intermediate container 807bbcd8e1cb 23:35:10 ---> cbd82eabd326 23:35:10 Step 8/12 : WORKDIR /app 23:35:10 ---> Running in 239163fb6104 23:35:10 Removing intermediate container 239163fb6104 23:35:10 ---> 5410403b190f 23:35:10 Step 9/12 : COPY go.mod vendor* ./ 23:35:10 ---> c2302cffca13 23:35:10 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:35:10 ---> Running in 85b11050fa78 23:35:11 Still waiting to schedule task 23:35:11 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 23:35:37 Removing intermediate container 85b11050fa78 23:35:37 ---> 853b21f93b5e 23:35:37 Step 11/12 : COPY . . 23:35:37 ---> 6601eeb896c5 23:35:37 Step 12/12 : RUN $MAKE 23:35:37 ---> Running in 89d210040f05 23:35:37 noop 23:35:37 Removing intermediate container 89d210040f05 23:35:37 ---> bf643cecdc21 23:35:37 Successfully built bf643cecdc21 23:35:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 23:35:37 + docker inspect -f . ci-base-image-x86_64 23:35:37 . [Pipeline] withDockerContainer 23:35:37 prd-ubuntu20.04-docker-8c-8g-21696 does not seem to be running inside a container 23:35:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-rfid-llrp-go_PR-74 -v /w/workspace/oundry_device-rfid-llrp-go_PR-74:/w/workspace/oundry_device-rfid-llrp-go_PR-74:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-74@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-74@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 23:35:38 $ docker top cc3eb2207844cc667acbeb59b1c41400cfd66ae7f59bb28f94e5afb14a508397 -eo pid,comm [Pipeline] { [Pipeline] sh 23:35:38 + go version 23:35:38 go version go1.17.6 linux/amd64 [Pipeline] } 23:35:38 $ docker stop --time=1 cc3eb2207844cc667acbeb59b1c41400cfd66ae7f59bb28f94e5afb14a508397 23:35:39 $ docker rm -f cc3eb2207844cc667acbeb59b1c41400cfd66ae7f59bb28f94e5afb14a508397 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:35:40 + docker inspect -f . ci-base-image-x86_64 23:35:40 . [Pipeline] withDockerContainer 23:35:40 prd-ubuntu20.04-docker-8c-8g-21696 does not seem to be running inside a container 23:35:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-rfid-llrp-go_PR-74 -v /w/workspace/oundry_device-rfid-llrp-go_PR-74:/w/workspace/oundry_device-rfid-llrp-go_PR-74:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-74@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-74@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 23:35:41 $ docker top 455e914fb37b6a878b216aa8eaf9da9d53616a7da122ef45e7d356220291f44e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:35:41 + make test 23:35:41 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:35:42 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 23:35:48 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 23:35:48 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 23:35:52 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 3.590s coverage: 39.3% of statements 23:35:52 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.237s coverage: 52.0% of statements 23:35:52 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.014s coverage: 94.6% of statements 23:35:59 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:36:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:36:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:36:02 ./bin/test-attribution-txt.sh [Pipeline] echo 23:36:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:36:02 $ docker stop --time=1 455e914fb37b6a878b216aa8eaf9da9d53616a7da122ef45e7d356220291f44e 23:36:04 $ docker rm -f 455e914fb37b6a878b216aa8eaf9da9d53616a7da122ef45e7d356220291f44e [Pipeline] // withDockerContainer [Pipeline] sh 23:36:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:36:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:36:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:36:06 + ls -al . 23:36:06 total 640 23:36:06 drwxrwxr-x 11 jenkins jenkins 4096 Apr 21 23:36 . 23:36:06 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 23:34 .. 23:36:06 -rw-rw-r-- 1 jenkins jenkins 134 Apr 21 23:34 .dockerignore 23:36:06 drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 23:34 .git 23:36:06 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 23:34 .github 23:36:06 -rw-rw-r-- 1 jenkins jenkins 946 Apr 21 23:34 .gitignore 23:36:06 -rw-rw-r-- 1 jenkins jenkins 41 Apr 21 23:34 .golangci.yml 23:36:06 drwx------ 3 jenkins jenkins 4096 Apr 21 23:34 .semver 23:36:06 -rw-rw-r-- 1 jenkins jenkins 9072 Apr 21 23:34 Attribution.txt 23:36:06 -rw-rw-r-- 1 jenkins jenkins 1514 Apr 21 23:34 Dockerfile 23:36:06 -rw-rw-r-- 1 jenkins jenkins 677 Apr 21 23:34 GOVERNANCE.md 23:36:06 -rw-rw-r-- 1 jenkins jenkins 683 Apr 21 23:34 Jenkinsfile 23:36:06 -rw-rw-r-- 1 jenkins jenkins 11347 Apr 21 23:34 LICENSE 23:36:06 -rw-rw-r-- 1 jenkins jenkins 1435 Apr 21 23:34 Makefile 23:36:06 -rw-rw-r-- 1 jenkins jenkins 625 Apr 21 23:34 OWNERS.md 23:36:06 -rw-rw-r-- 1 jenkins jenkins 28508 Apr 21 23:34 README.md 23:36:06 -rw-rw-r-- 1 jenkins jenkins 5 Apr 21 23:34 VERSION 23:36:06 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 23:34 bin 23:36:06 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 23:34 cmd 23:36:06 -rw-r--r-- 1 jenkins jenkins 460394 Apr 21 23:35 coverage.out 23:36:06 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 23:34 examples 23:36:06 -rw-rw-r-- 1 jenkins jenkins 2899 Apr 21 23:34 go.mod 23:36:06 -rw-rw-r-- 1 jenkins jenkins 49145 Apr 21 23:34 go.sum 23:36:06 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 23:34 images 23:36:06 drwxrwxr-x 5 jenkins jenkins 4096 Apr 21 23:34 internal 23:36:06 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 23:34 snap 23:36:06 -rw-rw-r-- 1 jenkins jenkins 193 Apr 21 23:34 version.go [Pipeline] isUnix [Pipeline] sh 23:36:06 + docker build -t device-rfid-llrp -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=394212b340168c52d153593504d18e86e58dc119 --label arch=amd64 --label version=0.0.0 . 23:36:06 Sending build context to Docker daemon 1.719MB 23:36:06 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 23:36:06 Step 2/25 : FROM ${BASE} AS builder 23:36:06 ---> bf643cecdc21 23:36:06 Step 3/25 : ARG MAKE='make build' 23:36:06 ---> Running in 9ebd9f5b418b 23:36:06 Removing intermediate container 9ebd9f5b418b 23:36:06 ---> 8816ffe72158 23:36:06 Step 4/25 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 23:36:06 ---> Running in d1d44dcabdce 23:36:06 Removing intermediate container d1d44dcabdce 23:36:06 ---> d2dd73568895 23:36:06 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 23:36:06 ---> Running in 33395b243cfd 23:36:06 Removing intermediate container 33395b243cfd 23:36:06 ---> 5c187afb2c76 23:36:06 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:36:07 ---> Running in 4e91649cd814 23:36:07 Removing intermediate container 4e91649cd814 23:36:07 ---> acb93ca3521a 23:36:07 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:36:07 ---> Running in 740765a02e21 23:36:07 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 23:36:08 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 23:36:08 OK: 221 MiB in 52 packages 23:36:09 Removing intermediate container 740765a02e21 23:36:09 ---> 1ac4ce270738 23:36:09 Step 8/25 : WORKDIR /app 23:36:09 ---> Running in 443397350b69 23:36:09 Removing intermediate container 443397350b69 23:36:09 ---> b17f68fb4c0b 23:36:09 Step 9/25 : COPY go.mod vendor* ./ 23:36:09 ---> 68c509e15ad0 23:36:09 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:36:09 ---> Running in dfa4715776e9 23:36:10 Removing intermediate container dfa4715776e9 23:36:10 ---> 5424e2e22f6c 23:36:10 Step 11/25 : COPY . . 23:36:10 ---> ed0ffb448b20 23:36:10 Step 12/25 : RUN $MAKE 23:36:10 ---> Running in 01c28f675fd9 23:36:10 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rfid-llrp.Version=0.0.0" -o cmd/device-rfid-llrp ./cmd 23:36:18 Removing intermediate container 01c28f675fd9 23:36:18 ---> eeadf46c4607 23:36:18 Step 13/25 : FROM alpine:3.14 23:36:18 3.14: Pulling from library/alpine 23:36:18 8663204ce13b: Pulling fs layer 23:36:18 8663204ce13b: Download complete 23:36:18 8663204ce13b: Pull complete 23:36:18 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 23:36:18 Status: Downloaded newer image for alpine:3.14 23:36:18 ---> e04c818066af 23:36:18 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 23:36:18 ---> Running in 599465c45755 23:36:18 Removing intermediate container 599465c45755 23:36:18 ---> 22c53a7fcb21 23:36:18 Step 15/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:36:18 ---> Running in 4f3aee73e955 23:36:19 Removing intermediate container 4f3aee73e955 23:36:19 ---> 9674bbb9f3b3 23:36:19 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 23:36:19 ---> Running in 080e9d92dfce 23:36:19 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 23:36:20 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 23:36:21 (1/6) Installing dumb-init (1.2.5-r1) 23:36:21 (2/6) Installing libgcc (10.3.1_git20210424-r2) 23:36:21 (3/6) Installing libsodium (1.0.18-r0) 23:36:21 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 23:36:21 (5/6) Installing libzmq (4.3.4-r0) 23:36:21 (6/6) Installing zeromq (4.3.4-r0) 23:36:21 Executing busybox-1.33.1-r7.trigger 23:36:21 OK: 8 MiB in 20 packages 23:36:22 Removing intermediate container 080e9d92dfce 23:36:22 ---> 240a32412393 23:36:22 Step 17/25 : COPY --from=builder /app/LICENSE / 23:36:22 ---> c78f45034206 23:36:22 Step 18/25 : COPY --from=builder /app/Attribution.txt / 23:36:22 ---> eb6eb8a9aa48 23:36:22 Step 19/25 : COPY --from=builder /app/cmd/ / 23:36:22 ---> acc2c5b0792f 23:36:22 Step 20/25 : EXPOSE 59989 23:36:22 ---> Running in 9d2e059fa789 23:36:22 Removing intermediate container 9d2e059fa789 23:36:22 ---> bed4763afae6 23:36:22 Step 21/25 : ENTRYPOINT ["/device-rfid-llrp"] 23:36:22 ---> Running in dc206b4aaf7c 23:36:22 Removing intermediate container dc206b4aaf7c 23:36:22 ---> b9c5eaf69377 23:36:22 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 23:36:22 ---> Running in 7e624cd32928 23:36:22 Removing intermediate container 7e624cd32928 23:36:22 ---> d21bb3ad8ba0 23:36:22 Step 23/25 : LABEL arch=amd64 23:36:22 ---> Running in 3af9d65a1e82 23:36:23 Removing intermediate container 3af9d65a1e82 23:36:23 ---> 6e93ff5c8bf3 23:36:23 Step 24/25 : LABEL git_sha=394212b340168c52d153593504d18e86e58dc119 23:36:23 ---> Running in a9ac25e362fd 23:36:23 Removing intermediate container a9ac25e362fd 23:36:23 ---> 5078a78063bb 23:36:23 Step 25/25 : LABEL version=0.0.0 23:36:23 ---> Running in 749dcc854f24 23:36:23 Removing intermediate container 749dcc854f24 23:36:23 ---> c33a95ffef9b 23:36:23 [Warning] One or more build-args [ARCH] were not consumed 23:36:23 Successfully built c33a95ffef9b 23:36:23 Successfully tagged device-rfid-llrp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:36:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:36:23 23:36:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:36:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:36:24 latest: Pulling from edgex-lftools-log-publisher 23:36:24 5eb5b503b376: Pulling fs layer 23:36:24 5c69ac0246d0: Pulling fs layer 23:36:24 ec43610c2a17: Pulling fs layer 23:36:24 3a2ae6a8a46f: Pulling fs layer 23:36:24 33b1e0a273af: Pulling fs layer 23:36:24 5d3b04190fa2: Pulling fs layer 23:36:24 2f39f015ded8: Pulling fs layer 23:36:24 3a2ae6a8a46f: Waiting 23:36:24 33b1e0a273af: Waiting 23:36:24 2f39f015ded8: Waiting 23:36:24 5d3b04190fa2: Waiting 23:36:24 5c69ac0246d0: Download complete 23:36:24 3a2ae6a8a46f: Verifying Checksum 23:36:24 3a2ae6a8a46f: Download complete 23:36:24 33b1e0a273af: Verifying Checksum 23:36:24 33b1e0a273af: Download complete 23:36:24 5d3b04190fa2: Verifying Checksum 23:36:24 5d3b04190fa2: Download complete 23:36:24 ec43610c2a17: Verifying Checksum 23:36:24 ec43610c2a17: Download complete 23:36:24 5eb5b503b376: Verifying Checksum 23:36:24 5eb5b503b376: Download complete 23:36:25 2f39f015ded8: Download complete 23:36:25 5eb5b503b376: Pull complete 23:36:25 5c69ac0246d0: Pull complete 23:36:26 ec43610c2a17: Pull complete 23:36:26 3a2ae6a8a46f: Pull complete 23:36:26 33b1e0a273af: Pull complete 23:36:26 5d3b04190fa2: Pull complete 23:36:30 2f39f015ded8: Pull complete 23:36:30 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:36:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:36:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:36:30 prd-ubuntu20.04-docker-8c-8g-21696 does not seem to be running inside a container 23:36:30 $ 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-74 -v /w/workspace/oundry_device-rfid-llrp-go_PR-74:/w/workspace/oundry_device-rfid-llrp-go_PR-74:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-74@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-74@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 23:36:32 $ docker top 86ac6a0fe3dab990bc2dce0e2057c6c0c797cd128d7906b50cce82950673d0cb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:36:32 ---> job-cost.sh 23:36:32 lf-activate-venv: SKIPPING 23:36:32 INFO: No Stack... 23:36:33 INFO: Retrieving Pricing Info for: v3-standard-8 23:36:33 INFO: Archiving Costs [Pipeline] sh 23:36:33 + cat /w/workspace/oundry_device-rfid-llrp-go_PR-74/archives/cost.csv 23:36:33 + cut -d, -f6 [Pipeline] lock 23:36:33 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-74-1-stack-cost] 23:36:33 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-74-1-stack-cost] did not exist. Created. 23:36:33 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-74-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:36:34 + echo total: 0.2199999988079071 [Pipeline] stash 23:36:34 Stashed 1 file(s) [Pipeline] } 23:36:34 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-74-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:36:34 $ docker stop --time=1 86ac6a0fe3dab990bc2dce0e2057c6c0c797cd128d7906b50cce82950673d0cb 23:36:35 $ docker rm -f 86ac6a0fe3dab990bc2dce0e2057c6c0c797cd128d7906b50cce82950673d0cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:36:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21697 in /w/workspace/oundry_device-rfid-llrp-go_PR-74 [Pipeline] { [Pipeline] ws 23:36:50 Running in /w/workspace/device-rfid-llrp-go/1 [Pipeline] { [Pipeline] checkout 23:36:50 Selected Git installation does not exist. Using Default 23:36:50 The recommended git tool is: NONE 23:36:56 using credential edgex-jenkins-ssh 23:36:56 Cloning the remote Git repository 23:36:56 Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git 23:36:56 > git init /w/workspace/device-rfid-llrp-go/1 # timeout=10 23:36:56 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 23:36:56 > git --version # timeout=10 23:36:56 > git --version # 'git version 2.25.1' 23:36:56 using GIT_SSH to set credentials SSH Credentials for GitHub 23:36:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:36:57 Merging remotes/origin/main commit 8b44d22ccb04215a285fcb59312b26223b5ddbf5 into PR head commit 394212b340168c52d153593504d18e86e58dc119 23:36:57 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 23:36:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:36:57 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 23:36:57 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 23:36:57 using GIT_SSH to set credentials SSH Credentials for GitHub 23:36:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/74/head:refs/remotes/origin/PR-74 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:36:57 > git config core.sparsecheckout # timeout=10 23:36:58 Merge succeeded, producing 394212b340168c52d153593504d18e86e58dc119 23:36:58 Checking out Revision 394212b340168c52d153593504d18e86e58dc119 (PR-74) 23:36:57 > git checkout -f 394212b340168c52d153593504d18e86e58dc119 # timeout=10 23:36:57 > git remote # timeout=10 23:36:57 > git config --get remote.origin.url # timeout=10 23:36:57 using GIT_SSH to set credentials SSH Credentials for GitHub 23:36:58 > git merge 8b44d22ccb04215a285fcb59312b26223b5ddbf5 # timeout=10 23:36:58 > git rev-parse HEAD^{commit} # timeout=10 23:36:58 > git config core.sparsecheckout # timeout=10 23:36:58 > git checkout -f 394212b340168c52d153593504d18e86e58dc119 # timeout=10 23:37:02 Commit message: "fix: updated example scripts to work with current changes of edgex" 23:37:02 > git --version # timeout=10 23:37:02 > git --version # 'git version 2.25.1' 23:37:02 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:37:03 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:37:03 % Total % Received % Xferd Average Speed Time Time Time Current 23:37:03 Dload Upload Total Spent Left Speed 23:37:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 78430 0 --:--:-- --:--:-- --:--:-- 78953 [Pipeline] sh 23:37:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:37:04 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:37:04 + sudo tee /etc/docker/daemon.new 23:37:04 { 23:37:04 "registry-mirrors": [ 23:37:04 "https://nexus3.edgexfoundry.org:10001" 23:37:04 ], 23:37:04 "bip": "10.250.0.254/24", 23:37:04 "hosts": [ 23:37:04 "tcp://0.0.0.0:5555", 23:37:04 "unix:///var/run/docker.sock" 23:37:04 ], 23:37:04 "mtu": 1458, 23:37:04 "selinux-enabled": true, 23:37:04 "seccomp-profile": "/etc/docker/seccomp.json" 23:37:04 } [Pipeline] sh 23:37:04 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:37:05 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:37:23 provisioning config files... 23:37:23 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/device-rfid-llrp-go/1@tmp/config3908771789532036502tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:37:24 ---> docker-login.sh 23:37:24 nexus3.edgexfoundry.org:10001 23:37:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:37:24 Configure a credential helper to remove this warning. See 23:37:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:37:24 23:37:24 Login Succeeded 23:37:24 nexus3.edgexfoundry.org:10002 23:37:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:37:25 Configure a credential helper to remove this warning. See 23:37:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:37:25 23:37:25 Login Succeeded 23:37:25 nexus3.edgexfoundry.org:10003 23:37:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:37:25 Configure a credential helper to remove this warning. See 23:37:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:37:25 23:37:25 Login Succeeded 23:37:25 nexus3.edgexfoundry.org:10004 23:37:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:37:26 Configure a credential helper to remove this warning. See 23:37:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:37:26 23:37:26 Login Succeeded 23:37:26 docker.io 23:37:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:37:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:37:27 Configure a credential helper to remove this warning. See 23:37:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:37:27 23:37:27 Login Succeeded 23:37:27 ---> docker-login.sh ends [Pipeline] } 23:37:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:37:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:37:27 ========================================================= 23:37:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 23:37:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:37:28 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 23:37:28 Sending build context to Docker daemon 1.227MB 23:37:28 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 23:37:28 Step 2/12 : FROM ${BASE} AS builder 23:37:28 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:37:28 9b3977197b4f: Pulling fs layer 23:37:28 1a89e8eeedd5: Pulling fs layer 23:37:28 94645a83ff95: Pulling fs layer 23:37:28 3f3a8bcf1eab: Pulling fs layer 23:37:28 0c92f367c5e7: Pulling fs layer 23:37:28 f7c0051592d6: Pulling fs layer 23:37:28 a227ed2f7395: Pulling fs layer 23:37:28 7b1c46037f91: Pulling fs layer 23:37:28 3f3a8bcf1eab: Waiting 23:37:28 0c92f367c5e7: Waiting 23:37:28 f7c0051592d6: Waiting 23:37:28 a227ed2f7395: Waiting 23:37:28 7b1c46037f91: Waiting 23:37:28 94645a83ff95: Verifying Checksum 23:37:28 94645a83ff95: Download complete 23:37:28 1a89e8eeedd5: Verifying Checksum 23:37:28 1a89e8eeedd5: Download complete 23:37:28 0c92f367c5e7: Verifying Checksum 23:37:28 0c92f367c5e7: Download complete 23:37:28 f7c0051592d6: Verifying Checksum 23:37:28 f7c0051592d6: Download complete 23:37:28 9b3977197b4f: Download complete 23:37:28 a227ed2f7395: Verifying Checksum 23:37:28 a227ed2f7395: Download complete 23:37:29 9b3977197b4f: Pull complete 23:37:29 1a89e8eeedd5: Pull complete 23:37:30 94645a83ff95: Pull complete 23:37:30 7b1c46037f91: Download complete 23:37:31 3f3a8bcf1eab: Verifying Checksum 23:37:31 3f3a8bcf1eab: Download complete 23:37:43 3f3a8bcf1eab: Pull complete 23:37:43 0c92f367c5e7: Pull complete 23:37:43 f7c0051592d6: Pull complete 23:37:44 a227ed2f7395: Pull complete 23:37:50 7b1c46037f91: Pull complete 23:37:50 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 23:37:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 23:37:50 ---> f79e39bc4007 23:37:50 Step 3/12 : ARG MAKE='make build' 23:37:51 ---> Running in e805a57e9eac 23:37:51 Removing intermediate container e805a57e9eac 23:37:51 ---> 1fb1f0012cd7 23:37:51 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 23:37:51 ---> Running in 35997f178ddb 23:37:52 Removing intermediate container 35997f178ddb 23:37:52 ---> 3bbb57007f50 23:37:52 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 23:37:52 ---> Running in 03596a55fea0 23:37:52 Removing intermediate container 03596a55fea0 23:37:52 ---> 6f1c083aa0a7 23:37:52 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:37:52 ---> Running in 1ab56f2855e4 23:37:54 Removing intermediate container 1ab56f2855e4 23:37:54 ---> faea3fe57eb8 23:37:54 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:37:54 ---> Running in d8777a3e2880 23:37:56 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 23:37:57 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 23:37:58 OK: 220 MiB in 52 packages 23:37:59 Removing intermediate container d8777a3e2880 23:37:59 ---> 25f3dc53105d 23:37:59 Step 8/12 : WORKDIR /app 23:37:59 ---> Running in b732cad95456 23:37:59 Removing intermediate container b732cad95456 23:37:59 ---> 72208e575983 23:37:59 Step 9/12 : COPY go.mod vendor* ./ 23:38:00 ---> 43b20153cac3 23:38:00 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:38:00 ---> Running in c23287171316 23:39:21 Removing intermediate container c23287171316 23:39:21 ---> a7278052def7 23:39:21 Step 11/12 : COPY . . 23:39:21 ---> daf529b44e42 23:39:21 Step 12/12 : RUN $MAKE 23:39:21 ---> Running in dc3bf58573a1 23:39:21 noop 23:39:21 Removing intermediate container dc3bf58573a1 23:39:21 ---> 310ad9eb1a01 23:39:21 Successfully built 310ad9eb1a01 23:39:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:39:22 + docker inspect -f . ci-base-image-arm64 23:39:22 . [Pipeline] withDockerContainer 23:39:22 prd-ubuntu20.04-docker-arm64-4c-16g-21697 does not seem to be running inside a container 23:39:22 $ 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 ******** -e ******** ci-base-image-arm64 cat 23:39:23 $ docker top 5ce6093b03ddaebb06b7604dfe130d8ad320a82d37516cabd0b858799f69a975 -eo pid,comm [Pipeline] { [Pipeline] sh 23:39:24 + go version 23:39:24 go version go1.17.6 linux/arm64 [Pipeline] } 23:39:24 $ docker stop --time=1 5ce6093b03ddaebb06b7604dfe130d8ad320a82d37516cabd0b858799f69a975 23:39:26 $ docker rm -f 5ce6093b03ddaebb06b7604dfe130d8ad320a82d37516cabd0b858799f69a975 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:39:27 + docker inspect -f . ci-base-image-arm64 23:39:27 . [Pipeline] withDockerContainer 23:39:27 prd-ubuntu20.04-docker-arm64-4c-16g-21697 does not seem to be running inside a container 23:39:27 $ 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 ******** -e ******** ci-base-image-arm64 cat 23:39:28 $ docker top 2aca83a8b82d03f9c0bee51455955ea398e2a7684b1dfd99e1536fad5a936f57 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:39:29 + make test 23:39:29 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:39:31 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 23:40:28 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 23:40:28 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 23:40:54 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 26.082s coverage: 39.3% of statements 23:40:54 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.543s coverage: 52.0% of statements 23:40:54 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.029s coverage: 95.5% of statements 23:40:54 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:40:54 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:41:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:41:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:41:10 ./bin/test-attribution-txt.sh [Pipeline] echo 23:41:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:41:13 $ docker stop --time=1 2aca83a8b82d03f9c0bee51455955ea398e2a7684b1dfd99e1536fad5a936f57 23:41:15 $ docker rm -f 2aca83a8b82d03f9c0bee51455955ea398e2a7684b1dfd99e1536fad5a936f57 [Pipeline] // withDockerContainer [Pipeline] sh 23:41:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:41:15 Warning: overwriting stash ‘coverage-report’ 23:41:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:41:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:41:17 + ls -al . 23:41:17 total 636 23:41:17 drwxrwxr-x 10 jenkins jenkins 4096 Apr 21 23:41 . 23:41:17 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 23:36 .. 23:41:17 -rw-rw-r-- 1 jenkins jenkins 134 Apr 21 23:36 .dockerignore 23:41:17 drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 23:37 .git 23:41:17 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 23:36 .github 23:41:17 -rw-rw-r-- 1 jenkins jenkins 946 Apr 21 23:36 .gitignore 23:41:17 -rw-rw-r-- 1 jenkins jenkins 41 Apr 21 23:36 .golangci.yml 23:41:17 -rw-rw-r-- 1 jenkins jenkins 9072 Apr 21 23:36 Attribution.txt 23:41:17 -rw-rw-r-- 1 jenkins jenkins 1514 Apr 21 23:36 Dockerfile 23:41:17 -rw-rw-r-- 1 jenkins jenkins 677 Apr 21 23:36 GOVERNANCE.md 23:41:17 -rw-rw-r-- 1 jenkins jenkins 683 Apr 21 23:36 Jenkinsfile 23:41:17 -rw-rw-r-- 1 jenkins jenkins 11347 Apr 21 23:36 LICENSE 23:41:17 -rw-rw-r-- 1 jenkins jenkins 1435 Apr 21 23:36 Makefile 23:41:17 -rw-rw-r-- 1 jenkins jenkins 625 Apr 21 23:36 OWNERS.md 23:41:17 -rw-rw-r-- 1 jenkins jenkins 28508 Apr 21 23:36 README.md 23:41:17 -rw-rw-r-- 1 jenkins jenkins 5 Apr 21 23:34 VERSION 23:41:17 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 23:36 bin 23:41:17 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 23:36 cmd 23:41:17 -rw-r--r-- 1 jenkins jenkins 460394 Apr 21 23:40 coverage.out 23:41:17 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 23:36 examples 23:41:17 -rw-rw-r-- 1 jenkins jenkins 2899 Apr 21 23:36 go.mod 23:41:17 -rw-rw-r-- 1 jenkins jenkins 49145 Apr 21 23:36 go.sum 23:41:17 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 23:36 images 23:41:17 drwxrwxr-x 5 jenkins jenkins 4096 Apr 21 23:36 internal 23:41:17 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 23:36 snap 23:41:17 -rw-rw-r-- 1 jenkins jenkins 193 Apr 21 23:36 version.go [Pipeline] isUnix [Pipeline] sh 23:41:17 + docker build -t device-rfid-llrp-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=394212b340168c52d153593504d18e86e58dc119 --label arch=arm64 --label version=0.0.0 . 23:41:18 Sending build context to Docker daemon 1.227MB 23:41:18 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 23:41:18 Step 2/25 : FROM ${BASE} AS builder 23:41:18 ---> 310ad9eb1a01 23:41:18 Step 3/25 : ARG MAKE='make build' 23:41:18 ---> Running in 2a7ea691b22a 23:41:18 Removing intermediate container 2a7ea691b22a 23:41:18 ---> 083b52cc55c2 23:41:18 Step 4/25 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 23:41:18 ---> Running in c904d088bf7c 23:41:19 Removing intermediate container c904d088bf7c 23:41:19 ---> 65cdbcb5595b 23:41:19 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 23:41:19 ---> Running in 15ed6fef5be4 23:41:19 Removing intermediate container 15ed6fef5be4 23:41:19 ---> e9c9e2ecae51 23:41:19 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:41:19 ---> Running in 28626de110b9 23:41:21 Removing intermediate container 28626de110b9 23:41:21 ---> f87be03c74ff 23:41:21 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:41:21 ---> Running in 163401f857db 23:41:22 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 23:41:23 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 23:41:24 OK: 220 MiB in 52 packages 23:41:24 Removing intermediate container 163401f857db 23:41:24 ---> 5bafed929146 23:41:24 Step 8/25 : WORKDIR /app 23:41:24 ---> Running in dcfdd106faa6 23:41:25 Removing intermediate container dcfdd106faa6 23:41:25 ---> 050510e58fe1 23:41:25 Step 9/25 : COPY go.mod vendor* ./ 23:41:25 ---> c3c4886d12d9 23:41:25 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:41:25 ---> Running in 0b554de6e600 23:41:27 Removing intermediate container 0b554de6e600 23:41:27 ---> d39bbc85b364 23:41:27 Step 11/25 : COPY . . 23:41:28 ---> 80453b008db1 23:41:28 Step 12/25 : RUN $MAKE 23:41:28 ---> Running in 820304be051c 23:41:29 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rfid-llrp.Version=0.0.0" -o cmd/device-rfid-llrp ./cmd 23:42:16 Removing intermediate container 820304be051c 23:42:16 ---> 702d4803635d 23:42:16 Step 13/25 : FROM alpine:3.14 23:42:16 3.14: Pulling from library/alpine 23:42:16 455c02918c45: Pulling fs layer 23:42:16 455c02918c45: Verifying Checksum 23:42:16 455c02918c45: Download complete 23:42:16 455c02918c45: Pull complete 23:42:16 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 23:42:16 Status: Downloaded newer image for alpine:3.14 23:42:16 ---> ac73e934f311 23:42:16 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 23:42:16 ---> Running in fb8772aaa5ff 23:42:16 Removing intermediate container fb8772aaa5ff 23:42:16 ---> d9c1dd319a55 23:42:16 Step 15/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:42:16 ---> Running in af1106472ad9 23:42:16 Removing intermediate container af1106472ad9 23:42:16 ---> 768d84ff99df 23:42:16 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 23:42:16 ---> Running in 4e2620a282e4 23:42:16 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 23:42:17 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 23:42:17 (1/6) Installing dumb-init (1.2.5-r1) 23:42:17 (2/6) Installing libgcc (10.3.1_git20210424-r2) 23:42:18 (3/6) Installing libsodium (1.0.18-r0) 23:42:18 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 23:42:18 (5/6) Installing libzmq (4.3.4-r0) 23:42:18 (6/6) Installing zeromq (4.3.4-r0) 23:42:18 Executing busybox-1.33.1-r7.trigger 23:42:18 OK: 8 MiB in 20 packages 23:42:19 Removing intermediate container 4e2620a282e4 23:42:19 ---> 182574d73e35 23:42:19 Step 17/25 : COPY --from=builder /app/LICENSE / 23:42:20 ---> ddd04f1851d3 23:42:20 Step 18/25 : COPY --from=builder /app/Attribution.txt / 23:42:20 ---> 237328113d25 23:42:20 Step 19/25 : COPY --from=builder /app/cmd/ / 23:42:21 ---> addfac4157e7 23:42:21 Step 20/25 : EXPOSE 59989 23:42:21 ---> Running in f3a8e69c9fc0 23:42:21 Removing intermediate container f3a8e69c9fc0 23:42:21 ---> 7ab7ff865182 23:42:21 Step 21/25 : ENTRYPOINT ["/device-rfid-llrp"] 23:42:21 ---> Running in f6d001d6443c 23:42:22 Removing intermediate container f6d001d6443c 23:42:22 ---> 80f050f79e73 23:42:22 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 23:42:22 ---> Running in 9731ef9a979a 23:42:22 Removing intermediate container 9731ef9a979a 23:42:22 ---> 1ec3a8994a2f 23:42:22 Step 23/25 : LABEL arch=arm64 23:42:22 ---> Running in 1b746bae5a2f 23:42:22 Removing intermediate container 1b746bae5a2f 23:42:22 ---> 6af5423f1b1b 23:42:22 Step 24/25 : LABEL git_sha=394212b340168c52d153593504d18e86e58dc119 23:42:22 ---> Running in df1260a15668 23:42:23 Removing intermediate container df1260a15668 23:42:23 ---> e925ef55fc43 23:42:23 Step 25/25 : LABEL version=0.0.0 23:42:23 ---> Running in 0bb34aef50c6 23:42:23 Removing intermediate container 0bb34aef50c6 23:42:23 ---> f66eef4170bc 23:42:23 [Warning] One or more build-args [ARCH] were not consumed 23:42:23 Successfully built f66eef4170bc 23:42:23 Successfully tagged device-rfid-llrp-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:42:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:42:24 23:42:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 23:42:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:42:25 arm64: Pulling from edgex-lftools-log-publisher 23:42:25 8998bd30e6a1: Pulling fs layer 23:42:25 04944245beec: Pulling fs layer 23:42:25 699f458cf7ca: Pulling fs layer 23:42:25 765212b225bb: Pulling fs layer 23:42:25 f23df028b6ca: Pulling fs layer 23:42:25 d65c8cfc05b1: Pulling fs layer 23:42:25 2437ff75d9bd: Pulling fs layer 23:42:25 765212b225bb: Waiting 23:42:25 f23df028b6ca: Waiting 23:42:25 d65c8cfc05b1: Waiting 23:42:25 2437ff75d9bd: Waiting 23:42:25 04944245beec: Verifying Checksum 23:42:25 04944245beec: Download complete 23:42:25 765212b225bb: Download complete 23:42:25 f23df028b6ca: Verifying Checksum 23:42:25 f23df028b6ca: Download complete 23:42:25 d65c8cfc05b1: Verifying Checksum 23:42:25 d65c8cfc05b1: Download complete 23:42:25 699f458cf7ca: Verifying Checksum 23:42:25 699f458cf7ca: Download complete 23:42:25 8998bd30e6a1: Verifying Checksum 23:42:25 8998bd30e6a1: Download complete 23:42:27 2437ff75d9bd: Verifying Checksum 23:42:27 2437ff75d9bd: Download complete 23:42:30 8998bd30e6a1: Pull complete 23:42:30 04944245beec: Pull complete 23:42:32 699f458cf7ca: Pull complete 23:42:32 765212b225bb: Pull complete 23:42:32 f23df028b6ca: Pull complete 23:42:33 d65c8cfc05b1: Pull complete 23:42:48 2437ff75d9bd: Pull complete 23:42:48 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:42:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:42:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 23:42:48 prd-ubuntu20.04-docker-arm64-4c-16g-21697 does not seem to be running inside a container 23:42:48 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:42:51 $ docker top c9c48e1ae83f5ef0209cef55cd65614e2c18dcf221444d081239563a775c500b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:42:52 ---> job-cost.sh 23:42:52 lf-activate-venv: SKIPPING 23:42:52 INFO: No Stack... 23:42:52 INFO: Retrieving Pricing Info for: v3-standard-4 23:42:53 INFO: Archiving Costs [Pipeline] sh 23:42:54 + cat /w/workspace/device-rfid-llrp-go/1/archives/cost.csv 23:42:54 + cut -d, -f6 [Pipeline] lock 23:42:54 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-74-1-stack-cost] 23:42:54 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-74-1-stack-cost] did not exist. Created. 23:42:54 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-74-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:42:55 /w/workspace/device-rfid-llrp-go/1@tmp/durable-5e6791b4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:42:56 + echo total: 0.10999999940395355 [Pipeline] stash 23:42:56 Warning: overwriting stash ‘stack-cost’ 23:42:56 Stashed 1 file(s) [Pipeline] } 23:42:56 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-74-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:42:56 $ docker stop --time=1 c9c48e1ae83f5ef0209cef55cd65614e2c18dcf221444d081239563a775c500b 23:42:57 $ docker rm -f c9c48e1ae83f5ef0209cef55cd65614e2c18dcf221444d081239563a775c500b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 23:42:58 provisioning config files... 23:42:58 copy managed file [device-rfid-llrp-go-codecov-token] to file:/w/workspace/oundry_device-rfid-llrp-go_PR-74@tmp/config8275211398214305191tmp [Pipeline] { [Pipeline] sh 23:42:59 + set +x 23:42:59 + curl -s https://codecov.io/bash 23:42:59 + bash -s -- 23:42:59 23:42:59 _____ _ 23:42:59 / ____| | | 23:42:59 | | ___ __| | ___ ___ _____ __ 23:42:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:42:59 | |___| (_) | (_| | __/ (_| (_) \ V / 23:42:59 \_____\___/ \__,_|\___|\___\___/ \_/ 23:42:59 Bash-1.0.6 23:42:59 23:42:59 23:42:59 ==> git version 2.25.1 found 23:42:59 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 23:42:59 Release-Date: 2020-01-08 23:42:59 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:42:59 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:42:59 ==> Jenkins CI detected. 23:42:59 current dir:  /w/workspace/oundry_device-rfid-llrp-go_PR-74 23:42:59 project root: . 23:42:59 --> token set from env 23:42:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:42:59 ==> Running gcov in . (disable via -X gcov) 23:42:59 ==> Python coveragepy not found 23:42:59 ==> Searching for coverage reports in: 23:42:59 + . 23:42:59 -> Found 1 reports 23:42:59 ==> Detecting git/mercurial file structure 23:42:59 ==> Reading reports 23:42:59 + ./coverage.out bytes=460394 23:42:59 ==> Appending adjustments 23:42:59 https://docs.codecov.io/docs/fixing-reports 23:42:59 + Found adjustments 23:42:59 ==> Gzipping contents 23:42:59 52K /tmp/codecov.HN6q7s.gz 23:42:59 ==> Uploading reports 23:42:59 url: https://codecov.io 23:42:59 query: branch=PR-74&commit=394212b340168c52d153593504d18e86e58dc119&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-74%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=74&job=&cmd_args= 23:42:59 -> Pinging Codecov 23:42:59 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-74&commit=394212b340168c52d153593504d18e86e58dc119&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-74%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=74&job=&cmd_args= 23:42:59 -> Uploading to 23:42:59 https://storage.googleapis.com/codecov/v4/raw/2022-04-21/581DD39554BDF9B6E22D074273EAD858/394212b340168c52d153593504d18e86e58dc119/d59d1ef8-30a5-459a-b303-9610f032e08a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220421%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220421T234259Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=18f20c26885858f6661f789def8213aad21c2a645e446313da1f68530f691903 23:42:59 % Total % Received % Xferd Average Speed Time Time Time Current 23:42:59 Dload Upload Total Spent Left Speed 23:43:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51841 0 0 100 51841 0 179k --:--:-- --:--:-- --:--:-- 179k 23:43:00 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/394212b340168c52d153593504d18e86e58dc119 [Pipeline] } 23:43:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 23:43:02 + [ -d /w/workspace/oundry_device-rfid-llrp-go_PR-74/archives ] 23:43:02 + ls -al /w/workspace/oundry_device-rfid-llrp-go_PR-74/archives 23:43:02 total 16 23:43:02 drwxr-xr-x 3 root root 4096 Apr 21 23:36 . 23:43:02 drwxrwxr-x 12 jenkins jenkins 4096 Apr 21 23:36 .. 23:43:02 drwxr-xr-x 2 root root 4096 Apr 21 23:36 cost 23:43:02 -rw-r--r-- 1 root root 89 Apr 21 23:36 cost.csv 23:43:02 + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-rfid-llrp-go_PR-74/archives 23:43:02 + ls -al /w/workspace/oundry_device-rfid-llrp-go_PR-74/archives 23:43:02 total 16 23:43:02 drwxr-xr-x 3 jenkins jenkins 4096 Apr 21 23:36 . 23:43:02 drwxrwxr-x 12 jenkins jenkins 4096 Apr 21 23:36 .. 23:43:02 drwxr-xr-x 2 jenkins jenkins 4096 Apr 21 23:36 cost 23:43:02 -rw-r--r-- 1 jenkins jenkins 89 Apr 21 23:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:43:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:43:03 ---> package-listing.sh 23:43:03 ++ facter osfamily 23:43:03 ++ tr '[:upper:]' '[:lower:]' 23:43:03 + OS_FAMILY=debian 23:43:03 + workspace=/w/workspace/oundry_device-rfid-llrp-go_PR-74 23:43:03 + START_PACKAGES=/tmp/packages_start.txt 23:43:03 + END_PACKAGES=/tmp/packages_end.txt 23:43:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:43:03 + PACKAGES=/tmp/packages_start.txt 23:43:03 + '[' /w/workspace/oundry_device-rfid-llrp-go_PR-74 ']' 23:43:03 + PACKAGES=/tmp/packages_end.txt 23:43:03 + case "${OS_FAMILY}" in 23:43:03 + dpkg -l 23:43:03 + grep '^ii' 23:43:03 + '[' -f /tmp/packages_start.txt ']' 23:43:03 + '[' -f /tmp/packages_end.txt ']' 23:43:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:43:03 + '[' /w/workspace/oundry_device-rfid-llrp-go_PR-74 ']' 23:43:03 + mkdir -p /w/workspace/oundry_device-rfid-llrp-go_PR-74/archives/ 23:43:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-rfid-llrp-go_PR-74/archives/ [Pipeline] echo 23:43:03 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -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-74/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:43:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:43:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:43:04 . [Pipeline] withDockerContainer 23:43:04 prd-ubuntu20.04-docker-8c-8g-21696 does not seem to be running inside a container 23:43:04 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -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-74/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-74 -v /w/workspace/oundry_device-rfid-llrp-go_PR-74:/w/workspace/oundry_device-rfid-llrp-go_PR-74:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-74@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-74@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 23:43:04 $ docker top 4edaae3ae036ad55bb5a1f86794d7af1482d210f65b5ba68c0ecb3678e5821a7 -eo pid,comm [Pipeline] { [Pipeline] sh 23:43:05 + touch /tmp/pre-build-complete [Pipeline] sh 23:43:05 + mkdir -p /var/log/sysstat [Pipeline] sh 23:43:05 + ls /var/log/sa-host 23:43:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:43:06 provisioning config files... 23:43:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-rfid-llrp-go_PR-74@tmp/config4738484796986408410tmp [Pipeline] { [Pipeline] echo 23:43:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:43:06 ---> create-netrc.sh [Pipeline] } 23:43:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:43:06 ---> python-tools-install.sh [Pipeline] echo 23:43:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:43:07 ---> sudo-logs.sh 23:43:07 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:43:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:43:07 ---> job-cost.sh 23:43:07 lf-activate-venv: SKIPPING 23:43:07 DEBUG: total: 0.2199999988079071 23:43:07 INFO: Retrieving Stack Cost... 23:43:08 INFO: Retrieving Pricing Info for: v3-standard-8 23:43:08 INFO: Archiving Costs [Pipeline] echo 23:43:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:43:08 ---> logs-deploy.sh 23:43:08 lf-activate-venv: SKIPPING 23:43:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rfid-llrp-go/PR-74/1 23:43:08 INFO: archiving workspace using pattern(s): 23:43:09 Archives upload complete. 23:43:09 INFO: archiving logs to Nexus