Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2d9b8506c97d509b1a4ca3b087cfa1db5dcd50a0+8b44d22ccb04215a285fcb59312b26223b5ddbf5 (5f98e124b6ec2918f61255ec1e5d0c93c68504cd) 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-ssh7034142541473600352.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-ssh4438799023762682881.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-65/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-65/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3186403377587518072.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-ssh12854997619851853586.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-65/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-65/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh11513169434856713555.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-21548 in /w/workspace/oundry_device-rfid-llrp-go_PR-65 [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-65 # 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 2d9b8506c97d509b1a4ca3b087cfa1db5dcd50a0 Merge succeeded, producing 5042bc3ba512a63817f90d3fbb83661ec690dd4b Checking out Revision 5042bc3ba512a63817f90d3fbb83661ec690dd4b (PR-65) > 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/65/head:refs/remotes/origin/PR-65 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2d9b8506c97d509b1a4ca3b087cfa1db5dcd50a0 # 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 5042bc3ba512a63817f90d3fbb83661ec690dd4b # timeout=10 Commit message: "Merge commit '8b44d22ccb04215a285fcb59312b26223b5ddbf5' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk feb6a9b1b553bf2aabffa2281c184605bd9ef318 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:09:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:09:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:09:01 ========================================================= 01:09:01 EdgeX Global Pipelines Version Info 01:09:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:09:02 ------------------- 01:09:02 stable info: 01:09:02 ------------------- 01:09:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:09:02 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 01:09:02 Message: update stable to v1.0.221 01:09:03 ------------------- 01:09:03 experimental info: 01:09:03 ------------------- 01:09:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:09:03 Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b 01:09:03 Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:09:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rfid-llrp-go-settings [Pipeline] echo 01:09:03 [edgeXSetupEnvironment]: set envvar PROJECT = device-rfid-llrp-go [Pipeline] echo 01:09:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:09:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:09:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:09:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 01:09:03 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:09:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:09:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:09:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:09:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:09:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rfid-llrp [Pipeline] echo 01:09:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:09:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:09:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:09:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:09:03 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:09:03 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:09:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:09:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:09:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:09:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:09:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:09:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:09:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:09:03 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:09:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-65 [Pipeline] echo 01:09:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-65 [Pipeline] echo 01:09:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-65 [Pipeline] echo 01:09:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5042bc3ba512a63817f90d3fbb83661ec690dd4b [Pipeline] echo 01:09:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5042bc3 [Pipeline] echo 01:09:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:09:03 provisioning config files... 01:09:03 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/oundry_device-rfid-llrp-go_PR-65@tmp/config9167764105432110401tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:09:04 ---> docker-login.sh 01:09:04 nexus3.edgexfoundry.org:10001 01:09:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:04 Configure a credential helper to remove this warning. See 01:09:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:04 01:09:04 Login Succeeded 01:09:04 nexus3.edgexfoundry.org:10002 01:09:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:04 Configure a credential helper to remove this warning. See 01:09:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:04 01:09:04 Login Succeeded 01:09:04 nexus3.edgexfoundry.org:10003 01:09:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:04 Configure a credential helper to remove this warning. See 01:09:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:04 01:09:04 Login Succeeded 01:09:04 nexus3.edgexfoundry.org:10004 01:09:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:04 Configure a credential helper to remove this warning. See 01:09:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:04 01:09:04 Login Succeeded 01:09:04 docker.io 01:09:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:05 Configure a credential helper to remove this warning. See 01:09:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:05 01:09:05 Login Succeeded 01:09:05 ---> docker-login.sh ends [Pipeline] } 01:09:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:09:05 + git rev-list -1 --merges 5042bc3ba512a63817f90d3fbb83661ec690dd4b~1..5042bc3ba512a63817f90d3fbb83661ec690dd4b [Pipeline] echo 01:09:05 -----------> git rev-list -1 --merges 5042bc3ba512a63817f90d3fbb83661ec690dd4b~1..5042bc3ba512a63817f90d3fbb83661ec690dd4b 5042bc3ba512a63817f90d3fbb83661ec690dd4b 01:09:05 5042bc3ba512a63817f90d3fbb83661ec690dd4b [false] [Pipeline] sh 01:09:06 + git log --format=format:%s -1 5042bc3ba512a63817f90d3fbb83661ec690dd4b [Pipeline] echo 01:09:06 ========================================================= 01:09:06 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:09:06 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:09:06 + git log --format=format:%s -1 5042bc3ba512a63817f90d3fbb83661ec690dd4b [Pipeline] echo 01:09:06 [semverPrep] GIT_COMMIT: 5042bc3ba512a63817f90d3fbb83661ec690dd4b, Commit Message: Merge commit '8b44d22ccb04215a285fcb59312b26223b5ddbf5' into HEAD [Pipeline] echo 01:09:06 [semverPrep] This is not a build commit. [Pipeline] sh 01:09:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:09:06 + grep -v github /etc/ssh/ssh_known_hosts 01:09:06 + [ -e /tmp/ssh_known_hosts ] 01:09:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:09:06 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:09:06 + sudo tee -a /etc/ssh/ssh_known_hosts 01:09:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 01:09:07 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:09:07 01:09:07 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 01:09:07 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:09:07 latest: Pulling from edgex-devops/git-semver 01:09:07 a0d0a0d46f8b: Pulling fs layer 01:09:07 3e5f54012d9b: Pulling fs layer 01:09:07 4c7163046ea9: Pulling fs layer 01:09:07 0c2d73faf560: Pulling fs layer 01:09:07 3e5f54012d9b: Verifying Checksum 01:09:07 3e5f54012d9b: Download complete 01:09:07 a0d0a0d46f8b: Download complete 01:09:07 0c2d73faf560: Verifying Checksum 01:09:07 0c2d73faf560: Download complete 01:09:07 4c7163046ea9: Verifying Checksum 01:09:07 4c7163046ea9: Download complete 01:09:07 a0d0a0d46f8b: Pull complete 01:09:07 3e5f54012d9b: Pull complete 01:09:08 4c7163046ea9: Pull complete 01:09:08 0c2d73faf560: Pull complete 01:09:08 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 01:09:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:09:08 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 01:09:08 prd-ubuntu20.04-docker-8c-8g-21548 does not seem to be running inside a container 01:09:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-rfid-llrp-go_PR-65 -v /w/workspace/oundry_device-rfid-llrp-go_PR-65:/w/workspace/oundry_device-rfid-llrp-go_PR-65:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-65@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-65@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 01:09:09 $ docker top a339ceb0c17f024a5382d7fc98bfda63f64ae56cfaa9cbe309d7a2c904150ea2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:09:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:09:09 [ssh-agent] Looking for ssh-agent implementation... 01:09:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:09:09 $ docker exec a339ceb0c17f024a5382d7fc98bfda63f64ae56cfaa9cbe309d7a2c904150ea2 ssh-agent 01:09:09 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKEEghl/agent.15 01:09:09 SSH_AGENT_PID=21 01:09:09 Running ssh-add (command line suppressed) 01:09:09 Identity added: /w/workspace/oundry_device-rfid-llrp-go_PR-65@tmp/private_key_2378607833973727322.key (/w/workspace/oundry_device-rfid-llrp-go_PR-65@tmp/private_key_2378607833973727322.key) 01:09:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:09:10 + git tag --points-at HEAD [Pipeline] } 01:09:10 $ docker exec --env ******** --env ******** a339ceb0c17f024a5382d7fc98bfda63f64ae56cfaa9cbe309d7a2c904150ea2 ssh-agent -k 01:09:10 unset SSH_AUTH_SOCK; 01:09:10 unset SSH_AGENT_PID; 01:09:10 echo Agent pid 21 killed; 01:09:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:09:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:09:10 [ssh-agent] Looking for ssh-agent implementation... 01:09:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:09:10 $ docker exec a339ceb0c17f024a5382d7fc98bfda63f64ae56cfaa9cbe309d7a2c904150ea2 ssh-agent 01:09:10 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXmIKFBp/agent.53 01:09:10 SSH_AGENT_PID=60 01:09:10 Running ssh-add (command line suppressed) 01:09:10 Identity added: /w/workspace/oundry_device-rfid-llrp-go_PR-65@tmp/private_key_4815325569511040664.key (/w/workspace/oundry_device-rfid-llrp-go_PR-65@tmp/private_key_4815325569511040664.key) 01:09:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:09:11 + git semver init 01:09:11 # -> Open(): unable to determine branch for HEAD 01:09:11 # $GIT_DIR = /w/workspace/oundry_device-rfid-llrp-go_PR-65/.git 01:09:11 # $GIT_WORK_TREE = /w/workspace/oundry_device-rfid-llrp-go_PR-65 01:09:11 # $SEMVER_REMOTE_NAME = origin 01:09:11 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:09:11 # $SEMVER_USER_NAME = edgex-jenkins 01:09:11 # $SEMVER_BRANCH = PR-65 01:09:11 # $SEMVER_TEMP = /tmp/semver-456648835 01:09:11 # git clone --branch semver git@github.com:edgexfoundry/device-rfid-llrp-go.git $SEMVER_TEMP 01:09:11 # '/tmp/semver-456648835' -> '/w/workspace/oundry_device-rfid-llrp-go_PR-65/.semver' 01:09:11 # -> Force: false 01:09:11 # $SEMVER_DIR = /w/workspace/oundry_device-rfid-llrp-go_PR-65/.semver [Pipeline] } 01:09:11 $ docker exec --env ******** --env ******** a339ceb0c17f024a5382d7fc98bfda63f64ae56cfaa9cbe309d7a2c904150ea2 ssh-agent -k 01:09:11 unset SSH_AUTH_SOCK; 01:09:11 unset SSH_AGENT_PID; 01:09:11 echo Agent pid 60 killed; 01:09:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:09:12 + git semver [Pipeline] } 01:09:12 $ docker stop --time=1 a339ceb0c17f024a5382d7fc98bfda63f64ae56cfaa9cbe309d7a2c904150ea2 01:09:13 $ docker rm -f a339ceb0c17f024a5382d7fc98bfda63f64ae56cfaa9cbe309d7a2c904150ea2 [Pipeline] // withDockerContainer [Pipeline] sh 01:09:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:09:14 Stashed 1 file(s) [Pipeline] echo 01:09:14 [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 01:09:14 provisioning config files... 01:09:14 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/oundry_device-rfid-llrp-go_PR-65@tmp/config4220206649154589283tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:09:14 ---> docker-login.sh 01:09:14 nexus3.edgexfoundry.org:10001 01:09:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:14 Configure a credential helper to remove this warning. See 01:09:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:14 01:09:14 Login Succeeded 01:09:14 nexus3.edgexfoundry.org:10002 01:09:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:14 Configure a credential helper to remove this warning. See 01:09:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:14 01:09:14 Login Succeeded 01:09:14 nexus3.edgexfoundry.org:10003 01:09:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:14 Configure a credential helper to remove this warning. See 01:09:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:14 01:09:14 Login Succeeded 01:09:14 nexus3.edgexfoundry.org:10004 01:09:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:15 Configure a credential helper to remove this warning. See 01:09:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:15 01:09:15 Login Succeeded 01:09:15 docker.io 01:09:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:09:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:09:15 Configure a credential helper to remove this warning. See 01:09:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:09:15 01:09:15 Login Succeeded 01:09:15 ---> docker-login.sh ends [Pipeline] } 01:09:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:09:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:09:15 ========================================================= 01:09:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 01:09:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 01:09:15 + 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 . 01:09:15 Sending build context to Docker daemon 1.747MB 01:09:15 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 01:09:15 Step 2/12 : FROM ${BASE} AS builder 01:09:15 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 01:09:15 59bf1c3509f3: Pulling fs layer 01:09:15 666ba61612fd: Pulling fs layer 01:09:15 8ed8ca486205: Pulling fs layer 01:09:15 4fe6c5a15a65: Pulling fs layer 01:09:15 22a0e8bec74d: Pulling fs layer 01:09:15 640e595b4fbd: Pulling fs layer 01:09:15 763cafe07f6e: Pulling fs layer 01:09:15 0c0b528cf693: Pulling fs layer 01:09:15 10935f4eaf8b: Pulling fs layer 01:09:15 4fe6c5a15a65: Waiting 01:09:15 22a0e8bec74d: Waiting 01:09:15 640e595b4fbd: Waiting 01:09:15 0c0b528cf693: Waiting 01:09:15 763cafe07f6e: Waiting 01:09:15 10935f4eaf8b: Waiting 01:09:15 8ed8ca486205: Verifying Checksum 01:09:15 8ed8ca486205: Download complete 01:09:15 666ba61612fd: Verifying Checksum 01:09:15 666ba61612fd: Download complete 01:09:15 22a0e8bec74d: Verifying Checksum 01:09:15 22a0e8bec74d: Download complete 01:09:15 640e595b4fbd: Download complete 01:09:16 763cafe07f6e: Verifying Checksum 01:09:16 763cafe07f6e: Download complete 01:09:16 59bf1c3509f3: Verifying Checksum 01:09:16 59bf1c3509f3: Download complete 01:09:16 0c0b528cf693: Verifying Checksum 01:09:16 0c0b528cf693: Download complete 01:09:16 59bf1c3509f3: Pull complete 01:09:16 666ba61612fd: Pull complete 01:09:16 8ed8ca486205: Pull complete 01:09:16 10935f4eaf8b: Verifying Checksum 01:09:16 10935f4eaf8b: Download complete 01:09:16 4fe6c5a15a65: Download complete 01:09:21 4fe6c5a15a65: Pull complete 01:09:21 22a0e8bec74d: Pull complete 01:09:21 640e595b4fbd: Pull complete 01:09:21 763cafe07f6e: Pull complete 01:09:21 0c0b528cf693: Pull complete 01:09:23 10935f4eaf8b: Pull complete 01:09:23 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 01:09:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 01:09:23 ---> 99d49a6021b9 01:09:23 Step 3/12 : ARG MAKE='make build' 01:09:25 ---> Running in 7c3c8889e429 01:09:25 Removing intermediate container 7c3c8889e429 01:09:25 ---> ba9dff975087 01:09:25 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 01:09:25 ---> Running in 1a772d19b6ca 01:09:25 Removing intermediate container 1a772d19b6ca 01:09:25 ---> c52cd6461990 01:09:25 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 01:09:25 ---> Running in 95cb442a8f69 01:09:25 Removing intermediate container 95cb442a8f69 01:09:25 ---> 2fb79bd67895 01:09:25 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:09:25 ---> Running in ac2ae1ceceb0 01:09:26 Removing intermediate container ac2ae1ceceb0 01:09:26 ---> f1c0f83f8966 01:09:26 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:09:26 ---> Running in fad670239a59 01:09:26 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:09:27 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:09:27 OK: 221 MiB in 52 packages 01:09:28 Removing intermediate container fad670239a59 01:09:28 ---> f4d40195cfc1 01:09:28 Step 8/12 : WORKDIR /app 01:09:28 ---> Running in 4019d5355982 01:09:28 Removing intermediate container 4019d5355982 01:09:28 ---> e9125ebd67f6 01:09:28 Step 9/12 : COPY go.mod vendor* ./ 01:09:28 ---> 5247261c9022 01:09:28 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:09:28 ---> Running in 281b7a82daa7 01:09:29 Still waiting to schedule task 01:09:29 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 01:09:55 Removing intermediate container 281b7a82daa7 01:09:55 ---> 0926b8aaa5ef 01:09:55 Step 11/12 : COPY . . 01:09:55 ---> 70297a9c78bb 01:09:55 Step 12/12 : RUN $MAKE 01:09:55 ---> Running in d63a6a1ad623 01:09:55 noop 01:09:55 Removing intermediate container d63a6a1ad623 01:09:55 ---> 0d743ed360c4 01:09:55 Successfully built 0d743ed360c4 01:09:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 01:09:56 + docker inspect -f . ci-base-image-x86_64 01:09:56 . [Pipeline] withDockerContainer 01:09:56 prd-ubuntu20.04-docker-8c-8g-21548 does not seem to be running inside a container 01:09:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-rfid-llrp-go_PR-65 -v /w/workspace/oundry_device-rfid-llrp-go_PR-65:/w/workspace/oundry_device-rfid-llrp-go_PR-65:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-65@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-65@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 01:09:56 $ docker top 2c8ded6febcb859fa2670103280d1a367612591c5785bc737bb55bed2ad8c2d5 -eo pid,comm [Pipeline] { [Pipeline] sh 01:09:57 + go version 01:09:57 go version go1.17.6 linux/amd64 [Pipeline] } 01:09:57 $ docker stop --time=1 2c8ded6febcb859fa2670103280d1a367612591c5785bc737bb55bed2ad8c2d5 01:09:58 $ docker rm -f 2c8ded6febcb859fa2670103280d1a367612591c5785bc737bb55bed2ad8c2d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:09:58 + docker inspect -f . ci-base-image-x86_64 01:09:58 . [Pipeline] withDockerContainer 01:09:58 prd-ubuntu20.04-docker-8c-8g-21548 does not seem to be running inside a container 01:09:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-rfid-llrp-go_PR-65 -v /w/workspace/oundry_device-rfid-llrp-go_PR-65:/w/workspace/oundry_device-rfid-llrp-go_PR-65:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-65@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-65@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 01:09:59 $ docker top c836c517d6817a0bf18755c266fe34416e23298bdc492aa956ef76c0cb568f3a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:09:59 + make test 01:09:59 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:09:59 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 01:10:08 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 01:10:08 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 01:10:13 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 4.260s coverage: 39.3% of statements 01:10:13 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.262s coverage: 52.0% of statements 01:10:13 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.041s coverage: 94.6% of statements 01:10:19 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:10:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:10:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:10:23 ./bin/test-attribution-txt.sh [Pipeline] echo 01:10:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:10:23 $ docker stop --time=1 c836c517d6817a0bf18755c266fe34416e23298bdc492aa956ef76c0cb568f3a 01:10:25 $ docker rm -f c836c517d6817a0bf18755c266fe34416e23298bdc492aa956ef76c0cb568f3a [Pipeline] // withDockerContainer [Pipeline] sh 01:10:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:10:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:10:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:10:26 + ls -al . 01:10:26 total 644 01:10:26 drwxrwxr-x 11 jenkins jenkins 4096 Apr 21 01:10 . 01:10:26 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 01:08 .. 01:10:26 -rw-rw-r-- 1 jenkins jenkins 134 Apr 21 01:08 .dockerignore 01:10:26 drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 01:09 .git 01:10:26 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 01:08 .github 01:10:26 -rw-rw-r-- 1 jenkins jenkins 946 Apr 21 01:08 .gitignore 01:10:26 -rw-rw-r-- 1 jenkins jenkins 41 Apr 21 01:08 .golangci.yml 01:10:26 drwx------ 3 jenkins jenkins 4096 Apr 21 01:09 .semver 01:10:26 -rw-rw-r-- 1 jenkins jenkins 9072 Apr 21 01:08 Attribution.txt 01:10:26 -rw-rw-r-- 1 jenkins jenkins 1514 Apr 21 01:08 Dockerfile 01:10:26 -rw-rw-r-- 1 jenkins jenkins 677 Apr 21 01:08 GOVERNANCE.md 01:10:26 -rw-rw-r-- 1 jenkins jenkins 683 Apr 21 01:08 Jenkinsfile 01:10:26 -rw-rw-r-- 1 jenkins jenkins 11347 Apr 21 01:08 LICENSE 01:10:26 -rw-rw-r-- 1 jenkins jenkins 1435 Apr 21 01:08 Makefile 01:10:26 -rw-rw-r-- 1 jenkins jenkins 625 Apr 21 01:08 OWNERS.md 01:10:26 -rw-rw-r-- 1 jenkins jenkins 28508 Apr 21 01:08 README.md 01:10:26 -rw-rw-r-- 1 jenkins jenkins 5 Apr 21 01:09 VERSION 01:10:26 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 01:08 bin 01:10:26 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 01:08 cmd 01:10:26 -rw-r--r-- 1 jenkins jenkins 460394 Apr 21 01:10 coverage.out 01:10:26 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 01:08 examples 01:10:26 -rw-rw-r-- 1 jenkins jenkins 2899 Apr 21 01:08 go.mod 01:10:26 -rw-rw-r-- 1 jenkins jenkins 49235 Apr 21 01:08 go.sum 01:10:26 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 01:08 images 01:10:26 drwxrwxr-x 5 jenkins jenkins 4096 Apr 21 01:08 internal 01:10:26 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 01:08 snap 01:10:26 -rw-rw-r-- 1 jenkins jenkins 193 Apr 21 01:08 version.go [Pipeline] isUnix [Pipeline] sh 01:10:27 + 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=5042bc3ba512a63817f90d3fbb83661ec690dd4b --label arch=amd64 --label version=0.0.0 . 01:10:27 Sending build context to Docker daemon 1.747MB 01:10:27 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 01:10:27 Step 2/25 : FROM ${BASE} AS builder 01:10:27 ---> 0d743ed360c4 01:10:27 Step 3/25 : ARG MAKE='make build' 01:10:27 ---> Running in 542ff924ccd8 01:10:27 Removing intermediate container 542ff924ccd8 01:10:27 ---> bad6e3dfb50e 01:10:27 Step 4/25 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 01:10:27 ---> Running in 762cbaca5fd4 01:10:27 Removing intermediate container 762cbaca5fd4 01:10:27 ---> e4e45440726b 01:10:27 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 01:10:27 ---> Running in 42c3e24652ec 01:10:27 Removing intermediate container 42c3e24652ec 01:10:27 ---> d8c40a159708 01:10:27 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:10:27 ---> Running in b471567c5bc0 01:10:28 Removing intermediate container b471567c5bc0 01:10:28 ---> c45bf00981bd 01:10:28 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:10:28 ---> Running in 3b967c160b44 01:10:28 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:10:29 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:10:29 OK: 221 MiB in 52 packages 01:10:29 Removing intermediate container 3b967c160b44 01:10:29 ---> 65f948e8e75e 01:10:29 Step 8/25 : WORKDIR /app 01:10:29 ---> Running in d30dc3358468 01:10:30 Removing intermediate container d30dc3358468 01:10:30 ---> 0b3909c86ba3 01:10:30 Step 9/25 : COPY go.mod vendor* ./ 01:10:30 ---> 09ebc0b3f56e 01:10:30 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:10:30 ---> Running in ba08ac5e69a7 01:10:31 Removing intermediate container ba08ac5e69a7 01:10:31 ---> 68c60dced1f3 01:10:31 Step 11/25 : COPY . . 01:10:31 ---> 340b22f52bd7 01:10:31 Step 12/25 : RUN $MAKE 01:10:31 ---> Running in 8025ce02e31f 01:10:31 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 01:10:39 Removing intermediate container 8025ce02e31f 01:10:39 ---> 626806876964 01:10:39 Step 13/25 : FROM alpine:3.14 01:10:40 3.14: Pulling from library/alpine 01:10:40 8663204ce13b: Pulling fs layer 01:10:40 8663204ce13b: Verifying Checksum 01:10:40 8663204ce13b: Download complete 01:10:40 8663204ce13b: Pull complete 01:10:40 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 01:10:40 Status: Downloaded newer image for alpine:3.14 01:10:40 ---> e04c818066af 01:10:40 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 01:10:40 ---> Running in baeca6021977 01:10:41 Removing intermediate container baeca6021977 01:10:41 ---> 97c57bfb0938 01:10:41 Step 15/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:10:41 ---> Running in d544c9ea0a1d 01:10:41 Removing intermediate container d544c9ea0a1d 01:10:41 ---> 3e164ee287c5 01:10:41 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 01:10:41 ---> Running in 7d6b2f6cce32 01:10:42 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 01:10:43 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 01:10:43 (1/6) Installing dumb-init (1.2.5-r1) 01:10:43 (2/6) Installing libgcc (10.3.1_git20210424-r2) 01:10:43 (3/6) Installing libsodium (1.0.18-r0) 01:10:43 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 01:10:43 (5/6) Installing libzmq (4.3.4-r0) 01:10:43 (6/6) Installing zeromq (4.3.4-r0) 01:10:43 Executing busybox-1.33.1-r7.trigger 01:10:43 OK: 8 MiB in 20 packages 01:10:44 Removing intermediate container 7d6b2f6cce32 01:10:44 ---> 7d13d9aa9bb9 01:10:44 Step 17/25 : COPY --from=builder /app/LICENSE / 01:10:44 ---> 6ba57638a07e 01:10:44 Step 18/25 : COPY --from=builder /app/Attribution.txt / 01:10:44 ---> 31c31a9b6319 01:10:44 Step 19/25 : COPY --from=builder /app/cmd/ / 01:10:44 ---> 947d79426464 01:10:44 Step 20/25 : EXPOSE 59989 01:10:44 ---> Running in 64f38f675e64 01:10:44 Removing intermediate container 64f38f675e64 01:10:44 ---> bbb401bac1ff 01:10:44 Step 21/25 : ENTRYPOINT ["/device-rfid-llrp"] 01:10:44 ---> Running in a3d5d12cba22 01:10:44 Removing intermediate container a3d5d12cba22 01:10:44 ---> 48b6ef30fb6e 01:10:44 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 01:10:45 ---> Running in 8d0bb67333be 01:10:45 Removing intermediate container 8d0bb67333be 01:10:45 ---> 55cf893d548d 01:10:45 Step 23/25 : LABEL arch=amd64 01:10:45 ---> Running in 07e3f1e32f3a 01:10:45 Removing intermediate container 07e3f1e32f3a 01:10:45 ---> 138b7df4402e 01:10:45 Step 24/25 : LABEL git_sha=5042bc3ba512a63817f90d3fbb83661ec690dd4b 01:10:45 ---> Running in 930ddc22cde7 01:10:45 Removing intermediate container 930ddc22cde7 01:10:45 ---> 551b094fbc02 01:10:45 Step 25/25 : LABEL version=0.0.0 01:10:45 ---> Running in 7df056fbc27d 01:10:45 Removing intermediate container 7df056fbc27d 01:10:45 ---> b3fce28ea34e 01:10:45 [Warning] One or more build-args [ARCH] were not consumed 01:10:45 Successfully built b3fce28ea34e 01:10:45 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 01:10:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:10:45 01:10:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 01:10:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:10:46 latest: Pulling from edgex-lftools-log-publisher 01:10:46 5eb5b503b376: Pulling fs layer 01:10:46 5c69ac0246d0: Pulling fs layer 01:10:46 ec43610c2a17: Pulling fs layer 01:10:46 3a2ae6a8a46f: Pulling fs layer 01:10:46 33b1e0a273af: Pulling fs layer 01:10:46 5d3b04190fa2: Pulling fs layer 01:10:46 2f39f015ded8: Pulling fs layer 01:10:46 3a2ae6a8a46f: Waiting 01:10:46 5d3b04190fa2: Waiting 01:10:46 2f39f015ded8: Waiting 01:10:46 33b1e0a273af: Waiting 01:10:46 5c69ac0246d0: Download complete 01:10:46 3a2ae6a8a46f: Verifying Checksum 01:10:46 3a2ae6a8a46f: Download complete 01:10:46 33b1e0a273af: Verifying Checksum 01:10:46 33b1e0a273af: Download complete 01:10:46 5d3b04190fa2: Download complete 01:10:46 ec43610c2a17: Download complete 01:10:46 5eb5b503b376: Verifying Checksum 01:10:46 5eb5b503b376: Download complete 01:10:47 2f39f015ded8: Download complete 01:10:47 5eb5b503b376: Pull complete 01:10:47 5c69ac0246d0: Pull complete 01:10:48 ec43610c2a17: Pull complete 01:10:48 3a2ae6a8a46f: Pull complete 01:10:48 33b1e0a273af: Pull complete 01:10:48 5d3b04190fa2: Pull complete 01:10:52 2f39f015ded8: Pull complete 01:10:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:10:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:10:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 01:10:52 prd-ubuntu20.04-docker-8c-8g-21548 does not seem to be running inside a container 01:10:53 $ 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-65 -v /w/workspace/oundry_device-rfid-llrp-go_PR-65:/w/workspace/oundry_device-rfid-llrp-go_PR-65:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-65@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-65@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 01:10:54 $ docker top 7e0a71f651ae461cdc04c22a8e6dc69798ed590cf362edb0d733a92d94877018 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:10:55 ---> job-cost.sh 01:10:55 lf-activate-venv: SKIPPING 01:10:55 INFO: No Stack... 01:10:55 INFO: Retrieving Pricing Info for: v3-standard-8 01:10:56 INFO: Archiving Costs [Pipeline] sh 01:10:56 + + cut -d, -f6 01:10:56 cat /w/workspace/oundry_device-rfid-llrp-go_PR-65/archives/cost.csv [Pipeline] lock 01:10:56 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-65-3-stack-cost] 01:10:56 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-65-3-stack-cost] did not exist. Created. 01:10:56 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-65-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:10:56 + echo total: 0.2199999988079071 [Pipeline] stash 01:10:56 Stashed 1 file(s) [Pipeline] } 01:10:56 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-65-3-stack-cost] [Pipeline] // lock [Pipeline] } 01:10:56 $ docker stop --time=1 7e0a71f651ae461cdc04c22a8e6dc69798ed590cf362edb0d733a92d94877018 01:10:57 $ docker rm -f 7e0a71f651ae461cdc04c22a8e6dc69798ed590cf362edb0d733a92d94877018 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:13:12 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21550 in /w/workspace/oundry_device-rfid-llrp-go_PR-65 [Pipeline] { [Pipeline] ws 01:13:12 Running in /w/workspace/device-rfid-llrp-go/3 [Pipeline] { [Pipeline] checkout 01:13:12 Selected Git installation does not exist. Using Default 01:13:12 The recommended git tool is: NONE 01:13:18 using credential edgex-jenkins-ssh 01:13:18 Cloning the remote Git repository 01:13:19 Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git 01:13:19 > git init /w/workspace/device-rfid-llrp-go/3 # timeout=10 01:13:19 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 01:13:19 > git --version # timeout=10 01:13:19 > git --version # 'git version 2.25.1' 01:13:19 using GIT_SSH to set credentials SSH Credentials for GitHub 01:13:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:13:20 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 01:13:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:13:20 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 01:13:20 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 01:13:20 using GIT_SSH to set credentials SSH Credentials for GitHub 01:13:20 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/65/head:refs/remotes/origin/PR-65 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:13:20 Merging remotes/origin/main commit 8b44d22ccb04215a285fcb59312b26223b5ddbf5 into PR head commit 2d9b8506c97d509b1a4ca3b087cfa1db5dcd50a0 01:13:21 Merge succeeded, producing 01d8018d9370df1fac62385646e11aa1f1375cfb 01:13:21 Checking out Revision 01d8018d9370df1fac62385646e11aa1f1375cfb (PR-65) 01:13:20 > git config core.sparsecheckout # timeout=10 01:13:20 > git checkout -f 2d9b8506c97d509b1a4ca3b087cfa1db5dcd50a0 # timeout=10 01:13:20 > git remote # timeout=10 01:13:20 > git config --get remote.origin.url # timeout=10 01:13:20 using GIT_SSH to set credentials SSH Credentials for GitHub 01:13:20 > git merge 8b44d22ccb04215a285fcb59312b26223b5ddbf5 # timeout=10 01:13:20 > git rev-parse HEAD^{commit} # timeout=10 01:13:21 > git config core.sparsecheckout # timeout=10 01:13:21 > git checkout -f 01d8018d9370df1fac62385646e11aa1f1375cfb # timeout=10 01:13:25 Commit message: "Merge commit '8b44d22ccb04215a285fcb59312b26223b5ddbf5' into HEAD" 01:13:25 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:13:25 > git rev-list --no-walk feb6a9b1b553bf2aabffa2281c184605bd9ef318 # timeout=10 01:13:26 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:13:26 % Total % Received % Xferd Average Speed Time Time Time Current 01:13:26 Dload Upload Total Spent Left Speed 01:13:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 89045 0 --:--:-- --:--:-- --:--:-- 89045 [Pipeline] sh 01:13:26 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:13:27 + sudo tee /etc/docker/daemon.new 01:13:27 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:13:27 { 01:13:27 "registry-mirrors": [ 01:13:27 "https://nexus3.edgexfoundry.org:10001" 01:13:27 ], 01:13:27 "bip": "10.250.0.254/24", 01:13:27 "hosts": [ 01:13:27 "tcp://0.0.0.0:5555", 01:13:27 "unix:///var/run/docker.sock" 01:13:27 ], 01:13:27 "mtu": 1458, 01:13:27 "selinux-enabled": true, 01:13:27 "seccomp-profile": "/etc/docker/seccomp.json" 01:13:27 } [Pipeline] sh 01:13:27 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:13:27 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:13:46 provisioning config files... 01:13:46 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/device-rfid-llrp-go/3@tmp/config4566092889300045136tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:13:46 ---> docker-login.sh 01:13:46 nexus3.edgexfoundry.org:10001 01:13:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:13:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:13:47 Configure a credential helper to remove this warning. See 01:13:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:13:47 01:13:47 Login Succeeded 01:13:47 nexus3.edgexfoundry.org:10002 01:13:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:13:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:13:47 Configure a credential helper to remove this warning. See 01:13:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:13:47 01:13:47 Login Succeeded 01:13:47 nexus3.edgexfoundry.org:10003 01:13:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:13:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:13:48 Configure a credential helper to remove this warning. See 01:13:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:13:48 01:13:48 Login Succeeded 01:13:48 nexus3.edgexfoundry.org:10004 01:13:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:13:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:13:48 Configure a credential helper to remove this warning. See 01:13:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:13:48 01:13:48 Login Succeeded 01:13:48 docker.io 01:13:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:13:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:13:49 Configure a credential helper to remove this warning. See 01:13:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:13:49 01:13:49 Login Succeeded 01:13:49 ---> docker-login.sh ends [Pipeline] } 01:13:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:13:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:13:50 ========================================================= 01:13:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 01:13:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 01:13: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 . 01:13:50 Sending build context to Docker daemon 1.227MB 01:13:50 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 01:13:50 Step 2/12 : FROM ${BASE} AS builder 01:13:51 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:13:51 9b3977197b4f: Pulling fs layer 01:13:51 1a89e8eeedd5: Pulling fs layer 01:13:51 94645a83ff95: Pulling fs layer 01:13:51 3f3a8bcf1eab: Pulling fs layer 01:13:51 0c92f367c5e7: Pulling fs layer 01:13:51 f7c0051592d6: Pulling fs layer 01:13:51 a227ed2f7395: Pulling fs layer 01:13:51 7b1c46037f91: Pulling fs layer 01:13:51 f7c0051592d6: Waiting 01:13:51 a227ed2f7395: Waiting 01:13:51 7b1c46037f91: Waiting 01:13:51 3f3a8bcf1eab: Waiting 01:13:51 0c92f367c5e7: Waiting 01:13:51 94645a83ff95: Download complete 01:13:51 1a89e8eeedd5: Verifying Checksum 01:13:51 1a89e8eeedd5: Download complete 01:13:51 0c92f367c5e7: Verifying Checksum 01:13:51 0c92f367c5e7: Download complete 01:13:51 f7c0051592d6: Verifying Checksum 01:13:51 f7c0051592d6: Download complete 01:13:51 9b3977197b4f: Download complete 01:13:51 a227ed2f7395: Verifying Checksum 01:13:51 a227ed2f7395: Download complete 01:13:51 9b3977197b4f: Pull complete 01:13:52 1a89e8eeedd5: Pull complete 01:13:52 94645a83ff95: Pull complete 01:13:52 7b1c46037f91: Verifying Checksum 01:13:52 7b1c46037f91: Download complete 01:13:53 3f3a8bcf1eab: Verifying Checksum 01:13:53 3f3a8bcf1eab: Download complete 01:14:06 3f3a8bcf1eab: Pull complete 01:14:06 0c92f367c5e7: Pull complete 01:14:06 f7c0051592d6: Pull complete 01:14:06 a227ed2f7395: Pull complete 01:14:12 7b1c46037f91: Pull complete 01:14:12 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 01:14:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 01:14:12 ---> f79e39bc4007 01:14:12 Step 3/12 : ARG MAKE='make build' 01:14:13 ---> Running in 24cdffc160af 01:14:13 Removing intermediate container 24cdffc160af 01:14:13 ---> e600006774a7 01:14:13 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 01:14:13 ---> Running in 8123b388c3a8 01:14:14 Removing intermediate container 8123b388c3a8 01:14:14 ---> 7ed94de55f5b 01:14:14 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 01:14:14 ---> Running in 7061fa870368 01:14:14 Removing intermediate container 7061fa870368 01:14:14 ---> 34c74239fd5f 01:14:14 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:14:14 ---> Running in e3749caa628a 01:14:16 Removing intermediate container e3749caa628a 01:14:16 ---> b596a4f8668f 01:14:16 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:14:16 ---> Running in 5e0724747e3e 01:14:17 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 01:14:18 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 01:14:18 OK: 220 MiB in 52 packages 01:14:19 Removing intermediate container 5e0724747e3e 01:14:19 ---> 05e6c007a263 01:14:19 Step 8/12 : WORKDIR /app 01:14:19 ---> Running in a8b35e13ce1f 01:14:20 Removing intermediate container a8b35e13ce1f 01:14:20 ---> 0df20ec414c9 01:14:20 Step 9/12 : COPY go.mod vendor* ./ 01:14:20 ---> ecec5304e8fc 01:14:20 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:14:20 ---> Running in ac866711ea92 01:15:42 Removing intermediate container ac866711ea92 01:15:42 ---> 25f093bdf99a 01:15:42 Step 11/12 : COPY . . 01:15:42 ---> 4aedfee08499 01:15:42 Step 12/12 : RUN $MAKE 01:15:42 ---> Running in 82ecaf26e697 01:15:42 noop 01:15:42 Removing intermediate container 82ecaf26e697 01:15:42 ---> 9b036c939bd4 01:15:42 Successfully built 9b036c939bd4 01:15:42 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 01:15:42 + docker inspect -f . ci-base-image-arm64 01:15:42 . [Pipeline] withDockerContainer 01:15:43 prd-ubuntu20.04-docker-arm64-4c-16g-21550 does not seem to be running inside a container 01:15:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rfid-llrp-go/3 -v /w/workspace/device-rfid-llrp-go/3:/w/workspace/device-rfid-llrp-go/3:rw,z -v /w/workspace/device-rfid-llrp-go/3@tmp:/w/workspace/device-rfid-llrp-go/3@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 01:15:44 $ docker top 88c7e385681dba6450f2c837e5a2f189593e09ff84812b6ab7ba6005b4275bee -eo pid,comm [Pipeline] { [Pipeline] sh 01:15:45 + go version 01:15:45 go version go1.17.6 linux/arm64 [Pipeline] } 01:15:45 $ docker stop --time=1 88c7e385681dba6450f2c837e5a2f189593e09ff84812b6ab7ba6005b4275bee 01:15:47 $ docker rm -f 88c7e385681dba6450f2c837e5a2f189593e09ff84812b6ab7ba6005b4275bee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:15:47 + docker inspect -f . ci-base-image-arm64 01:15:47 . [Pipeline] withDockerContainer 01:15:47 prd-ubuntu20.04-docker-arm64-4c-16g-21550 does not seem to be running inside a container 01:15:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rfid-llrp-go/3 -v /w/workspace/device-rfid-llrp-go/3:/w/workspace/device-rfid-llrp-go/3:rw,z -v /w/workspace/device-rfid-llrp-go/3@tmp:/w/workspace/device-rfid-llrp-go/3@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 01:15:49 $ docker top 09185363ef57805a23df908d17557d66b7218933cd7c76ca12c0db39ce893d86 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:15:50 + make test 01:15:50 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:15:51 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 01:16:48 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 01:16:48 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 01:17:20 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 27.406s coverage: 39.3% of statements 01:17:20 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.530s coverage: 52.0% of statements 01:17:20 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.041s coverage: 95.5% of statements 01:17:20 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:17:20 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:17:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:17:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:17:39 ./bin/test-attribution-txt.sh [Pipeline] echo 01:17:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:17:42 $ docker stop --time=1 09185363ef57805a23df908d17557d66b7218933cd7c76ca12c0db39ce893d86 01:17:43 $ docker rm -f 09185363ef57805a23df908d17557d66b7218933cd7c76ca12c0db39ce893d86 [Pipeline] // withDockerContainer [Pipeline] sh 01:17:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:17:44 Warning: overwriting stash ‘coverage-report’ 01:17:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:17:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:17:46 + ls -al . 01:17:46 total 640 01:17:46 drwxrwxr-x 10 jenkins jenkins 4096 Apr 21 01:17 . 01:17:46 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 01:13 .. 01:17:46 -rw-rw-r-- 1 jenkins jenkins 134 Apr 21 01:13 .dockerignore 01:17:46 drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 01:13 .git 01:17:46 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 01:13 .github 01:17:46 -rw-rw-r-- 1 jenkins jenkins 946 Apr 21 01:13 .gitignore 01:17:46 -rw-rw-r-- 1 jenkins jenkins 41 Apr 21 01:13 .golangci.yml 01:17:46 -rw-rw-r-- 1 jenkins jenkins 9072 Apr 21 01:13 Attribution.txt 01:17:46 -rw-rw-r-- 1 jenkins jenkins 1514 Apr 21 01:13 Dockerfile 01:17:46 -rw-rw-r-- 1 jenkins jenkins 677 Apr 21 01:13 GOVERNANCE.md 01:17:46 -rw-rw-r-- 1 jenkins jenkins 683 Apr 21 01:13 Jenkinsfile 01:17:46 -rw-rw-r-- 1 jenkins jenkins 11347 Apr 21 01:13 LICENSE 01:17:46 -rw-rw-r-- 1 jenkins jenkins 1435 Apr 21 01:13 Makefile 01:17:46 -rw-rw-r-- 1 jenkins jenkins 625 Apr 21 01:13 OWNERS.md 01:17:46 -rw-rw-r-- 1 jenkins jenkins 28508 Apr 21 01:13 README.md 01:17:46 -rw-rw-r-- 1 jenkins jenkins 5 Apr 21 01:09 VERSION 01:17:46 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 01:13 bin 01:17:46 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 01:13 cmd 01:17:46 -rw-r--r-- 1 jenkins jenkins 460394 Apr 21 01:17 coverage.out 01:17:46 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 01:13 examples 01:17:46 -rw-rw-r-- 1 jenkins jenkins 2899 Apr 21 01:13 go.mod 01:17:46 -rw-rw-r-- 1 jenkins jenkins 49235 Apr 21 01:13 go.sum 01:17:46 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 01:13 images 01:17:46 drwxrwxr-x 5 jenkins jenkins 4096 Apr 21 01:13 internal 01:17:46 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 01:13 snap 01:17:46 -rw-rw-r-- 1 jenkins jenkins 193 Apr 21 01:13 version.go [Pipeline] isUnix [Pipeline] sh 01:17:46 + 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=01d8018d9370df1fac62385646e11aa1f1375cfb --label arch=arm64 --label version=0.0.0 . 01:17:46 Sending build context to Docker daemon 1.227MB 01:17:46 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 01:17:46 Step 2/25 : FROM ${BASE} AS builder 01:17:46 ---> 9b036c939bd4 01:17:46 Step 3/25 : ARG MAKE='make build' 01:17:47 ---> Running in 207c8a046545 01:17:47 Removing intermediate container 207c8a046545 01:17:47 ---> 55f3d4ddc4c8 01:17:47 Step 4/25 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 01:17:47 ---> Running in ed5b20c0d1ff 01:17:47 Removing intermediate container ed5b20c0d1ff 01:17:47 ---> 36b056c4167b 01:17:47 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 01:17:47 ---> Running in 3be52dfd0a87 01:17:48 Removing intermediate container 3be52dfd0a87 01:17:48 ---> fa75804846cb 01:17:48 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:17:48 ---> Running in 1ac6b7130e39 01:17:50 Removing intermediate container 1ac6b7130e39 01:17:50 ---> cc41a9c6ebd0 01:17:50 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:17:50 ---> Running in 9cc4f2017098 01:17:51 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 01:17:52 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 01:17:53 OK: 220 MiB in 52 packages 01:17:53 Removing intermediate container 9cc4f2017098 01:17:53 ---> ada80ff0ef3d 01:17:53 Step 8/25 : WORKDIR /app 01:17:53 ---> Running in 530f225d2f2b 01:17:54 Removing intermediate container 530f225d2f2b 01:17:54 ---> 651dd9c1c39c 01:17:54 Step 9/25 : COPY go.mod vendor* ./ 01:17:54 ---> 54e99be4f4b5 01:17:54 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:17:54 ---> Running in 09416c1ab31d 01:17:56 Removing intermediate container 09416c1ab31d 01:17:56 ---> 0a141246660a 01:17:56 Step 11/25 : COPY . . 01:17:57 ---> 96463ca2e528 01:17:57 Step 12/25 : RUN $MAKE 01:17:57 ---> Running in 0f52fc926954 01:17:58 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 01:18:45 Removing intermediate container 0f52fc926954 01:18:45 ---> 26b8ffcebdb0 01:18:45 Step 13/25 : FROM alpine:3.14 01:18:45 3.14: Pulling from library/alpine 01:18:45 455c02918c45: Pulling fs layer 01:18:45 455c02918c45: Download complete 01:18:45 455c02918c45: Pull complete 01:18:45 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 01:18:45 Status: Downloaded newer image for alpine:3.14 01:18:45 ---> ac73e934f311 01:18:45 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 01:18:45 ---> Running in 2d5d987382fe 01:18:45 Removing intermediate container 2d5d987382fe 01:18:45 ---> 26f625d9e731 01:18:45 Step 15/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:18:45 ---> Running in 34939c5f87c3 01:18:47 Removing intermediate container 34939c5f87c3 01:18:47 ---> c9bcf2fd47af 01:18:47 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 01:18:47 ---> Running in 4805282002b7 01:18:48 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 01:18:49 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 01:18:49 (1/6) Installing dumb-init (1.2.5-r1) 01:18:50 (2/6) Installing libgcc (10.3.1_git20210424-r2) 01:18:50 (3/6) Installing libsodium (1.0.18-r0) 01:18:50 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 01:18:50 (5/6) Installing libzmq (4.3.4-r0) 01:18:50 (6/6) Installing zeromq (4.3.4-r0) 01:18:50 Executing busybox-1.33.1-r7.trigger 01:18:50 OK: 8 MiB in 20 packages 01:18:51 Removing intermediate container 4805282002b7 01:18:51 ---> 0f0140832fd2 01:18:51 Step 17/25 : COPY --from=builder /app/LICENSE / 01:18:52 ---> cf4e357b775a 01:18:52 Step 18/25 : COPY --from=builder /app/Attribution.txt / 01:18:52 ---> 52e1d9227d88 01:18:52 Step 19/25 : COPY --from=builder /app/cmd/ / 01:18:54 ---> 4ddc1172c05e 01:18:54 Step 20/25 : EXPOSE 59989 01:18:54 ---> Running in eb6271faf816 01:18:54 Removing intermediate container eb6271faf816 01:18:54 ---> fef9448ce754 01:18:54 Step 21/25 : ENTRYPOINT ["/device-rfid-llrp"] 01:18:54 ---> Running in f4b6a653944b 01:18:54 Removing intermediate container f4b6a653944b 01:18:54 ---> 3d3a818a2d69 01:18:54 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 01:18:54 ---> Running in 015e37f52ec5 01:18:54 Removing intermediate container 015e37f52ec5 01:18:54 ---> 224e65aab782 01:18:54 Step 23/25 : LABEL arch=arm64 01:18:55 ---> Running in ee2292ca23cd 01:18:55 Removing intermediate container ee2292ca23cd 01:18:55 ---> a1ce221987ce 01:18:55 Step 24/25 : LABEL git_sha=01d8018d9370df1fac62385646e11aa1f1375cfb 01:18:55 ---> Running in 6818cf93e536 01:18:55 Removing intermediate container 6818cf93e536 01:18:55 ---> d4cf676a04fd 01:18:55 Step 25/25 : LABEL version=0.0.0 01:18:56 ---> Running in 71b846223c69 01:18:56 Removing intermediate container 71b846223c69 01:18:56 ---> 33455ec9ea3d 01:18:56 [Warning] One or more build-args [ARCH] were not consumed 01:18:56 Successfully built 33455ec9ea3d 01:18:56 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 01:18:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:18:56 01:18:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 01:18:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:18:58 arm64: Pulling from edgex-lftools-log-publisher 01:18:58 8998bd30e6a1: Pulling fs layer 01:18:58 04944245beec: Pulling fs layer 01:18:58 699f458cf7ca: Pulling fs layer 01:18:58 765212b225bb: Pulling fs layer 01:18:58 f23df028b6ca: Pulling fs layer 01:18:58 d65c8cfc05b1: Pulling fs layer 01:18:58 2437ff75d9bd: Pulling fs layer 01:18:58 765212b225bb: Waiting 01:18:58 f23df028b6ca: Waiting 01:18:58 d65c8cfc05b1: Waiting 01:18:58 2437ff75d9bd: Waiting 01:18:58 04944245beec: Download complete 01:18:58 765212b225bb: Verifying Checksum 01:18:58 765212b225bb: Download complete 01:18:58 f23df028b6ca: Verifying Checksum 01:18:58 f23df028b6ca: Download complete 01:18:58 d65c8cfc05b1: Verifying Checksum 01:18:58 d65c8cfc05b1: Download complete 01:18:58 699f458cf7ca: Verifying Checksum 01:18:58 699f458cf7ca: Download complete 01:18:59 8998bd30e6a1: Download complete 01:19:01 2437ff75d9bd: Verifying Checksum 01:19:01 2437ff75d9bd: Download complete 01:19:03 8998bd30e6a1: Pull complete 01:19:03 04944245beec: Pull complete 01:19:05 699f458cf7ca: Pull complete 01:19:05 765212b225bb: Pull complete 01:19:06 f23df028b6ca: Pull complete 01:19:06 d65c8cfc05b1: Pull complete 01:19:21 2437ff75d9bd: Pull complete 01:19:21 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:19:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:19:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 01:19:21 prd-ubuntu20.04-docker-arm64-4c-16g-21550 does not seem to be running inside a container 01:19:22 $ 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/3 -v /w/workspace/device-rfid-llrp-go/3:/w/workspace/device-rfid-llrp-go/3:rw,z -v /w/workspace/device-rfid-llrp-go/3@tmp:/w/workspace/device-rfid-llrp-go/3@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 01:19:25 $ docker top ac153be16395bbdfad35947fd0b4d943ccf42f0f8f4f08038764541a0a64eddc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:19:26 ---> job-cost.sh 01:19:26 lf-activate-venv: SKIPPING 01:19:26 INFO: No Stack... 01:19:26 INFO: Retrieving Pricing Info for: v3-standard-4 01:19:27 INFO: Archiving Costs [Pipeline] sh 01:19:28 + + cat /w/workspace/device-rfid-llrp-go/3/archives/cost.csvcut 01:19:28 -d, -f6 [Pipeline] lock 01:19:28 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-65-3-stack-cost] 01:19:28 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-65-3-stack-cost] did not exist. Created. 01:19:28 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-65-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:19:29 /w/workspace/device-rfid-llrp-go/3@tmp/durable-911d8c3e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:19:29 + echo total: 0.10999999940395355 [Pipeline] stash 01:19:29 Warning: overwriting stash ‘stack-cost’ 01:19:29 Stashed 1 file(s) [Pipeline] } 01:19:29 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-65-3-stack-cost] [Pipeline] // lock [Pipeline] } 01:19:29 $ docker stop --time=1 ac153be16395bbdfad35947fd0b4d943ccf42f0f8f4f08038764541a0a64eddc 01:19:31 $ docker rm -f ac153be16395bbdfad35947fd0b4d943ccf42f0f8f4f08038764541a0a64eddc [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 01:19:31 provisioning config files... 01:19:31 copy managed file [device-rfid-llrp-go-codecov-token] to file:/w/workspace/oundry_device-rfid-llrp-go_PR-65@tmp/config582517349079718826tmp [Pipeline] { [Pipeline] sh 01:19:32 + set +x 01:19:32 + + curlbash -s -s https://codecov.io/bash -- 01:19:32 01:19:32 01:19:32 _____ _ 01:19:32 / ____| | | 01:19:32 | | ___ __| | ___ ___ _____ __ 01:19:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:19:32 | |___| (_) | (_| | __/ (_| (_) \ V / 01:19:32 \_____\___/ \__,_|\___|\___\___/ \_/ 01:19:32 Bash-1.0.6 01:19:32 01:19:32 01:19:32 ==> git version 2.25.1 found 01:19:32 ==> 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 01:19:32 Release-Date: 2020-01-08 01:19:32 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:19:32 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:19:32 ==> Jenkins CI detected. 01:19:32 current dir:  /w/workspace/oundry_device-rfid-llrp-go_PR-65 01:19:32 project root: . 01:19:32 --> token set from env 01:19:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:19:32 ==> Running gcov in . (disable via -X gcov) 01:19:32 ==> Python coveragepy not found 01:19:32 ==> Searching for coverage reports in: 01:19:32 + . 01:19:32 -> Found 1 reports 01:19:32 ==> Detecting git/mercurial file structure 01:19:32 ==> Reading reports 01:19:32 + ./coverage.out bytes=460394 01:19:32 ==> Appending adjustments 01:19:32 https://docs.codecov.io/docs/fixing-reports 01:19:32 + Found adjustments 01:19:32 ==> Gzipping contents 01:19:32 52K /tmp/codecov.RWAFy0.gz 01:19:32 ==> Uploading reports 01:19:32 url: https://codecov.io 01:19:32 query: branch=PR-65&commit=5042bc3ba512a63817f90d3fbb83661ec690dd4b&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-65%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=65&job=&cmd_args= 01:19:32 -> Pinging Codecov 01:19:32 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-65&commit=5042bc3ba512a63817f90d3fbb83661ec690dd4b&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-65%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=65&job=&cmd_args= 01:19:33 -> Uploading to 01:19:33 https://storage.googleapis.com/codecov/v4/raw/2022-04-21/581DD39554BDF9B6E22D074273EAD858/5042bc3ba512a63817f90d3fbb83661ec690dd4b/d2613c45-4a3f-453d-97c7-b8e6aa109329.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220421%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220421T011932Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=689396488349991cb608f5e03ecf8a689b997e55452ff09799849fa83b576d31 01:19:33 % Total % Received % Xferd Average Speed Time Time Time Current 01:19:33 Dload Upload Total Spent Left Speed 01:19:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51816 0 0 100 51816 0 228k --:--:-- --:--:-- --:--:-- 227k 100 51816 0 0 100 51816 0 212k --:--:-- --:--:-- --:--:-- 211k 01:19:33 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/5042bc3ba512a63817f90d3fbb83661ec690dd4b [Pipeline] } 01:19:33 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 01:19:34 + [ -d /w/workspace/oundry_device-rfid-llrp-go_PR-65/archives ] 01:19:34 + ls -al /w/workspace/oundry_device-rfid-llrp-go_PR-65/archives 01:19:34 total 16 01:19:34 drwxr-xr-x 3 root root 4096 Apr 21 01:10 . 01:19:34 drwxrwxr-x 12 jenkins jenkins 4096 Apr 21 01:10 .. 01:19:34 drwxr-xr-x 2 root root 4096 Apr 21 01:10 cost 01:19:34 -rw-r--r-- 1 root root 89 Apr 21 01:10 cost.csv 01:19:34 + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-rfid-llrp-go_PR-65/archives 01:19:34 + ls -al /w/workspace/oundry_device-rfid-llrp-go_PR-65/archives 01:19:34 total 16 01:19:34 drwxr-xr-x 3 jenkins jenkins 4096 Apr 21 01:10 . 01:19:34 drwxrwxr-x 12 jenkins jenkins 4096 Apr 21 01:10 .. 01:19:34 drwxr-xr-x 2 jenkins jenkins 4096 Apr 21 01:10 cost 01:19:34 -rw-r--r-- 1 jenkins jenkins 89 Apr 21 01:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:19:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:19:35 ---> package-listing.sh 01:19:35 ++ facter osfamily 01:19:35 ++ tr '[:upper:]' '[:lower:]' 01:19:35 + OS_FAMILY=debian 01:19:35 + workspace=/w/workspace/oundry_device-rfid-llrp-go_PR-65 01:19:35 + START_PACKAGES=/tmp/packages_start.txt 01:19:35 + END_PACKAGES=/tmp/packages_end.txt 01:19:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:19:35 + PACKAGES=/tmp/packages_start.txt 01:19:35 + '[' /w/workspace/oundry_device-rfid-llrp-go_PR-65 ']' 01:19:35 + PACKAGES=/tmp/packages_end.txt 01:19:35 + case "${OS_FAMILY}" in 01:19:35 + dpkg -l 01:19:35 + grep '^ii' 01:19:35 + '[' -f /tmp/packages_start.txt ']' 01:19:35 + '[' -f /tmp/packages_end.txt ']' 01:19:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:19:35 + '[' /w/workspace/oundry_device-rfid-llrp-go_PR-65 ']' 01:19:35 + mkdir -p /w/workspace/oundry_device-rfid-llrp-go_PR-65/archives/ 01:19:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-rfid-llrp-go_PR-65/archives/ [Pipeline] echo 01:19:35 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-65/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:19:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 01:19:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:19:36 . [Pipeline] withDockerContainer 01:19:36 prd-ubuntu20.04-docker-8c-8g-21548 does not seem to be running inside a container 01:19:36 $ 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-65/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-65 -v /w/workspace/oundry_device-rfid-llrp-go_PR-65:/w/workspace/oundry_device-rfid-llrp-go_PR-65:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-65@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-65@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 01:19:36 $ docker top c60393923f61a55f23d65414e7df43c2e4731fed4ad5ea6551a33cfceca8e830 -eo pid,comm [Pipeline] { [Pipeline] sh 01:19:36 + touch /tmp/pre-build-complete [Pipeline] sh 01:19:37 + mkdir -p /var/log/sysstat [Pipeline] sh 01:19:37 + ls /var/log/sa-host 01:19:37 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:19:37 provisioning config files... 01:19:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-rfid-llrp-go_PR-65@tmp/config2411398176535905283tmp [Pipeline] { [Pipeline] echo 01:19:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:19:37 ---> create-netrc.sh [Pipeline] } 01:19:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:19:38 ---> python-tools-install.sh [Pipeline] echo 01:19:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:19:38 ---> sudo-logs.sh 01:19:38 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:19:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:19:38 ---> job-cost.sh 01:19:38 lf-activate-venv: SKIPPING 01:19:38 DEBUG: total: 0.2199999988079071 01:19:38 INFO: Retrieving Stack Cost... 01:19:39 INFO: Retrieving Pricing Info for: v3-standard-8 01:19:39 INFO: Archiving Costs [Pipeline] echo 01:19:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:19:40 ---> logs-deploy.sh 01:19:40 lf-activate-venv: SKIPPING 01:19:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rfid-llrp-go/PR-65/3 01:19:40 INFO: archiving workspace using pattern(s): 01:19:40 Archives upload complete. 01:19:41 INFO: archiving logs to Nexus