Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4e83b6680fa27d1881f69792a07b123682c6b4e6 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-ssh18307157779465816731.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh17761488747323482795.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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/main/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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13116611449508163344.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh6414292281822730873.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/main/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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5743711360020036364.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] ========================================================= [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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rfid-llrp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-17263’ Running on prd-ubuntu20.04-docker-8c-8g-17265 in /w/workspace/foundry_device-rfid-llrp-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git > git init /w/workspace/foundry_device-rfid-llrp-go_main # 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 Avoid second fetch Checking out Revision 4e83b6680fa27d1881f69792a07b123682c6b4e6 (main) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 (#270)" > 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 core.sparsecheckout # timeout=10 > git checkout -f 4e83b6680fa27d1881f69792a07b123682c6b4e6 # timeout=10 > git rev-list --no-walk b9751f41d5278ba8d3f978611c0e9ad9426ae677 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:36:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:36:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:36:56 ========================================================= 17:36:56 EdgeX Global Pipelines Version Info 17:36:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:36:57 ------------------- 17:36:57 stable info: 17:36:57 ------------------- 17:36:57 Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com 17:36:57 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 17:36:57 Message: update stable to v1.0.257 17:36:58 ------------------- 17:36:58 experimental info: 17:36:58 ------------------- 17:36:58 Commited By: **** collab-it+edgex@linuxfoundation.org 17:36:58 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 17:36:58 Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:36:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rfid-llrp-go-settings [Pipeline] echo 17:36:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-rfid-llrp-go [Pipeline] echo 17:36:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:36:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:36:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:36:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 17:36:58 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:36:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:36:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:36:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:36:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:36:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rfid-llrp [Pipeline] echo 17:36:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:36:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:36:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:36:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:36:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:36:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:36:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:36:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:36:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:36:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:36:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:36:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:36:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:36:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:36:59 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:36:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 17:36:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 17:36:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 17:36:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4e83b6680fa27d1881f69792a07b123682c6b4e6 [Pipeline] echo 17:36:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4e83b66 [Pipeline] echo 17:36:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:36:59 provisioning config files... 17:36:59 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/foundry_device-rfid-llrp-go_main@tmp/config7593053370135297261tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:36:59 ---> docker-login.sh 17:36:59 nexus3.edgexfoundry.org:10001 17:36:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:59 Configure a credential helper to remove this warning. See 17:36:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:59 17:36:59 Login Succeeded 17:36:59 nexus3.edgexfoundry.org:10002 17:36:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:36:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:36:59 Configure a credential helper to remove this warning. See 17:36:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:36:59 17:36:59 Login Succeeded 17:36:59 nexus3.edgexfoundry.org:10003 17:37:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:37:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:37:00 Configure a credential helper to remove this warning. See 17:37:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:37:00 17:37:00 Login Succeeded 17:37:00 nexus3.edgexfoundry.org:10004 17:37:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:37:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:37:00 Configure a credential helper to remove this warning. See 17:37:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:37:00 17:37:00 Login Succeeded 17:37:00 docker.io 17:37:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:37:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:37:01 Configure a credential helper to remove this warning. See 17:37:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:37:01 17:37:01 Login Succeeded 17:37:01 ---> docker-login.sh ends [Pipeline] } 17:37:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:37:01 + git rev-list -1 --merges 4e83b6680fa27d1881f69792a07b123682c6b4e6~1..4e83b6680fa27d1881f69792a07b123682c6b4e6 [Pipeline] echo 17:37:01 -----------> git rev-list -1 --merges 4e83b6680fa27d1881f69792a07b123682c6b4e6~1..4e83b6680fa27d1881f69792a07b123682c6b4e6 4e83b6680fa27d1881f69792a07b123682c6b4e6 [false] [Pipeline] sh 17:37:02 + git log --format=format:%s -1 4e83b6680fa27d1881f69792a07b123682c6b4e6 [Pipeline] echo 17:37:02 ========================================================= 17:37:02 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:37:02 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:37:02 + git log --format=format:%s -1 4e83b6680fa27d1881f69792a07b123682c6b4e6 [Pipeline] echo 17:37:02 [semverPrep] GIT_COMMIT: 4e83b6680fa27d1881f69792a07b123682c6b4e6, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 (#270) [Pipeline] echo 17:37:02 [semverPrep] This is not a build commit. [Pipeline] sh 17:37:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:37:02 + grep -v github /etc/ssh/ssh_known_hosts 17:37:02 + [ -e /tmp/ssh_known_hosts ] 17:37:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:37:02 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:37:02 + sudo tee -a /etc/ssh/ssh_known_hosts 17:37:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:37:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:37:03 17:37:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:37:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:37:03 0.1.4: Pulling from edgex-devops/py-git-semver 17:37:03 b85a868b505f: Pulling fs layer 17:37:03 e2be974225ed: Pulling fs layer 17:37:03 339a4e72a1f5: Pulling fs layer 17:37:03 988bab9f4d93: Pulling fs layer 17:37:03 1469e6f7b9e6: Pulling fs layer 17:37:03 eaf3925da568: Pulling fs layer 17:37:03 bab4dde63d76: Pulling fs layer 17:37:03 bde34c3a00c8: Pulling fs layer 17:37:03 b352a97aabf1: Pulling fs layer 17:37:03 4872d77fe225: Pulling fs layer 17:37:03 5851b861e8e6: Pulling fs layer 17:37:03 eaf3925da568: Waiting 17:37:03 bab4dde63d76: Waiting 17:37:03 988bab9f4d93: Waiting 17:37:03 4872d77fe225: Waiting 17:37:03 b352a97aabf1: Waiting 17:37:03 1469e6f7b9e6: Waiting 17:37:03 5851b861e8e6: Waiting 17:37:03 e2be974225ed: Download complete 17:37:03 988bab9f4d93: Verifying Checksum 17:37:03 988bab9f4d93: Download complete 17:37:03 1469e6f7b9e6: Verifying Checksum 17:37:03 1469e6f7b9e6: Download complete 17:37:03 eaf3925da568: Verifying Checksum 17:37:03 eaf3925da568: Download complete 17:37:03 339a4e72a1f5: Verifying Checksum 17:37:03 339a4e72a1f5: Download complete 17:37:03 bde34c3a00c8: Verifying Checksum 17:37:03 bde34c3a00c8: Download complete 17:37:03 b352a97aabf1: Verifying Checksum 17:37:03 b352a97aabf1: Download complete 17:37:03 4872d77fe225: Verifying Checksum 17:37:03 4872d77fe225: Download complete 17:37:03 5851b861e8e6: Verifying Checksum 17:37:03 5851b861e8e6: Download complete 17:37:03 b85a868b505f: Verifying Checksum 17:37:03 b85a868b505f: Download complete 17:37:04 bab4dde63d76: Verifying Checksum 17:37:04 bab4dde63d76: Download complete 17:37:05 b85a868b505f: Pull complete 17:37:05 e2be974225ed: Pull complete 17:37:05 339a4e72a1f5: Pull complete 17:37:05 988bab9f4d93: Pull complete 17:37:06 1469e6f7b9e6: Pull complete 17:37:06 eaf3925da568: Pull complete 17:37:07 bab4dde63d76: Pull complete 17:37:07 bde34c3a00c8: Pull complete 17:37:08 b352a97aabf1: Pull complete 17:37:08 4872d77fe225: Pull complete 17:37:08 5851b861e8e6: Pull complete 17:37:08 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:37:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:37:08 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:37:08 prd-ubuntu20.04-docker-8c-8g-17265 does not seem to be running inside a container 17:37:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-rfid-llrp-go_main -v /w/workspace/foundry_device-rfid-llrp-go_main:/w/workspace/foundry_device-rfid-llrp-go_main:rw,z -v /w/workspace/foundry_device-rfid-llrp-go_main@tmp:/w/workspace/foundry_device-rfid-llrp-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:37:10 $ docker top 2adb1abd71a6fa38edf7ded0ad7044825976114639bdca7dbfb7bd35c811c0b1 -eo pid,comm 17:37:10 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). 17:37:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:37:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:37:10 [ssh-agent] Looking for ssh-agent implementation... 17:37:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:37:11 $ docker exec 2adb1abd71a6fa38edf7ded0ad7044825976114639bdca7dbfb7bd35c811c0b1 ssh-agent 17:37:11 SSH_AUTH_SOCK=/tmp/ssh-bx4thfSqkhSE/agent.32 17:37:11 SSH_AGENT_PID=38 17:37:11 Running ssh-add (command line suppressed) 17:37:11 Identity added: /w/workspace/foundry_device-rfid-llrp-go_main@tmp/private_key_11463154877659311984.key (/w/workspace/foundry_device-rfid-llrp-go_main@tmp/private_key_11463154877659311984.key) 17:37:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:37:11 + git tag --points-at HEAD [Pipeline] } 17:37:11 $ docker exec --env ******** --env ******** 2adb1abd71a6fa38edf7ded0ad7044825976114639bdca7dbfb7bd35c811c0b1 ssh-agent -k 17:37:11 unset SSH_AUTH_SOCK; 17:37:11 unset SSH_AGENT_PID; 17:37:11 echo Agent pid 38 killed; 17:37:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:37:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:37:11 [ssh-agent] Looking for ssh-agent implementation... 17:37:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:37:11 $ docker exec 2adb1abd71a6fa38edf7ded0ad7044825976114639bdca7dbfb7bd35c811c0b1 ssh-agent 17:37:11 SSH_AUTH_SOCK=/tmp/ssh-6a8vNztJQDCF/agent.70 17:37:11 SSH_AGENT_PID=76 17:37:11 Running ssh-add (command line suppressed) 17:37:12 Identity added: /w/workspace/foundry_device-rfid-llrp-go_main@tmp/private_key_10656178831540746030.key (/w/workspace/foundry_device-rfid-llrp-go_main@tmp/private_key_10656178831540746030.key) 17:37:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:37:12 + git semver init 17:37:12 2023-11-11 17:37:12,563 [run_init] DEBUG init version:0.0.0 force:False 17:37:12 2023-11-11 17:37:12,563 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-rfid-llrp-go_main/.semver 17:37:12 2023-11-11 17:37:12,564 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rfid-llrp-go.git /w/workspace/foundry_device-rfid-llrp-go_main/.semver 17:37:12 2023-11-11 17:37:12,564 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rfid-llrp-go.git', '/w/workspace/foundry_device-rfid-llrp-go_main/.semver'], cwd=/w/workspace/foundry_device-rfid-llrp-go_main, universal_newlines=False, shell=None, istream=None) 17:37:13 2023-11-11 17:37:13,413 [append_file] DEBUG append to file:/w/workspace/foundry_device-rfid-llrp-go_main/.git/info/exclude 17:37:13 2023-11-11 17:37:13,413 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-rfid-llrp-go_main/.semver/main with force:False 17:37:13 2023-11-11 17:37:13,414 [read_version] DEBUG read version from /w/workspace/foundry_device-rfid-llrp-go_main/.semver/main 17:37:13 2023-11-11 17:37:13,414 [read_version] DEBUG read version from /w/workspace/foundry_device-rfid-llrp-go_main/.semver/main 17:37:13 3.1.0-dev.23 [Pipeline] } 17:37:13 $ docker exec --env ******** --env ******** 2adb1abd71a6fa38edf7ded0ad7044825976114639bdca7dbfb7bd35c811c0b1 ssh-agent -k 17:37:13 unset SSH_AUTH_SOCK; 17:37:13 unset SSH_AGENT_PID; 17:37:13 echo Agent pid 76 killed; 17:37:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:37:13 + git semver [Pipeline] } 17:37:14 $ docker stop --time=1 2adb1abd71a6fa38edf7ded0ad7044825976114639bdca7dbfb7bd35c811c0b1 17:37:15 $ docker rm -f --volumes 2adb1abd71a6fa38edf7ded0ad7044825976114639bdca7dbfb7bd35c811c0b1 [Pipeline] // withDockerContainer [Pipeline] sh 17:37:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:37:16 Stashed 1 file(s) [Pipeline] echo 17:37:16 [edgeXSemver]: initialized semver on version 3.1.0-dev.23 [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 17:37:16 provisioning config files... 17:37:16 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/foundry_device-rfid-llrp-go_main@tmp/config7044958787907235273tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:37:16 ---> docker-login.sh 17:37:16 nexus3.edgexfoundry.org:10001 17:37:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:37:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:37:16 Configure a credential helper to remove this warning. See 17:37:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:37:16 17:37:16 Login Succeeded 17:37:16 nexus3.edgexfoundry.org:10002 17:37:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:37:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:37:16 Configure a credential helper to remove this warning. See 17:37:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:37:16 17:37:16 Login Succeeded 17:37:16 nexus3.edgexfoundry.org:10003 17:37:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:37:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:37:16 Configure a credential helper to remove this warning. See 17:37:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:37:16 17:37:16 Login Succeeded 17:37:16 nexus3.edgexfoundry.org:10004 17:37:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:37:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:37:16 Configure a credential helper to remove this warning. See 17:37:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:37:16 17:37:16 Login Succeeded 17:37:16 docker.io 17:37:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:37:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:37:17 Configure a credential helper to remove this warning. See 17:37:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:37:17 17:37:17 Login Succeeded 17:37:17 ---> docker-login.sh ends [Pipeline] } 17:37:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:37:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:37:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:37:17 ========================================================= 17:37:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 17:37:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:37:17 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 17:37:17 Sending build context to Docker daemon 4.348MB 17:37:17 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 17:37:17 Step 2/12 : FROM ${BASE} AS builder 17:37:17 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 17:37:17 7264a8db6415: Pulling fs layer 17:37:17 c4d48a809fc2: Pulling fs layer 17:37:17 4f1c88b9dad5: Pulling fs layer 17:37:17 ad3a456e5733: Pulling fs layer 17:37:17 33e27b845d1e: Pulling fs layer 17:37:17 ad3a456e5733: Waiting 17:37:17 c68163c4e522: Pulling fs layer 17:37:17 50da416c3ac9: Pulling fs layer 17:37:17 33e27b845d1e: Waiting 17:37:17 c68163c4e522: Waiting 17:37:17 23d2d4c4bb30: Pulling fs layer 17:37:17 23d2d4c4bb30: Waiting 17:37:17 c4d48a809fc2: Download complete 17:37:17 ad3a456e5733: Verifying Checksum 17:37:17 ad3a456e5733: Download complete 17:37:17 33e27b845d1e: Verifying Checksum 17:37:17 33e27b845d1e: Download complete 17:37:17 7264a8db6415: Verifying Checksum 17:37:17 7264a8db6415: Download complete 17:37:17 c68163c4e522: Verifying Checksum 17:37:17 c68163c4e522: Download complete 17:37:17 7264a8db6415: Pull complete 17:37:18 c4d48a809fc2: Pull complete 17:37:18 23d2d4c4bb30: Verifying Checksum 17:37:18 23d2d4c4bb30: Download complete 17:37:18 4f1c88b9dad5: Verifying Checksum 17:37:18 4f1c88b9dad5: Download complete 17:37:18 50da416c3ac9: Download complete 17:37:21 4f1c88b9dad5: Pull complete 17:37:21 ad3a456e5733: Pull complete 17:37:21 33e27b845d1e: Pull complete 17:37:21 c68163c4e522: Pull complete 17:37:24 50da416c3ac9: Pull complete 17:37:24 23d2d4c4bb30: Pull complete 17:37:24 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 17:37:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 17:37:24 ---> 0786185ac409 17:37:24 Step 3/12 : ARG ADD_BUILD_TAGS="" 17:37:27 ---> Running in d5078da49f36 17:37:27 Removing intermediate container d5078da49f36 17:37:27 ---> 39c0a04f365d 17:37:27 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:37:27 ---> Running in b06c0ed9da24 17:37:27 Removing intermediate container b06c0ed9da24 17:37:27 ---> bd48b53a6d83 17:37:27 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 17:37:27 ---> Running in fab1156c2059 17:37:28 Removing intermediate container fab1156c2059 17:37:28 ---> 41934fc5a7dd 17:37:28 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 17:37:28 ---> Running in 837e62bf41bb 17:37:28 Removing intermediate container 837e62bf41bb 17:37:28 ---> 97e01a773776 17:37:28 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:37:28 ---> Running in bde403a97bef 17:37:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:37:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:37:28 OK: 264 MiB in 52 packages 17:37:29 Removing intermediate container bde403a97bef 17:37:29 ---> ed4056e3949e 17:37:29 Step 8/12 : WORKDIR /app 17:37:29 ---> Running in 1aa6c9eaca66 17:37:29 Removing intermediate container 1aa6c9eaca66 17:37:29 ---> 9491962114ae 17:37:29 Step 9/12 : COPY go.mod vendor* ./ 17:37:29 ---> 5c479aab8aa9 17:37:29 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:37:29 ---> Running in 50624b3a6ef8 17:37:31 Still waiting to schedule task 17:37:31 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-17264’ 17:38:01 Removing intermediate container 50624b3a6ef8 17:38:01 ---> 739e9c1c1f40 17:38:01 Step 11/12 : COPY . . 17:38:01 ---> 816d83ead5f9 17:38:01 Step 12/12 : RUN $MAKE 17:38:01 ---> Running in d4ba5ad6058a 17:38:01 noop 17:38:01 Removing intermediate container d4ba5ad6058a 17:38:01 ---> 8807cb8d53b2 17:38:01 Successfully built 8807cb8d53b2 17:38:01 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:02 + docker inspect -f . ci-base-image-x86_64 17:38:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:38:02 prd-ubuntu20.04-docker-8c-8g-17265 does not seem to be running inside a container 17:38:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-rfid-llrp-go_main -v /w/workspace/foundry_device-rfid-llrp-go_main:/w/workspace/foundry_device-rfid-llrp-go_main:rw,z -v /w/workspace/foundry_device-rfid-llrp-go_main@tmp:/w/workspace/foundry_device-rfid-llrp-go_main@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 ******** ci-base-image-x86_64 cat 17:38:02 $ docker top 69f5cd0c4ed27d544843738683777aa699eb2faaa1ec5ce93817ac86fa29d5ac -eo pid,comm [Pipeline] { [Pipeline] sh 17:38:03 + go version 17:38:03 go version go1.21.0 linux/amd64 [Pipeline] } 17:38:03 $ docker stop --time=1 69f5cd0c4ed27d544843738683777aa699eb2faaa1ec5ce93817ac86fa29d5ac 17:38:04 $ docker rm -f --volumes 69f5cd0c4ed27d544843738683777aa699eb2faaa1ec5ce93817ac86fa29d5ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:04 + docker inspect -f . ci-base-image-x86_64 17:38:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:38:04 prd-ubuntu20.04-docker-8c-8g-17265 does not seem to be running inside a container 17:38:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-rfid-llrp-go_main -v /w/workspace/foundry_device-rfid-llrp-go_main:/w/workspace/foundry_device-rfid-llrp-go_main:rw,z -v /w/workspace/foundry_device-rfid-llrp-go_main@tmp:/w/workspace/foundry_device-rfid-llrp-go_main@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 ******** ci-base-image-x86_64 cat 17:38:05 $ docker top 164a2c61b6afac4fac78b59efef044e222c3b697b5e05e076081b55b1dd8f4ac -eo pid,comm [Pipeline] { [Pipeline] sh 17:38:05 + git config --global --add safe.directory /w/workspace/foundry_device-rfid-llrp-go_main [Pipeline] fileExists [Pipeline] sh 17:38:06 + make test 17:38:06 go test ./... -coverprofile=coverage.out ./... 17:38:06 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 17:38:19 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 17:38:19 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 17:38:22 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 4.288s coverage: 40.6% of statements 17:38:22 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.246s coverage: 51.9% of statements 17:38:22 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.009s coverage: 96.4% of statements 17:38:44 go vet ./... 17:38:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:38:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:38:45 ./bin/test-attribution-txt.sh [Pipeline] echo 17:38:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 17:38:45 $ docker stop --time=1 164a2c61b6afac4fac78b59efef044e222c3b697b5e05e076081b55b1dd8f4ac 17:38:46 $ docker rm -f --volumes 164a2c61b6afac4fac78b59efef044e222c3b697b5e05e076081b55b1dd8f4ac [Pipeline] // withDockerContainer [Pipeline] sh 17:38:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:38:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:38:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:38:48 + ls -al . 17:38:48 total 640 17:38:48 drwxrwxr-x 10 jenkins jenkins 4096 Nov 11 17:38 . 17:38:48 drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 17:36 .. 17:38:48 -rw-rw-r-- 1 jenkins jenkins 134 Nov 11 17:36 .dockerignore 17:38:48 drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 17:38 .git 17:38:48 drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 17:36 .github 17:38:48 -rw-rw-r-- 1 jenkins jenkins 880 Nov 11 17:36 .gitignore 17:38:48 -rw-rw-r-- 1 jenkins jenkins 41 Nov 11 17:36 .golangci.yml 17:38:48 drwxr-xr-x 3 jenkins jenkins 4096 Nov 11 17:37 .semver 17:38:48 -rw-rw-r-- 1 jenkins jenkins 11980 Nov 11 17:36 Attribution.txt 17:38:48 -rw-rw-r-- 1 jenkins jenkins 11677 Nov 11 17:36 CHANGELOG.md 17:38:48 -rw-rw-r-- 1 jenkins jenkins 1347 Nov 11 17:36 Dockerfile 17:38:48 -rw-rw-r-- 1 jenkins jenkins 677 Nov 11 17:36 GOVERNANCE.md 17:38:48 -rw-rw-r-- 1 jenkins jenkins 661 Nov 11 17:36 Jenkinsfile 17:38:48 -rw-rw-r-- 1 jenkins jenkins 11347 Nov 11 17:36 LICENSE 17:38:48 -rw-rw-r-- 1 jenkins jenkins 2179 Nov 11 17:36 Makefile 17:38:48 -rw-rw-r-- 1 jenkins jenkins 625 Nov 11 17:36 OWNERS.md 17:38:48 -rw-rw-r-- 1 jenkins jenkins 28907 Nov 11 17:36 README.md 17:38:48 -rw-rw-r-- 1 jenkins jenkins 12 Nov 11 17:37 VERSION 17:38:48 drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 17:36 bin 17:38:48 drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 17:36 cmd 17:38:48 -rw-r--r-- 1 jenkins jenkins 459493 Nov 11 17:38 coverage.out 17:38:48 drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 17:36 examples 17:38:48 -rw-rw-r-- 1 jenkins jenkins 3831 Nov 11 17:36 go.mod 17:38:48 -rw-rw-r-- 1 jenkins jenkins 34396 Nov 11 17:36 go.sum 17:38:48 drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 17:36 images 17:38:48 drwxrwxr-x 5 jenkins jenkins 4096 Nov 11 17:36 internal 17:38:48 -rw-rw-r-- 1 jenkins jenkins 193 Nov 11 17:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:48 + 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=4e83b6680fa27d1881f69792a07b123682c6b4e6 --label arch=amd64 --label version=3.1.0-dev.23 . 17:38:48 Sending build context to Docker daemon 4.348MB 17:38:48 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 17:38:48 Step 2/24 : FROM ${BASE} AS builder 17:38:48 ---> 8807cb8d53b2 17:38:48 Step 3/24 : ARG ADD_BUILD_TAGS="" 17:38:48 ---> Running in d6220d83aea4 17:38:48 Removing intermediate container d6220d83aea4 17:38:48 ---> 3c260dcb7045 17:38:48 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:38:48 ---> Running in 814c62664fef 17:38:48 Removing intermediate container 814c62664fef 17:38:48 ---> 05482956c9c0 17:38:48 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 17:38:48 ---> Running in 419b7d4f1a2f 17:38:48 Removing intermediate container 419b7d4f1a2f 17:38:48 ---> a77a3a0f6c86 17:38:48 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 17:38:48 ---> Running in 5335a2b8ab48 17:38:49 Removing intermediate container 5335a2b8ab48 17:38:49 ---> 55043ff869bf 17:38:49 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:38:49 ---> Running in 3aef106c419a 17:38:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:38:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:38:49 OK: 264 MiB in 52 packages 17:38:50 Removing intermediate container 3aef106c419a 17:38:50 ---> 29b1cd1e27b7 17:38:50 Step 8/24 : WORKDIR /app 17:38:50 ---> Running in 0fa40136ca04 17:38:50 Removing intermediate container 0fa40136ca04 17:38:50 ---> 79ba0a04e3a1 17:38:50 Step 9/24 : COPY go.mod vendor* ./ 17:38:50 ---> 47deeac4f46a 17:38:50 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:38:50 ---> Running in 604fce177eab 17:38:51 Removing intermediate container 604fce177eab 17:38:51 ---> b90b6718dca4 17:38:51 Step 11/24 : COPY . . 17:38:51 ---> 6d2e94336fd6 17:38:51 Step 12/24 : RUN $MAKE 17:38:51 ---> Running in f083c5807ac0 17:38:51 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rfid-llrp-go.Version=3.1.0-dev.23 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-rfid-llrp ./cmd 17:39:09 Removing intermediate container f083c5807ac0 17:39:09 ---> 4c3a94d381f7 17:39:09 Step 13/24 : FROM alpine:3.18 17:39:15 Get "https://registry-1.docker.io/v2/library/alpine/manifests/sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978": EOF [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:39:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:39:15 17:39:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:39:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:39:15 latest: Pulling from edgex-lftools-log-publisher 17:39:15 5eb5b503b376: Pulling fs layer 17:39:15 5c69ac0246d0: Pulling fs layer 17:39:15 ec43610c2a17: Pulling fs layer 17:39:15 3a2ae6a8a46f: Pulling fs layer 17:39:15 33b1e0a273af: Pulling fs layer 17:39:15 5d3b04190fa2: Pulling fs layer 17:39:15 2f39f015ded8: Pulling fs layer 17:39:15 33b1e0a273af: Waiting 17:39:15 5d3b04190fa2: Waiting 17:39:15 3a2ae6a8a46f: Waiting 17:39:16 5c69ac0246d0: Download complete 17:39:16 3a2ae6a8a46f: Download complete 17:39:16 33b1e0a273af: Verifying Checksum 17:39:16 33b1e0a273af: Download complete 17:39:16 5d3b04190fa2: Download complete 17:39:16 ec43610c2a17: Download complete 17:39:16 5eb5b503b376: Verifying Checksum 17:39:16 5eb5b503b376: Download complete 17:39:16 2f39f015ded8: Verifying Checksum 17:39:16 2f39f015ded8: Download complete 17:39:17 5eb5b503b376: Pull complete 17:39:17 5c69ac0246d0: Pull complete 17:39:18 ec43610c2a17: Pull complete 17:39:18 3a2ae6a8a46f: Pull complete 17:39:18 33b1e0a273af: Pull complete 17:39:18 5d3b04190fa2: Pull complete 17:39:22 2f39f015ded8: Pull complete 17:39:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:39:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:39:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:39:22 prd-ubuntu20.04-docker-8c-8g-17265 does not seem to be running inside a container 17:39:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-rfid-llrp-go_main -v /w/workspace/foundry_device-rfid-llrp-go_main:/w/workspace/foundry_device-rfid-llrp-go_main:rw,z -v /w/workspace/foundry_device-rfid-llrp-go_main@tmp:/w/workspace/foundry_device-rfid-llrp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:39:26 $ docker top 0bc6ac70435f0d8f51868f5a476d5bffb56f881b8d5d308388c37a5439534f38 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:39:26 ---> job-cost.sh 17:39:26 lf-activate-venv: SKIPPING 17:39:26 INFO: No Stack... 17:39:27 INFO: Retrieving Pricing Info for: v3-standard-8 17:39:27 INFO: Archiving Costs [Pipeline] sh 17:39:27 + cat /w/workspace/foundry_device-rfid-llrp-go_main/archives/cost.csv 17:39:27 + cut -d, -f6 [Pipeline] lock 17:39:27 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-main-129-stack-cost] 17:39:27 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-main-129-stack-cost] did not exist. Created. 17:39:27 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-main-129-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:39:28 + echo total: 0.2199999988079071 [Pipeline] stash 17:39:28 Stashed 1 file(s) [Pipeline] } 17:39:28 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-main-129-stack-cost] [Pipeline] // lock [Pipeline] } 17:39:28 $ docker stop --time=1 0bc6ac70435f0d8f51868f5a476d5bffb56f881b8d5d308388c37a5439534f38 17:39:29 $ docker rm -f --volumes 0bc6ac70435f0d8f51868f5a476d5bffb56f881b8d5d308388c37a5439534f38 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:39:29 Failed in branch amd64 17:40:57 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17266 in /w/workspace/foundry_device-rfid-llrp-go_main [Pipeline] { [Pipeline] ws 17:40:57 Running in /w/workspace/device-rfid-llrp-go/129 [Pipeline] { [Pipeline] checkout 17:40:57 The recommended git tool is: git 17:41:02 using credential edgex-jenkins-ssh 17:41:02 Cloning the remote Git repository 17:41:02 Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git 17:41:02 > git init /w/workspace/device-rfid-llrp-go/129 # timeout=10 17:41:02 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 17:41:02 > git --version # timeout=10 17:41:02 > git --version # 'git version 2.25.1' 17:41:02 using GIT_SSH to set credentials SSH Credentials for GitHub 17:41:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:41:06 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 17:41:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:41:07 Avoid second fetch 17:41:07 Checking out Revision 4e83b6680fa27d1881f69792a07b123682c6b4e6 (main) 17:41:07 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 (#270)" 17:41:07 > git config core.sparsecheckout # timeout=10 17:41:07 > git checkout -f 4e83b6680fa27d1881f69792a07b123682c6b4e6 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:41:08 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:41:08 % Total % Received % Xferd Average Speed Time Time Time Current 17:41:08 Dload Upload Total Spent Left Speed 17:41:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 103k 0 --:--:-- --:--:-- --:--:-- 104k [Pipeline] sh 17:41:09 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:41:09 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:41:09 + sudo tee /etc/docker/daemon.new 17:41:09 { 17:41:09 "registry-mirrors": [ 17:41:09 "https://nexus3.edgexfoundry.org:10001" 17:41:09 ], 17:41:09 "bip": "10.250.0.254/24", 17:41:09 "hosts": [ 17:41:09 "tcp://0.0.0.0:5555", 17:41:09 "unix:///var/run/docker.sock" 17:41:09 ], 17:41:09 "mtu": 1458, 17:41:09 "selinux-enabled": true, 17:41:09 "seccomp-profile": "/etc/docker/seccomp.json" 17:41:09 } [Pipeline] sh 17:41:10 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:41:10 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:41:28 provisioning config files... 17:41:28 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/device-rfid-llrp-go/129@tmp/config10869608044356962935tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:41:29 ---> docker-login.sh 17:41:29 nexus3.edgexfoundry.org:10001 17:41:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:41:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:41:29 Configure a credential helper to remove this warning. See 17:41:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:41:29 17:41:29 Login Succeeded 17:41:29 nexus3.edgexfoundry.org:10002 17:41:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:41:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:41:29 Configure a credential helper to remove this warning. See 17:41:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:41:29 17:41:29 Login Succeeded 17:41:30 nexus3.edgexfoundry.org:10003 17:41:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:41:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:41:30 Configure a credential helper to remove this warning. See 17:41:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:41:30 17:41:30 Login Succeeded 17:41:30 nexus3.edgexfoundry.org:10004 17:41:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:41:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:41:30 Configure a credential helper to remove this warning. See 17:41:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:41:30 17:41:30 Login Succeeded 17:41:30 docker.io 17:41:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:41:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:41:31 Configure a credential helper to remove this warning. See 17:41:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:41:31 17:41:31 Login Succeeded 17:41:31 ---> docker-login.sh ends [Pipeline] } 17:41:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:41:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:41:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:41:31 ========================================================= 17:41:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 17:41:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:41:32 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 17:41:32 Sending build context to Docker daemon 1.198MB 17:41:32 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 17:41:32 Step 2/12 : FROM ${BASE} AS builder 17:41:34 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:41:34 9fda8d8052c6: Pulling fs layer 17:41:34 5d54e960e981: Pulling fs layer 17:41:34 c4a7e357bf2a: Pulling fs layer 17:41:34 f0e02332f6b5: Pulling fs layer 17:41:34 cefa15bbcfad: Pulling fs layer 17:41:34 17808c966233: Pulling fs layer 17:41:34 f4c1fc716caa: Pulling fs layer 17:41:34 cefa15bbcfad: Waiting 17:41:34 17808c966233: Waiting 17:41:34 f4c1fc716caa: Waiting 17:41:34 5d54e960e981: Verifying Checksum 17:41:34 5d54e960e981: Download complete 17:41:34 9fda8d8052c6: Download complete 17:41:34 f0e02332f6b5: Verifying Checksum 17:41:34 f0e02332f6b5: Download complete 17:41:34 cefa15bbcfad: Verifying Checksum 17:41:34 cefa15bbcfad: Download complete 17:41:34 f4c1fc716caa: Download complete 17:41:34 9fda8d8052c6: Pull complete 17:41:35 5d54e960e981: Pull complete 17:41:35 c4a7e357bf2a: Verifying Checksum 17:41:35 c4a7e357bf2a: Download complete 17:41:37 17808c966233: Verifying Checksum 17:41:37 17808c966233: Download complete 17:41:49 c4a7e357bf2a: Pull complete 17:41:49 f0e02332f6b5: Pull complete 17:41:49 cefa15bbcfad: Pull complete 17:41:57 17808c966233: Pull complete 17:41:58 f4c1fc716caa: Pull complete 17:41:58 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 17:41:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 17:41:58 ---> ea914061e18c 17:41:58 Step 3/12 : ARG ADD_BUILD_TAGS="" 17:41:59 ---> Running in c9d7e6dacd00 17:42:00 Removing intermediate container c9d7e6dacd00 17:42:00 ---> 76c2f60fa8d6 17:42:00 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:42:00 ---> Running in 728dee2115a7 17:42:00 Removing intermediate container 728dee2115a7 17:42:00 ---> 6ac99382c6e9 17:42:00 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 17:42:00 ---> Running in bc27a01cd6c0 17:42:00 Removing intermediate container bc27a01cd6c0 17:42:00 ---> 41a15e3595bd 17:42:00 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 17:42:00 ---> Running in 4d8021f39d73 17:42:01 Removing intermediate container 4d8021f39d73 17:42:01 ---> a9848a314330 17:42:01 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:42:01 ---> Running in f16cd1eb50fa 17:42:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:42:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:42:04 OK: 266 MiB in 52 packages 17:42:05 Removing intermediate container f16cd1eb50fa 17:42:05 ---> 57380441dc8e 17:42:05 Step 8/12 : WORKDIR /app 17:42:05 ---> Running in 39feb5caa3bf 17:42:05 Removing intermediate container 39feb5caa3bf 17:42:05 ---> 8d459098f292 17:42:05 Step 9/12 : COPY go.mod vendor* ./ 17:42:05 ---> b5d3cb85549c 17:42:05 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:42:05 ---> Running in 74272adca2fb 17:43:27 Removing intermediate container 74272adca2fb 17:43:27 ---> e9f3d02747ed 17:43:27 Step 11/12 : COPY . . 17:43:27 ---> 6bcc33414004 17:43:27 Step 12/12 : RUN $MAKE 17:43:27 ---> Running in 1f66b4913197 17:43:27 noop 17:43:27 Removing intermediate container 1f66b4913197 17:43:27 ---> 7d8a0efb740e 17:43:27 Successfully built 7d8a0efb740e 17:43:27 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:27 + docker inspect -f . ci-base-image-arm64 17:43:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:43:28 prd-ubuntu20.04-docker-arm64-4c-16g-17266 does not seem to be running inside a container 17:43:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rfid-llrp-go/129 -v /w/workspace/device-rfid-llrp-go/129:/w/workspace/device-rfid-llrp-go/129:rw,z -v /w/workspace/device-rfid-llrp-go/129@tmp:/w/workspace/device-rfid-llrp-go/129@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 ******** ci-base-image-arm64 cat 17:43:29 $ docker top 5f8ad6a2479b314e512a04ca257ce63e7d63c7b6f4050a8806ad56bf165dbd45 -eo pid,comm [Pipeline] { [Pipeline] sh 17:43:30 + go version 17:43:30 go version go1.21.0 linux/arm64 [Pipeline] } 17:43:30 $ docker stop --time=1 5f8ad6a2479b314e512a04ca257ce63e7d63c7b6f4050a8806ad56bf165dbd45 17:43:31 $ docker rm -f --volumes 5f8ad6a2479b314e512a04ca257ce63e7d63c7b6f4050a8806ad56bf165dbd45 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:32 + docker inspect -f . ci-base-image-arm64 17:43:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:43:32 prd-ubuntu20.04-docker-arm64-4c-16g-17266 does not seem to be running inside a container 17:43:32 $ 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/129 -v /w/workspace/device-rfid-llrp-go/129:/w/workspace/device-rfid-llrp-go/129:rw,z -v /w/workspace/device-rfid-llrp-go/129@tmp:/w/workspace/device-rfid-llrp-go/129@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 ******** ci-base-image-arm64 cat 17:43:33 $ docker top e54fe6e75434bdc44f2c9e3d481f26f2803b2ece0a79014ba7e24654bc490ff0 -eo pid,comm [Pipeline] { [Pipeline] sh 17:43:34 + git config --global --add safe.directory /w/workspace/device-rfid-llrp-go/129 [Pipeline] fileExists [Pipeline] sh 17:43:35 + make test 17:43:35 go test ./... -coverprofile=coverage.out ./... 17:43:43 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 17:45:20 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 17:45:20 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 17:45:38 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 27.784s coverage: 40.6% of statements 17:45:38 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.584s coverage: 51.9% of statements 17:45:38 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.046s coverage: 95.5% of statements 17:45:38 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:45:38 go vet ./... 17:46:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:46:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:46:17 ./bin/test-attribution-txt.sh [Pipeline] echo 17:46:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 17:46:17 $ docker stop --time=1 e54fe6e75434bdc44f2c9e3d481f26f2803b2ece0a79014ba7e24654bc490ff0 17:46:19 $ docker rm -f --volumes e54fe6e75434bdc44f2c9e3d481f26f2803b2ece0a79014ba7e24654bc490ff0 [Pipeline] // withDockerContainer [Pipeline] sh 17:46:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:46:20 Warning: overwriting stash ‘coverage-report’ 17:46:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:46:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:46:21 + ls -al . 17:46:21 total 636 17:46:21 drwxrwxr-x 9 jenkins jenkins 4096 Nov 11 17:43 . 17:46:21 drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 17:41 .. 17:46:21 -rw-rw-r-- 1 jenkins jenkins 134 Nov 11 17:41 .dockerignore 17:46:21 drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 17:41 .git 17:46:21 drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 17:41 .github 17:46:21 -rw-rw-r-- 1 jenkins jenkins 880 Nov 11 17:41 .gitignore 17:46:21 -rw-rw-r-- 1 jenkins jenkins 41 Nov 11 17:41 .golangci.yml 17:46:21 -rw-rw-r-- 1 jenkins jenkins 11980 Nov 11 17:41 Attribution.txt 17:46:21 -rw-rw-r-- 1 jenkins jenkins 11677 Nov 11 17:41 CHANGELOG.md 17:46:21 -rw-rw-r-- 1 jenkins jenkins 1347 Nov 11 17:41 Dockerfile 17:46:21 -rw-rw-r-- 1 jenkins jenkins 677 Nov 11 17:41 GOVERNANCE.md 17:46:21 -rw-rw-r-- 1 jenkins jenkins 661 Nov 11 17:41 Jenkinsfile 17:46:21 -rw-rw-r-- 1 jenkins jenkins 11347 Nov 11 17:41 LICENSE 17:46:21 -rw-rw-r-- 1 jenkins jenkins 2179 Nov 11 17:41 Makefile 17:46:21 -rw-rw-r-- 1 jenkins jenkins 625 Nov 11 17:41 OWNERS.md 17:46:21 -rw-rw-r-- 1 jenkins jenkins 28907 Nov 11 17:41 README.md 17:46:21 -rw-rw-r-- 1 jenkins jenkins 12 Nov 11 17:37 VERSION 17:46:21 drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 17:41 bin 17:46:21 drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 17:41 cmd 17:46:21 -rw-r--r-- 1 jenkins jenkins 459493 Nov 11 17:45 coverage.out 17:46:21 drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 17:41 examples 17:46:21 -rw-rw-r-- 1 jenkins jenkins 3831 Nov 11 17:41 go.mod 17:46:21 -rw-rw-r-- 1 jenkins jenkins 34396 Nov 11 17:41 go.sum 17:46:21 drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 17:41 images 17:46:21 drwxrwxr-x 5 jenkins jenkins 4096 Nov 11 17:41 internal 17:46:21 -rw-rw-r-- 1 jenkins jenkins 193 Nov 11 17:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:46:22 + 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=4e83b6680fa27d1881f69792a07b123682c6b4e6 --label arch=arm64 --label version=3.1.0-dev.23 . 17:46:22 Sending build context to Docker daemon 1.198MB 17:46:22 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 17:46:22 Step 2/24 : FROM ${BASE} AS builder 17:46:22 ---> 7d8a0efb740e 17:46:22 Step 3/24 : ARG ADD_BUILD_TAGS="" 17:46:22 ---> Running in 64b8a7864e18 17:46:22 Removing intermediate container 64b8a7864e18 17:46:22 ---> 585a2f68446b 17:46:22 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:46:22 ---> Running in 7104124d2285 17:46:23 Removing intermediate container 7104124d2285 17:46:23 ---> 2b2b66373920 17:46:23 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 17:46:23 ---> Running in 147029bcd501 17:46:23 Removing intermediate container 147029bcd501 17:46:23 ---> eeea6495f08b 17:46:23 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 17:46:23 ---> Running in 22b4637e69ce 17:46:24 Removing intermediate container 22b4637e69ce 17:46:24 ---> 16bbf8b9e8f4 17:46:24 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:46:24 ---> Running in b6f0b140b94c 17:46:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:46:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:46:26 OK: 266 MiB in 52 packages 17:46:27 Removing intermediate container b6f0b140b94c 17:46:27 ---> 59c7b6ee88db 17:46:27 Step 8/24 : WORKDIR /app 17:46:27 ---> Running in 9f1c7752e141 17:46:27 Removing intermediate container 9f1c7752e141 17:46:27 ---> dcdbae2859d4 17:46:27 Step 9/24 : COPY go.mod vendor* ./ 17:46:30 ---> eefa4e3e9f28 17:46:30 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:46:30 ---> Running in c6e4bcd31952 17:46:32 Removing intermediate container c6e4bcd31952 17:46:32 ---> 9c88b8082748 17:46:32 Step 11/24 : COPY . . 17:46:32 ---> 38f78fd894a1 17:46:32 Step 12/24 : RUN $MAKE 17:46:32 ---> Running in c15442254f83 17:46:33 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rfid-llrp-go.Version=3.1.0-dev.23 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-rfid-llrp ./cmd 17:48:25 Removing intermediate container c15442254f83 17:48:25 ---> 26410d4018c4 17:48:25 Step 13/24 : FROM alpine:3.18 17:48:25 3.18: Pulling from library/alpine 17:48:25 579b34f0a95b: Pulling fs layer 17:48:25 579b34f0a95b: Download complete 17:48:25 579b34f0a95b: Pull complete 17:48:25 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 17:48:25 Status: Downloaded newer image for alpine:3.18 17:48:25 ---> 3cc203321400 17:48:25 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 17:48:25 ---> Running in 64b2a405344d 17:48:25 Removing intermediate container 64b2a405344d 17:48:25 ---> 7145ce2a6bca 17:48:25 Step 15/24 : RUN apk add --update --no-cache dumb-init 17:48:25 ---> Running in 2fa646f02a1f 17:48:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:48:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:48:25 (1/1) Installing dumb-init (1.2.5-r2) 17:48:25 Executing busybox-1.36.1-r2.trigger 17:48:25 OK: 8 MiB in 16 packages 17:48:25 Removing intermediate container 2fa646f02a1f 17:48:25 ---> d7c0566a1d0b 17:48:25 Step 16/24 : COPY --from=builder /app/LICENSE / 17:48:25 ---> d6fbd3625e80 17:48:25 Step 17/24 : COPY --from=builder /app/Attribution.txt / 17:48:25 ---> 1bcb55284570 17:48:25 Step 18/24 : COPY --from=builder /app/cmd/ / 17:48:25 ---> 1c7689d34174 17:48:25 Step 19/24 : EXPOSE 59989 17:48:25 ---> Running in ee9b7d91d852 17:48:25 Removing intermediate container ee9b7d91d852 17:48:25 ---> 4f4a7581b876 17:48:25 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 17:48:25 ---> Running in 8355ee390915 17:48:25 Removing intermediate container 8355ee390915 17:48:25 ---> 2829a00e3972 17:48:25 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 17:48:25 ---> Running in 82a312cae8c2 17:48:25 Removing intermediate container 82a312cae8c2 17:48:25 ---> b84df56e1844 17:48:25 Step 22/24 : LABEL arch=arm64 17:48:25 ---> Running in 0d1885a9ea03 17:48:25 Removing intermediate container 0d1885a9ea03 17:48:25 ---> fadb8e11fe97 17:48:25 Step 23/24 : LABEL git_sha=4e83b6680fa27d1881f69792a07b123682c6b4e6 17:48:25 ---> Running in 6951c38da639 17:48:25 Removing intermediate container 6951c38da639 17:48:25 ---> e69b8e87a1f6 17:48:25 Step 24/24 : LABEL version=3.1.0-dev.23 17:48:25 ---> Running in 601d75e9bd52 17:48:25 Removing intermediate container 601d75e9bd52 17:48:25 ---> 9f72a24c033a 17:48:25 [Warning] One or more build-args [ARCH] were not consumed 17:48:25 Successfully built 9f72a24c033a 17:48:25 Successfully tagged device-rfid-llrp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:48:25 provisioning config files... 17:48:25 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/device-rfid-llrp-go/129@tmp/config9998670625025921777tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:48:25 ---> docker-login.sh 17:48:25 nexus3.edgexfoundry.org:10001 17:48:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:48:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:48:26 Configure a credential helper to remove this warning. See 17:48:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:48:26 17:48:26 Login Succeeded 17:48:26 nexus3.edgexfoundry.org:10002 17:48:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:48:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:48:26 Configure a credential helper to remove this warning. See 17:48:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:48:26 17:48:26 Login Succeeded 17:48:26 nexus3.edgexfoundry.org:10003 17:48:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:48:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:48:27 Configure a credential helper to remove this warning. See 17:48:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:48:27 17:48:27 Login Succeeded 17:48:27 nexus3.edgexfoundry.org:10004 17:48:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:48:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:48:27 Configure a credential helper to remove this warning. See 17:48:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:48:27 17:48:27 Login Succeeded 17:48:27 docker.io 17:48:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:48:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:48:27 Configure a credential helper to remove this warning. See 17:48:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:48:27 17:48:27 Login Succeeded 17:48:27 ---> docker-login.sh ends [Pipeline] } 17:48:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:48:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 17:48:27 [edgeXDocker.push] Tagging docker image device-rfid-llrp-arm64 with the following tags: 17:48:27 4e83b6680fa27d1881f69792a07b123682c6b4e6 17:48:27 latest 17:48:27 3.1.0-dev.23 17:48:27 4e83b6680fa27d1881f69792a07b123682c6b4e6-3.1.0-dev.23 17:48:27 main 17:48:27 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:48:28 + docker tag device-rfid-llrp-arm64 nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64:4e83b6680fa27d1881f69792a07b123682c6b4e6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:48:28 + docker push nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64:4e83b6680fa27d1881f69792a07b123682c6b4e6 17:48:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64] 17:48:28 0e933e53c5c6: Preparing 17:48:28 e65a18fa5e05: Preparing 17:48:28 efaca6d5e9bf: Preparing 17:48:28 446b3cc98b45: Preparing 17:48:28 5f4d9fc4d98d: Preparing 17:48:28 5f4d9fc4d98d: Layer already exists 17:48:28 446b3cc98b45: Pushed 17:48:28 e65a18fa5e05: Pushed 17:48:28 efaca6d5e9bf: Pushed 17:48:35 0e933e53c5c6: Pushed 17:48:35 4e83b6680fa27d1881f69792a07b123682c6b4e6: digest: sha256:aafed30b0ff226aef8f5210a2add9255383aad68aaafbb3d17b51e3907123134 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:48:35 + docker tag device-rfid-llrp-arm64 nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:48:36 + docker push nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64:latest 17:48:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64] 17:48:36 0e933e53c5c6: Preparing 17:48:36 e65a18fa5e05: Preparing 17:48:36 efaca6d5e9bf: Preparing 17:48:36 446b3cc98b45: Preparing 17:48:36 5f4d9fc4d98d: Preparing 17:48:36 0e933e53c5c6: Layer already exists 17:48:36 e65a18fa5e05: Layer already exists 17:48:36 446b3cc98b45: Layer already exists 17:48:36 5f4d9fc4d98d: Layer already exists 17:48:36 efaca6d5e9bf: Layer already exists 17:48:36 latest: digest: sha256:aafed30b0ff226aef8f5210a2add9255383aad68aaafbb3d17b51e3907123134 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:48:36 + docker tag device-rfid-llrp-arm64 nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64:3.1.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:48:36 + docker push nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64:3.1.0-dev.23 17:48:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64] 17:48:36 0e933e53c5c6: Preparing 17:48:36 e65a18fa5e05: Preparing 17:48:36 efaca6d5e9bf: Preparing 17:48:36 446b3cc98b45: Preparing 17:48:36 5f4d9fc4d98d: Preparing 17:48:36 efaca6d5e9bf: Layer already exists 17:48:36 e65a18fa5e05: Layer already exists 17:48:36 0e933e53c5c6: Layer already exists 17:48:36 446b3cc98b45: Layer already exists 17:48:36 5f4d9fc4d98d: Layer already exists 17:48:37 3.1.0-dev.23: digest: sha256:aafed30b0ff226aef8f5210a2add9255383aad68aaafbb3d17b51e3907123134 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:48:37 + docker tag device-rfid-llrp-arm64 nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64:4e83b6680fa27d1881f69792a07b123682c6b4e6-3.1.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:48:37 + docker push nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64:4e83b6680fa27d1881f69792a07b123682c6b4e6-3.1.0-dev.23 17:48:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64] 17:48:37 0e933e53c5c6: Preparing 17:48:37 e65a18fa5e05: Preparing 17:48:37 efaca6d5e9bf: Preparing 17:48:37 446b3cc98b45: Preparing 17:48:37 5f4d9fc4d98d: Preparing 17:48:37 e65a18fa5e05: Layer already exists 17:48:37 0e933e53c5c6: Layer already exists 17:48:37 efaca6d5e9bf: Layer already exists 17:48:37 5f4d9fc4d98d: Layer already exists 17:48:37 446b3cc98b45: Layer already exists 17:48:37 4e83b6680fa27d1881f69792a07b123682c6b4e6-3.1.0-dev.23: digest: sha256:aafed30b0ff226aef8f5210a2add9255383aad68aaafbb3d17b51e3907123134 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:48:38 + docker tag device-rfid-llrp-arm64 nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:48:38 + docker push nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64:main 17:48:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64] 17:48:38 0e933e53c5c6: Preparing 17:48:38 e65a18fa5e05: Preparing 17:48:38 efaca6d5e9bf: Preparing 17:48:38 446b3cc98b45: Preparing 17:48:38 5f4d9fc4d98d: Preparing 17:48:38 0e933e53c5c6: Layer already exists 17:48:38 efaca6d5e9bf: Layer already exists 17:48:38 5f4d9fc4d98d: Layer already exists 17:48:38 e65a18fa5e05: Layer already exists 17:48:38 446b3cc98b45: Layer already exists 17:48:38 main: digest: sha256:aafed30b0ff226aef8f5210a2add9255383aad68aaafbb3d17b51e3907123134 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:48:38 ===================================================== [Pipeline] echo 17:48:38 taggedImages: 17:48:38 - nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64:4e83b6680fa27d1881f69792a07b123682c6b4e6 17:48:38 - nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64:latest 17:48:38 - nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64:3.1.0-dev.23 17:48:38 - nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64:4e83b6680fa27d1881f69792a07b123682c6b4e6-3.1.0-dev.23 17:48:38 - nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:48:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:48:39 17:48:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:48:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:48:39 arm64: Pulling from edgex-lftools-log-publisher 17:48:39 8998bd30e6a1: Pulling fs layer 17:48:39 04944245beec: Pulling fs layer 17:48:39 699f458cf7ca: Pulling fs layer 17:48:39 765212b225bb: Pulling fs layer 17:48:39 f23df028b6ca: Pulling fs layer 17:48:39 d65c8cfc05b1: Pulling fs layer 17:48:39 2437ff75d9bd: Pulling fs layer 17:48:39 765212b225bb: Waiting 17:48:39 f23df028b6ca: Waiting 17:48:39 d65c8cfc05b1: Waiting 17:48:39 2437ff75d9bd: Waiting 17:48:39 04944245beec: Verifying Checksum 17:48:39 04944245beec: Download complete 17:48:39 765212b225bb: Verifying Checksum 17:48:39 765212b225bb: Download complete 17:48:39 f23df028b6ca: Verifying Checksum 17:48:39 f23df028b6ca: Download complete 17:48:39 d65c8cfc05b1: Verifying Checksum 17:48:39 d65c8cfc05b1: Download complete 17:48:39 699f458cf7ca: Verifying Checksum 17:48:39 699f458cf7ca: Download complete 17:48:40 8998bd30e6a1: Download complete 17:48:42 2437ff75d9bd: Verifying Checksum 17:48:42 2437ff75d9bd: Download complete 17:48:44 8998bd30e6a1: Pull complete 17:48:48 04944245beec: Pull complete 17:48:49 699f458cf7ca: Pull complete 17:48:49 765212b225bb: Pull complete 17:48:50 f23df028b6ca: Pull complete 17:48:50 d65c8cfc05b1: Pull complete 17:49:08 2437ff75d9bd: Pull complete 17:49:08 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:49:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:49:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:49:08 prd-ubuntu20.04-docker-arm64-4c-16g-17266 does not seem to be running inside a container 17:49:08 $ 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/129 -v /w/workspace/device-rfid-llrp-go/129:/w/workspace/device-rfid-llrp-go/129:rw,z -v /w/workspace/device-rfid-llrp-go/129@tmp:/w/workspace/device-rfid-llrp-go/129@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:49:11 $ docker top 217ade61aed00213d954f17bc79ce74154be09eda9bf126c7ae9e5972a88544b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:49:12 ---> job-cost.sh 17:49:12 lf-activate-venv: SKIPPING 17:49:12 INFO: No Stack... 17:49:12 INFO: Retrieving Pricing Info for: v3-standard-4 17:49:13 INFO: Archiving Costs [Pipeline] sh 17:49:13 + cat /w/workspace/device-rfid-llrp-go/129/archives/cost.csv 17:49:13 + cut -d, -f6 [Pipeline] lock 17:49:13 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-main-129-stack-cost] 17:49:13 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-main-129-stack-cost] did not exist. Created. 17:49:13 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-main-129-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:49:14 /w/workspace/device-rfid-llrp-go/129@tmp/durable-2c55f03c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:49:15 + echo total: 0.10999999940395355 [Pipeline] stash 17:49:15 Warning: overwriting stash ‘stack-cost’ 17:49:15 Stashed 1 file(s) [Pipeline] } 17:49:15 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-main-129-stack-cost] [Pipeline] // lock [Pipeline] } 17:49:15 $ docker stop --time=1 217ade61aed00213d954f17bc79ce74154be09eda9bf126c7ae9e5972a88544b 17:49:18 $ docker rm -f --volumes 217ade61aed00213d954f17bc79ce74154be09eda9bf126c7ae9e5972a88544b [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) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 17:49:19 + [ -d /w/workspace/foundry_device-rfid-llrp-go_main/archives ] 17:49:19 + ls -al /w/workspace/foundry_device-rfid-llrp-go_main/archives 17:49:19 total 16 17:49:19 drwxr-xr-x 3 root root 4096 Nov 11 17:39 . 17:49:19 drwxrwxr-x 11 jenkins jenkins 4096 Nov 11 17:39 .. 17:49:19 drwxr-xr-x 2 root root 4096 Nov 11 17:39 cost 17:49:19 -rw-r--r-- 1 root root 91 Nov 11 17:39 cost.csv 17:49:19 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-rfid-llrp-go_main/archives 17:49:19 + ls -al /w/workspace/foundry_device-rfid-llrp-go_main/archives 17:49:19 total 16 17:49:19 drwxr-xr-x 3 jenkins jenkins 4096 Nov 11 17:39 . 17:49:19 drwxrwxr-x 11 jenkins jenkins 4096 Nov 11 17:39 .. 17:49:19 drwxr-xr-x 2 jenkins jenkins 4096 Nov 11 17:39 cost 17:49:19 -rw-r--r-- 1 jenkins jenkins 91 Nov 11 17:39 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:49:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:49:20 ---> package-listing.sh 17:49:20 ++ facter osfamily 17:49:20 ++ tr '[:upper:]' '[:lower:]' 17:49:20 + OS_FAMILY=debian 17:49:20 + workspace=/w/workspace/foundry_device-rfid-llrp-go_main 17:49:20 + START_PACKAGES=/tmp/packages_start.txt 17:49:20 + END_PACKAGES=/tmp/packages_end.txt 17:49:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:49:20 + PACKAGES=/tmp/packages_start.txt 17:49:20 + '[' /w/workspace/foundry_device-rfid-llrp-go_main ']' 17:49:20 + PACKAGES=/tmp/packages_end.txt 17:49:20 + case "${OS_FAMILY}" in 17:49:20 + dpkg -l 17:49:20 + grep '^ii' 17:49:20 + '[' -f /tmp/packages_start.txt ']' 17:49:20 + '[' -f /tmp/packages_end.txt ']' 17:49:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:49:20 + '[' /w/workspace/foundry_device-rfid-llrp-go_main ']' 17:49:20 + mkdir -p /w/workspace/foundry_device-rfid-llrp-go_main/archives/ 17:49:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-rfid-llrp-go_main/archives/ [Pipeline] echo 17:49:20 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/foundry_device-rfid-llrp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:49:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:49:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:49:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:49:21 prd-ubuntu20.04-docker-8c-8g-17265 does not seem to be running inside a container 17:49:21 $ 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/foundry_device-rfid-llrp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-rfid-llrp-go_main -v /w/workspace/foundry_device-rfid-llrp-go_main:/w/workspace/foundry_device-rfid-llrp-go_main:rw,z -v /w/workspace/foundry_device-rfid-llrp-go_main@tmp:/w/workspace/foundry_device-rfid-llrp-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:49:21 $ docker top ac74282dd0f4d59662170d98929a7ba919234f43c569c610dbc4702bd5261a5a -eo pid,comm [Pipeline] { [Pipeline] sh 17:49:22 + touch /tmp/pre-build-complete [Pipeline] sh 17:49:22 + mkdir -p /var/log/sysstat [Pipeline] sh 17:49:22 + ls /var/log/sa-host 17:49:22 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:49:22 provisioning config files... 17:49:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-rfid-llrp-go_main@tmp/config11456025344984296787tmp [Pipeline] { [Pipeline] echo 17:49:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:49:23 ---> create-netrc.sh [Pipeline] } 17:49:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:49:23 ---> python-tools-install.sh [Pipeline] echo 17:49:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:49:23 ---> sudo-logs.sh 17:49:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:49:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:49:24 ---> job-cost.sh 17:49:24 lf-activate-venv: SKIPPING 17:49:24 DEBUG: total: 0.2199999988079071 17:49:24 INFO: Retrieving Stack Cost... 17:49:24 INFO: Retrieving Pricing Info for: v3-standard-8 17:49:24 INFO: Archiving Costs [Pipeline] echo 17:49:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:49:25 ---> logs-deploy.sh 17:49:25 lf-activate-venv: SKIPPING 17:49:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rfid-llrp-go/main/129 17:49:25 INFO: archiving workspace using pattern(s): 17:49:26 Archives upload complete. 17:49:26 INFO: archiving logs to Nexus