Pull request #76 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of marcpfuller for edgexfoundry/device-rfid-llrp-go Loading trusted files from base branch main at c5284296090fc93b1a9c5192dcea8b13ac4a9a89 rather than 5a175d3d1bcbb1287f12267c98349ee3fae34e36 Obtained Jenkinsfile from c5284296090fc93b1a9c5192dcea8b13ac4a9a89 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-ssh4440443433073335910.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-ssh11263276036647262639.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/PR-76/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/PR-76/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9840064385184846879.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 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-ssh3362790464210212350.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/PR-76/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/PR-76/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8946261294390750289.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-23269 in /w/workspace/oundry_device-rfid-llrp-go_PR-76 [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-76 # 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 c5284296090fc93b1a9c5192dcea8b13ac4a9a89 into PR head commit 5a175d3d1bcbb1287f12267c98349ee3fae34e36 Merge succeeded, producing 5a175d3d1bcbb1287f12267c98349ee3fae34e36 Checking out Revision 5a175d3d1bcbb1287f12267c98349ee3fae34e36 (PR-76) > 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/76/head:refs/remotes/origin/PR-76 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5a175d3d1bcbb1287f12267c98349ee3fae34e36 # 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 c5284296090fc93b1a9c5192dcea8b13ac4a9a89 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5a175d3d1bcbb1287f12267c98349ee3fae34e36 # timeout=10 Commit message: "Merge branch 'main' into readme_cleanup" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:33:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:33:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:33:58 ========================================================= 20:33:58 EdgeX Global Pipelines Version Info 20:33:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:33:59 ------------------- 20:33:59 stable info: 20:33:59 ------------------- 20:33:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:33:59 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 20:33:59 Message: update stable to v1.0.221 20:34:00 ------------------- 20:34:00 experimental info: 20:34:00 ------------------- 20:34:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:34:00 Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b 20:34:00 Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:34:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rfid-llrp-go-settings [Pipeline] echo 20:34:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-rfid-llrp-go [Pipeline] echo 20:34:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:34:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:34:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:34:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 20:34:00 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:34:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:34:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:34:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:34:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:34:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rfid-llrp [Pipeline] echo 20:34:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:34:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:34:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:34:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:34:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:34:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:34:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:34:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:34:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:34:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:34:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:34:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:34:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:34:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:34:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-76 [Pipeline] echo 20:34:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-76 [Pipeline] echo 20:34:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-76 [Pipeline] echo 20:34:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5a175d3d1bcbb1287f12267c98349ee3fae34e36 [Pipeline] echo 20:34:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5a175d3 [Pipeline] echo 20:34:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:34:00 provisioning config files... 20:34:00 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/oundry_device-rfid-llrp-go_PR-76@tmp/config7052633911491827571tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:34:01 ---> docker-login.sh 20:34:01 nexus3.edgexfoundry.org:10001 20:34:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:01 Configure a credential helper to remove this warning. See 20:34:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:01 20:34:01 Login Succeeded 20:34:01 nexus3.edgexfoundry.org:10002 20:34:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:01 Configure a credential helper to remove this warning. See 20:34:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:01 20:34:01 Login Succeeded 20:34:01 nexus3.edgexfoundry.org:10003 20:34:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:01 Configure a credential helper to remove this warning. See 20:34:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:01 20:34:01 Login Succeeded 20:34:01 nexus3.edgexfoundry.org:10004 20:34:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:02 Configure a credential helper to remove this warning. See 20:34:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:02 20:34:02 Login Succeeded 20:34:02 docker.io 20:34:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:02 Configure a credential helper to remove this warning. See 20:34:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:02 20:34:02 Login Succeeded 20:34:02 ---> docker-login.sh ends [Pipeline] } 20:34:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:34:03 + git rev-list -1 --merges 5a175d3d1bcbb1287f12267c98349ee3fae34e36~1..5a175d3d1bcbb1287f12267c98349ee3fae34e36 [Pipeline] echo 20:34:03 -----------> git rev-list -1 --merges 5a175d3d1bcbb1287f12267c98349ee3fae34e36~1..5a175d3d1bcbb1287f12267c98349ee3fae34e36 5a175d3d1bcbb1287f12267c98349ee3fae34e36 20:34:03 5a175d3d1bcbb1287f12267c98349ee3fae34e36 [false] [Pipeline] sh 20:34:03 + git log --format=format:%s -1 5a175d3d1bcbb1287f12267c98349ee3fae34e36 [Pipeline] echo 20:34:03 ========================================================= 20:34:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:34:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:34:03 + git log --format=format:%s -1 5a175d3d1bcbb1287f12267c98349ee3fae34e36 [Pipeline] echo 20:34:03 [semverPrep] GIT_COMMIT: 5a175d3d1bcbb1287f12267c98349ee3fae34e36, Commit Message: Merge branch 'main' into readme_cleanup [Pipeline] echo 20:34:03 [semverPrep] This is not a build commit. [Pipeline] sh 20:34:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:34:04 + grep -v github /etc/ssh/ssh_known_hosts 20:34:04 + [ -e /tmp/ssh_known_hosts ] 20:34:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:34:04 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:34:04 + sudo tee -a /etc/ssh/ssh_known_hosts 20:34:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 20:34:04 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:34:04 20:34:04 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:34:04 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:34:04 latest: Pulling from edgex-devops/git-semver 20:34:04 a0d0a0d46f8b: Pulling fs layer 20:34:04 3e5f54012d9b: Pulling fs layer 20:34:04 4c7163046ea9: Pulling fs layer 20:34:04 0c2d73faf560: Pulling fs layer 20:34:04 3e5f54012d9b: Verifying Checksum 20:34:04 3e5f54012d9b: Download complete 20:34:04 a0d0a0d46f8b: Download complete 20:34:04 0c2d73faf560: Verifying Checksum 20:34:04 0c2d73faf560: Download complete 20:34:04 4c7163046ea9: Verifying Checksum 20:34:04 4c7163046ea9: Download complete 20:34:05 a0d0a0d46f8b: Pull complete 20:34:05 3e5f54012d9b: Pull complete 20:34:05 4c7163046ea9: Pull complete 20:34:05 0c2d73faf560: Pull complete 20:34:05 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 20:34:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:34:05 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:34:05 prd-ubuntu20.04-docker-8c-8g-23269 does not seem to be running inside a container 20:34:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-rfid-llrp-go_PR-76 -v /w/workspace/oundry_device-rfid-llrp-go_PR-76:/w/workspace/oundry_device-rfid-llrp-go_PR-76:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-76@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-76@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:34:06 $ docker top 3836457f22da70386b81a53c4f0dd78235c0d786e124a75d423e2352501885fd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:34:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:34:06 [ssh-agent] Looking for ssh-agent implementation... 20:34:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:34:06 $ docker exec 3836457f22da70386b81a53c4f0dd78235c0d786e124a75d423e2352501885fd ssh-agent 20:34:07 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXaomFej/agent.13 20:34:07 SSH_AGENT_PID=19 20:34:07 Running ssh-add (command line suppressed) 20:34:07 Identity added: /w/workspace/oundry_device-rfid-llrp-go_PR-76@tmp/private_key_4434907983576975848.key (/w/workspace/oundry_device-rfid-llrp-go_PR-76@tmp/private_key_4434907983576975848.key) 20:34:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:34:07 + git tag --points-at HEAD [Pipeline] } 20:34:07 $ docker exec --env ******** --env ******** 3836457f22da70386b81a53c4f0dd78235c0d786e124a75d423e2352501885fd ssh-agent -k 20:34:07 unset SSH_AUTH_SOCK; 20:34:07 unset SSH_AGENT_PID; 20:34:07 echo Agent pid 19 killed; 20:34:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:34:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:34:07 [ssh-agent] Looking for ssh-agent implementation... 20:34:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:34:07 $ docker exec 3836457f22da70386b81a53c4f0dd78235c0d786e124a75d423e2352501885fd ssh-agent 20:34:08 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfIDLLD/agent.54 20:34:08 SSH_AGENT_PID=60 20:34:08 Running ssh-add (command line suppressed) 20:34:08 Identity added: /w/workspace/oundry_device-rfid-llrp-go_PR-76@tmp/private_key_5153867679032950042.key (/w/workspace/oundry_device-rfid-llrp-go_PR-76@tmp/private_key_5153867679032950042.key) 20:34:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:34:08 + git semver init 20:34:08 # -> Open(): unable to determine branch for HEAD 20:34:08 # $GIT_DIR = /w/workspace/oundry_device-rfid-llrp-go_PR-76/.git 20:34:08 # $GIT_WORK_TREE = /w/workspace/oundry_device-rfid-llrp-go_PR-76 20:34:08 # $SEMVER_REMOTE_NAME = origin 20:34:08 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:34:08 # $SEMVER_USER_NAME = edgex-jenkins 20:34:08 # $SEMVER_BRANCH = PR-76 20:34:08 # $SEMVER_TEMP = /tmp/semver-434383856 20:34:08 # git clone --branch semver git@github.com:edgexfoundry/device-rfid-llrp-go.git $SEMVER_TEMP 20:34:09 # '/tmp/semver-434383856' -> '/w/workspace/oundry_device-rfid-llrp-go_PR-76/.semver' 20:34:09 # -> Force: false 20:34:09 # $SEMVER_DIR = /w/workspace/oundry_device-rfid-llrp-go_PR-76/.semver [Pipeline] } 20:34:09 $ docker exec --env ******** --env ******** 3836457f22da70386b81a53c4f0dd78235c0d786e124a75d423e2352501885fd ssh-agent -k 20:34:09 unset SSH_AUTH_SOCK; 20:34:09 unset SSH_AGENT_PID; 20:34:09 echo Agent pid 60 killed; 20:34:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:34:09 + git semver [Pipeline] } 20:34:09 $ docker stop --time=1 3836457f22da70386b81a53c4f0dd78235c0d786e124a75d423e2352501885fd 20:34:10 $ docker rm -f 3836457f22da70386b81a53c4f0dd78235c0d786e124a75d423e2352501885fd [Pipeline] // withDockerContainer [Pipeline] sh 20:34:11 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:34:11 Stashed 1 file(s) [Pipeline] echo 20:34:11 [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 20:34:11 provisioning config files... 20:34:11 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/oundry_device-rfid-llrp-go_PR-76@tmp/config1065864013301521442tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:34:11 ---> docker-login.sh 20:34:11 nexus3.edgexfoundry.org:10001 20:34:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:11 Configure a credential helper to remove this warning. See 20:34:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:11 20:34:11 Login Succeeded 20:34:11 nexus3.edgexfoundry.org:10002 20:34:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:12 Configure a credential helper to remove this warning. See 20:34:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:12 20:34:12 Login Succeeded 20:34:12 nexus3.edgexfoundry.org:10003 20:34:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:12 Configure a credential helper to remove this warning. See 20:34:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:12 20:34:12 Login Succeeded 20:34:12 nexus3.edgexfoundry.org:10004 20:34:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:12 Configure a credential helper to remove this warning. See 20:34:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:12 20:34:12 Login Succeeded 20:34:12 docker.io 20:34:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:12 Configure a credential helper to remove this warning. See 20:34:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:12 20:34:12 Login Succeeded 20:34:12 ---> docker-login.sh ends [Pipeline] } 20:34:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:34:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:34:12 ========================================================= 20:34:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 20:34:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:34:13 + 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 . 20:34:13 Sending build context to Docker daemon 1.729MB 20:34:13 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 20:34:13 Step 2/12 : FROM ${BASE} AS builder 20:34:13 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 20:34:13 59bf1c3509f3: Pulling fs layer 20:34:13 666ba61612fd: Pulling fs layer 20:34:13 8ed8ca486205: Pulling fs layer 20:34:13 4fe6c5a15a65: Pulling fs layer 20:34:13 22a0e8bec74d: Pulling fs layer 20:34:13 ca2b28591e48: Pulling fs layer 20:34:13 a51346096db8: Pulling fs layer 20:34:13 4fe6c5a15a65: Waiting 20:34:13 22a0e8bec74d: Waiting 20:34:13 ca2b28591e48: Waiting 20:34:13 a51346096db8: Waiting 20:34:13 daebc70d1ce1: Pulling fs layer 20:34:13 0e18a0eac166: Pulling fs layer 20:34:13 0e18a0eac166: Waiting 20:34:13 daebc70d1ce1: Waiting 20:34:13 8ed8ca486205: Download complete 20:34:13 666ba61612fd: Download complete 20:34:13 22a0e8bec74d: Verifying Checksum 20:34:13 22a0e8bec74d: Download complete 20:34:13 ca2b28591e48: Download complete 20:34:13 59bf1c3509f3: Verifying Checksum 20:34:13 59bf1c3509f3: Download complete 20:34:13 a51346096db8: Verifying Checksum 20:34:13 a51346096db8: Download complete 20:34:13 daebc70d1ce1: Verifying Checksum 20:34:13 daebc70d1ce1: Download complete 20:34:13 59bf1c3509f3: Pull complete 20:34:13 666ba61612fd: Pull complete 20:34:13 8ed8ca486205: Pull complete 20:34:13 0e18a0eac166: Verifying Checksum 20:34:13 0e18a0eac166: Download complete 20:34:14 4fe6c5a15a65: Verifying Checksum 20:34:14 4fe6c5a15a65: Download complete 20:34:18 4fe6c5a15a65: Pull complete 20:34:18 22a0e8bec74d: Pull complete 20:34:18 ca2b28591e48: Pull complete 20:34:18 a51346096db8: Pull complete 20:34:18 daebc70d1ce1: Pull complete 20:34:20 0e18a0eac166: Pull complete 20:34:20 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 20:34:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 20:34:20 ---> f018257e8ee9 20:34:20 Step 3/12 : ARG MAKE='make build' 20:34:22 ---> Running in 202d65d0a0ae 20:34:22 Removing intermediate container 202d65d0a0ae 20:34:22 ---> a6a423ab2b2e 20:34:22 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 20:34:22 ---> Running in aba871cf1ebb 20:34:22 Removing intermediate container aba871cf1ebb 20:34:22 ---> 9a4487e0fa58 20:34:22 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 20:34:22 ---> Running in 6dc3235f97b5 20:34:22 Removing intermediate container 6dc3235f97b5 20:34:22 ---> d658d87e6d45 20:34:22 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:34:22 ---> Running in 34895b5be333 20:34:23 Removing intermediate container 34895b5be333 20:34:23 ---> ff65ebd7dfd3 20:34:23 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:34:23 ---> Running in be01fe7db9b9 20:34:24 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:34:24 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:34:25 OK: 221 MiB in 52 packages 20:34:25 Removing intermediate container be01fe7db9b9 20:34:25 ---> c7d6daeb2dcf 20:34:25 Step 8/12 : WORKDIR /app 20:34:25 ---> Running in baf290288972 20:34:25 Removing intermediate container baf290288972 20:34:25 ---> 63adcef2b4e2 20:34:25 Step 9/12 : COPY go.mod vendor* ./ 20:34:25 ---> 80a44c831f63 20:34:25 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:34:25 ---> Running in df13dbea67e7 20:34:26 Still waiting to schedule task 20:34:26 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:34:52 Removing intermediate container df13dbea67e7 20:34:52 ---> d8f2930c79f5 20:34:52 Step 11/12 : COPY . . 20:34:52 ---> 4af3bdc5763f 20:34:52 Step 12/12 : RUN $MAKE 20:34:52 ---> Running in 9b6b5c8a1a04 20:34:52 noop 20:34:52 Removing intermediate container 9b6b5c8a1a04 20:34:52 ---> 225c0fc7822c 20:34:52 Successfully built 225c0fc7822c 20:34:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:34:52 + docker inspect -f . ci-base-image-x86_64 20:34:52 . [Pipeline] withDockerContainer 20:34:52 prd-ubuntu20.04-docker-8c-8g-23269 does not seem to be running inside a container 20:34:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-rfid-llrp-go_PR-76 -v /w/workspace/oundry_device-rfid-llrp-go_PR-76:/w/workspace/oundry_device-rfid-llrp-go_PR-76:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-76@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-76@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:34:53 $ docker top b42057401532ec8fb518f074292927e50c6d5a772816732c31e53f132630378c -eo pid,comm [Pipeline] { [Pipeline] sh 20:34:53 + go version 20:34:53 go version go1.17.6 linux/amd64 [Pipeline] } 20:34:53 $ docker stop --time=1 b42057401532ec8fb518f074292927e50c6d5a772816732c31e53f132630378c 20:34:54 $ docker rm -f b42057401532ec8fb518f074292927e50c6d5a772816732c31e53f132630378c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:34:55 + docker inspect -f . ci-base-image-x86_64 20:34:55 . [Pipeline] withDockerContainer 20:34:55 prd-ubuntu20.04-docker-8c-8g-23269 does not seem to be running inside a container 20:34:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-rfid-llrp-go_PR-76 -v /w/workspace/oundry_device-rfid-llrp-go_PR-76:/w/workspace/oundry_device-rfid-llrp-go_PR-76:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-76@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-76@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:34:55 $ docker top 31a71c6cf7c0ec04d6cb1049a85951500a5023d18687bb32fdea7c3651bc8724 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:34:56 + make test 20:34:56 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:34:56 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 20:35:04 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 20:35:04 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 20:35:08 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 3.732s coverage: 39.3% of statements 20:35:08 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.249s coverage: 52.0% of statements 20:35:08 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.008s coverage: 95.5% of statements 20:35:15 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:35:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:35:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:35:19 ./bin/test-attribution-txt.sh [Pipeline] echo 20:35:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:35:19 $ docker stop --time=1 31a71c6cf7c0ec04d6cb1049a85951500a5023d18687bb32fdea7c3651bc8724 20:35:21 $ docker rm -f 31a71c6cf7c0ec04d6cb1049a85951500a5023d18687bb32fdea7c3651bc8724 [Pipeline] // withDockerContainer [Pipeline] sh 20:35:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:35:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:35:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:35:23 + ls -al . 20:35:23 total 640 20:35:23 drwxrwxr-x 11 jenkins jenkins 4096 Apr 25 20:35 . 20:35:23 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 20:33 .. 20:35:23 -rw-rw-r-- 1 jenkins jenkins 134 Apr 25 20:33 .dockerignore 20:35:23 drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 20:33 .git 20:35:23 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 20:33 .github 20:35:23 -rw-rw-r-- 1 jenkins jenkins 946 Apr 25 20:33 .gitignore 20:35:23 -rw-rw-r-- 1 jenkins jenkins 41 Apr 25 20:33 .golangci.yml 20:35:23 drwx------ 3 jenkins jenkins 4096 Apr 25 20:34 .semver 20:35:23 -rw-rw-r-- 1 jenkins jenkins 9072 Apr 25 20:33 Attribution.txt 20:35:23 -rw-rw-r-- 1 jenkins jenkins 1514 Apr 25 20:33 Dockerfile 20:35:23 -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 20:33 GOVERNANCE.md 20:35:23 -rw-rw-r-- 1 jenkins jenkins 683 Apr 25 20:33 Jenkinsfile 20:35:23 -rw-rw-r-- 1 jenkins jenkins 11347 Apr 25 20:33 LICENSE 20:35:23 -rw-rw-r-- 1 jenkins jenkins 1435 Apr 25 20:33 Makefile 20:35:23 -rw-rw-r-- 1 jenkins jenkins 625 Apr 25 20:33 OWNERS.md 20:35:23 -rw-rw-r-- 1 jenkins jenkins 28496 Apr 25 20:33 README.md 20:35:23 -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 20:34 VERSION 20:35:23 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 20:33 bin 20:35:23 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 20:33 cmd 20:35:23 -rw-r--r-- 1 jenkins jenkins 460394 Apr 25 20:35 coverage.out 20:35:23 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 20:33 examples 20:35:23 -rw-rw-r-- 1 jenkins jenkins 2899 Apr 25 20:33 go.mod 20:35:23 -rw-rw-r-- 1 jenkins jenkins 49145 Apr 25 20:33 go.sum 20:35:23 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 20:33 images 20:35:23 drwxrwxr-x 5 jenkins jenkins 4096 Apr 25 20:33 internal 20:35:23 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 20:33 snap 20:35:23 -rw-rw-r-- 1 jenkins jenkins 193 Apr 25 20:33 version.go [Pipeline] isUnix [Pipeline] sh 20:35:23 + 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=5a175d3d1bcbb1287f12267c98349ee3fae34e36 --label arch=amd64 --label version=0.0.0 . 20:35:23 Sending build context to Docker daemon 1.729MB 20:35:23 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 20:35:23 Step 2/25 : FROM ${BASE} AS builder 20:35:23 ---> 225c0fc7822c 20:35:23 Step 3/25 : ARG MAKE='make build' 20:35:23 ---> Running in d8abfb26c010 20:35:23 Removing intermediate container d8abfb26c010 20:35:23 ---> 8111eda10892 20:35:23 Step 4/25 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 20:35:23 ---> Running in b9d698b1dd4e 20:35:23 Removing intermediate container b9d698b1dd4e 20:35:23 ---> 7a97ce803578 20:35:23 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 20:35:23 ---> Running in 5e55318b0196 20:35:23 Removing intermediate container 5e55318b0196 20:35:23 ---> eb9ad9e1891f 20:35:23 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:35:23 ---> Running in 6368e549b8d2 20:35:24 Removing intermediate container 6368e549b8d2 20:35:24 ---> 6b52d1b71683 20:35:24 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:35:24 ---> Running in 53637cb358c2 20:35:24 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:35:25 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:35:25 OK: 221 MiB in 52 packages 20:35:26 Removing intermediate container 53637cb358c2 20:35:26 ---> d526109325bf 20:35:26 Step 8/25 : WORKDIR /app 20:35:26 ---> Running in 5818be666233 20:35:26 Removing intermediate container 5818be666233 20:35:26 ---> e126598a4c79 20:35:26 Step 9/25 : COPY go.mod vendor* ./ 20:35:26 ---> b57122df6381 20:35:26 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:35:26 ---> Running in 69316c1864b4 20:35:27 Removing intermediate container 69316c1864b4 20:35:27 ---> c77b1785c817 20:35:27 Step 11/25 : COPY . . 20:35:27 ---> a26d2aa6dd76 20:35:27 Step 12/25 : RUN $MAKE 20:35:27 ---> Running in 6622b0feda2b 20:35:27 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 20:35:35 Removing intermediate container 6622b0feda2b 20:35:35 ---> be74cbb7de57 20:35:35 Step 13/25 : FROM alpine:3.14 20:35:36 3.14: Pulling from library/alpine 20:35:36 8663204ce13b: Pulling fs layer 20:35:36 8663204ce13b: Verifying Checksum 20:35:36 8663204ce13b: Download complete 20:35:36 8663204ce13b: Pull complete 20:35:36 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 20:35:36 Status: Downloaded newer image for alpine:3.14 20:35:36 ---> e04c818066af 20:35:36 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 20:35:36 ---> Running in 8bc36c4cb93d 20:35:36 Removing intermediate container 8bc36c4cb93d 20:35:36 ---> 661240431a4c 20:35:36 Step 15/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:35:37 ---> Running in ddd2550c3e84 20:35:37 Removing intermediate container ddd2550c3e84 20:35:37 ---> 0cc8f4479db3 20:35:37 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 20:35:37 ---> Running in c30edc29d524 20:35:38 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 20:35:38 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 20:35:39 (1/6) Installing dumb-init (1.2.5-r1) 20:35:39 (2/6) Installing libgcc (10.3.1_git20210424-r2) 20:35:39 (3/6) Installing libsodium (1.0.18-r0) 20:35:39 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 20:35:39 (5/6) Installing libzmq (4.3.4-r0) 20:35:39 (6/6) Installing zeromq (4.3.4-r0) 20:35:39 Executing busybox-1.33.1-r7.trigger 20:35:39 OK: 8 MiB in 20 packages 20:35:39 Removing intermediate container c30edc29d524 20:35:39 ---> e20b79e45a0a 20:35:39 Step 17/25 : COPY --from=builder /app/LICENSE / 20:35:40 ---> d5728869ad35 20:35:40 Step 18/25 : COPY --from=builder /app/Attribution.txt / 20:35:40 ---> bd63e0e90648 20:35:40 Step 19/25 : COPY --from=builder /app/cmd/ / 20:35:40 ---> b5e2034e50a5 20:35:40 Step 20/25 : EXPOSE 59989 20:35:40 ---> Running in 4f0ae0759e7a 20:35:40 Removing intermediate container 4f0ae0759e7a 20:35:40 ---> 5879a006d839 20:35:40 Step 21/25 : ENTRYPOINT ["/device-rfid-llrp"] 20:35:40 ---> Running in 785f679d2b6d 20:35:41 Removing intermediate container 785f679d2b6d 20:35:41 ---> c559862fc428 20:35:41 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:35:41 ---> Running in 99ef3a6fd8b8 20:35:41 Removing intermediate container 99ef3a6fd8b8 20:35:41 ---> bc9aeb4b141b 20:35:41 Step 23/25 : LABEL arch=amd64 20:35:41 ---> Running in 7782f9331b64 20:35:41 Removing intermediate container 7782f9331b64 20:35:41 ---> 704550331608 20:35:41 Step 24/25 : LABEL git_sha=5a175d3d1bcbb1287f12267c98349ee3fae34e36 20:35:41 ---> Running in 823ea754330b 20:35:41 Removing intermediate container 823ea754330b 20:35:41 ---> 4d834ac1bedf 20:35:41 Step 25/25 : LABEL version=0.0.0 20:35:41 ---> Running in 9386522e61e1 20:35:41 Removing intermediate container 9386522e61e1 20:35:41 ---> 4c5e60dd5132 20:35:41 [Warning] One or more build-args [ARCH] were not consumed 20:35:41 Successfully built 4c5e60dd5132 20:35:41 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 20:35:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:35:41 20:35:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 20:35:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:35:42 latest: Pulling from edgex-lftools-log-publisher 20:35:42 5eb5b503b376: Pulling fs layer 20:35:42 5c69ac0246d0: Pulling fs layer 20:35:42 ec43610c2a17: Pulling fs layer 20:35:42 3a2ae6a8a46f: Pulling fs layer 20:35:42 33b1e0a273af: Pulling fs layer 20:35:42 5d3b04190fa2: Pulling fs layer 20:35:42 2f39f015ded8: Pulling fs layer 20:35:42 33b1e0a273af: Waiting 20:35:42 5d3b04190fa2: Waiting 20:35:42 2f39f015ded8: Waiting 20:35:42 3a2ae6a8a46f: Waiting 20:35:42 5c69ac0246d0: Verifying Checksum 20:35:42 5c69ac0246d0: Download complete 20:35:42 3a2ae6a8a46f: Verifying Checksum 20:35:42 3a2ae6a8a46f: Download complete 20:35:42 33b1e0a273af: Verifying Checksum 20:35:42 33b1e0a273af: Download complete 20:35:42 5d3b04190fa2: Verifying Checksum 20:35:42 5d3b04190fa2: Download complete 20:35:42 ec43610c2a17: Verifying Checksum 20:35:42 ec43610c2a17: Download complete 20:35:42 5eb5b503b376: Verifying Checksum 20:35:42 5eb5b503b376: Download complete 20:35:43 2f39f015ded8: Download complete 20:35:44 5eb5b503b376: Pull complete 20:35:44 5c69ac0246d0: Pull complete 20:35:44 ec43610c2a17: Pull complete 20:35:44 3a2ae6a8a46f: Pull complete 20:35:45 33b1e0a273af: Pull complete 20:35:45 5d3b04190fa2: Pull complete 20:35:50 2f39f015ded8: Pull complete 20:35:50 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:35:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:35:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 20:35:50 prd-ubuntu20.04-docker-8c-8g-23269 does not seem to be running inside a container 20:35:50 $ 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-76 -v /w/workspace/oundry_device-rfid-llrp-go_PR-76:/w/workspace/oundry_device-rfid-llrp-go_PR-76:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-76@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-76@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:35:52 $ docker top 50b0c8312fd463b6f69165fdbae98f0da782b69e12e2ee4df8234b641ec5dd5b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:35:52 ---> job-cost.sh 20:35:52 lf-activate-venv: SKIPPING 20:35:52 INFO: No Stack... 20:35:53 INFO: Retrieving Pricing Info for: v3-standard-8 20:35:53 INFO: Archiving Costs [Pipeline] sh 20:35:54 + cat /w/workspace/oundry_device-rfid-llrp-go_PR-76/archives/cost.csv 20:35:54 + cut -d, -f6 [Pipeline] lock 20:35:54 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-76-2-stack-cost] 20:35:54 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-76-2-stack-cost] did not exist. Created. 20:35:54 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-76-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:35:54 + echo total: 0.2199999988079071 [Pipeline] stash 20:35:54 Stashed 1 file(s) [Pipeline] } 20:35:54 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-76-2-stack-cost] [Pipeline] // lock [Pipeline] } 20:35:54 $ docker stop --time=1 50b0c8312fd463b6f69165fdbae98f0da782b69e12e2ee4df8234b641ec5dd5b 20:35:55 $ docker rm -f 50b0c8312fd463b6f69165fdbae98f0da782b69e12e2ee4df8234b641ec5dd5b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:45:08 Running on prd-ubuntu20.04-docker-arm64-4c-16g-23513 in /w/workspace/oundry_device-rfid-llrp-go_PR-76 [Pipeline] { [Pipeline] ws 20:45:08 Running in /w/workspace/device-rfid-llrp-go/2 [Pipeline] { [Pipeline] checkout 20:45:09 Selected Git installation does not exist. Using Default 20:45:09 The recommended git tool is: NONE 20:45:17 using credential edgex-jenkins-ssh 20:45:18 Cloning the remote Git repository 20:45:18 Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git 20:45:18 > git init /w/workspace/device-rfid-llrp-go/2 # timeout=10 20:45:18 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 20:45:18 > git --version # timeout=10 20:45:18 > git --version # 'git version 2.25.1' 20:45:18 using GIT_SSH to set credentials SSH Credentials for GitHub 20:45:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:45:19 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 20:45:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:45:19 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 20:45:19 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 20:45:19 using GIT_SSH to set credentials SSH Credentials for GitHub 20:45:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/76/head:refs/remotes/origin/PR-76 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:45:19 Merging remotes/origin/main commit c5284296090fc93b1a9c5192dcea8b13ac4a9a89 into PR head commit 5a175d3d1bcbb1287f12267c98349ee3fae34e36 20:45:20 Merge succeeded, producing 5a175d3d1bcbb1287f12267c98349ee3fae34e36 20:45:20 Checking out Revision 5a175d3d1bcbb1287f12267c98349ee3fae34e36 (PR-76) 20:45:19 > git config core.sparsecheckout # timeout=10 20:45:19 > git checkout -f 5a175d3d1bcbb1287f12267c98349ee3fae34e36 # timeout=10 20:45:20 > git remote # timeout=10 20:45:20 > git config --get remote.origin.url # timeout=10 20:45:20 using GIT_SSH to set credentials SSH Credentials for GitHub 20:45:20 > git merge c5284296090fc93b1a9c5192dcea8b13ac4a9a89 # timeout=10 20:45:20 > git rev-parse HEAD^{commit} # timeout=10 20:45:20 > git config core.sparsecheckout # timeout=10 20:45:20 > git checkout -f 5a175d3d1bcbb1287f12267c98349ee3fae34e36 # timeout=10 20:45:24 Commit message: "Merge branch 'main' into readme_cleanup" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:45:25 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:45:25 % Total % Received % Xferd Average Speed Time Time Time Current 20:45:25 Dload Upload Total Spent Left Speed 20:45:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 196k 0 --:--:-- --:--:-- --:--:-- 199k [Pipeline] sh 20:45:26 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:45:26 + sudo tee /etc/docker/daemon.new 20:45:26 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:45:26 { 20:45:26 "registry-mirrors": [ 20:45:26 "https://nexus3.edgexfoundry.org:10001" 20:45:26 ], 20:45:26 "bip": "10.250.0.254/24", 20:45:26 "hosts": [ 20:45:26 "tcp://0.0.0.0:5555", 20:45:26 "unix:///var/run/docker.sock" 20:45:26 ], 20:45:26 "mtu": 1458, 20:45:26 "selinux-enabled": true, 20:45:26 "seccomp-profile": "/etc/docker/seccomp.json" 20:45:26 } [Pipeline] sh 20:45:27 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:45:27 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:45:45 provisioning config files... 20:45:45 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/device-rfid-llrp-go/2@tmp/config1301439029803760599tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:45:46 ---> docker-login.sh 20:45:46 nexus3.edgexfoundry.org:10001 20:45:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:47 Configure a credential helper to remove this warning. See 20:45:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:47 20:45:47 Login Succeeded 20:45:47 nexus3.edgexfoundry.org:10002 20:45:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:48 Configure a credential helper to remove this warning. See 20:45:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:48 20:45:48 Login Succeeded 20:45:48 nexus3.edgexfoundry.org:10003 20:45:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:48 Configure a credential helper to remove this warning. See 20:45:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:48 20:45:48 Login Succeeded 20:45:48 nexus3.edgexfoundry.org:10004 20:45:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:49 Configure a credential helper to remove this warning. See 20:45:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:49 20:45:49 Login Succeeded 20:45:49 docker.io 20:45:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:49 Configure a credential helper to remove this warning. See 20:45:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:49 20:45:49 Login Succeeded 20:45:49 ---> docker-login.sh ends [Pipeline] } 20:45:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:45:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:45:50 ========================================================= 20:45:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 20:45:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:45:50 + 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 . 20:45:51 Sending build context to Docker daemon 1.228MB 20:45:51 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 20:45:51 Step 2/12 : FROM ${BASE} AS builder 20:45:51 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:45:51 9b3977197b4f: Pulling fs layer 20:45:51 1a89e8eeedd5: Pulling fs layer 20:45:51 94645a83ff95: Pulling fs layer 20:45:51 3f3a8bcf1eab: Pulling fs layer 20:45:51 0c92f367c5e7: Pulling fs layer 20:45:51 3096ccb668a1: Pulling fs layer 20:45:51 e8cf19c19ddd: Pulling fs layer 20:45:51 a4caa8a26152: Pulling fs layer 20:45:51 3096ccb668a1: Waiting 20:45:51 e8cf19c19ddd: Waiting 20:45:51 a4caa8a26152: Waiting 20:45:51 3f3a8bcf1eab: Waiting 20:45:51 0c92f367c5e7: Waiting 20:45:51 94645a83ff95: Download complete 20:45:51 1a89e8eeedd5: Download complete 20:45:51 0c92f367c5e7: Verifying Checksum 20:45:51 0c92f367c5e7: Download complete 20:45:51 3096ccb668a1: Verifying Checksum 20:45:51 3096ccb668a1: Download complete 20:45:51 9b3977197b4f: Verifying Checksum 20:45:51 9b3977197b4f: Download complete 20:45:51 e8cf19c19ddd: Verifying Checksum 20:45:51 e8cf19c19ddd: Download complete 20:45:52 9b3977197b4f: Pull complete 20:45:53 1a89e8eeedd5: Pull complete 20:45:53 94645a83ff95: Pull complete 20:45:53 a4caa8a26152: Verifying Checksum 20:45:53 a4caa8a26152: Download complete 20:45:54 3f3a8bcf1eab: Verifying Checksum 20:45:54 3f3a8bcf1eab: Download complete 20:46:07 3f3a8bcf1eab: Pull complete 20:46:07 0c92f367c5e7: Pull complete 20:46:07 3096ccb668a1: Pull complete 20:46:07 e8cf19c19ddd: Pull complete 20:46:15 a4caa8a26152: Pull complete 20:46:15 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 20:46:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 20:46:15 ---> 725f1c02e7f9 20:46:15 Step 3/12 : ARG MAKE='make build' 20:46:16 ---> Running in 047882cc13d6 20:46:16 Removing intermediate container 047882cc13d6 20:46:16 ---> 4195d604b796 20:46:16 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 20:46:16 ---> Running in 4671303f03f3 20:46:17 Removing intermediate container 4671303f03f3 20:46:17 ---> df15e1300f19 20:46:17 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 20:46:17 ---> Running in add0be816bc5 20:46:17 Removing intermediate container add0be816bc5 20:46:17 ---> 31d871f3f511 20:46:17 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:46:17 ---> Running in 2a147f1bc6fd 20:46:20 Removing intermediate container 2a147f1bc6fd 20:46:20 ---> 55c3676ca555 20:46:20 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:46:20 ---> Running in 1eb812a07348 20:46:21 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:46:22 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:46:23 OK: 220 MiB in 52 packages 20:46:24 Removing intermediate container 1eb812a07348 20:46:24 ---> bef527a90ec2 20:46:24 Step 8/12 : WORKDIR /app 20:46:24 ---> Running in 9ef2d9e4a6cc 20:46:25 Removing intermediate container 9ef2d9e4a6cc 20:46:25 ---> 89f05f74e27c 20:46:25 Step 9/12 : COPY go.mod vendor* ./ 20:46:25 ---> 4d6b9b236494 20:46:25 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:46:25 ---> Running in 0ad21bb2c2ab 20:47:48 Removing intermediate container 0ad21bb2c2ab 20:47:48 ---> 08417c12c51f 20:47:48 Step 11/12 : COPY . . 20:47:48 ---> a139c8449da7 20:47:48 Step 12/12 : RUN $MAKE 20:47:48 ---> Running in 1a0ff228b1da 20:47:48 noop 20:47:49 Removing intermediate container 1a0ff228b1da 20:47:49 ---> 1ad525a56290 20:47:49 Successfully built 1ad525a56290 20:47:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:47:49 + docker inspect -f . ci-base-image-arm64 20:47:49 . [Pipeline] withDockerContainer 20:47:49 prd-ubuntu20.04-docker-arm64-4c-16g-23513 does not seem to be running inside a container 20:47:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rfid-llrp-go/2 -v /w/workspace/device-rfid-llrp-go/2:/w/workspace/device-rfid-llrp-go/2:rw,z -v /w/workspace/device-rfid-llrp-go/2@tmp:/w/workspace/device-rfid-llrp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:47:51 $ docker top 458ab2ed3eba019fc7ba9b2ddc2c0ee17b1557dbe79d6cea090cef7ba48af040 -eo pid,comm [Pipeline] { [Pipeline] sh 20:47:52 + go version 20:47:52 go version go1.17.6 linux/arm64 [Pipeline] } 20:47:52 $ docker stop --time=1 458ab2ed3eba019fc7ba9b2ddc2c0ee17b1557dbe79d6cea090cef7ba48af040 20:47:54 $ docker rm -f 458ab2ed3eba019fc7ba9b2ddc2c0ee17b1557dbe79d6cea090cef7ba48af040 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:47:54 + docker inspect -f . ci-base-image-arm64 20:47:54 . [Pipeline] withDockerContainer 20:47:55 prd-ubuntu20.04-docker-arm64-4c-16g-23513 does not seem to be running inside a container 20:47:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rfid-llrp-go/2 -v /w/workspace/device-rfid-llrp-go/2:/w/workspace/device-rfid-llrp-go/2:rw,z -v /w/workspace/device-rfid-llrp-go/2@tmp:/w/workspace/device-rfid-llrp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:47:56 $ docker top 864be7ffb4c6ca5c4307e0bec099ec5ff1753e2b16975895ea49c9573edb3d2b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:47:57 + make test 20:47:57 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:47:59 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 20:49:07 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 20:49:07 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 20:49:34 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 26.633s coverage: 39.3% of statements 20:49:34 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.565s coverage: 51.9% of statements 20:49:34 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.030s coverage: 95.5% of statements 20:49:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:49:34 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:50:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:50:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:50:01 ./bin/test-attribution-txt.sh [Pipeline] echo 20:50:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:50:02 $ docker stop --time=1 864be7ffb4c6ca5c4307e0bec099ec5ff1753e2b16975895ea49c9573edb3d2b 20:50:04 $ docker rm -f 864be7ffb4c6ca5c4307e0bec099ec5ff1753e2b16975895ea49c9573edb3d2b [Pipeline] // withDockerContainer [Pipeline] sh 20:50:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:50:05 Warning: overwriting stash ‘coverage-report’ 20:50:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:50:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:50:06 + ls -al . 20:50:06 total 636 20:50:06 drwxrwxr-x 10 jenkins jenkins 4096 Apr 25 20:50 . 20:50:06 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 20:45 .. 20:50:06 -rw-rw-r-- 1 jenkins jenkins 134 Apr 25 20:45 .dockerignore 20:50:06 drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 20:45 .git 20:50:06 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 20:45 .github 20:50:06 -rw-rw-r-- 1 jenkins jenkins 946 Apr 25 20:45 .gitignore 20:50:06 -rw-rw-r-- 1 jenkins jenkins 41 Apr 25 20:45 .golangci.yml 20:50:06 -rw-rw-r-- 1 jenkins jenkins 9072 Apr 25 20:45 Attribution.txt 20:50:06 -rw-rw-r-- 1 jenkins jenkins 1514 Apr 25 20:45 Dockerfile 20:50:06 -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 20:45 GOVERNANCE.md 20:50:06 -rw-rw-r-- 1 jenkins jenkins 683 Apr 25 20:45 Jenkinsfile 20:50:06 -rw-rw-r-- 1 jenkins jenkins 11347 Apr 25 20:45 LICENSE 20:50:06 -rw-rw-r-- 1 jenkins jenkins 1435 Apr 25 20:45 Makefile 20:50:06 -rw-rw-r-- 1 jenkins jenkins 625 Apr 25 20:45 OWNERS.md 20:50:06 -rw-rw-r-- 1 jenkins jenkins 28496 Apr 25 20:45 README.md 20:50:06 -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 20:34 VERSION 20:50:06 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 20:45 bin 20:50:06 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 20:45 cmd 20:50:06 -rw-r--r-- 1 jenkins jenkins 460394 Apr 25 20:49 coverage.out 20:50:06 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 20:45 examples 20:50:06 -rw-rw-r-- 1 jenkins jenkins 2899 Apr 25 20:45 go.mod 20:50:06 -rw-rw-r-- 1 jenkins jenkins 49145 Apr 25 20:45 go.sum 20:50:06 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 20:45 images 20:50:06 drwxrwxr-x 5 jenkins jenkins 4096 Apr 25 20:45 internal 20:50:06 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 20:45 snap 20:50:06 -rw-rw-r-- 1 jenkins jenkins 193 Apr 25 20:45 version.go [Pipeline] isUnix [Pipeline] sh 20:50:07 + 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=5a175d3d1bcbb1287f12267c98349ee3fae34e36 --label arch=arm64 --label version=0.0.0 . 20:50:07 Sending build context to Docker daemon 1.228MB 20:50:07 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 20:50:07 Step 2/25 : FROM ${BASE} AS builder 20:50:07 ---> 1ad525a56290 20:50:07 Step 3/25 : ARG MAKE='make build' 20:50:07 ---> Running in 99d9c36632e2 20:50:07 Removing intermediate container 99d9c36632e2 20:50:07 ---> 2eaeed9e584d 20:50:07 Step 4/25 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 20:50:08 ---> Running in 0e7f68e5971c 20:50:08 Removing intermediate container 0e7f68e5971c 20:50:08 ---> 17675414ae9a 20:50:08 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 20:50:08 ---> Running in eaf120f3ad50 20:50:08 Removing intermediate container eaf120f3ad50 20:50:08 ---> bbabb346c23f 20:50:08 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:50:08 ---> Running in 89d2158ad060 20:50:10 Removing intermediate container 89d2158ad060 20:50:10 ---> 7b8daebcbd98 20:50:10 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:50:10 ---> Running in e878b8ae9f06 20:50:11 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:50:12 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:50:13 OK: 220 MiB in 52 packages 20:50:14 Removing intermediate container e878b8ae9f06 20:50:14 ---> b88e2a87ebb5 20:50:14 Step 8/25 : WORKDIR /app 20:50:14 ---> Running in e68d60cdc9ff 20:50:15 Removing intermediate container e68d60cdc9ff 20:50:15 ---> d2462b658d73 20:50:15 Step 9/25 : COPY go.mod vendor* ./ 20:50:15 ---> 7ef02f37761b 20:50:15 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:50:15 ---> Running in c558eb60c07b 20:50:18 Removing intermediate container c558eb60c07b 20:50:18 ---> 4b021b862e05 20:50:18 Step 11/25 : COPY . . 20:50:18 ---> 1dc6667c1d83 20:50:18 Step 12/25 : RUN $MAKE 20:50:18 ---> Running in fddb0bf3a415 20:50:20 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 20:51:17 Removing intermediate container fddb0bf3a415 20:51:17 ---> cfb60a09c8e9 20:51:17 Step 13/25 : FROM alpine:3.14 20:51:17 3.14: Pulling from library/alpine 20:51:17 455c02918c45: Pulling fs layer 20:51:17 455c02918c45: Download complete 20:51:17 455c02918c45: Pull complete 20:51:17 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 20:51:17 Status: Downloaded newer image for alpine:3.14 20:51:17 ---> ac73e934f311 20:51:17 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 20:51:17 ---> Running in 0c3bed1f22d8 20:51:17 Removing intermediate container 0c3bed1f22d8 20:51:17 ---> 23aef419e8f3 20:51:17 Step 15/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:51:17 ---> Running in f2bcbace8bf1 20:51:17 Removing intermediate container f2bcbace8bf1 20:51:17 ---> ae3e08beae83 20:51:17 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 20:51:17 ---> Running in 07e553b8bb8a 20:51:17 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 20:51:17 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 20:51:17 (1/6) Installing dumb-init (1.2.5-r1) 20:51:17 (2/6) Installing libgcc (10.3.1_git20210424-r2) 20:51:17 (3/6) Installing libsodium (1.0.18-r0) 20:51:17 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 20:51:17 (5/6) Installing libzmq (4.3.4-r0) 20:51:17 (6/6) Installing zeromq (4.3.4-r0) 20:51:17 Executing busybox-1.33.1-r7.trigger 20:51:17 OK: 8 MiB in 20 packages 20:51:17 Removing intermediate container 07e553b8bb8a 20:51:17 ---> 1ecb9a3969e5 20:51:17 Step 17/25 : COPY --from=builder /app/LICENSE / 20:51:18 ---> f3a0df67771e 20:51:18 Step 18/25 : COPY --from=builder /app/Attribution.txt / 20:51:18 ---> 9bc54c038588 20:51:18 Step 19/25 : COPY --from=builder /app/cmd/ / 20:51:19 ---> 9217a13354b2 20:51:19 Step 20/25 : EXPOSE 59989 20:51:19 ---> Running in 7b0c3a2da07b 20:51:20 Removing intermediate container 7b0c3a2da07b 20:51:20 ---> 4c91a1653ed2 20:51:20 Step 21/25 : ENTRYPOINT ["/device-rfid-llrp"] 20:51:20 ---> Running in cbea89df27f6 20:51:20 Removing intermediate container cbea89df27f6 20:51:20 ---> 918c26325b5f 20:51:20 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:51:20 ---> Running in 73acc27e4728 20:51:20 Removing intermediate container 73acc27e4728 20:51:20 ---> 6bc379ff4261 20:51:20 Step 23/25 : LABEL arch=arm64 20:51:20 ---> Running in a92306d36658 20:51:21 Removing intermediate container a92306d36658 20:51:21 ---> 1c12f840e992 20:51:21 Step 24/25 : LABEL git_sha=5a175d3d1bcbb1287f12267c98349ee3fae34e36 20:51:21 ---> Running in f644f848ec86 20:51:21 Removing intermediate container f644f848ec86 20:51:21 ---> c9ad699f964e 20:51:21 Step 25/25 : LABEL version=0.0.0 20:51:21 ---> Running in 3fc1c71d680c 20:51:22 Removing intermediate container 3fc1c71d680c 20:51:22 ---> f7b9383d308f 20:51:22 [Warning] One or more build-args [ARCH] were not consumed 20:51:22 Successfully built f7b9383d308f 20:51:22 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 20:51:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:51:22 20:51:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 20:51:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:51:23 arm64: Pulling from edgex-lftools-log-publisher 20:51:23 8998bd30e6a1: Pulling fs layer 20:51:23 04944245beec: Pulling fs layer 20:51:23 699f458cf7ca: Pulling fs layer 20:51:23 765212b225bb: Pulling fs layer 20:51:23 f23df028b6ca: Pulling fs layer 20:51:23 d65c8cfc05b1: Pulling fs layer 20:51:23 2437ff75d9bd: Pulling fs layer 20:51:23 f23df028b6ca: Waiting 20:51:23 2437ff75d9bd: Waiting 20:51:23 d65c8cfc05b1: Waiting 20:51:23 765212b225bb: Waiting 20:51:23 04944245beec: Verifying Checksum 20:51:23 04944245beec: Download complete 20:51:23 765212b225bb: Verifying Checksum 20:51:23 765212b225bb: Download complete 20:51:23 f23df028b6ca: Download complete 20:51:23 d65c8cfc05b1: Verifying Checksum 20:51:23 d65c8cfc05b1: Download complete 20:51:23 699f458cf7ca: Verifying Checksum 20:51:23 699f458cf7ca: Download complete 20:51:23 8998bd30e6a1: Verifying Checksum 20:51:23 8998bd30e6a1: Download complete 20:51:26 2437ff75d9bd: Verifying Checksum 20:51:26 2437ff75d9bd: Download complete 20:51:27 8998bd30e6a1: Pull complete 20:51:28 04944245beec: Pull complete 20:51:29 699f458cf7ca: Pull complete 20:51:29 765212b225bb: Pull complete 20:51:30 f23df028b6ca: Pull complete 20:51:31 d65c8cfc05b1: Pull complete 20:51:46 2437ff75d9bd: Pull complete 20:51:46 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:51:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:51:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 20:51:46 prd-ubuntu20.04-docker-arm64-4c-16g-23513 does not seem to be running inside a container 20:51:46 $ 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/2 -v /w/workspace/device-rfid-llrp-go/2:/w/workspace/device-rfid-llrp-go/2:rw,z -v /w/workspace/device-rfid-llrp-go/2@tmp:/w/workspace/device-rfid-llrp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:51:49 $ docker top 852d49c694ae14c1151a2eaef46e2bd5a68b35c1a565f697f99d9876f342b1f6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:51:50 ---> job-cost.sh 20:51:50 lf-activate-venv: SKIPPING 20:51:50 INFO: No Stack... 20:51:51 INFO: Retrieving Pricing Info for: v3-standard-4 20:51:52 INFO: Archiving Costs [Pipeline] sh 20:51:52 + cat /w/workspace/device-rfid-llrp-go/2/archives/cost.csv 20:51:52 + cut -d, -f6 [Pipeline] lock 20:51:52 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-76-2-stack-cost] 20:51:52 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-76-2-stack-cost] did not exist. Created. 20:51:52 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-76-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:51:53 /w/workspace/device-rfid-llrp-go/2@tmp/durable-a4c18096/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:51:54 + echo total: 0.10999999940395355 [Pipeline] stash 20:51:54 Warning: overwriting stash ‘stack-cost’ 20:51:54 Stashed 1 file(s) [Pipeline] } 20:51:54 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-76-2-stack-cost] [Pipeline] // lock [Pipeline] } 20:51:54 $ docker stop --time=1 852d49c694ae14c1151a2eaef46e2bd5a68b35c1a565f697f99d9876f342b1f6 20:51:55 $ docker rm -f 852d49c694ae14c1151a2eaef46e2bd5a68b35c1a565f697f99d9876f342b1f6 [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 20:51:56 provisioning config files... 20:51:56 copy managed file [device-rfid-llrp-go-codecov-token] to file:/w/workspace/oundry_device-rfid-llrp-go_PR-76@tmp/config2982400155228968707tmp [Pipeline] { [Pipeline] sh 20:51:56 + set +x 20:51:56 + curl -s https://codecov.io/bash 20:51:56 + bash -s -- 20:51:56 20:51:56 _____ _ 20:51:56 / ____| | | 20:51:56 | | ___ __| | ___ ___ _____ __ 20:51:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:51:56 | |___| (_) | (_| | __/ (_| (_) \ V / 20:51:56 \_____\___/ \__,_|\___|\___\___/ \_/ 20:51:56 Bash-1.0.6 20:51:56 20:51:56 20:51:56 ==> git version 2.25.1 found 20:51:56 ==> 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 20:51:56 Release-Date: 2020-01-08 20:51:56 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:51:56 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:51:56 ==> Jenkins CI detected. 20:51:56 current dir:  /w/workspace/oundry_device-rfid-llrp-go_PR-76 20:51:56 project root: . 20:51:56 --> token set from env 20:51:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:51:56 ==> Running gcov in . (disable via -X gcov) 20:51:56 ==> Python coveragepy not found 20:51:56 ==> Searching for coverage reports in: 20:51:56 + . 20:51:56 -> Found 1 reports 20:51:56 ==> Detecting git/mercurial file structure 20:51:56 ==> Reading reports 20:51:56 + ./coverage.out bytes=460394 20:51:56 ==> Appending adjustments 20:51:56 https://docs.codecov.io/docs/fixing-reports 20:51:56 + Found adjustments 20:51:56 ==> Gzipping contents 20:51:57 52K /tmp/codecov.ar2JNM.gz 20:51:57 ==> Uploading reports 20:51:57 url: https://codecov.io 20:51:57 query: branch=PR-76&commit=5a175d3d1bcbb1287f12267c98349ee3fae34e36&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-76%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=76&job=&cmd_args= 20:51:57 -> Pinging Codecov 20:51:57 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-76&commit=5a175d3d1bcbb1287f12267c98349ee3fae34e36&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-76%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=76&job=&cmd_args= 20:51:57 -> Uploading to 20:51:57 https://storage.googleapis.com/codecov/v4/raw/2022-04-25/581DD39554BDF9B6E22D074273EAD858/5a175d3d1bcbb1287f12267c98349ee3fae34e36/650c347b-1d75-4406-a2db-be50a0ef9e17.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220425%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220425T205157Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=800937617a94f67f25cdb17ad57ce1ae1f15f2fab7f99030018edcb9bc720057 20:51:57 % Total % Received % Xferd Average Speed Time Time Time Current 20:51:57 Dload Upload Total Spent Left Speed 20:51:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51742 0 0 100 51742 0 198k --:--:-- --:--:-- --:--:-- 198k 20:51:57 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/5a175d3d1bcbb1287f12267c98349ee3fae34e36 [Pipeline] } 20:51:57 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 20:51:58 + [ -d /w/workspace/oundry_device-rfid-llrp-go_PR-76/archives ] 20:51:58 + ls -al /w/workspace/oundry_device-rfid-llrp-go_PR-76/archives 20:51:58 total 16 20:51:58 drwxr-xr-x 3 root root 4096 Apr 25 20:35 . 20:51:58 drwxrwxr-x 12 jenkins jenkins 4096 Apr 25 20:35 .. 20:51:58 drwxr-xr-x 2 root root 4096 Apr 25 20:35 cost 20:51:58 -rw-r--r-- 1 root root 89 Apr 25 20:35 cost.csv 20:51:58 + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-rfid-llrp-go_PR-76/archives 20:51:58 + ls -al /w/workspace/oundry_device-rfid-llrp-go_PR-76/archives 20:51:58 total 16 20:51:58 drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 20:35 . 20:51:58 drwxrwxr-x 12 jenkins jenkins 4096 Apr 25 20:35 .. 20:51:58 drwxr-xr-x 2 jenkins jenkins 4096 Apr 25 20:35 cost 20:51:58 -rw-r--r-- 1 jenkins jenkins 89 Apr 25 20:35 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:51:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:51:59 ---> package-listing.sh 20:51:59 ++ facter osfamily 20:51:59 ++ tr '[:upper:]' '[:lower:]' 20:51:59 + OS_FAMILY=debian 20:51:59 + workspace=/w/workspace/oundry_device-rfid-llrp-go_PR-76 20:51:59 + START_PACKAGES=/tmp/packages_start.txt 20:51:59 + END_PACKAGES=/tmp/packages_end.txt 20:51:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:51:59 + PACKAGES=/tmp/packages_start.txt 20:51:59 + '[' /w/workspace/oundry_device-rfid-llrp-go_PR-76 ']' 20:51:59 + PACKAGES=/tmp/packages_end.txt 20:51:59 + case "${OS_FAMILY}" in 20:51:59 + dpkg -l 20:51:59 + grep '^ii' 20:51:59 + '[' -f /tmp/packages_start.txt ']' 20:51:59 + '[' -f /tmp/packages_end.txt ']' 20:51:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:51:59 + '[' /w/workspace/oundry_device-rfid-llrp-go_PR-76 ']' 20:51:59 + mkdir -p /w/workspace/oundry_device-rfid-llrp-go_PR-76/archives/ 20:51:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-rfid-llrp-go_PR-76/archives/ [Pipeline] echo 20:51:59 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-76/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:51:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:52:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:52:00 . [Pipeline] withDockerContainer 20:52:00 prd-ubuntu20.04-docker-8c-8g-23269 does not seem to be running inside a container 20:52:00 $ 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-76/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-76 -v /w/workspace/oundry_device-rfid-llrp-go_PR-76:/w/workspace/oundry_device-rfid-llrp-go_PR-76:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-76@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-76@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:52:00 $ docker top 2c33bafd5dcda3f0c4af3aebda591776557b91d1e3e36f01d912468e63e1bd6d -eo pid,comm [Pipeline] { [Pipeline] sh 20:52:01 + touch /tmp/pre-build-complete [Pipeline] sh 20:52:01 + mkdir -p /var/log/sysstat [Pipeline] sh 20:52:01 + ls /var/log/sa-host 20:52:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:52:01 provisioning config files... 20:52:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-rfid-llrp-go_PR-76@tmp/config5758638043967681574tmp [Pipeline] { [Pipeline] echo 20:52:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:52:02 ---> create-netrc.sh [Pipeline] } 20:52:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:52:02 ---> python-tools-install.sh [Pipeline] echo 20:52:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:52:02 ---> sudo-logs.sh 20:52:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:52:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:52:03 ---> job-cost.sh 20:52:03 lf-activate-venv: SKIPPING 20:52:03 DEBUG: total: 0.2199999988079071 20:52:03 INFO: Retrieving Stack Cost... 20:52:03 INFO: Retrieving Pricing Info for: v3-standard-8 20:52:03 INFO: Archiving Costs [Pipeline] echo 20:52:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:52:04 ---> logs-deploy.sh 20:52:04 lf-activate-venv: SKIPPING 20:52:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rfid-llrp-go/PR-76/2 20:52:04 INFO: archiving workspace using pattern(s): 20:52:05 Archives upload complete. 20:52:05 INFO: archiving logs to Nexus