Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 101b75117e411bdd78502b3f1ca04c1dcd42e077+0614871e3cf69c5486cd4f4d882df759a86e1a4a (45f5478e7125b4dd82a08428eabc8d92c98e7fed) 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-ssh2378340133607088044.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh16779814666807138565.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-229/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.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-229/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13168228104307625872.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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 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-ssh13909607082400564244.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-229/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.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-229/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14542313692511877852.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 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.20 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-5371’ Running on prd-ubuntu20.04-docker-8c-8g-5379 in /w/workspace/undry_device-rfid-llrp-go_PR-229 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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/undry_device-rfid-llrp-go_PR-229 # 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 > 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 Merging remotes/origin/main commit 0614871e3cf69c5486cd4f4d882df759a86e1a4a into PR head commit 101b75117e411bdd78502b3f1ca04c1dcd42e077 Merge succeeded, producing 4ab45b89fe0f1b3be3cbdf575420d32d7c2a140e Checking out Revision 4ab45b89fe0f1b3be3cbdf575420d32d7c2a140e (PR-229) > 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/229/head:refs/remotes/origin/PR-229 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 101b75117e411bdd78502b3f1ca04c1dcd42e077 # 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 0614871e3cf69c5486cd4f4d882df759a86e1a4a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4ab45b89fe0f1b3be3cbdf575420d32d7c2a140e # timeout=10 Commit message: "Merge commit '0614871e3cf69c5486cd4f4d882df759a86e1a4a' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:08:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:08:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:08:28 ========================================================= 21:08:28 EdgeX Global Pipelines Version Info 21:08:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 7f081dff3a3a3e1998de599a04393195c22d3e74 # timeout=10 21:08:29 ------------------- 21:08:29 stable info: 21:08:29 ------------------- 21:08:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:08:29 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 21:08:29 Message: update stable to v1.0.253 21:08:30 ------------------- 21:08:30 experimental info: 21:08:30 ------------------- 21:08:30 Commited By: **** collab-it+edgex@linuxfoundation.org 21:08:30 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 21:08:30 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:08:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rfid-llrp-go-settings [Pipeline] echo 21:08:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-rfid-llrp-go [Pipeline] echo 21:08:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:08:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:08:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:08:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:08:30 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:08:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:08:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:08:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:08:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:08:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rfid-llrp [Pipeline] echo 21:08:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:08:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:08:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:08:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:08:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:08:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:08:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:08:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:08:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:08:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:08:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:08:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:08:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:08:30 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:08:30 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:08:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-229 [Pipeline] echo 21:08:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-229 [Pipeline] echo 21:08:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-229 [Pipeline] echo 21:08:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4ab45b89fe0f1b3be3cbdf575420d32d7c2a140e [Pipeline] echo 21:08:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4ab45b8 [Pipeline] echo 21:08:30 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:08:30 provisioning config files... 21:08:30 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/config16676236237778748025tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:08:31 ---> docker-login.sh 21:08:31 nexus3.edgexfoundry.org:10001 21:08:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:31 Configure a credential helper to remove this warning. See 21:08:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:31 21:08:31 Login Succeeded 21:08:31 nexus3.edgexfoundry.org:10002 21:08:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:31 Configure a credential helper to remove this warning. See 21:08:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:31 21:08:31 Login Succeeded 21:08:31 nexus3.edgexfoundry.org:10003 21:08:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:31 Configure a credential helper to remove this warning. See 21:08:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:31 21:08:31 Login Succeeded 21:08:31 nexus3.edgexfoundry.org:10004 21:08:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:31 Configure a credential helper to remove this warning. See 21:08:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:31 21:08:31 Login Succeeded 21:08:31 docker.io 21:08:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:32 Configure a credential helper to remove this warning. See 21:08:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:32 21:08:32 Login Succeeded 21:08:32 ---> docker-login.sh ends [Pipeline] } 21:08:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:08:32 + git rev-list -1 --merges 4ab45b89fe0f1b3be3cbdf575420d32d7c2a140e~1..4ab45b89fe0f1b3be3cbdf575420d32d7c2a140e [Pipeline] echo 21:08:32 -----------> git rev-list -1 --merges 4ab45b89fe0f1b3be3cbdf575420d32d7c2a140e~1..4ab45b89fe0f1b3be3cbdf575420d32d7c2a140e 4ab45b89fe0f1b3be3cbdf575420d32d7c2a140e 21:08:32 4ab45b89fe0f1b3be3cbdf575420d32d7c2a140e [false] [Pipeline] sh 21:08:32 + git log --format=format:%s -1 4ab45b89fe0f1b3be3cbdf575420d32d7c2a140e [Pipeline] echo 21:08:32 ========================================================= 21:08:32 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:08:32 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:08:33 + git log --format=format:%s -1 4ab45b89fe0f1b3be3cbdf575420d32d7c2a140e [Pipeline] echo 21:08:33 [semverPrep] GIT_COMMIT: 4ab45b89fe0f1b3be3cbdf575420d32d7c2a140e, Commit Message: Merge commit '0614871e3cf69c5486cd4f4d882df759a86e1a4a' into HEAD [Pipeline] echo 21:08:33 [semverPrep] This is not a build commit. [Pipeline] sh 21:08:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:08:33 + grep -v github /etc/ssh/ssh_known_hosts 21:08:33 + [ -e /tmp/ssh_known_hosts ] 21:08:33 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:08:33 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:08:33 + sudo tee -a /etc/ssh/ssh_known_hosts 21:08:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:08:34 21:08:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:08:34 0.1.4: Pulling from edgex-devops/py-git-semver 21:08:34 b85a868b505f: Pulling fs layer 21:08:34 e2be974225ed: Pulling fs layer 21:08:34 339a4e72a1f5: Pulling fs layer 21:08:34 988bab9f4d93: Pulling fs layer 21:08:34 1469e6f7b9e6: Pulling fs layer 21:08:34 eaf3925da568: Pulling fs layer 21:08:34 bab4dde63d76: Pulling fs layer 21:08:34 bde34c3a00c8: Pulling fs layer 21:08:34 b352a97aabf1: Pulling fs layer 21:08:34 4872d77fe225: Pulling fs layer 21:08:34 5851b861e8e6: Pulling fs layer 21:08:34 988bab9f4d93: Waiting 21:08:34 1469e6f7b9e6: Waiting 21:08:34 eaf3925da568: Waiting 21:08:34 bab4dde63d76: Waiting 21:08:34 bde34c3a00c8: Waiting 21:08:34 b352a97aabf1: Waiting 21:08:34 4872d77fe225: Waiting 21:08:34 5851b861e8e6: Waiting 21:08:34 e2be974225ed: Verifying Checksum 21:08:34 e2be974225ed: Download complete 21:08:34 988bab9f4d93: Download complete 21:08:34 339a4e72a1f5: Verifying Checksum 21:08:34 339a4e72a1f5: Download complete 21:08:34 1469e6f7b9e6: Verifying Checksum 21:08:34 1469e6f7b9e6: Download complete 21:08:34 eaf3925da568: Download complete 21:08:34 bde34c3a00c8: Download complete 21:08:34 b352a97aabf1: Download complete 21:08:34 4872d77fe225: Verifying Checksum 21:08:34 4872d77fe225: Download complete 21:08:34 5851b861e8e6: Verifying Checksum 21:08:34 5851b861e8e6: Download complete 21:08:34 b85a868b505f: Download complete 21:08:34 bab4dde63d76: Verifying Checksum 21:08:34 bab4dde63d76: Download complete 21:08:35 b85a868b505f: Pull complete 21:08:36 e2be974225ed: Pull complete 21:08:36 339a4e72a1f5: Pull complete 21:08:36 988bab9f4d93: Pull complete 21:08:36 1469e6f7b9e6: Pull complete 21:08:36 eaf3925da568: Pull complete 21:08:38 bab4dde63d76: Pull complete 21:08:38 bde34c3a00c8: Pull complete 21:08:38 b352a97aabf1: Pull complete 21:08:38 4872d77fe225: Pull complete 21:08:38 5851b861e8e6: Pull complete 21:08:38 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:08:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:08:38 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:38 prd-ubuntu20.04-docker-8c-8g-5379 does not seem to be running inside a container 21:08:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-rfid-llrp-go_PR-229 -v /w/workspace/undry_device-rfid-llrp-go_PR-229:/w/workspace/undry_device-rfid-llrp-go_PR-229:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-229@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-229@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-devops/py-git-semver:0.1.4 cat 21:08:41 $ docker top ec86f5d1fd03a4acbbb0975ee99a009b2a99ae56e4dc8e772d2c2eff22929bf6 -eo pid,comm 21:08:41 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:08:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:08:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:08:42 [ssh-agent] Looking for ssh-agent implementation... 21:08:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:08:42 $ docker exec ec86f5d1fd03a4acbbb0975ee99a009b2a99ae56e4dc8e772d2c2eff22929bf6 ssh-agent 21:08:42 SSH_AUTH_SOCK=/tmp/ssh-lFKNWBFnFpBZ/agent.32 21:08:42 SSH_AGENT_PID=38 21:08:42 Running ssh-add (command line suppressed) 21:08:42 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/private_key_17063099421560495843.key (/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/private_key_17063099421560495843.key) 21:08:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:08:42 + git tag --points-at HEAD [Pipeline] } 21:08:42 $ docker exec --env ******** --env ******** ec86f5d1fd03a4acbbb0975ee99a009b2a99ae56e4dc8e772d2c2eff22929bf6 ssh-agent -k 21:08:42 unset SSH_AUTH_SOCK; 21:08:42 unset SSH_AGENT_PID; 21:08:42 echo Agent pid 38 killed; 21:08:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:08:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:08:42 [ssh-agent] Looking for ssh-agent implementation... 21:08:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:08:42 $ docker exec ec86f5d1fd03a4acbbb0975ee99a009b2a99ae56e4dc8e772d2c2eff22929bf6 ssh-agent 21:08:42 SSH_AUTH_SOCK=/tmp/ssh-6IE1WevqhajJ/agent.70 21:08:42 SSH_AGENT_PID=77 21:08:42 Running ssh-add (command line suppressed) 21:08:43 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/private_key_8508485561368165273.key (/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/private_key_8508485561368165273.key) 21:08:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:08:43 + git semver init 21:08:43 2023-09-05 21:08:43,532 [run_init] DEBUG init version:0.0.0 force:False 21:08:43 2023-09-05 21:08:43,533 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-rfid-llrp-go_PR-229/.semver 21:08:43 2023-09-05 21:08:43,534 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rfid-llrp-go.git /w/workspace/undry_device-rfid-llrp-go_PR-229/.semver 21:08:43 2023-09-05 21:08:43,534 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rfid-llrp-go.git', '/w/workspace/undry_device-rfid-llrp-go_PR-229/.semver'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-229, universal_newlines=False, shell=None, istream=None) 21:08:44 2023-09-05 21:08:44,374 [append_file] DEBUG append to file:/w/workspace/undry_device-rfid-llrp-go_PR-229/.git/info/exclude 21:08:44 2023-09-05 21:08:44,375 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-rfid-llrp-go_PR-229/.semver/PR-229 with force:False 21:08:44 2023-09-05 21:08:44,375 [write_file] DEBUG write to file:/w/workspace/undry_device-rfid-llrp-go_PR-229/.semver/PR-229 21:08:44 2023-09-05 21:08:44,379 [execute] INFO git cat-file --batch-check 21:08:44 2023-09-05 21:08:44,380 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-229/.semver, universal_newlines=False, shell=None, istream=) 21:08:44 2023-09-05 21:08:44,387 [execute] INFO git cat-file --batch 21:08:44 2023-09-05 21:08:44,388 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-229/.semver, universal_newlines=False, shell=None, istream=) 21:08:44 2023-09-05 21:08:44,393 [read_version] DEBUG read version from /w/workspace/undry_device-rfid-llrp-go_PR-229/.semver/PR-229 21:08:44 0.0.0 [Pipeline] } 21:08:44 $ docker exec --env ******** --env ******** ec86f5d1fd03a4acbbb0975ee99a009b2a99ae56e4dc8e772d2c2eff22929bf6 ssh-agent -k 21:08:44 unset SSH_AUTH_SOCK; 21:08:44 unset SSH_AGENT_PID; 21:08:44 echo Agent pid 77 killed; 21:08:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:08:44 + git semver [Pipeline] } 21:08:45 $ docker stop --time=1 ec86f5d1fd03a4acbbb0975ee99a009b2a99ae56e4dc8e772d2c2eff22929bf6 21:08:46 $ docker rm -f --volumes ec86f5d1fd03a4acbbb0975ee99a009b2a99ae56e4dc8e772d2c2eff22929bf6 [Pipeline] // withDockerContainer [Pipeline] sh 21:08:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:08:47 Stashed 1 file(s) [Pipeline] echo 21:08:47 [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 21:08:47 provisioning config files... 21:08:47 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/config17518460966601581064tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:08:47 ---> docker-login.sh 21:08:47 nexus3.edgexfoundry.org:10001 21:08:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:47 Configure a credential helper to remove this warning. See 21:08:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:47 21:08:47 Login Succeeded 21:08:47 nexus3.edgexfoundry.org:10002 21:08:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:47 Configure a credential helper to remove this warning. See 21:08:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:47 21:08:47 Login Succeeded 21:08:47 nexus3.edgexfoundry.org:10003 21:08:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:47 Configure a credential helper to remove this warning. See 21:08:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:47 21:08:47 Login Succeeded 21:08:47 nexus3.edgexfoundry.org:10004 21:08:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:47 Configure a credential helper to remove this warning. See 21:08:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:47 21:08:47 Login Succeeded 21:08:47 docker.io 21:08:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:08:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:08:48 Configure a credential helper to remove this warning. See 21:08:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:08:48 21:08:48 Login Succeeded 21:08:48 ---> docker-login.sh ends [Pipeline] } 21:08:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:08:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:08:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:08:48 ========================================================= 21:08:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:08:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:48 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:08:48 Sending build context to Docker daemon 4.319MB 21:08:48 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:08:48 Step 2/12 : FROM ${BASE} AS builder 21:08:48 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:08:48 4db1b89c0bd1: Pulling fs layer 21:08:48 6911f1a30b25: Pulling fs layer 21:08:48 e194b8c5c2a9: Pulling fs layer 21:08:48 6863d3e3a2b1: Pulling fs layer 21:08:48 ec0bb842ea78: Pulling fs layer 21:08:48 40a00589a448: Pulling fs layer 21:08:48 6c08303d61cc: Pulling fs layer 21:08:48 798269fcf238: Pulling fs layer 21:08:48 6863d3e3a2b1: Waiting 21:08:48 ec0bb842ea78: Waiting 21:08:48 40a00589a448: Waiting 21:08:48 6c08303d61cc: Waiting 21:08:48 798269fcf238: Waiting 21:08:48 6911f1a30b25: Verifying Checksum 21:08:48 6911f1a30b25: Download complete 21:08:48 6863d3e3a2b1: Verifying Checksum 21:08:48 6863d3e3a2b1: Download complete 21:08:48 ec0bb842ea78: Verifying Checksum 21:08:48 ec0bb842ea78: Download complete 21:08:48 4db1b89c0bd1: Verifying Checksum 21:08:48 4db1b89c0bd1: Download complete 21:08:48 40a00589a448: Verifying Checksum 21:08:48 40a00589a448: Download complete 21:08:48 4db1b89c0bd1: Pull complete 21:08:48 6911f1a30b25: Pull complete 21:08:49 798269fcf238: Verifying Checksum 21:08:49 798269fcf238: Download complete 21:08:49 e194b8c5c2a9: Verifying Checksum 21:08:49 e194b8c5c2a9: Download complete 21:08:49 6c08303d61cc: Verifying Checksum 21:08:49 6c08303d61cc: Download complete 21:08:52 e194b8c5c2a9: Pull complete 21:08:52 6863d3e3a2b1: Pull complete 21:08:52 ec0bb842ea78: Pull complete 21:08:52 40a00589a448: Pull complete 21:08:54 6c08303d61cc: Pull complete 21:08:55 798269fcf238: Pull complete 21:08:55 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 21:08:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:08:55 ---> ec979cd7f677 21:08:55 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:09:00 ---> Running in 40d73bfdfcc3 21:09:00 Removing intermediate container 40d73bfdfcc3 21:09:00 ---> 91cf339e53b8 21:09:00 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:09:00 ---> Running in e336828f2d31 21:09:00 Removing intermediate container e336828f2d31 21:09:00 ---> eabffc87d6b9 21:09:00 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 21:09:00 ---> Running in 88e5e0628b6b 21:09:00 Removing intermediate container 88e5e0628b6b 21:09:00 ---> 1aa986a489c1 21:09:00 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:09:00 ---> Running in 1d16b1e75d5c 21:09:00 Removing intermediate container 1d16b1e75d5c 21:09:00 ---> 51d27233ffe1 21:09:00 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:09:00 ---> Running in 3e358d8b382d 21:09:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:09:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:09:01 OK: 265 MiB in 53 packages 21:09:01 Removing intermediate container 3e358d8b382d 21:09:01 ---> 67bea2bf4408 21:09:01 Step 8/12 : WORKDIR /app 21:09:01 ---> Running in 6d2c08e0608a 21:09:01 Removing intermediate container 6d2c08e0608a 21:09:01 ---> 1a49fddf79bb 21:09:01 Step 9/12 : COPY go.mod vendor* ./ 21:09:01 ---> a1b05b5cd07f 21:09:01 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:09:01 ---> Running in 2133484cdca8 21:09:02 Still waiting to schedule task 21:09:02 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5373’ 21:09:48 Removing intermediate container 2133484cdca8 21:09:48 ---> 7ab82f37c48c 21:09:48 Step 11/12 : COPY . . 21:09:48 ---> a54325683dbf 21:09:48 Step 12/12 : RUN $MAKE 21:09:48 ---> Running in b86c2b6c2578 21:09:48 noop 21:09:48 Removing intermediate container b86c2b6c2578 21:09:48 ---> 81feead65138 21:09:48 Successfully built 81feead65138 21:09:48 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:48 + docker inspect -f . ci-base-image-x86_64 21:09:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:48 prd-ubuntu20.04-docker-8c-8g-5379 does not seem to be running inside a container 21:09:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-rfid-llrp-go_PR-229 -v /w/workspace/undry_device-rfid-llrp-go_PR-229:/w/workspace/undry_device-rfid-llrp-go_PR-229:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-229@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-229@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 21:09:49 $ docker top 06ecc9da2906a8c5465543ac116efdd7cf58bf561e2a8d43d11a98c0c021a79f -eo pid,comm [Pipeline] { [Pipeline] sh 21:09:49 + go version 21:09:49 go version go1.20.6 linux/amd64 [Pipeline] } 21:09:49 $ docker stop --time=1 06ecc9da2906a8c5465543ac116efdd7cf58bf561e2a8d43d11a98c0c021a79f 21:09:50 $ docker rm -f --volumes 06ecc9da2906a8c5465543ac116efdd7cf58bf561e2a8d43d11a98c0c021a79f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:51 + docker inspect -f . ci-base-image-x86_64 21:09:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:51 prd-ubuntu20.04-docker-8c-8g-5379 does not seem to be running inside a container 21:09:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-rfid-llrp-go_PR-229 -v /w/workspace/undry_device-rfid-llrp-go_PR-229:/w/workspace/undry_device-rfid-llrp-go_PR-229:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-229@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-229@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 21:09:51 $ docker top 9f09ed8262c768744d06543653ed4cb4241f7514b25d6d2709805cbf7f0d14ed -eo pid,comm [Pipeline] { [Pipeline] sh 21:09:52 + git config --global --add safe.directory /w/workspace/undry_device-rfid-llrp-go_PR-229 [Pipeline] fileExists [Pipeline] sh 21:09:52 + make test 21:09:52 go test ./... -coverprofile=coverage.out ./... 21:09:56 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 21:10:08 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 21:10:08 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 21:10:11 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 3.661s coverage: 40.6% of statements 21:10:11 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.243s coverage: 51.9% of statements 21:10:11 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.009s coverage: 95.5% of statements 21:10:17 go vet ./... 21:10:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:10:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:10:22 ./bin/test-attribution-txt.sh [Pipeline] echo 21:10:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:10:22 $ docker stop --time=1 9f09ed8262c768744d06543653ed4cb4241f7514b25d6d2709805cbf7f0d14ed 21:10:24 $ docker rm -f --volumes 9f09ed8262c768744d06543653ed4cb4241f7514b25d6d2709805cbf7f0d14ed [Pipeline] // withDockerContainer [Pipeline] sh 21:10:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:10:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:10:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:10:26 + ls -al . 21:10:26 total 644 21:10:26 drwxrwxr-x 11 jenkins jenkins 4096 Sep 5 21:09 . 21:10:26 drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 21:08 .. 21:10:26 -rw-rw-r-- 1 jenkins jenkins 134 Sep 5 21:08 .dockerignore 21:10:26 drwxrwxr-x 8 jenkins jenkins 4096 Sep 5 21:08 .git 21:10:26 drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 21:08 .github 21:10:26 -rw-rw-r-- 1 jenkins jenkins 946 Sep 5 21:08 .gitignore 21:10:26 -rw-rw-r-- 1 jenkins jenkins 41 Sep 5 21:08 .golangci.yml 21:10:26 drwxr-xr-x 3 jenkins jenkins 4096 Sep 5 21:08 .semver 21:10:26 -rw-rw-r-- 1 jenkins jenkins 11980 Sep 5 21:08 Attribution.txt 21:10:26 -rw-rw-r-- 1 jenkins jenkins 10365 Sep 5 21:08 CHANGELOG.md 21:10:26 -rw-rw-r-- 1 jenkins jenkins 1347 Sep 5 21:08 Dockerfile 21:10:26 -rw-rw-r-- 1 jenkins jenkins 677 Sep 5 21:08 GOVERNANCE.md 21:10:26 -rw-rw-r-- 1 jenkins jenkins 683 Sep 5 21:08 Jenkinsfile 21:10:26 -rw-rw-r-- 1 jenkins jenkins 11347 Sep 5 21:08 LICENSE 21:10:26 -rw-rw-r-- 1 jenkins jenkins 2179 Sep 5 21:08 Makefile 21:10:26 -rw-rw-r-- 1 jenkins jenkins 625 Sep 5 21:08 OWNERS.md 21:10:26 -rw-rw-r-- 1 jenkins jenkins 29016 Sep 5 21:08 README.md 21:10:26 -rw-rw-r-- 1 jenkins jenkins 5 Sep 5 21:08 VERSION 21:10:26 drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 21:08 bin 21:10:26 drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 21:08 cmd 21:10:26 -rw-r--r-- 1 jenkins jenkins 459493 Sep 5 21:10 coverage.out 21:10:26 drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 21:08 examples 21:10:26 -rw-rw-r-- 1 jenkins jenkins 3876 Sep 5 21:08 go.mod 21:10:26 -rw-rw-r-- 1 jenkins jenkins 33758 Sep 5 21:08 go.sum 21:10:26 drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 21:08 images 21:10:26 drwxrwxr-x 5 jenkins jenkins 4096 Sep 5 21:08 internal 21:10:26 drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 21:08 snap 21:10:26 -rw-rw-r-- 1 jenkins jenkins 193 Sep 5 21:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:26 + 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=4ab45b89fe0f1b3be3cbdf575420d32d7c2a140e --label arch=amd64 --label version=0.0.0 . 21:10:26 Sending build context to Docker daemon 4.319MB 21:10:26 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 21:10:26 Step 2/24 : FROM ${BASE} AS builder 21:10:26 ---> 81feead65138 21:10:26 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:10:26 ---> Running in 763e2940f62c 21:10:26 Removing intermediate container 763e2940f62c 21:10:26 ---> a78eee17bb3d 21:10:26 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:10:26 ---> Running in 1e77f0e48cb8 21:10:26 Removing intermediate container 1e77f0e48cb8 21:10:26 ---> 40d9ee739462 21:10:26 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 21:10:26 ---> Running in 351d74d5fd3d 21:10:26 Removing intermediate container 351d74d5fd3d 21:10:26 ---> 0faad02526da 21:10:26 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 21:10:26 ---> Running in 85eb96cefc09 21:10:26 Removing intermediate container 85eb96cefc09 21:10:26 ---> 572671331788 21:10:26 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:10:26 ---> Running in 5abe654d9cd6 21:10:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:10:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:10:27 OK: 265 MiB in 53 packages 21:10:27 Removing intermediate container 5abe654d9cd6 21:10:27 ---> 7398bb45ac0c 21:10:27 Step 8/24 : WORKDIR /app 21:10:28 ---> Running in b16fee8c6b60 21:10:28 Removing intermediate container b16fee8c6b60 21:10:28 ---> c35ee4960c08 21:10:28 Step 9/24 : COPY go.mod vendor* ./ 21:10:28 ---> c7936e1908e5 21:10:28 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:10:28 ---> Running in f2838dd8c940 21:10:29 Removing intermediate container f2838dd8c940 21:10:29 ---> 96f1af987afb 21:10:29 Step 11/24 : COPY . . 21:10:29 ---> 22c985956a3a 21:10:29 Step 12/24 : RUN $MAKE 21:10:29 ---> Running in a85e352c1ea5 21:10:29 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rfid-llrp-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.18" -trimpath -mod=readonly -o cmd/device-rfid-llrp ./cmd 21:10:51 Removing intermediate container a85e352c1ea5 21:10:51 ---> 21edc650deae 21:10:51 Step 13/24 : FROM alpine:3.17 21:10:51 3.17: Pulling from library/alpine 21:10:51 9398808236ff: Pulling fs layer 21:10:51 9398808236ff: Download complete 21:10:51 9398808236ff: Pull complete 21:10:51 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 21:10:51 Status: Downloaded newer image for alpine:3.17 21:10:51 ---> 1e0b8b5322fc 21:10:51 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:10:51 ---> Running in b171e158959a 21:10:51 Removing intermediate container b171e158959a 21:10:51 ---> e81fa7c6871d 21:10:51 Step 15/24 : RUN apk add --update --no-cache dumb-init 21:10:51 ---> Running in 01e895153f52 21:10:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:10:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:10:51 (1/1) Installing dumb-init (1.2.5-r2) 21:10:51 Executing busybox-1.35.0-r29.trigger 21:10:51 OK: 7 MiB in 16 packages 21:10:51 Removing intermediate container 01e895153f52 21:10:51 ---> db39b67f6cf2 21:10:51 Step 16/24 : COPY --from=builder /app/LICENSE / 21:10:51 ---> 204030230848 21:10:51 Step 17/24 : COPY --from=builder /app/Attribution.txt / 21:10:51 ---> 8a099296ae9b 21:10:51 Step 18/24 : COPY --from=builder /app/cmd/ / 21:10:52 ---> 0b47d84bd348 21:10:52 Step 19/24 : EXPOSE 59989 21:10:52 ---> Running in 56f3c998227b 21:10:52 Removing intermediate container 56f3c998227b 21:10:52 ---> d5f2f06ec8ae 21:10:52 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 21:10:52 ---> Running in e9746c4cc67c 21:10:52 Removing intermediate container e9746c4cc67c 21:10:52 ---> 81a16ef2e57f 21:10:52 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:10:52 ---> Running in 0c7f0de9a6ac 21:10:52 Removing intermediate container 0c7f0de9a6ac 21:10:52 ---> 3fe4d28b7628 21:10:52 Step 22/24 : LABEL arch=amd64 21:10:52 ---> Running in 678fe8d71e6b 21:10:52 Removing intermediate container 678fe8d71e6b 21:10:52 ---> 3f0bd69a4160 21:10:52 Step 23/24 : LABEL git_sha=4ab45b89fe0f1b3be3cbdf575420d32d7c2a140e 21:10:52 ---> Running in 321a99bb0635 21:10:52 Removing intermediate container 321a99bb0635 21:10:52 ---> 098d53971c99 21:10:52 Step 24/24 : LABEL version=0.0.0 21:10:52 ---> Running in cc4b5dde8381 21:10:52 Removing intermediate container cc4b5dde8381 21:10:52 ---> a7c9d30a2100 21:10:52 [Warning] One or more build-args [ARCH] were not consumed 21:10:52 Successfully built a7c9d30a2100 21:10:52 Successfully tagged device-rfid-llrp:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 21:10:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:10:54 21:10:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:10:57 latest: Pulling from edgex-lftools-log-publisher 21:10:57 5eb5b503b376: Pulling fs layer 21:10:57 5c69ac0246d0: Pulling fs layer 21:10:57 ec43610c2a17: Pulling fs layer 21:10:57 3a2ae6a8a46f: Pulling fs layer 21:10:57 33b1e0a273af: Pulling fs layer 21:10:57 5d3b04190fa2: Pulling fs layer 21:10:57 2f39f015ded8: Pulling fs layer 21:10:57 33b1e0a273af: Waiting 21:10:57 5d3b04190fa2: Waiting 21:10:57 3a2ae6a8a46f: Waiting 21:10:57 2f39f015ded8: Waiting 21:10:58 5c69ac0246d0: Download complete 21:10:58 3a2ae6a8a46f: Download complete 21:10:58 33b1e0a273af: Verifying Checksum 21:10:58 33b1e0a273af: Download complete 21:10:58 5d3b04190fa2: Download complete 21:10:58 ec43610c2a17: Verifying Checksum 21:10:58 ec43610c2a17: Download complete 21:10:58 5eb5b503b376: Verifying Checksum 21:10:58 5eb5b503b376: Download complete 21:10:58 2f39f015ded8: Download complete 21:10:59 5eb5b503b376: Pull complete 21:10:59 5c69ac0246d0: Pull complete 21:10:59 ec43610c2a17: Pull complete 21:10:59 3a2ae6a8a46f: Pull complete 21:11:00 33b1e0a273af: Pull complete 21:11:00 5d3b04190fa2: Pull complete 21:11:04 2f39f015ded8: Pull complete 21:11:04 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:11:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:11:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:11:04 prd-ubuntu20.04-docker-8c-8g-5379 does not seem to be running inside a container 21:11:04 $ 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/undry_device-rfid-llrp-go_PR-229 -v /w/workspace/undry_device-rfid-llrp-go_PR-229:/w/workspace/undry_device-rfid-llrp-go_PR-229:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-229@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-229@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 21:11:09 $ docker top 60eb58f932bb91bbf367d538364894cebc304b79c24e65d144c716b00864a9c5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:11:10 ---> job-cost.sh 21:11:10 lf-activate-venv: SKIPPING 21:11:10 INFO: No Stack... 21:11:10 INFO: Retrieving Pricing Info for: v3-standard-8 21:11:10 INFO: Archiving Costs [Pipeline] sh 21:11:11 + cat /w/workspace/undry_device-rfid-llrp-go_PR-229/archives/cost.csv 21:11:11 + cut -d, -f6 [Pipeline] lock 21:11:11 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-14-stack-cost] 21:11:11 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-14-stack-cost] did not exist. Created. 21:11:11 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:11:11 + echo total: 0.2199999988079071 [Pipeline] stash 21:11:11 Stashed 1 file(s) [Pipeline] } 21:11:11 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-14-stack-cost] [Pipeline] // lock [Pipeline] } 21:11:11 $ docker stop --time=1 60eb58f932bb91bbf367d538364894cebc304b79c24e65d144c716b00864a9c5 21:11:12 $ docker rm -f --volumes 60eb58f932bb91bbf367d538364894cebc304b79c24e65d144c716b00864a9c5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:12:23 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5380 in /w/workspace/undry_device-rfid-llrp-go_PR-229 [Pipeline] { [Pipeline] ws 21:12:23 Running in /w/workspace/device-rfid-llrp-go/14 [Pipeline] { [Pipeline] checkout 21:12:23 The recommended git tool is: git 21:12:28 using credential edgex-jenkins-ssh 21:12:29 Cloning the remote Git repository 21:12:29 Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:12:29 > git init /w/workspace/device-rfid-llrp-go/14 # timeout=10 21:12:29 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:12:29 > git --version # timeout=10 21:12:29 > git --version # 'git version 2.25.1' 21:12:29 using GIT_SSH to set credentials SSH Credentials for GitHub 21:12:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:12:30 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 21:12:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:12:32 Merging remotes/origin/main commit 0614871e3cf69c5486cd4f4d882df759a86e1a4a into PR head commit 101b75117e411bdd78502b3f1ca04c1dcd42e077 21:12:31 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 21:12:31 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:12:31 using GIT_SSH to set credentials SSH Credentials for GitHub 21:12:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/229/head:refs/remotes/origin/PR-229 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:12:32 > git config core.sparsecheckout # timeout=10 21:12:32 > git checkout -f 101b75117e411bdd78502b3f1ca04c1dcd42e077 # timeout=10 21:12:32 > git remote # timeout=10 21:12:32 > git config --get remote.origin.url # timeout=10 21:12:32 using GIT_SSH to set credentials SSH Credentials for GitHub 21:12:32 > git merge 0614871e3cf69c5486cd4f4d882df759a86e1a4a # timeout=10 21:12:32 Merge succeeded, producing c34f995065b6fe0896b41cd85c69b750c2be6a38 21:12:32 Checking out Revision c34f995065b6fe0896b41cd85c69b750c2be6a38 (PR-229) 21:12:32 > git rev-parse HEAD^{commit} # timeout=10 21:12:32 > git config core.sparsecheckout # timeout=10 21:12:32 > git checkout -f c34f995065b6fe0896b41cd85c69b750c2be6a38 # timeout=10 21:12:36 Commit message: "Merge commit '0614871e3cf69c5486cd4f4d882df759a86e1a4a' into HEAD" 21:12:36 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:12:36 > git rev-list --no-walk 7f081dff3a3a3e1998de599a04393195c22d3e74 # timeout=10 21:12:36 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:12:36 % Total % Received % Xferd Average Speed Time Time Time Current 21:12:36 Dload Upload Total Spent Left Speed 21:12:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh 21:12:37 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:12:37 + sudo tee /etc/docker/daemon.new 21:12:37 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:12:37 { 21:12:37 "registry-mirrors": [ 21:12:37 "https://nexus3.edgexfoundry.org:10001" 21:12:37 ], 21:12:37 "bip": "10.250.0.254/24", 21:12:37 "hosts": [ 21:12:37 "tcp://0.0.0.0:5555", 21:12:37 "unix:///var/run/docker.sock" 21:12:37 ], 21:12:37 "mtu": 1458, 21:12:37 "selinux-enabled": true, 21:12:37 "seccomp-profile": "/etc/docker/seccomp.json" 21:12:37 } [Pipeline] sh 21:12:38 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:12:38 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:12:56 provisioning config files... 21:12:56 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/device-rfid-llrp-go/14@tmp/config8620713096862787752tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:12:57 ---> docker-login.sh 21:12:57 nexus3.edgexfoundry.org:10001 21:12:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:57 Configure a credential helper to remove this warning. See 21:12:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:57 21:12:57 Login Succeeded 21:12:57 nexus3.edgexfoundry.org:10002 21:12:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:59 Configure a credential helper to remove this warning. See 21:12:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:59 21:12:59 Login Succeeded 21:12:59 nexus3.edgexfoundry.org:10003 21:12:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:59 Configure a credential helper to remove this warning. See 21:12:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:59 21:12:59 Login Succeeded 21:12:59 nexus3.edgexfoundry.org:10004 21:12:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:13:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:13:00 Configure a credential helper to remove this warning. See 21:13:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:13:00 21:13:00 Login Succeeded 21:13:00 docker.io 21:13:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:13:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:13:00 Configure a credential helper to remove this warning. See 21:13:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:13:00 21:13:00 Login Succeeded 21:13:00 ---> docker-login.sh ends [Pipeline] } 21:13:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:13:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:13:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:13:00 ========================================================= 21:13:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:13:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:01 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:13:03 Sending build context to Docker daemon 1.218MB 21:13:03 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:13:03 Step 2/12 : FROM ${BASE} AS builder 21:13:03 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:13:03 edb6bdbacee9: Pulling fs layer 21:13:03 5f9638ab2659: Pulling fs layer 21:13:03 8d51d6327a98: Pulling fs layer 21:13:03 8b374f2dd631: Pulling fs layer 21:13:03 ec14aa9079de: Pulling fs layer 21:13:03 8b374f2dd631: Waiting 21:13:03 2f466654f4bb: Pulling fs layer 21:13:03 554e91adad29: Pulling fs layer 21:13:03 ec14aa9079de: Waiting 21:13:03 2f466654f4bb: Waiting 21:13:03 554e91adad29: Waiting 21:13:03 5f9638ab2659: Verifying Checksum 21:13:03 5f9638ab2659: Download complete 21:13:03 8b374f2dd631: Verifying Checksum 21:13:03 8b374f2dd631: Download complete 21:13:03 ec14aa9079de: Verifying Checksum 21:13:03 ec14aa9079de: Download complete 21:13:03 edb6bdbacee9: Verifying Checksum 21:13:04 edb6bdbacee9: Pull complete 21:13:04 554e91adad29: Verifying Checksum 21:13:04 554e91adad29: Download complete 21:13:04 5f9638ab2659: Pull complete 21:13:05 8d51d6327a98: Verifying Checksum 21:13:05 8d51d6327a98: Download complete 21:13:05 2f466654f4bb: Verifying Checksum 21:13:05 2f466654f4bb: Download complete 21:13:18 8d51d6327a98: Pull complete 21:13:18 8b374f2dd631: Pull complete 21:13:18 ec14aa9079de: Pull complete 21:13:23 2f466654f4bb: Pull complete 21:13:25 554e91adad29: Pull complete 21:13:25 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 21:13:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:13:25 ---> 1e15ea492957 21:13:25 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:13:27 ---> Running in 69f3eef88af4 21:13:27 Removing intermediate container 69f3eef88af4 21:13:27 ---> f106f86a9fa3 21:13:27 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:13:27 ---> Running in b349d08b0623 21:13:27 Removing intermediate container b349d08b0623 21:13:27 ---> 40fbad58dfaf 21:13:27 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 21:13:27 ---> Running in 3148014c4bb8 21:13:28 Removing intermediate container 3148014c4bb8 21:13:28 ---> 1d095f5197de 21:13:28 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:13:28 ---> Running in 75e4e2ab505b 21:13:28 Removing intermediate container 75e4e2ab505b 21:13:28 ---> 9c8c869412b3 21:13:28 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:13:28 ---> Running in 8d718d3fcc98 21:13:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:13:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:13:31 OK: 263 MiB in 53 packages 21:13:32 Removing intermediate container 8d718d3fcc98 21:13:32 ---> 31ac1edb1390 21:13:32 Step 8/12 : WORKDIR /app 21:13:32 ---> Running in 11854fb7284b 21:13:32 Removing intermediate container 11854fb7284b 21:13:32 ---> facef5445a15 21:13:32 Step 9/12 : COPY go.mod vendor* ./ 21:13:32 ---> 8ca80a72d08b 21:13:32 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:13:32 ---> Running in 1b8425d976df 21:14:40 Removing intermediate container 1b8425d976df 21:14:40 ---> 1fc5541abd76 21:14:40 Step 11/12 : COPY . . 21:14:40 ---> 9742695cf5e1 21:14:40 Step 12/12 : RUN $MAKE 21:14:40 ---> Running in 74ab1bf1dee5 21:14:41 noop 21:14:42 Removing intermediate container 74ab1bf1dee5 21:14:42 ---> b84c96ab3791 21:14:42 Successfully built b84c96ab3791 21:14:42 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:42 + docker inspect -f . ci-base-image-arm64 21:14:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:14:42 prd-ubuntu20.04-docker-arm64-4c-16g-5380 does not seem to be running inside a container 21:14:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rfid-llrp-go/14 -v /w/workspace/device-rfid-llrp-go/14:/w/workspace/device-rfid-llrp-go/14:rw,z -v /w/workspace/device-rfid-llrp-go/14@tmp:/w/workspace/device-rfid-llrp-go/14@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 21:14:43 $ docker top 2fe1892b0b8a3fb642da5e5f522bf1ae3193bb572726a70e7600ead2d681a1db -eo pid,comm [Pipeline] { [Pipeline] sh 21:14:44 + go version 21:14:44 go version go1.20.6 linux/arm64 [Pipeline] } 21:14:44 $ docker stop --time=1 2fe1892b0b8a3fb642da5e5f522bf1ae3193bb572726a70e7600ead2d681a1db 21:14:46 $ docker rm -f --volumes 2fe1892b0b8a3fb642da5e5f522bf1ae3193bb572726a70e7600ead2d681a1db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:14:46 + docker inspect -f . ci-base-image-arm64 21:14:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:14:46 prd-ubuntu20.04-docker-arm64-4c-16g-5380 does not seem to be running inside a container 21:14:47 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rfid-llrp-go/14 -v /w/workspace/device-rfid-llrp-go/14:/w/workspace/device-rfid-llrp-go/14:rw,z -v /w/workspace/device-rfid-llrp-go/14@tmp:/w/workspace/device-rfid-llrp-go/14@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 21:14:50 $ docker top 535eec73c14e1ccfcc62b6cc69833b640123438ee91aa995e73751a893328d9b -eo pid,comm [Pipeline] { [Pipeline] sh 21:14:50 + git config --global --add safe.directory /w/workspace/device-rfid-llrp-go/14 [Pipeline] fileExists [Pipeline] sh 21:14:51 + make test 21:14:51 go test ./... -coverprofile=coverage.out ./... 21:15:19 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 21:17:26 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 21:17:26 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 21:18:04 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 28.657s coverage: 40.6% of statements 21:18:04 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.588s coverage: 51.9% of statements 21:18:04 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.044s coverage: 94.6% of statements 21:18:04 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:18:04 go vet ./... 21:18:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:18:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:18:31 ./bin/test-attribution-txt.sh [Pipeline] echo 21:18:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:18:31 $ docker stop --time=1 535eec73c14e1ccfcc62b6cc69833b640123438ee91aa995e73751a893328d9b 21:18:33 $ docker rm -f --volumes 535eec73c14e1ccfcc62b6cc69833b640123438ee91aa995e73751a893328d9b [Pipeline] // withDockerContainer [Pipeline] sh 21:18:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:18:34 Warning: overwriting stash ‘coverage-report’ 21:18:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:18:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:18:36 + ls -al . 21:18:36 total 640 21:18:36 drwxrwxr-x 10 jenkins jenkins 4096 Sep 5 21:14 . 21:18:36 drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 21:12 .. 21:18:36 -rw-rw-r-- 1 jenkins jenkins 134 Sep 5 21:12 .dockerignore 21:18:36 drwxrwxr-x 8 jenkins jenkins 4096 Sep 5 21:12 .git 21:18:36 drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 21:12 .github 21:18:36 -rw-rw-r-- 1 jenkins jenkins 946 Sep 5 21:12 .gitignore 21:18:36 -rw-rw-r-- 1 jenkins jenkins 41 Sep 5 21:12 .golangci.yml 21:18:36 -rw-rw-r-- 1 jenkins jenkins 11980 Sep 5 21:12 Attribution.txt 21:18:36 -rw-rw-r-- 1 jenkins jenkins 10365 Sep 5 21:12 CHANGELOG.md 21:18:36 -rw-rw-r-- 1 jenkins jenkins 1347 Sep 5 21:12 Dockerfile 21:18:36 -rw-rw-r-- 1 jenkins jenkins 677 Sep 5 21:12 GOVERNANCE.md 21:18:36 -rw-rw-r-- 1 jenkins jenkins 683 Sep 5 21:12 Jenkinsfile 21:18:36 -rw-rw-r-- 1 jenkins jenkins 11347 Sep 5 21:12 LICENSE 21:18:36 -rw-rw-r-- 1 jenkins jenkins 2179 Sep 5 21:12 Makefile 21:18:36 -rw-rw-r-- 1 jenkins jenkins 625 Sep 5 21:12 OWNERS.md 21:18:36 -rw-rw-r-- 1 jenkins jenkins 29016 Sep 5 21:12 README.md 21:18:36 -rw-rw-r-- 1 jenkins jenkins 5 Sep 5 21:08 VERSION 21:18:36 drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 21:12 bin 21:18:36 drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 21:12 cmd 21:18:36 -rw-r--r-- 1 jenkins jenkins 459493 Sep 5 21:17 coverage.out 21:18:36 drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 21:12 examples 21:18:36 -rw-rw-r-- 1 jenkins jenkins 3876 Sep 5 21:12 go.mod 21:18:36 -rw-rw-r-- 1 jenkins jenkins 33758 Sep 5 21:12 go.sum 21:18:36 drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 21:12 images 21:18:36 drwxrwxr-x 5 jenkins jenkins 4096 Sep 5 21:12 internal 21:18:36 drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 21:12 snap 21:18:36 -rw-rw-r-- 1 jenkins jenkins 193 Sep 5 21:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:18:36 + 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=c34f995065b6fe0896b41cd85c69b750c2be6a38 --label arch=arm64 --label version=0.0.0 . 21:18:36 Sending build context to Docker daemon 1.218MB 21:18:36 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 21:18:36 Step 2/24 : FROM ${BASE} AS builder 21:18:36 ---> b84c96ab3791 21:18:36 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:18:36 ---> Running in 897d0c7584f6 21:18:37 Removing intermediate container 897d0c7584f6 21:18:37 ---> 852faf3a4907 21:18:37 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:18:37 ---> Running in cead96177b71 21:18:37 Removing intermediate container cead96177b71 21:18:37 ---> e9f9f5809572 21:18:37 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 21:18:37 ---> Running in 96884e464ef3 21:18:38 Removing intermediate container 96884e464ef3 21:18:38 ---> 87548e7299a5 21:18:38 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 21:18:38 ---> Running in 362e5ee25c50 21:18:39 Removing intermediate container 362e5ee25c50 21:18:39 ---> 218c06b70026 21:18:39 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:18:39 ---> Running in b80a1b26dc9e 21:18:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:18:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:18:42 OK: 263 MiB in 53 packages 21:18:42 Removing intermediate container b80a1b26dc9e 21:18:42 ---> 94f9979b2f46 21:18:42 Step 8/24 : WORKDIR /app 21:18:42 ---> Running in ad39ecd358ae 21:18:43 Removing intermediate container ad39ecd358ae 21:18:43 ---> 105aa6359863 21:18:43 Step 9/24 : COPY go.mod vendor* ./ 21:18:43 ---> 42c8993ab51e 21:18:43 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:18:43 ---> Running in 789c9762dd3a 21:18:45 Removing intermediate container 789c9762dd3a 21:18:45 ---> f523c1724787 21:18:45 Step 11/24 : COPY . . 21:18:46 ---> 8210bd399356 21:18:46 Step 12/24 : RUN $MAKE 21:18:46 ---> Running in 3be7fe810ea6 21:18:47 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rfid-llrp-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.18" -trimpath -mod=readonly -o cmd/device-rfid-llrp ./cmd 21:21:09 Removing intermediate container 3be7fe810ea6 21:21:09 ---> 7cc8d2883535 21:21:09 Step 13/24 : FROM alpine:3.17 21:21:09 3.17: Pulling from library/alpine 21:21:09 4060ece20d7a: Pulling fs layer 21:21:09 4060ece20d7a: Verifying Checksum 21:21:09 4060ece20d7a: Download complete 21:21:09 4060ece20d7a: Pull complete 21:21:09 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 21:21:09 Status: Downloaded newer image for alpine:3.17 21:21:09 ---> 8650cd65339b 21:21:09 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:21:09 ---> Running in 554dbcc34a77 21:21:09 Removing intermediate container 554dbcc34a77 21:21:09 ---> 786b01d22424 21:21:09 Step 15/24 : RUN apk add --update --no-cache dumb-init 21:21:09 ---> Running in 8814a0eac3ef 21:21:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:21:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:21:10 (1/1) Installing dumb-init (1.2.5-r2) 21:21:10 Executing busybox-1.35.0-r29.trigger 21:21:10 OK: 8 MiB in 16 packages 21:21:11 Removing intermediate container 8814a0eac3ef 21:21:11 ---> aa25090b69b5 21:21:11 Step 16/24 : COPY --from=builder /app/LICENSE / 21:21:12 ---> ca0224905b08 21:21:12 Step 17/24 : COPY --from=builder /app/Attribution.txt / 21:21:12 ---> c049168e2670 21:21:12 Step 18/24 : COPY --from=builder /app/cmd/ / 21:21:14 ---> c9f2e8a22861 21:21:14 Step 19/24 : EXPOSE 59989 21:21:14 ---> Running in b2eeda665312 21:21:14 Removing intermediate container b2eeda665312 21:21:14 ---> 40e2cf4a5cc9 21:21:14 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 21:21:14 ---> Running in c6b927eeee9e 21:21:14 Removing intermediate container c6b927eeee9e 21:21:14 ---> d2bd55717855 21:21:14 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:21:14 ---> Running in d37bfd3a0df8 21:21:14 Removing intermediate container d37bfd3a0df8 21:21:14 ---> 582876304705 21:21:14 Step 22/24 : LABEL arch=arm64 21:21:15 ---> Running in bea91c77e571 21:21:15 Removing intermediate container bea91c77e571 21:21:15 ---> 6bdf63935af3 21:21:15 Step 23/24 : LABEL git_sha=c34f995065b6fe0896b41cd85c69b750c2be6a38 21:21:15 ---> Running in c162945d5e9c 21:21:15 Removing intermediate container c162945d5e9c 21:21:15 ---> aa76add9bb52 21:21:15 Step 24/24 : LABEL version=0.0.0 21:21:15 ---> Running in b9bf25a10ccf 21:21:15 Removing intermediate container b9bf25a10ccf 21:21:15 ---> 6c5cda4fdf4b 21:21:15 [Warning] One or more build-args [ARCH] were not consumed 21:21:15 Successfully built 6c5cda4fdf4b 21:21:15 Successfully tagged device-rfid-llrp-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 21:21:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:21:16 21:21:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:21:16 arm64: Pulling from edgex-lftools-log-publisher 21:21:16 8998bd30e6a1: Pulling fs layer 21:21:16 04944245beec: Pulling fs layer 21:21:16 699f458cf7ca: Pulling fs layer 21:21:16 765212b225bb: Pulling fs layer 21:21:16 f23df028b6ca: Pulling fs layer 21:21:16 d65c8cfc05b1: Pulling fs layer 21:21:16 2437ff75d9bd: Pulling fs layer 21:21:16 d65c8cfc05b1: Waiting 21:21:16 2437ff75d9bd: Waiting 21:21:16 765212b225bb: Waiting 21:21:16 f23df028b6ca: Waiting 21:21:16 04944245beec: Verifying Checksum 21:21:16 04944245beec: Download complete 21:21:16 765212b225bb: Download complete 21:21:16 f23df028b6ca: Verifying Checksum 21:21:16 f23df028b6ca: Download complete 21:21:16 d65c8cfc05b1: Verifying Checksum 21:21:16 d65c8cfc05b1: Download complete 21:21:16 699f458cf7ca: Verifying Checksum 21:21:16 699f458cf7ca: Download complete 21:21:17 8998bd30e6a1: Verifying Checksum 21:21:17 8998bd30e6a1: Download complete 21:21:19 2437ff75d9bd: Download complete 21:21:21 8998bd30e6a1: Pull complete 21:21:21 04944245beec: Pull complete 21:21:23 699f458cf7ca: Pull complete 21:21:23 765212b225bb: Pull complete 21:21:23 f23df028b6ca: Pull complete 21:21:24 d65c8cfc05b1: Pull complete 21:21:39 2437ff75d9bd: Pull complete 21:21:39 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:21:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:21:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:21:39 prd-ubuntu20.04-docker-arm64-4c-16g-5380 does not seem to be running inside a container 21:21:39 $ 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/14 -v /w/workspace/device-rfid-llrp-go/14:/w/workspace/device-rfid-llrp-go/14:rw,z -v /w/workspace/device-rfid-llrp-go/14@tmp:/w/workspace/device-rfid-llrp-go/14@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 21:21:42 $ docker top 672e9ee3a87f52b94e2bd81d28d07dc1bef74f65653e02781b7e56dfd4229e66 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:21:43 ---> job-cost.sh 21:21:43 lf-activate-venv: SKIPPING 21:21:43 INFO: No Stack... 21:21:43 INFO: Retrieving Pricing Info for: v3-standard-4 21:21:44 INFO: Archiving Costs [Pipeline] sh 21:21:44 + cat /w/workspace/device-rfid-llrp-go/14/archives/cost.csv 21:21:44 + cut -d, -f6 [Pipeline] lock 21:21:44 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-14-stack-cost] 21:21:44 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-14-stack-cost] did not exist. Created. 21:21:44 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-14-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:21:45 /w/workspace/device-rfid-llrp-go/14@tmp/durable-1c3148d8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:21:46 + echo total: 0.10999999940395355 [Pipeline] stash 21:21:46 Warning: overwriting stash ‘stack-cost’ 21:21:46 Stashed 1 file(s) [Pipeline] } 21:21:46 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-229-14-stack-cost] [Pipeline] // lock [Pipeline] } 21:21:46 $ docker stop --time=1 672e9ee3a87f52b94e2bd81d28d07dc1bef74f65653e02781b7e56dfd4229e66 21:21:47 $ docker rm -f --volumes 672e9ee3a87f52b94e2bd81d28d07dc1bef74f65653e02781b7e56dfd4229e66 [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 21:21:48 provisioning config files... 21:21:48 copy managed file [device-rfid-llrp-go-codecov-token] to file:/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/config17850609214096587566tmp [Pipeline] { [Pipeline] sh 21:21:48 + set +x 21:21:48 + + bash -s -- 21:21:48 curl -s https://codecov.io/bash 21:21:48 21:21:48 _____ _ 21:21:48 / ____| | | 21:21:48 | | ___ __| | ___ ___ _____ __ 21:21:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:21:48 | |___| (_) | (_| | __/ (_| (_) \ V / 21:21:48 \_____\___/ \__,_|\___|\___\___/ \_/ 21:21:48 Bash-1.0.6 21:21:48 21:21:48 21:21:48 ==> git version 2.25.1 found 21:21:48 ==> 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 21:21:48 Release-Date: 2020-01-08 21:21:48 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:21:48 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:21:48 ==> Jenkins CI detected. 21:21:48 current dir:  /w/workspace/undry_device-rfid-llrp-go_PR-229 21:21:48 project root: . 21:21:48 --> token set from env 21:21:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:21:48 ==> Running gcov in . (disable via -X gcov) 21:21:48 ==> Python coveragepy not found 21:21:48 ==> Searching for coverage reports in: 21:21:48 + . 21:21:48 -> Found 1 reports 21:21:48 ==> Detecting git/mercurial file structure 21:21:48 ==> Reading reports 21:21:48 + ./coverage.out bytes=459493 21:21:48 ==> Appending adjustments 21:21:48 https://docs.codecov.io/docs/fixing-reports 21:21:48 + Found adjustments 21:21:48 ==> Gzipping contents 21:21:48 52K /tmp/codecov.0ZRjjU.gz 21:21:49 ==> Uploading reports 21:21:49 url: https://codecov.io 21:21:49 query: branch=PR-229&commit=4ab45b89fe0f1b3be3cbdf575420d32d7c2a140e&build=14&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-229%2F14%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=229&job=&cmd_args= 21:21:49 -> Pinging Codecov 21:21:49 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-229&commit=4ab45b89fe0f1b3be3cbdf575420d32d7c2a140e&build=14&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-229%2F14%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=229&job=&cmd_args= 21:21:49 -> Uploading to 21:21:49 https://storage.googleapis.com/codecov/v4/raw/2023-09-05/581DD39554BDF9B6E22D074273EAD858/4ab45b89fe0f1b3be3cbdf575420d32d7c2a140e/c8d8e25c-ae17-4df4-b0bc-c4f359ca1986.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230905%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230905T212149Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=eee5641fe437736df02de17ddabc42447c2c1e737251e5044ca5f6c264b4ef41 21:21:49 % Total % Received % Xferd Average Speed Time Time Time Current 21:21:49 Dload Upload Total Spent Left Speed 21:21:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 50515 0 0 100 50515 0 234k --:--:-- --:--:-- --:--:-- 234k 21:21:49 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/4ab45b89fe0f1b3be3cbdf575420d32d7c2a140e [Pipeline] } 21:21:49 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 21:21:50 + [ -d /w/workspace/undry_device-rfid-llrp-go_PR-229/archives ] 21:21:50 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-229/archives 21:21:50 total 16 21:21:50 drwxr-xr-x 3 root root 4096 Sep 5 21:11 . 21:21:50 drwxrwxr-x 12 jenkins jenkins 4096 Sep 5 21:11 .. 21:21:50 drwxr-xr-x 2 root root 4096 Sep 5 21:11 cost 21:21:50 -rw-r--r-- 1 root root 92 Sep 5 21:11 cost.csv 21:21:50 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-rfid-llrp-go_PR-229/archives 21:21:50 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-229/archives 21:21:50 total 16 21:21:50 drwxr-xr-x 3 jenkins jenkins 4096 Sep 5 21:11 . 21:21:50 drwxrwxr-x 12 jenkins jenkins 4096 Sep 5 21:11 .. 21:21:50 drwxr-xr-x 2 jenkins jenkins 4096 Sep 5 21:11 cost 21:21:50 -rw-r--r-- 1 jenkins jenkins 92 Sep 5 21:11 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:21:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:21:51 ---> package-listing.sh 21:21:51 ++ facter osfamily 21:21:51 ++ tr '[:upper:]' '[:lower:]' 21:21:51 + OS_FAMILY=debian 21:21:51 + workspace=/w/workspace/undry_device-rfid-llrp-go_PR-229 21:21:51 + START_PACKAGES=/tmp/packages_start.txt 21:21:51 + END_PACKAGES=/tmp/packages_end.txt 21:21:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:21:51 + PACKAGES=/tmp/packages_start.txt 21:21:51 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-229 ']' 21:21:51 + PACKAGES=/tmp/packages_end.txt 21:21:51 + case "${OS_FAMILY}" in 21:21:51 + dpkg -l 21:21:51 + grep '^ii' 21:21:51 + '[' -f /tmp/packages_start.txt ']' 21:21:51 + '[' -f /tmp/packages_end.txt ']' 21:21:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:21:51 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-229 ']' 21:21:51 + mkdir -p /w/workspace/undry_device-rfid-llrp-go_PR-229/archives/ 21:21:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-rfid-llrp-go_PR-229/archives/ [Pipeline] echo 21:21:51 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/undry_device-rfid-llrp-go_PR-229/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:21:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:21:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:21:52 prd-ubuntu20.04-docker-8c-8g-5379 does not seem to be running inside a container 21:21:52 $ 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/undry_device-rfid-llrp-go_PR-229/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-rfid-llrp-go_PR-229 -v /w/workspace/undry_device-rfid-llrp-go_PR-229:/w/workspace/undry_device-rfid-llrp-go_PR-229:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-229@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-229@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 21:21:52 $ docker top 0ceeb156a4b9f1894165fd6fbcdb9480fe5a6f8b4dfa62b2db840dd48d1b1571 -eo pid,comm [Pipeline] { [Pipeline] sh 21:21:53 + touch /tmp/pre-build-complete [Pipeline] sh 21:21:53 + mkdir -p /var/log/sysstat [Pipeline] sh 21:21:53 + ls /var/log/sa-host 21:21:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:21:53 provisioning config files... 21:21:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-229@tmp/config2396872524337022674tmp [Pipeline] { [Pipeline] echo 21:21:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:21:54 ---> create-netrc.sh [Pipeline] } 21:21:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:21:54 ---> python-tools-install.sh [Pipeline] echo 21:21:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:21:54 ---> sudo-logs.sh 21:21:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:21:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:21:54 ---> job-cost.sh 21:21:54 lf-activate-venv: SKIPPING 21:21:54 DEBUG: total: 0.2199999988079071 21:21:54 INFO: Retrieving Stack Cost... 21:21:55 INFO: Retrieving Pricing Info for: v3-standard-8 21:21:55 INFO: Archiving Costs [Pipeline] echo 21:21:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:21:56 ---> logs-deploy.sh 21:21:56 lf-activate-venv: SKIPPING 21:21:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rfid-llrp-go/PR-229/14 21:21:56 INFO: archiving workspace using pattern(s): 21:21:57 Archives upload complete. 21:21:57 INFO: archiving logs to Nexus