Pull request #232 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e6d2b0afecc9fa9461215d6e1faf3fff34702740+427759c4c8768a0667949273cf9123d5f3339a5e (bcd9935127fb8a54cd18094a8e3762a8da98fd1b) 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-ssh5283777181249766455.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh18157127006244615006.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-232/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-232/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2887341483728287358.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh69104645017875457.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-232/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-232/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15433077676902291598.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-16492 in /w/workspace/undry_device-rfid-llrp-go_PR-232 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git > git init /w/workspace/undry_device-rfid-llrp-go_PR-232 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 427759c4c8768a0667949273cf9123d5f3339a5e into PR head commit e6d2b0afecc9fa9461215d6e1faf3fff34702740 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/232/head:refs/remotes/origin/PR-232 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e6d2b0afecc9fa9461215d6e1faf3fff34702740 # timeout=10 Merge succeeded, producing e6d2b0afecc9fa9461215d6e1faf3fff34702740 Checking out Revision e6d2b0afecc9fa9461215d6e1faf3fff34702740 (PR-232) Commit message: "build(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 11:15:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 11:15:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 11:15:50 ========================================================= 11:15:50 EdgeX Global Pipelines Version Info 11:15:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 427759c4c8768a0667949273cf9123d5f3339a5e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e6d2b0afecc9fa9461215d6e1faf3fff34702740 # timeout=10 > git rev-list --no-walk ebe5667f3de7693a7b3afd4f85c44bf5ea4f2424 # timeout=10 11:15:51 ------------------- 11:15:51 stable info: 11:15:51 ------------------- 11:15:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 11:15:51 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 11:15:51 Message: update stable to v1.0.249 11:15:51 ------------------- 11:15:51 experimental info: 11:15:51 ------------------- 11:15:51 Commited By: **** collab-it+edgex@linuxfoundation.org 11:15:51 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 11:15:51 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 11:15:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rfid-llrp-go-settings [Pipeline] echo 11:15:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-rfid-llrp-go [Pipeline] echo 11:15:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 11:15:52 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 11:15:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 11:15:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 11:15:52 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 11:15:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 11:15:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 11:15:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 11:15:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 11:15:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rfid-llrp [Pipeline] echo 11:15:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 11:15:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 11:15:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 11:15:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 11:15:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 11:15:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 11:15:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 11:15:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 11:15:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 11:15:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 11:15:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 11:15:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 11:15:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 11:15:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 11:15:52 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 11:15:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-232 [Pipeline] echo 11:15:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-232 [Pipeline] echo 11:15:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-232 [Pipeline] echo 11:15:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e6d2b0afecc9fa9461215d6e1faf3fff34702740 [Pipeline] echo 11:15:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e6d2b0a [Pipeline] echo 11:15:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:15:52 provisioning config files... 11:15:52 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-232@tmp/config5739882759377967819tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:15:52 ---> docker-login.sh 11:15:52 nexus3.edgexfoundry.org:10001 11:15:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:15:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:15:53 Configure a credential helper to remove this warning. See 11:15:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:15:53 11:15:53 Login Succeeded 11:15:53 nexus3.edgexfoundry.org:10002 11:15:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:15:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:15:53 Configure a credential helper to remove this warning. See 11:15:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:15:53 11:15:53 Login Succeeded 11:15:53 nexus3.edgexfoundry.org:10003 11:15:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:15:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:15:53 Configure a credential helper to remove this warning. See 11:15:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:15:53 11:15:53 Login Succeeded 11:15:53 nexus3.edgexfoundry.org:10004 11:15:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:15:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:15:53 Configure a credential helper to remove this warning. See 11:15:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:15:53 11:15:53 Login Succeeded 11:15:53 docker.io 11:15:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:15:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:15:53 Configure a credential helper to remove this warning. See 11:15:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:15:53 11:15:53 Login Succeeded 11:15:53 ---> docker-login.sh ends [Pipeline] } 11:15:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 11:15:53 + git rev-list -1 --merges e6d2b0afecc9fa9461215d6e1faf3fff34702740~1..e6d2b0afecc9fa9461215d6e1faf3fff34702740 [Pipeline] echo 11:15:54 -----------> git rev-list -1 --merges e6d2b0afecc9fa9461215d6e1faf3fff34702740~1..e6d2b0afecc9fa9461215d6e1faf3fff34702740 e6d2b0afecc9fa9461215d6e1faf3fff34702740 [false] [Pipeline] sh 11:15:54 + git log --format=format:%s -1 e6d2b0afecc9fa9461215d6e1faf3fff34702740 [Pipeline] echo 11:15:54 ========================================================= 11:15:54 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 11:15:54 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:15:54 + git log --format=format:%s -1 e6d2b0afecc9fa9461215d6e1faf3fff34702740 [Pipeline] echo 11:15:54 [semverPrep] GIT_COMMIT: e6d2b0afecc9fa9461215d6e1faf3fff34702740, Commit Message: build(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.3 [Pipeline] echo 11:15:54 [semverPrep] This is not a build commit. [Pipeline] sh 11:15:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 11:15:55 + grep -v github /etc/ssh/ssh_known_hosts 11:15:55 + [ -e /tmp/ssh_known_hosts ] 11:15:55 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 11:15:55 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 11:15:55 + sudo tee -a /etc/ssh/ssh_known_hosts 11:15:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:15:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:15:55 11:15:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:15:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:15:55 0.1.4: Pulling from edgex-devops/py-git-semver 11:15:55 b85a868b505f: Pulling fs layer 11:15:55 e2be974225ed: Pulling fs layer 11:15:55 339a4e72a1f5: Pulling fs layer 11:15:55 988bab9f4d93: Pulling fs layer 11:15:55 1469e6f7b9e6: Pulling fs layer 11:15:55 eaf3925da568: Pulling fs layer 11:15:55 bab4dde63d76: Pulling fs layer 11:15:55 bde34c3a00c8: Pulling fs layer 11:15:55 b352a97aabf1: Pulling fs layer 11:15:55 4872d77fe225: Pulling fs layer 11:15:55 5851b861e8e6: Pulling fs layer 11:15:55 1469e6f7b9e6: Waiting 11:15:55 988bab9f4d93: Waiting 11:15:55 eaf3925da568: Waiting 11:15:55 bab4dde63d76: Waiting 11:15:55 bde34c3a00c8: Waiting 11:15:55 5851b861e8e6: Waiting 11:15:55 4872d77fe225: Waiting 11:15:55 b352a97aabf1: Waiting 11:15:55 e2be974225ed: Download complete 11:15:55 988bab9f4d93: Verifying Checksum 11:15:55 988bab9f4d93: Download complete 11:15:56 1469e6f7b9e6: Verifying Checksum 11:15:56 1469e6f7b9e6: Download complete 11:15:56 eaf3925da568: Download complete 11:15:56 339a4e72a1f5: Verifying Checksum 11:15:56 339a4e72a1f5: Download complete 11:15:56 bde34c3a00c8: Verifying Checksum 11:15:56 bde34c3a00c8: Download complete 11:15:56 b352a97aabf1: Verifying Checksum 11:15:56 b352a97aabf1: Download complete 11:15:56 4872d77fe225: Verifying Checksum 11:15:56 4872d77fe225: Download complete 11:15:56 5851b861e8e6: Verifying Checksum 11:15:56 5851b861e8e6: Download complete 11:15:56 b85a868b505f: Verifying Checksum 11:15:56 b85a868b505f: Download complete 11:15:56 bab4dde63d76: Download complete 11:15:57 b85a868b505f: Pull complete 11:15:57 e2be974225ed: Pull complete 11:15:58 339a4e72a1f5: Pull complete 11:15:58 988bab9f4d93: Pull complete 11:15:58 1469e6f7b9e6: Pull complete 11:15:58 eaf3925da568: Pull complete 11:16:00 bab4dde63d76: Pull complete 11:16:00 bde34c3a00c8: Pull complete 11:16:00 b352a97aabf1: Pull complete 11:16:00 4872d77fe225: Pull complete 11:16:00 5851b861e8e6: Pull complete 11:16:00 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 11:16:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 11:16:00 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:16:00 prd-ubuntu20.04-docker-8c-8g-16492 does not seem to be running inside a container 11:16:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-rfid-llrp-go_PR-232 -v /w/workspace/undry_device-rfid-llrp-go_PR-232:/w/workspace/undry_device-rfid-llrp-go_PR-232:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-232@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-232@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 11:16:04 $ docker top 1c55e1febd79d709f3471a924feefbaca35cc3ee5b2c66e161d6ad96f55e9ad6 -eo pid,comm 11:16:04 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). 11:16:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 11:16:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:16:04 [ssh-agent] Looking for ssh-agent implementation... 11:16:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:16:04 $ docker exec 1c55e1febd79d709f3471a924feefbaca35cc3ee5b2c66e161d6ad96f55e9ad6 ssh-agent 11:16:04 SSH_AUTH_SOCK=/tmp/ssh-gcef0FaJtYP3/agent.33 11:16:04 SSH_AGENT_PID=39 11:16:04 Running ssh-add (command line suppressed) 11:16:04 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-232@tmp/private_key_6141639168258358319.key (/w/workspace/undry_device-rfid-llrp-go_PR-232@tmp/private_key_6141639168258358319.key) 11:16:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:16:05 + git tag --points-at HEAD [Pipeline] } 11:16:05 $ docker exec --env ******** --env ******** 1c55e1febd79d709f3471a924feefbaca35cc3ee5b2c66e161d6ad96f55e9ad6 ssh-agent -k 11:16:05 unset SSH_AUTH_SOCK; 11:16:05 unset SSH_AGENT_PID; 11:16:05 echo Agent pid 39 killed; 11:16:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 11:16:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 11:16:05 [ssh-agent] Looking for ssh-agent implementation... 11:16:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 11:16:05 $ docker exec 1c55e1febd79d709f3471a924feefbaca35cc3ee5b2c66e161d6ad96f55e9ad6 ssh-agent 11:16:05 SSH_AUTH_SOCK=/tmp/ssh-WP7qJLNKJr8F/agent.71 11:16:05 SSH_AGENT_PID=77 11:16:05 Running ssh-add (command line suppressed) 11:16:05 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-232@tmp/private_key_12652616875387077742.key (/w/workspace/undry_device-rfid-llrp-go_PR-232@tmp/private_key_12652616875387077742.key) 11:16:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 11:16:06 + git semver init 11:16:06 2023-05-23 11:16:06,258 [run_init] DEBUG init version:0.0.0 force:False 11:16:06 2023-05-23 11:16:06,259 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-rfid-llrp-go_PR-232/.semver 11:16:06 2023-05-23 11:16:06,260 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rfid-llrp-go.git /w/workspace/undry_device-rfid-llrp-go_PR-232/.semver 11:16:06 2023-05-23 11:16:06,260 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rfid-llrp-go.git', '/w/workspace/undry_device-rfid-llrp-go_PR-232/.semver'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-232, universal_newlines=False, shell=None, istream=None) 11:16:07 2023-05-23 11:16:07,071 [append_file] DEBUG append to file:/w/workspace/undry_device-rfid-llrp-go_PR-232/.git/info/exclude 11:16:07 2023-05-23 11:16:07,072 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-rfid-llrp-go_PR-232/.semver/PR-232 with force:False 11:16:07 2023-05-23 11:16:07,072 [write_file] DEBUG write to file:/w/workspace/undry_device-rfid-llrp-go_PR-232/.semver/PR-232 11:16:07 2023-05-23 11:16:07,076 [execute] INFO git cat-file --batch-check 11:16:07 2023-05-23 11:16:07,077 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-232/.semver, universal_newlines=False, shell=None, istream=) 11:16:07 2023-05-23 11:16:07,082 [execute] INFO git cat-file --batch 11:16:07 2023-05-23 11:16:07,082 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-232/.semver, universal_newlines=False, shell=None, istream=) 11:16:07 2023-05-23 11:16:07,087 [read_version] DEBUG read version from /w/workspace/undry_device-rfid-llrp-go_PR-232/.semver/PR-232 11:16:07 0.0.0 [Pipeline] } 11:16:07 $ docker exec --env ******** --env ******** 1c55e1febd79d709f3471a924feefbaca35cc3ee5b2c66e161d6ad96f55e9ad6 ssh-agent -k 11:16:07 unset SSH_AUTH_SOCK; 11:16:07 unset SSH_AGENT_PID; 11:16:07 echo Agent pid 77 killed; 11:16:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 11:16:07 + git semver [Pipeline] } 11:16:08 $ docker stop --time=1 1c55e1febd79d709f3471a924feefbaca35cc3ee5b2c66e161d6ad96f55e9ad6 11:16:09 $ docker rm -f --volumes 1c55e1febd79d709f3471a924feefbaca35cc3ee5b2c66e161d6ad96f55e9ad6 [Pipeline] // withDockerContainer [Pipeline] sh 11:16:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 11:16:09 Stashed 1 file(s) [Pipeline] echo 11:16:09 [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 11:16:10 provisioning config files... 11:16:10 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-232@tmp/config16594390017084391695tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:16:10 ---> docker-login.sh 11:16:10 nexus3.edgexfoundry.org:10001 11:16:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:16:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:16:10 Configure a credential helper to remove this warning. See 11:16:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:16:10 11:16:10 Login Succeeded 11:16:10 nexus3.edgexfoundry.org:10002 11:16:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:16:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:16:10 Configure a credential helper to remove this warning. See 11:16:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:16:10 11:16:10 Login Succeeded 11:16:10 nexus3.edgexfoundry.org:10003 11:16:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:16:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:16:10 Configure a credential helper to remove this warning. See 11:16:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:16:10 11:16:10 Login Succeeded 11:16:10 nexus3.edgexfoundry.org:10004 11:16:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:16:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:16:10 Configure a credential helper to remove this warning. See 11:16:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:16:10 11:16:10 Login Succeeded 11:16:10 docker.io 11:16:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:16:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:16:10 Configure a credential helper to remove this warning. See 11:16:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:16:10 11:16:10 Login Succeeded 11:16:11 ---> docker-login.sh ends [Pipeline] } 11:16:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:16:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:16:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:16:11 ========================================================= 11:16:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 11:16:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:16:11 + 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 . 11:16:11 Sending build context to Docker daemon 4.258MB 11:16:11 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 11:16:11 Step 2/12 : FROM ${BASE} AS builder 11:16:11 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 11:16:11 f56be85fc22e: Pulling fs layer 11:16:11 85791d961cd3: Pulling fs layer 11:16:11 d694b5ae8c79: Pulling fs layer 11:16:11 9f32a84ed3da: Pulling fs layer 11:16:11 4d19c01a9841: Pulling fs layer 11:16:11 9325e15d5711: Pulling fs layer 11:16:11 556b6ee489ea: Pulling fs layer 11:16:11 c5a4b2cf53e6: Pulling fs layer 11:16:11 9f32a84ed3da: Waiting 11:16:11 4d19c01a9841: Waiting 11:16:11 9325e15d5711: Waiting 11:16:11 556b6ee489ea: Waiting 11:16:11 85791d961cd3: Verifying Checksum 11:16:11 85791d961cd3: Download complete 11:16:11 9f32a84ed3da: Verifying Checksum 11:16:11 9f32a84ed3da: Download complete 11:16:11 4d19c01a9841: Verifying Checksum 11:16:11 4d19c01a9841: Download complete 11:16:11 f56be85fc22e: Verifying Checksum 11:16:11 f56be85fc22e: Download complete 11:16:11 9325e15d5711: Verifying Checksum 11:16:11 9325e15d5711: Download complete 11:16:11 f56be85fc22e: Pull complete 11:16:12 85791d961cd3: Pull complete 11:16:12 c5a4b2cf53e6: Verifying Checksum 11:16:12 c5a4b2cf53e6: Download complete 11:16:12 d694b5ae8c79: Verifying Checksum 11:16:12 d694b5ae8c79: Download complete 11:16:12 556b6ee489ea: Verifying Checksum 11:16:12 556b6ee489ea: Download complete 11:16:16 d694b5ae8c79: Pull complete 11:16:16 9f32a84ed3da: Pull complete 11:16:16 4d19c01a9841: Pull complete 11:16:16 9325e15d5711: Pull complete 11:16:18 556b6ee489ea: Pull complete 11:16:19 c5a4b2cf53e6: Pull complete 11:16:19 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 11:16:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 11:16:19 ---> c4be618373d6 11:16:19 Step 3/12 : ARG ADD_BUILD_TAGS="" 11:16:24 Still waiting to schedule task 11:16:24 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-16491’ 11:16:27 ---> Running in c4be17e2ae25 11:16:27 Removing intermediate container c4be17e2ae25 11:16:27 ---> 57aebcd91f67 11:16:27 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:16:27 ---> Running in cc891405af35 11:16:27 Removing intermediate container cc891405af35 11:16:27 ---> d66f2528107a 11:16:27 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 11:16:27 ---> Running in aa5401579ec0 11:16:27 Removing intermediate container aa5401579ec0 11:16:27 ---> 74ef0f521643 11:16:27 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 11:16:27 ---> Running in 31a73e246120 11:16:27 Removing intermediate container 31a73e246120 11:16:27 ---> ef812adaa08c 11:16:27 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:16:27 ---> Running in bd5718919dce 11:16:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 11:16:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 11:16:27 OK: 265 MiB in 53 packages 11:16:27 Removing intermediate container bd5718919dce 11:16:27 ---> 6bb73d5930af 11:16:27 Step 8/12 : WORKDIR /app 11:16:27 ---> Running in 0ccbd9f0ed84 11:16:28 Removing intermediate container 0ccbd9f0ed84 11:16:28 ---> fd6a8a829fbd 11:16:28 Step 9/12 : COPY go.mod vendor* ./ 11:16:28 ---> 535d084e6e24 11:16:28 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:16:28 ---> Running in 6a7257989270 11:17:00 Removing intermediate container 6a7257989270 11:17:00 ---> 02632c101a59 11:17:00 Step 11/12 : COPY . . 11:17:00 ---> fa87bb664bef 11:17:00 Step 12/12 : RUN $MAKE 11:17:00 ---> Running in 7f9629dcd871 11:17:00 noop 11:17:00 Removing intermediate container 7f9629dcd871 11:17:00 ---> a1a9d6e5e6ba 11:17:00 Successfully built a1a9d6e5e6ba 11:17:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:17:00 + docker inspect -f . ci-base-image-x86_64 11:17:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:17:00 prd-ubuntu20.04-docker-8c-8g-16492 does not seem to be running inside a container 11:17:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-rfid-llrp-go_PR-232 -v /w/workspace/undry_device-rfid-llrp-go_PR-232:/w/workspace/undry_device-rfid-llrp-go_PR-232:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-232@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-232@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 11:17:00 $ docker top 09a816d1f7ba8d9305d7df1df40dbf823f8d1d6c63729961be7fa986958960ee -eo pid,comm [Pipeline] { [Pipeline] sh 11:17:01 + go version 11:17:01 go version go1.20.2 linux/amd64 [Pipeline] } 11:17:01 $ docker stop --time=1 09a816d1f7ba8d9305d7df1df40dbf823f8d1d6c63729961be7fa986958960ee 11:17:02 $ docker rm -f --volumes 09a816d1f7ba8d9305d7df1df40dbf823f8d1d6c63729961be7fa986958960ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:17:02 + docker inspect -f . ci-base-image-x86_64 11:17:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:17:03 prd-ubuntu20.04-docker-8c-8g-16492 does not seem to be running inside a container 11:17:03 $ 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-232 -v /w/workspace/undry_device-rfid-llrp-go_PR-232:/w/workspace/undry_device-rfid-llrp-go_PR-232:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-232@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-232@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 11:17:03 $ docker top 29892be282224c18c275c57d3b47f153092dcb8d8cfec10444b5b895f131d6fb -eo pid,comm [Pipeline] { [Pipeline] sh 11:17:03 + git config --global --add safe.directory /w/workspace/undry_device-rfid-llrp-go_PR-232 [Pipeline] fileExists [Pipeline] sh 11:17:03 + make test 11:17:03 go test ./... -coverprofile=coverage.out ./... 11:17:09 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 11:17:19 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 11:17:19 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 11:17:22 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 3.777s coverage: 40.5% of statements 11:17:22 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.250s coverage: 52.0% of statements 11:17:22 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.010s coverage: 96.4% of statements 11:17:32 go vet ./... 11:17:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:17:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:17:35 ./bin/test-attribution-txt.sh 11:17:35 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 11:17:35 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 11:17:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:17:35 $ docker stop --time=1 29892be282224c18c275c57d3b47f153092dcb8d8cfec10444b5b895f131d6fb 11:17:37 $ docker rm -f --volumes 29892be282224c18c275c57d3b47f153092dcb8d8cfec10444b5b895f131d6fb [Pipeline] // withDockerContainer [Pipeline] sh 11:17:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:17:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 11:17:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:17:39 + ls -al . 11:17:39 total 628 11:17:39 drwxrwxr-x 11 jenkins jenkins 4096 May 23 11:17 . 11:17:39 drwxrwxr-x 4 jenkins jenkins 4096 May 23 11:15 .. 11:17:39 -rw-rw-r-- 1 jenkins jenkins 134 May 23 11:15 .dockerignore 11:17:39 drwxrwxr-x 8 jenkins jenkins 4096 May 23 11:16 .git 11:17:39 drwxrwxr-x 3 jenkins jenkins 4096 May 23 11:15 .github 11:17:39 -rw-rw-r-- 1 jenkins jenkins 946 May 23 11:15 .gitignore 11:17:39 -rw-rw-r-- 1 jenkins jenkins 41 May 23 11:15 .golangci.yml 11:17:39 drwxr-xr-x 3 jenkins jenkins 4096 May 23 11:16 .semver 11:17:39 -rw-rw-r-- 1 jenkins jenkins 10794 May 23 11:15 Attribution.txt 11:17:39 -rw-rw-r-- 1 jenkins jenkins 5905 May 23 11:15 CHANGELOG.md 11:17:39 -rw-rw-r-- 1 jenkins jenkins 1347 May 23 11:15 Dockerfile 11:17:39 -rw-rw-r-- 1 jenkins jenkins 677 May 23 11:15 GOVERNANCE.md 11:17:39 -rw-rw-r-- 1 jenkins jenkins 683 May 23 11:15 Jenkinsfile 11:17:39 -rw-rw-r-- 1 jenkins jenkins 11347 May 23 11:15 LICENSE 11:17:39 -rw-rw-r-- 1 jenkins jenkins 2053 May 23 11:15 Makefile 11:17:39 -rw-rw-r-- 1 jenkins jenkins 625 May 23 11:15 OWNERS.md 11:17:39 -rw-rw-r-- 1 jenkins jenkins 28505 May 23 11:15 README.md 11:17:39 -rw-rw-r-- 1 jenkins jenkins 5 May 23 11:16 VERSION 11:17:39 drwxrwxr-x 2 jenkins jenkins 4096 May 23 11:15 bin 11:17:39 drwxrwxr-x 4 jenkins jenkins 4096 May 23 11:15 cmd 11:17:39 -rw-r--r-- 1 jenkins jenkins 458038 May 23 11:17 coverage.out 11:17:39 drwxrwxr-x 2 jenkins jenkins 4096 May 23 11:15 examples 11:17:39 -rw-rw-r-- 1 jenkins jenkins 3419 May 23 11:15 go.mod 11:17:39 -rw-rw-r-- 1 jenkins jenkins 31168 May 23 11:15 go.sum 11:17:39 drwxrwxr-x 2 jenkins jenkins 4096 May 23 11:15 images 11:17:39 drwxrwxr-x 5 jenkins jenkins 4096 May 23 11:15 internal 11:17:39 drwxrwxr-x 4 jenkins jenkins 4096 May 23 11:15 snap 11:17:39 -rw-rw-r-- 1 jenkins jenkins 193 May 23 11:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:17:39 + 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=e6d2b0afecc9fa9461215d6e1faf3fff34702740 --label arch=amd64 --label version=0.0.0 . 11:17:39 Sending build context to Docker daemon 4.258MB 11:17:39 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 11:17:39 Step 2/24 : FROM ${BASE} AS builder 11:17:39 ---> a1a9d6e5e6ba 11:17:39 Step 3/24 : ARG ADD_BUILD_TAGS="" 11:17:39 ---> Running in dfac8bbec2d2 11:17:39 Removing intermediate container dfac8bbec2d2 11:17:39 ---> 5a114ebef646 11:17:39 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:17:39 ---> Running in 2791dc61c596 11:17:39 Removing intermediate container 2791dc61c596 11:17:39 ---> 53a7ca27ae8d 11:17:39 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 11:17:39 ---> Running in 0133710ed869 11:17:40 Removing intermediate container 0133710ed869 11:17:40 ---> 624ae8e7fe49 11:17:40 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 11:17:40 ---> Running in 3678d48446f6 11:17:40 Removing intermediate container 3678d48446f6 11:17:40 ---> d1728e66a64e 11:17:40 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:17:40 ---> Running in 75212cf818b5 11:17:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 11:17:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 11:17:40 OK: 265 MiB in 53 packages 11:17:41 Removing intermediate container 75212cf818b5 11:17:41 ---> da88f6c43597 11:17:41 Step 8/24 : WORKDIR /app 11:17:41 ---> Running in ce9b1e67fda1 11:17:41 Removing intermediate container ce9b1e67fda1 11:17:41 ---> 6ac43221f479 11:17:41 Step 9/24 : COPY go.mod vendor* ./ 11:17:41 ---> 1259d30493e0 11:17:41 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:17:41 ---> Running in 7c50f203c68e 11:17:42 Removing intermediate container 7c50f203c68e 11:17:42 ---> 69a3e074362d 11:17:42 Step 11/24 : COPY . . 11:17:42 ---> 8c755acc10e4 11:17:42 Step 12/24 : RUN $MAKE 11:17:42 ---> Running in e6db34b7e8b8 11:17:42 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rfid-llrp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rfid-llrp ./cmd 11:18:04 Removing intermediate container e6db34b7e8b8 11:18:04 ---> da786cfac2b2 11:18:04 Step 13/24 : FROM alpine:3.17 11:18:04 3.17: Pulling from library/alpine 11:18:04 f56be85fc22e: Already exists 11:18:04 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 11:18:04 Status: Downloaded newer image for alpine:3.17 11:18:04 ---> 9ed4aefc74f6 11:18:04 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 11:18:04 ---> Running in 4584f7bd63f5 11:18:04 Removing intermediate container 4584f7bd63f5 11:18:04 ---> e063e0c6483b 11:18:04 Step 15/24 : RUN apk add --update --no-cache dumb-init 11:18:04 ---> Running in a570c4070f64 11:18:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 11:18:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 11:18:04 (1/1) Installing dumb-init (1.2.5-r2) 11:18:04 Executing busybox-1.35.0-r29.trigger 11:18:04 OK: 7 MiB in 16 packages 11:18:04 Removing intermediate container a570c4070f64 11:18:04 ---> b5a73668dae0 11:18:04 Step 16/24 : COPY --from=builder /app/LICENSE / 11:18:04 ---> f3c777213963 11:18:04 Step 17/24 : COPY --from=builder /app/Attribution.txt / 11:18:04 ---> 1ad04a8f04b2 11:18:04 Step 18/24 : COPY --from=builder /app/cmd/ / 11:18:04 ---> 24635a1ab99d 11:18:04 Step 19/24 : EXPOSE 59989 11:18:04 ---> Running in b82525c7a545 11:18:04 Removing intermediate container b82525c7a545 11:18:04 ---> c0b4fb88eaf7 11:18:04 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 11:18:04 ---> Running in cab5878d1de2 11:18:04 Removing intermediate container cab5878d1de2 11:18:04 ---> eb11628cc4bf 11:18:04 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 11:18:04 ---> Running in e4f0d6e7b4ee 11:18:04 Removing intermediate container e4f0d6e7b4ee 11:18:04 ---> 93722c01f990 11:18:04 Step 22/24 : LABEL arch=amd64 11:18:04 ---> Running in 8576aaff3fcd 11:18:04 Removing intermediate container 8576aaff3fcd 11:18:04 ---> 9bdcc89e3a68 11:18:04 Step 23/24 : LABEL git_sha=e6d2b0afecc9fa9461215d6e1faf3fff34702740 11:18:04 ---> Running in 17dc5be37145 11:18:04 Removing intermediate container 17dc5be37145 11:18:04 ---> 2d7ece083472 11:18:04 Step 24/24 : LABEL version=0.0.0 11:18:04 ---> Running in c4ee322a219b 11:18:04 Removing intermediate container c4ee322a219b 11:18:04 ---> eec03ab94e3e 11:18:04 [Warning] One or more build-args [ARCH] were not consumed 11:18:04 Successfully built eec03ab94e3e 11:18:04 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 11:18:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:18:05 11:18:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:18:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:18:05 latest: Pulling from edgex-lftools-log-publisher 11:18:05 5eb5b503b376: Pulling fs layer 11:18:05 5c69ac0246d0: Pulling fs layer 11:18:05 ec43610c2a17: Pulling fs layer 11:18:05 3a2ae6a8a46f: Pulling fs layer 11:18:05 33b1e0a273af: Pulling fs layer 11:18:05 5d3b04190fa2: Pulling fs layer 11:18:05 2f39f015ded8: Pulling fs layer 11:18:05 33b1e0a273af: Waiting 11:18:05 5d3b04190fa2: Waiting 11:18:05 2f39f015ded8: Waiting 11:18:05 3a2ae6a8a46f: Waiting 11:18:05 5c69ac0246d0: Download complete 11:18:05 3a2ae6a8a46f: Download complete 11:18:05 ec43610c2a17: Verifying Checksum 11:18:05 ec43610c2a17: Download complete 11:18:05 5d3b04190fa2: Verifying Checksum 11:18:05 5d3b04190fa2: Download complete 11:18:05 33b1e0a273af: Verifying Checksum 11:18:05 5eb5b503b376: Verifying Checksum 11:18:05 5eb5b503b376: Download complete 11:18:06 2f39f015ded8: Download complete 11:18:06 5eb5b503b376: Pull complete 11:18:06 5c69ac0246d0: Pull complete 11:18:07 ec43610c2a17: Pull complete 11:18:07 3a2ae6a8a46f: Pull complete 11:18:07 33b1e0a273af: Pull complete 11:18:07 5d3b04190fa2: Pull complete 11:18:11 2f39f015ded8: Pull complete 11:18:11 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 11:18:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:18:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:18:11 prd-ubuntu20.04-docker-8c-8g-16492 does not seem to be running inside a container 11:18:11 $ 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-232 -v /w/workspace/undry_device-rfid-llrp-go_PR-232:/w/workspace/undry_device-rfid-llrp-go_PR-232:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-232@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-232@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 11:18:15 $ docker top 8fcb258f0a0bfd071b836883aaae0f6523eae787eaa2d5708c4de2f8eb9fd7de -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:18:15 ---> job-cost.sh 11:18:15 lf-activate-venv: SKIPPING 11:18:15 INFO: No Stack... 11:18:16 INFO: Retrieving Pricing Info for: v3-standard-8 11:18:16 INFO: Archiving Costs [Pipeline] sh 11:18:16 + cut -d, -f6 11:18:16 + cat /w/workspace/undry_device-rfid-llrp-go_PR-232/archives/cost.csv [Pipeline] lock 11:18:16 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-232-3-stack-cost] 11:18:16 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-232-3-stack-cost] did not exist. Created. 11:18:16 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-232-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:18:17 + echo total: 0.2199999988079071 [Pipeline] stash 11:18:17 Stashed 1 file(s) [Pipeline] } 11:18:17 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-232-3-stack-cost] [Pipeline] // lock [Pipeline] } 11:18:17 $ docker stop --time=1 8fcb258f0a0bfd071b836883aaae0f6523eae787eaa2d5708c4de2f8eb9fd7de 11:18:18 $ docker rm -f --volumes 8fcb258f0a0bfd071b836883aaae0f6523eae787eaa2d5708c4de2f8eb9fd7de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 11:19:21 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16493 in /w/workspace/undry_device-rfid-llrp-go_PR-232 [Pipeline] { [Pipeline] ws 11:19:21 Running in /w/workspace/device-rfid-llrp-go/3 [Pipeline] { [Pipeline] checkout 11:19:21 Selected Git installation does not exist. Using Default 11:19:21 The recommended git tool is: NONE 11:19:28 using credential edgex-jenkins-ssh 11:19:28 Cloning the remote Git repository 11:19:28 Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git 11:19:29 > git init /w/workspace/device-rfid-llrp-go/3 # timeout=10 11:19:29 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 11:19:29 > git --version # timeout=10 11:19:29 > git --version # 'git version 2.25.1' 11:19:29 using GIT_SSH to set credentials SSH Credentials for GitHub 11:19:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 11:19:30 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 11:19:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 11:19:31 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 11:19:31 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 11:19:31 using GIT_SSH to set credentials SSH Credentials for GitHub 11:19:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/232/head:refs/remotes/origin/PR-232 +refs/heads/main:refs/remotes/origin/main # timeout=10 11:19:32 Merging remotes/origin/main commit 427759c4c8768a0667949273cf9123d5f3339a5e into PR head commit e6d2b0afecc9fa9461215d6e1faf3fff34702740 11:19:32 Merge succeeded, producing e6d2b0afecc9fa9461215d6e1faf3fff34702740 11:19:32 Checking out Revision e6d2b0afecc9fa9461215d6e1faf3fff34702740 (PR-232) 11:19:33 Commit message: "build(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.3" 11:19:32 > git config core.sparsecheckout # timeout=10 11:19:32 > git checkout -f e6d2b0afecc9fa9461215d6e1faf3fff34702740 # timeout=10 11:19:32 > git remote # timeout=10 11:19:32 > git config --get remote.origin.url # timeout=10 11:19:32 using GIT_SSH to set credentials SSH Credentials for GitHub 11:19:32 > git merge 427759c4c8768a0667949273cf9123d5f3339a5e # timeout=10 11:19:32 > git rev-parse HEAD^{commit} # timeout=10 11:19:32 > git config core.sparsecheckout # timeout=10 11:19:32 > git checkout -f e6d2b0afecc9fa9461215d6e1faf3fff34702740 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 11:19:34 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 11:19:34 % Total % Received % Xferd Average Speed Time Time Time Current 11:19:34 Dload Upload Total Spent Left Speed 11:19:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 218k 0 --:--:-- --:--:-- --:--:-- 222k [Pipeline] sh 11:19:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 11:19:35 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 11:19:35 + sudo tee /etc/docker/daemon.new 11:19:35 { 11:19:35 "registry-mirrors": [ 11:19:35 "https://nexus3.edgexfoundry.org:10001" 11:19:35 ], 11:19:35 "bip": "10.250.0.254/24", 11:19:35 "hosts": [ 11:19:35 "tcp://0.0.0.0:5555", 11:19:35 "unix:///var/run/docker.sock" 11:19:35 ], 11:19:35 "mtu": 1458, 11:19:35 "selinux-enabled": true, 11:19:35 "seccomp-profile": "/etc/docker/seccomp.json" 11:19:35 } [Pipeline] sh 11:19:35 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 11:19:35 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:19:54 provisioning config files... 11:19:54 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/device-rfid-llrp-go/3@tmp/config12182245299892414163tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:19:54 ---> docker-login.sh 11:19:54 nexus3.edgexfoundry.org:10001 11:19:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:19:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:19:55 Configure a credential helper to remove this warning. See 11:19:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:19:55 11:19:55 Login Succeeded 11:19:55 nexus3.edgexfoundry.org:10002 11:19:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:19:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:19:55 Configure a credential helper to remove this warning. See 11:19:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:19:55 11:19:55 Login Succeeded 11:19:55 nexus3.edgexfoundry.org:10003 11:19:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:19:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:19:56 Configure a credential helper to remove this warning. See 11:19:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:19:56 11:19:56 Login Succeeded 11:19:56 nexus3.edgexfoundry.org:10004 11:19:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:19:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:19:56 Configure a credential helper to remove this warning. See 11:19:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:19:56 11:19:56 Login Succeeded 11:19:56 docker.io 11:19:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 11:19:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 11:19:56 Configure a credential helper to remove this warning. See 11:19:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 11:19:56 11:19:56 Login Succeeded 11:19:56 ---> docker-login.sh ends [Pipeline] } 11:19:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 11:19:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:19:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 11:19:57 ========================================================= 11:19:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 11:19:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:19:57 + 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 . 11:19:57 Sending build context to Docker daemon 1.212MB 11:19:57 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 11:19:57 Step 2/12 : FROM ${BASE} AS builder 11:19:58 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 11:19:58 c41833b44d91: Pulling fs layer 11:19:58 ed15518f5707: Pulling fs layer 11:19:58 feae8fd75edb: Pulling fs layer 11:19:58 242c74f7c9fa: Pulling fs layer 11:19:58 3cdef696dda3: Pulling fs layer 11:19:58 2ced38df9373: Pulling fs layer 11:19:58 58f1dce35555: Pulling fs layer 11:19:58 242c74f7c9fa: Waiting 11:19:58 3cdef696dda3: Waiting 11:19:58 2ced38df9373: Waiting 11:19:58 58f1dce35555: Waiting 11:19:58 ed15518f5707: Verifying Checksum 11:19:58 ed15518f5707: Download complete 11:19:58 242c74f7c9fa: Verifying Checksum 11:19:58 242c74f7c9fa: Download complete 11:19:58 3cdef696dda3: Verifying Checksum 11:19:58 3cdef696dda3: Download complete 11:19:58 c41833b44d91: Verifying Checksum 11:19:58 c41833b44d91: Download complete 11:19:59 c41833b44d91: Pull complete 11:19:59 58f1dce35555: Verifying Checksum 11:19:59 58f1dce35555: Download complete 11:19:59 ed15518f5707: Pull complete 11:20:00 feae8fd75edb: Verifying Checksum 11:20:00 feae8fd75edb: Download complete 11:20:00 2ced38df9373: Verifying Checksum 11:20:00 2ced38df9373: Download complete 11:20:11 feae8fd75edb: Pull complete 11:20:11 242c74f7c9fa: Pull complete 11:20:11 3cdef696dda3: Pull complete 11:20:19 2ced38df9373: Pull complete 11:20:23 58f1dce35555: Pull complete 11:20:23 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 11:20:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 11:20:23 ---> fadd8f120f05 11:20:23 Step 3/12 : ARG ADD_BUILD_TAGS="" 11:20:25 ---> Running in 1f7fafad698a 11:20:25 Removing intermediate container 1f7fafad698a 11:20:25 ---> 00d6f2ec31cc 11:20:25 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:20:25 ---> Running in b6ad2a54d5f4 11:20:25 Removing intermediate container b6ad2a54d5f4 11:20:25 ---> 5cb68b738584 11:20:25 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 11:20:25 ---> Running in c5b65755addc 11:20:26 Removing intermediate container c5b65755addc 11:20:26 ---> d3b769e132cf 11:20:26 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 11:20:26 ---> Running in 99ee62873918 11:20:26 Removing intermediate container 99ee62873918 11:20:26 ---> 86fc370247ff 11:20:26 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:20:26 ---> Running in 2c6af106db95 11:20:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 11:20:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 11:20:30 OK: 263 MiB in 53 packages 11:20:30 Removing intermediate container 2c6af106db95 11:20:30 ---> fcb468cab60f 11:20:30 Step 8/12 : WORKDIR /app 11:20:31 ---> Running in f0a753e317fa 11:20:31 Removing intermediate container f0a753e317fa 11:20:31 ---> 6a2b64509a90 11:20:31 Step 9/12 : COPY go.mod vendor* ./ 11:20:31 ---> 3d81ed5c03f1 11:20:31 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:20:31 ---> Running in 1bad86726479 11:21:39 Removing intermediate container 1bad86726479 11:21:39 ---> ed86c0c74d2b 11:21:39 Step 11/12 : COPY . . 11:21:39 ---> 17db9200a4d8 11:21:39 Step 12/12 : RUN $MAKE 11:21:39 ---> Running in f8843a16c75f 11:21:39 noop 11:21:39 Removing intermediate container f8843a16c75f 11:21:39 ---> a651a30ff217 11:21:39 Successfully built a651a30ff217 11:21:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:21:40 + docker inspect -f . ci-base-image-arm64 11:21:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:21:40 prd-ubuntu20.04-docker-arm64-4c-16g-16493 does not seem to be running inside a container 11:21:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rfid-llrp-go/3 -v /w/workspace/device-rfid-llrp-go/3:/w/workspace/device-rfid-llrp-go/3:rw,z -v /w/workspace/device-rfid-llrp-go/3@tmp:/w/workspace/device-rfid-llrp-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:21:41 $ docker top af856f21693e4e38d06d4e0710b82e608e8cb55a99e7c2d1db1c2d03e6d81e3e -eo pid,comm [Pipeline] { [Pipeline] sh 11:21:42 + go version 11:21:42 go version go1.20.2 linux/arm64 [Pipeline] } 11:21:42 $ docker stop --time=1 af856f21693e4e38d06d4e0710b82e608e8cb55a99e7c2d1db1c2d03e6d81e3e 11:21:44 $ docker rm -f --volumes af856f21693e4e38d06d4e0710b82e608e8cb55a99e7c2d1db1c2d03e6d81e3e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:21:44 + docker inspect -f . ci-base-image-arm64 11:21:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:21:45 prd-ubuntu20.04-docker-arm64-4c-16g-16493 does not seem to be running inside a container 11:21:45 $ 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/3 -v /w/workspace/device-rfid-llrp-go/3:/w/workspace/device-rfid-llrp-go/3:rw,z -v /w/workspace/device-rfid-llrp-go/3@tmp:/w/workspace/device-rfid-llrp-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 11:21:46 $ docker top 8e50a70175655663497f09066a242cfa319fff8738fd3b462c178a5b6c3095a7 -eo pid,comm [Pipeline] { [Pipeline] sh 11:21:47 + git config --global --add safe.directory /w/workspace/device-rfid-llrp-go/3 [Pipeline] fileExists [Pipeline] sh 11:21:47 + make test 11:21:47 go test ./... -coverprofile=coverage.out ./... 11:22:26 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 11:24:33 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 11:24:33 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 11:25:12 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 30.867s coverage: 40.5% of statements 11:25:12 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.573s coverage: 51.9% of statements 11:25:12 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.044s coverage: 95.5% of statements 11:25:12 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:25:12 go vet ./... 11:25:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:25:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:25:38 ./bin/test-attribution-txt.sh 11:25:38 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 11:25:38 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 11:25:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:25:38 $ docker stop --time=1 8e50a70175655663497f09066a242cfa319fff8738fd3b462c178a5b6c3095a7 11:25:40 $ docker rm -f --volumes 8e50a70175655663497f09066a242cfa319fff8738fd3b462c178a5b6c3095a7 [Pipeline] // withDockerContainer [Pipeline] sh 11:25:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:25:41 Warning: overwriting stash ‘coverage-report’ 11:25:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:25:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:25:43 + ls -al . 11:25:43 total 624 11:25:43 drwxrwxr-x 10 jenkins jenkins 4096 May 23 11:21 . 11:25:43 drwxrwxr-x 4 jenkins jenkins 4096 May 23 11:19 .. 11:25:43 -rw-rw-r-- 1 jenkins jenkins 134 May 23 11:19 .dockerignore 11:25:43 drwxrwxr-x 8 jenkins jenkins 4096 May 23 11:19 .git 11:25:43 drwxrwxr-x 3 jenkins jenkins 4096 May 23 11:19 .github 11:25:43 -rw-rw-r-- 1 jenkins jenkins 946 May 23 11:19 .gitignore 11:25:43 -rw-rw-r-- 1 jenkins jenkins 41 May 23 11:19 .golangci.yml 11:25:43 -rw-rw-r-- 1 jenkins jenkins 10794 May 23 11:19 Attribution.txt 11:25:43 -rw-rw-r-- 1 jenkins jenkins 5905 May 23 11:19 CHANGELOG.md 11:25:43 -rw-rw-r-- 1 jenkins jenkins 1347 May 23 11:19 Dockerfile 11:25:43 -rw-rw-r-- 1 jenkins jenkins 677 May 23 11:19 GOVERNANCE.md 11:25:43 -rw-rw-r-- 1 jenkins jenkins 683 May 23 11:19 Jenkinsfile 11:25:43 -rw-rw-r-- 1 jenkins jenkins 11347 May 23 11:19 LICENSE 11:25:43 -rw-rw-r-- 1 jenkins jenkins 2053 May 23 11:19 Makefile 11:25:43 -rw-rw-r-- 1 jenkins jenkins 625 May 23 11:19 OWNERS.md 11:25:43 -rw-rw-r-- 1 jenkins jenkins 28505 May 23 11:19 README.md 11:25:43 -rw-rw-r-- 1 jenkins jenkins 5 May 23 11:16 VERSION 11:25:43 drwxrwxr-x 2 jenkins jenkins 4096 May 23 11:19 bin 11:25:43 drwxrwxr-x 4 jenkins jenkins 4096 May 23 11:19 cmd 11:25:43 -rw-r--r-- 1 jenkins jenkins 458038 May 23 11:25 coverage.out 11:25:43 drwxrwxr-x 2 jenkins jenkins 4096 May 23 11:19 examples 11:25:43 -rw-rw-r-- 1 jenkins jenkins 3419 May 23 11:19 go.mod 11:25:43 -rw-rw-r-- 1 jenkins jenkins 31168 May 23 11:19 go.sum 11:25:43 drwxrwxr-x 2 jenkins jenkins 4096 May 23 11:19 images 11:25:43 drwxrwxr-x 5 jenkins jenkins 4096 May 23 11:19 internal 11:25:43 drwxrwxr-x 4 jenkins jenkins 4096 May 23 11:19 snap 11:25:43 -rw-rw-r-- 1 jenkins jenkins 193 May 23 11:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:25:43 + 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=e6d2b0afecc9fa9461215d6e1faf3fff34702740 --label arch=arm64 --label version=0.0.0 . 11:25:43 Sending build context to Docker daemon 1.212MB 11:25:43 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 11:25:43 Step 2/24 : FROM ${BASE} AS builder 11:25:43 ---> a651a30ff217 11:25:43 Step 3/24 : ARG ADD_BUILD_TAGS="" 11:25:43 ---> Running in bf9f9b518869 11:25:44 Removing intermediate container bf9f9b518869 11:25:44 ---> 18bd540265b0 11:25:44 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 11:25:44 ---> Running in 41eb432fe690 11:25:44 Removing intermediate container 41eb432fe690 11:25:44 ---> ce50f0c12368 11:25:44 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 11:25:44 ---> Running in 8ce69a1d5089 11:25:44 Removing intermediate container 8ce69a1d5089 11:25:44 ---> ebb9bd872b0c 11:25:44 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 11:25:44 ---> Running in 386c7b345090 11:25:45 Removing intermediate container 386c7b345090 11:25:45 ---> beb7c5df8de1 11:25:45 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:25:45 ---> Running in 77254d0313ae 11:25:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 11:25:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 11:25:48 OK: 263 MiB in 53 packages 11:25:49 Removing intermediate container 77254d0313ae 11:25:49 ---> f2f6a7599cfd 11:25:49 Step 8/24 : WORKDIR /app 11:25:49 ---> Running in 646fae9d16a6 11:25:49 Removing intermediate container 646fae9d16a6 11:25:49 ---> 8555402f931b 11:25:49 Step 9/24 : COPY go.mod vendor* ./ 11:25:49 ---> 7f9e0af7c105 11:25:49 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:25:50 ---> Running in ccbdfef63efa 11:25:52 Removing intermediate container ccbdfef63efa 11:25:52 ---> ccf0e459ad1e 11:25:52 Step 11/24 : COPY . . 11:25:53 ---> b0d0279e5a0b 11:25:53 Step 12/24 : RUN $MAKE 11:25:53 ---> Running in a43555d5b6e1 11:25:54 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rfid-llrp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rfid-llrp ./cmd 11:28:00 Removing intermediate container a43555d5b6e1 11:28:00 ---> a1d9425ff4b1 11:28:00 Step 13/24 : FROM alpine:3.17 11:28:00 3.17: Pulling from library/alpine 11:28:00 c41833b44d91: Already exists 11:28:00 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 11:28:00 Status: Downloaded newer image for alpine:3.17 11:28:00 ---> 51e60588ff2c 11:28:00 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 11:28:00 ---> Running in 9d835d165272 11:28:01 Removing intermediate container 9d835d165272 11:28:01 ---> 67bd1acd01f7 11:28:01 Step 15/24 : RUN apk add --update --no-cache dumb-init 11:28:01 ---> Running in 85da5cdc000e 11:28:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 11:28:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 11:28:03 (1/1) Installing dumb-init (1.2.5-r2) 11:28:03 Executing busybox-1.35.0-r29.trigger 11:28:03 OK: 8 MiB in 16 packages 11:28:04 Removing intermediate container 85da5cdc000e 11:28:04 ---> c8f5124a3535 11:28:04 Step 16/24 : COPY --from=builder /app/LICENSE / 11:28:05 ---> d935f692ac53 11:28:05 Step 17/24 : COPY --from=builder /app/Attribution.txt / 11:28:05 ---> 030377d236df 11:28:05 Step 18/24 : COPY --from=builder /app/cmd/ / 11:28:07 ---> 9c34df393102 11:28:07 Step 19/24 : EXPOSE 59989 11:28:07 ---> Running in e0dfc172f934 11:28:07 Removing intermediate container e0dfc172f934 11:28:07 ---> 08265e987b1d 11:28:07 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 11:28:07 ---> Running in 6d043719abf5 11:28:07 Removing intermediate container 6d043719abf5 11:28:07 ---> 88f2ee03f9b2 11:28:07 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 11:28:07 ---> Running in d10a9b913fe3 11:28:07 Removing intermediate container d10a9b913fe3 11:28:07 ---> d1dbff426509 11:28:07 Step 22/24 : LABEL arch=arm64 11:28:08 ---> Running in 9b6b014b0a74 11:28:08 Removing intermediate container 9b6b014b0a74 11:28:08 ---> 00d23383003a 11:28:08 Step 23/24 : LABEL git_sha=e6d2b0afecc9fa9461215d6e1faf3fff34702740 11:28:08 ---> Running in d251c0426f55 11:28:08 Removing intermediate container d251c0426f55 11:28:08 ---> f2d789ad3482 11:28:08 Step 24/24 : LABEL version=0.0.0 11:28:08 ---> Running in 3655fb7cda5f 11:28:08 Removing intermediate container 3655fb7cda5f 11:28:08 ---> 596cd95755cb 11:28:08 [Warning] One or more build-args [ARCH] were not consumed 11:28:08 Successfully built 596cd95755cb 11:28:08 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 11:28:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:28:09 11:28:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:28:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:28:09 arm64: Pulling from edgex-lftools-log-publisher 11:28:09 8998bd30e6a1: Pulling fs layer 11:28:09 04944245beec: Pulling fs layer 11:28:09 699f458cf7ca: Pulling fs layer 11:28:09 765212b225bb: Pulling fs layer 11:28:09 f23df028b6ca: Pulling fs layer 11:28:09 d65c8cfc05b1: Pulling fs layer 11:28:09 2437ff75d9bd: Pulling fs layer 11:28:09 765212b225bb: Waiting 11:28:09 f23df028b6ca: Waiting 11:28:09 d65c8cfc05b1: Waiting 11:28:09 2437ff75d9bd: Waiting 11:28:09 04944245beec: Verifying Checksum 11:28:09 04944245beec: Download complete 11:28:09 765212b225bb: Verifying Checksum 11:28:09 765212b225bb: Download complete 11:28:09 f23df028b6ca: Verifying Checksum 11:28:09 f23df028b6ca: Download complete 11:28:09 d65c8cfc05b1: Verifying Checksum 11:28:09 d65c8cfc05b1: Download complete 11:28:10 699f458cf7ca: Verifying Checksum 11:28:10 699f458cf7ca: Download complete 11:28:10 8998bd30e6a1: Verifying Checksum 11:28:10 8998bd30e6a1: Download complete 11:28:12 2437ff75d9bd: Verifying Checksum 11:28:12 2437ff75d9bd: Download complete 11:28:14 8998bd30e6a1: Pull complete 11:28:14 04944245beec: Pull complete 11:28:16 699f458cf7ca: Pull complete 11:28:16 765212b225bb: Pull complete 11:28:17 f23df028b6ca: Pull complete 11:28:17 d65c8cfc05b1: Pull complete 11:28:32 2437ff75d9bd: Pull complete 11:28:32 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:28:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:28:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:28:32 prd-ubuntu20.04-docker-arm64-4c-16g-16493 does not seem to be running inside a container 11:28:32 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rfid-llrp-go/3 -v /w/workspace/device-rfid-llrp-go/3:/w/workspace/device-rfid-llrp-go/3:rw,z -v /w/workspace/device-rfid-llrp-go/3@tmp:/w/workspace/device-rfid-llrp-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 11:28:34 $ docker top 0efcc5e163788da82e7383a285ba7535aa9c295ca830fcf755ccbbc9ea7aad0e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:28:35 ---> job-cost.sh 11:28:35 lf-activate-venv: SKIPPING 11:28:35 INFO: No Stack... 11:28:35 INFO: Retrieving Pricing Info for: v3-standard-4 11:28:36 INFO: Archiving Costs [Pipeline] sh 11:28:36 + cat /w/workspace/device-rfid-llrp-go/3/archives/cost.csv 11:28:36 + cut -d, -f6 [Pipeline] lock 11:28:37 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-232-3-stack-cost] 11:28:37 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-232-3-stack-cost] did not exist. Created. 11:28:37 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-232-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:28:37 /w/workspace/device-rfid-llrp-go/3@tmp/durable-5e1e1a70/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:28:37 + echo total: 0.10999999940395355 [Pipeline] stash 11:28:37 Warning: overwriting stash ‘stack-cost’ 11:28:37 Stashed 1 file(s) [Pipeline] } 11:28:37 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-232-3-stack-cost] [Pipeline] // lock [Pipeline] } 11:28:37 $ docker stop --time=1 0efcc5e163788da82e7383a285ba7535aa9c295ca830fcf755ccbbc9ea7aad0e 11:28:40 $ docker rm -f --volumes 0efcc5e163788da82e7383a285ba7535aa9c295ca830fcf755ccbbc9ea7aad0e [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 11:28:40 provisioning config files... 11:28:40 copy managed file [device-rfid-llrp-go-codecov-token] to file:/w/workspace/undry_device-rfid-llrp-go_PR-232@tmp/config7856699976978362034tmp [Pipeline] { [Pipeline] sh 11:28:41 + set +x 11:28:41 + + curl -sbash https://codecov.io/bash -s 11:28:41 -- 11:28:41 11:28:41 _____ _ 11:28:41 / ____| | | 11:28:41 | | ___ __| | ___ ___ _____ __ 11:28:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:28:41 | |___| (_) | (_| | __/ (_| (_) \ V / 11:28:41 \_____\___/ \__,_|\___|\___\___/ \_/ 11:28:41 Bash-1.0.6 11:28:41 11:28:41 11:28:41 ==> git version 2.25.1 found 11:28:41 ==> 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 11:28:41 Release-Date: 2020-01-08 11:28:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:28:41 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:28:41 ==> Jenkins CI detected. 11:28:41 current dir:  /w/workspace/undry_device-rfid-llrp-go_PR-232 11:28:41 project root: . 11:28:41 --> token set from env 11:28:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:28:41 ==> Running gcov in . (disable via -X gcov) 11:28:41 ==> Python coveragepy not found 11:28:41 ==> Searching for coverage reports in: 11:28:41 + . 11:28:41 -> Found 1 reports 11:28:41 ==> Detecting git/mercurial file structure 11:28:41 ==> Reading reports 11:28:41 + ./coverage.out bytes=458038 11:28:41 ==> Appending adjustments 11:28:41 https://docs.codecov.io/docs/fixing-reports 11:28:41 + Found adjustments 11:28:41 ==> Gzipping contents 11:28:41 52K /tmp/codecov.b2d6Oa.gz 11:28:41 ==> Uploading reports 11:28:41 url: https://codecov.io 11:28:41 query: branch=PR-232&commit=e6d2b0afecc9fa9461215d6e1faf3fff34702740&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-232%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=232&job=&cmd_args= 11:28:41 -> Pinging Codecov 11:28:41 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-232&commit=e6d2b0afecc9fa9461215d6e1faf3fff34702740&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-232%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=232&job=&cmd_args= 11:28:41 -> Uploading to 11:28:41 https://storage.googleapis.com/codecov/v4/raw/2023-05-23/581DD39554BDF9B6E22D074273EAD858/e6d2b0afecc9fa9461215d6e1faf3fff34702740/bce03971-c3db-4aba-8dae-7f59c77ee5b9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230523%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230523T112841Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f7574f1faee1c45bcb7e2842a942b7fd0bd1b83f2012de9b95082f4bd63c7f1b 11:28:41 % Total % Received % Xferd Average Speed Time Time Time Current 11:28:41 Dload Upload Total Spent Left Speed 11:28:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 50497 0 0 100 50497 0 228k --:--:-- --:--:-- --:--:-- 228k 11:28:41 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/e6d2b0afecc9fa9461215d6e1faf3fff34702740 [Pipeline] } 11:28:41 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 11:28:42 + [ -d /w/workspace/undry_device-rfid-llrp-go_PR-232/archives ] 11:28:42 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-232/archives 11:28:42 total 16 11:28:42 drwxr-xr-x 3 root root 4096 May 23 11:18 . 11:28:42 drwxrwxr-x 12 jenkins jenkins 4096 May 23 11:18 .. 11:28:42 drwxr-xr-x 2 root root 4096 May 23 11:18 cost 11:28:42 -rw-r--r-- 1 root root 91 May 23 11:18 cost.csv 11:28:42 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-rfid-llrp-go_PR-232/archives 11:28:42 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-232/archives 11:28:42 total 16 11:28:42 drwxr-xr-x 3 jenkins jenkins 4096 May 23 11:18 . 11:28:42 drwxrwxr-x 12 jenkins jenkins 4096 May 23 11:18 .. 11:28:42 drwxr-xr-x 2 jenkins jenkins 4096 May 23 11:18 cost 11:28:42 -rw-r--r-- 1 jenkins jenkins 91 May 23 11:18 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:28:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:28:43 ---> package-listing.sh 11:28:43 ++ facter osfamily 11:28:43 ++ tr '[:upper:]' '[:lower:]' 11:28:43 + OS_FAMILY=debian 11:28:43 + workspace=/w/workspace/undry_device-rfid-llrp-go_PR-232 11:28:43 + START_PACKAGES=/tmp/packages_start.txt 11:28:43 + END_PACKAGES=/tmp/packages_end.txt 11:28:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:28:43 + PACKAGES=/tmp/packages_start.txt 11:28:43 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-232 ']' 11:28:43 + PACKAGES=/tmp/packages_end.txt 11:28:43 + case "${OS_FAMILY}" in 11:28:43 + dpkg -l 11:28:43 + grep '^ii' 11:28:44 + '[' -f /tmp/packages_start.txt ']' 11:28:44 + '[' -f /tmp/packages_end.txt ']' 11:28:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:28:44 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-232 ']' 11:28:44 + mkdir -p /w/workspace/undry_device-rfid-llrp-go_PR-232/archives/ 11:28:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-rfid-llrp-go_PR-232/archives/ [Pipeline] echo 11:28:44 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-232/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:28:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 11:28:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:28:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 11:28:44 prd-ubuntu20.04-docker-8c-8g-16492 does not seem to be running inside a container 11:28:44 $ 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-232/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-232 -v /w/workspace/undry_device-rfid-llrp-go_PR-232:/w/workspace/undry_device-rfid-llrp-go_PR-232:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-232@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-232@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 11:28:45 $ docker top 12d0e1159bd71b5af2439fc4b17420dbf2b882d3fd31d565a2006d3da19335ee -eo pid,comm [Pipeline] { [Pipeline] sh 11:28:45 + touch /tmp/pre-build-complete [Pipeline] sh 11:28:45 + mkdir -p /var/log/sysstat [Pipeline] sh 11:28:46 + ls /var/log/sa-host 11:28:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:28:46 provisioning config files... 11:28:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-232@tmp/config10725258718352221437tmp [Pipeline] { [Pipeline] echo 11:28:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:28:46 ---> create-netrc.sh [Pipeline] } 11:28:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:28:46 ---> python-tools-install.sh [Pipeline] echo 11:28:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:28:47 ---> sudo-logs.sh 11:28:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:28:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:28:47 ---> job-cost.sh 11:28:47 lf-activate-venv: SKIPPING 11:28:47 DEBUG: total: 0.2199999988079071 11:28:47 INFO: Retrieving Stack Cost... 11:28:47 INFO: Retrieving Pricing Info for: v3-standard-8 11:28:48 INFO: Archiving Costs [Pipeline] echo 11:28:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:28:48 ---> logs-deploy.sh 11:28:48 lf-activate-venv: SKIPPING 11:28:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rfid-llrp-go/PR-232/3 11:28:48 INFO: archiving workspace using pattern(s): 11:28:49 Archives upload complete. 11:28:49 INFO: archiving logs to Nexus