Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c1e9c82f50c5f561b8321fcd721786082837dd82+f3289a164b8ff7b22d28db9f748121107e7f7ddb (98fe449965702677fa5c4ba0ee587287195192b3) 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-ssh11826709629846637946.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh10701288667897772355.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 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/PR-160/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/PR-160/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17510402028244076412.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh18002003912541295529.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/PR-160/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/PR-160/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16528943564344971219.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rfid-llrp-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rfid-llrp-go-settings PROJECT: device-rfid-llrp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rfid-llrp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2282 in /w/workspace/undry_device-rfid-llrp-go_PR-160 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git > git init /w/workspace/undry_device-rfid-llrp-go_PR-160 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/160/head:refs/remotes/origin/PR-160 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit f3289a164b8ff7b22d28db9f748121107e7f7ddb into PR head commit c1e9c82f50c5f561b8321fcd721786082837dd82 Merge succeeded, producing bab8b8645ec57ec1c319f7278f95231b5fb78c38 Checking out Revision bab8b8645ec57ec1c319f7278f95231b5fb78c38 (PR-160) > git config core.sparsecheckout # timeout=10 > git checkout -f c1e9c82f50c5f561b8321fcd721786082837dd82 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge f3289a164b8ff7b22d28db9f748121107e7f7ddb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bab8b8645ec57ec1c319f7278f95231b5fb78c38 # timeout=10 Commit message: "Merge commit 'f3289a164b8ff7b22d28db9f748121107e7f7ddb' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 7d6b4d6e71c66310976b3a215d34432b696f589c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:07:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:07:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:07:40 ========================================================= 21:07:40 EdgeX Global Pipelines Version Info 21:07:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:07:40 ------------------- 21:07:40 stable info: 21:07:40 ------------------- 21:07:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:07:40 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 21:07:40 Message: update stable to v1.0.245 21:07:41 ------------------- 21:07:41 experimental info: 21:07:41 ------------------- 21:07:41 Commited By: **** collab-it+edgex@linuxfoundation.org 21:07:41 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 21:07:41 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rfid-llrp-go-settings [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar PROJECT = device-rfid-llrp-go [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rfid-llrp [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-160 [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-160 [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-160 [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bab8b8645ec57ec1c319f7278f95231b5fb78c38 [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bab8b86 [Pipeline] echo 21:07:41 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:07:42 provisioning config files... 21:07:42 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-160@tmp/config3983790407322051501tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:07:42 ---> docker-login.sh 21:07:42 nexus3.edgexfoundry.org:10001 21:07:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:42 Configure a credential helper to remove this warning. See 21:07:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:42 21:07:42 Login Succeeded 21:07:42 nexus3.edgexfoundry.org:10002 21:07:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:42 Configure a credential helper to remove this warning. See 21:07:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:42 21:07:42 Login Succeeded 21:07:42 nexus3.edgexfoundry.org:10003 21:07:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:42 Configure a credential helper to remove this warning. See 21:07:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:42 21:07:42 Login Succeeded 21:07:42 nexus3.edgexfoundry.org:10004 21:07:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:42 Configure a credential helper to remove this warning. See 21:07:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:42 21:07:42 Login Succeeded 21:07:42 docker.io 21:07:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:43 Configure a credential helper to remove this warning. See 21:07:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:43 21:07:43 Login Succeeded 21:07:43 ---> docker-login.sh ends [Pipeline] } 21:07:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:07:43 + git rev-list -1 --merges bab8b8645ec57ec1c319f7278f95231b5fb78c38~1..bab8b8645ec57ec1c319f7278f95231b5fb78c38 [Pipeline] echo 21:07:43 -----------> git rev-list -1 --merges bab8b8645ec57ec1c319f7278f95231b5fb78c38~1..bab8b8645ec57ec1c319f7278f95231b5fb78c38 bab8b8645ec57ec1c319f7278f95231b5fb78c38 21:07:43 bab8b8645ec57ec1c319f7278f95231b5fb78c38 [false] [Pipeline] sh 21:07:43 + git log --format=format:%s -1 bab8b8645ec57ec1c319f7278f95231b5fb78c38 [Pipeline] echo 21:07:43 ========================================================= 21:07:43 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:07:43 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:07:44 + git log --format=format:%s -1 bab8b8645ec57ec1c319f7278f95231b5fb78c38 [Pipeline] echo 21:07:44 [semverPrep] GIT_COMMIT: bab8b8645ec57ec1c319f7278f95231b5fb78c38, Commit Message: Merge commit 'f3289a164b8ff7b22d28db9f748121107e7f7ddb' into HEAD [Pipeline] echo 21:07:44 [semverPrep] This is not a build commit. [Pipeline] sh 21:07:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:07:44 + grep -v github /etc/ssh/ssh_known_hosts 21:07:44 + [ -e /tmp/ssh_known_hosts ] 21:07:44 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:07:44 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:07:44 + sudo tee -a /etc/ssh/ssh_known_hosts 21:07:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:07:44 21:07:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:07:45 0.1.4: Pulling from edgex-devops/py-git-semver 21:07:45 b85a868b505f: Pulling fs layer 21:07:45 e2be974225ed: Pulling fs layer 21:07:45 339a4e72a1f5: Pulling fs layer 21:07:45 988bab9f4d93: Pulling fs layer 21:07:45 1469e6f7b9e6: Pulling fs layer 21:07:45 eaf3925da568: Pulling fs layer 21:07:45 bab4dde63d76: Pulling fs layer 21:07:45 bde34c3a00c8: Pulling fs layer 21:07:45 b352a97aabf1: Pulling fs layer 21:07:45 4872d77fe225: Pulling fs layer 21:07:45 5851b861e8e6: Pulling fs layer 21:07:45 bab4dde63d76: Waiting 21:07:45 bde34c3a00c8: Waiting 21:07:45 b352a97aabf1: Waiting 21:07:45 4872d77fe225: Waiting 21:07:45 5851b861e8e6: Waiting 21:07:45 988bab9f4d93: Waiting 21:07:45 eaf3925da568: Waiting 21:07:45 1469e6f7b9e6: Waiting 21:07:45 e2be974225ed: Download complete 21:07:45 988bab9f4d93: Download complete 21:07:45 1469e6f7b9e6: Verifying Checksum 21:07:45 1469e6f7b9e6: Download complete 21:07:45 eaf3925da568: Verifying Checksum 21:07:45 eaf3925da568: Download complete 21:07:45 339a4e72a1f5: Verifying Checksum 21:07:45 339a4e72a1f5: Download complete 21:07:45 bde34c3a00c8: Verifying Checksum 21:07:45 bde34c3a00c8: Download complete 21:07:45 b352a97aabf1: Verifying Checksum 21:07:45 b352a97aabf1: Download complete 21:07:45 4872d77fe225: Verifying Checksum 21:07:45 4872d77fe225: Download complete 21:07:45 5851b861e8e6: Download complete 21:07:45 b85a868b505f: Verifying Checksum 21:07:45 b85a868b505f: Download complete 21:07:46 bab4dde63d76: Verifying Checksum 21:07:46 bab4dde63d76: Download complete 21:07:46 b85a868b505f: Pull complete 21:07:46 e2be974225ed: Pull complete 21:07:47 339a4e72a1f5: Pull complete 21:07:47 988bab9f4d93: Pull complete 21:07:47 1469e6f7b9e6: Pull complete 21:07:48 eaf3925da568: Pull complete 21:07:49 bab4dde63d76: Pull complete 21:07:49 bde34c3a00c8: Pull complete 21:07:49 b352a97aabf1: Pull complete 21:07:49 4872d77fe225: Pull complete 21:07:50 5851b861e8e6: Pull complete 21:07:50 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:07:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:07:50 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:07:50 prd-ubuntu20.04-docker-8c-8g-2282 does not seem to be running inside a container 21:07:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-rfid-llrp-go_PR-160 -v /w/workspace/undry_device-rfid-llrp-go_PR-160:/w/workspace/undry_device-rfid-llrp-go_PR-160:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-160@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-160@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:07:51 $ docker top adcd5f97c4beffbd217d75e1798c47b00097f0167300364158ddf8f18949f900 -eo pid,comm 21:07:51 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:07:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:07:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:07:51 [ssh-agent] Looking for ssh-agent implementation... 21:07:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:07:52 $ docker exec adcd5f97c4beffbd217d75e1798c47b00097f0167300364158ddf8f18949f900 ssh-agent 21:07:52 SSH_AUTH_SOCK=/tmp/ssh-fEsYTZODOCwt/agent.33 21:07:52 SSH_AGENT_PID=39 21:07:52 Running ssh-add (command line suppressed) 21:07:52 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-160@tmp/private_key_3856178672773913921.key (/w/workspace/undry_device-rfid-llrp-go_PR-160@tmp/private_key_3856178672773913921.key) 21:07:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:07:52 + git tag --points-at HEAD [Pipeline] } 21:07:52 $ docker exec --env ******** --env ******** adcd5f97c4beffbd217d75e1798c47b00097f0167300364158ddf8f18949f900 ssh-agent -k 21:07:52 unset SSH_AUTH_SOCK; 21:07:52 unset SSH_AGENT_PID; 21:07:52 echo Agent pid 39 killed; 21:07:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:07:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:07:52 [ssh-agent] Looking for ssh-agent implementation... 21:07:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:07:52 $ docker exec adcd5f97c4beffbd217d75e1798c47b00097f0167300364158ddf8f18949f900 ssh-agent 21:07:52 SSH_AUTH_SOCK=/tmp/ssh-JUSxpFDIojJl/agent.71 21:07:52 SSH_AGENT_PID=77 21:07:52 Running ssh-add (command line suppressed) 21:07:53 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-160@tmp/private_key_4055624254259394683.key (/w/workspace/undry_device-rfid-llrp-go_PR-160@tmp/private_key_4055624254259394683.key) 21:07:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:07:53 + git semver init 21:07:53 2023-03-15 21:07:53,573 [run_init] DEBUG init version:0.0.0 force:False 21:07:53 2023-03-15 21:07:53,574 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-rfid-llrp-go_PR-160/.semver 21:07:53 2023-03-15 21:07:53,575 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rfid-llrp-go.git /w/workspace/undry_device-rfid-llrp-go_PR-160/.semver 21:07:53 2023-03-15 21:07:53,575 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rfid-llrp-go.git', '/w/workspace/undry_device-rfid-llrp-go_PR-160/.semver'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-160, universal_newlines=False, shell=None, istream=None) 21:07:54 2023-03-15 21:07:54,322 [append_file] DEBUG append to file:/w/workspace/undry_device-rfid-llrp-go_PR-160/.git/info/exclude 21:07:54 2023-03-15 21:07:54,323 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-rfid-llrp-go_PR-160/.semver/PR-160 with force:False 21:07:54 2023-03-15 21:07:54,323 [write_file] DEBUG write to file:/w/workspace/undry_device-rfid-llrp-go_PR-160/.semver/PR-160 21:07:54 2023-03-15 21:07:54,327 [execute] INFO git cat-file --batch-check 21:07:54 2023-03-15 21:07:54,327 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-160/.semver, universal_newlines=False, shell=None, istream=) 21:07:54 2023-03-15 21:07:54,333 [execute] INFO git cat-file --batch 21:07:54 2023-03-15 21:07:54,333 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-160/.semver, universal_newlines=False, shell=None, istream=) 21:07:54 2023-03-15 21:07:54,338 [read_version] DEBUG read version from /w/workspace/undry_device-rfid-llrp-go_PR-160/.semver/PR-160 21:07:54 0.0.0 [Pipeline] } 21:07:54 $ docker exec --env ******** --env ******** adcd5f97c4beffbd217d75e1798c47b00097f0167300364158ddf8f18949f900 ssh-agent -k 21:07:54 unset SSH_AUTH_SOCK; 21:07:54 unset SSH_AGENT_PID; 21:07:54 echo Agent pid 77 killed; 21:07:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:07:55 + git semver [Pipeline] } 21:07:55 $ docker stop --time=1 adcd5f97c4beffbd217d75e1798c47b00097f0167300364158ddf8f18949f900 21:07:56 $ docker rm -f --volumes adcd5f97c4beffbd217d75e1798c47b00097f0167300364158ddf8f18949f900 [Pipeline] // withDockerContainer [Pipeline] sh 21:07:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:07:57 Stashed 1 file(s) [Pipeline] echo 21:07:57 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:07:57 provisioning config files... 21:07:57 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-160@tmp/config17774524655250549324tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:07:57 ---> docker-login.sh 21:07:57 nexus3.edgexfoundry.org:10001 21:07:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:57 Configure a credential helper to remove this warning. See 21:07:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:57 21:07:57 Login Succeeded 21:07:57 nexus3.edgexfoundry.org:10002 21:07:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:57 Configure a credential helper to remove this warning. See 21:07:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:57 21:07:57 Login Succeeded 21:07:57 nexus3.edgexfoundry.org:10003 21:07:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:57 Configure a credential helper to remove this warning. See 21:07:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:57 21:07:57 Login Succeeded 21:07:57 nexus3.edgexfoundry.org:10004 21:07:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:57 Configure a credential helper to remove this warning. See 21:07:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:57 21:07:57 Login Succeeded 21:07:57 docker.io 21:07:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:58 Configure a credential helper to remove this warning. See 21:07:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:58 21:07:58 Login Succeeded 21:07:58 ---> docker-login.sh ends [Pipeline] } 21:07:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:07:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:07:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:07:58 ========================================================= 21:07:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:07:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:58 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:07:58 Sending build context to Docker daemon 4.187MB 21:07:58 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:07:58 Step 2/12 : FROM ${BASE} AS builder 21:07:58 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:07:58 63b65145d645: Pulling fs layer 21:07:58 a2d21d5440eb: Pulling fs layer 21:07:58 935e6c44a52c: Pulling fs layer 21:07:58 94cc34f8dd06: Pulling fs layer 21:07:58 30dea6a524f1: Pulling fs layer 21:07:58 94cc34f8dd06: Waiting 21:07:58 a2aff8979fd8: Pulling fs layer 21:07:58 6808be2612f2: Pulling fs layer 21:07:58 30dea6a524f1: Waiting 21:07:58 a2aff8979fd8: Waiting 21:07:58 6808be2612f2: Waiting 21:07:58 f25807f1079a: Pulling fs layer 21:07:58 f25807f1079a: Waiting 21:07:58 a2d21d5440eb: Verifying Checksum 21:07:58 a2d21d5440eb: Download complete 21:07:58 94cc34f8dd06: Download complete 21:07:58 30dea6a524f1: Verifying Checksum 21:07:58 30dea6a524f1: Download complete 21:07:58 63b65145d645: Download complete 21:07:58 a2aff8979fd8: Verifying Checksum 21:07:58 a2aff8979fd8: Download complete 21:07:58 63b65145d645: Pull complete 21:07:59 a2d21d5440eb: Pull complete 21:07:59 f25807f1079a: Verifying Checksum 21:07:59 f25807f1079a: Download complete 21:07:59 935e6c44a52c: Download complete 21:07:59 6808be2612f2: Download complete 21:08:02 935e6c44a52c: Pull complete 21:08:02 94cc34f8dd06: Pull complete 21:08:02 30dea6a524f1: Pull complete 21:08:03 a2aff8979fd8: Pull complete 21:08:05 6808be2612f2: Pull complete 21:08:06 f25807f1079a: Pull complete 21:08:06 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 21:08:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:08:06 ---> 3b553350e43f 21:08:06 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:08:08 ---> Running in 061bc03ce885 21:08:08 Removing intermediate container 061bc03ce885 21:08:08 ---> 892b84fede02 21:08:08 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:08:08 ---> Running in 9af6a64d9456 21:08:08 Removing intermediate container 9af6a64d9456 21:08:08 ---> fdde520c2ab8 21:08:08 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 21:08:08 ---> Running in 9e7731eb6df5 21:08:08 Removing intermediate container 9e7731eb6df5 21:08:08 ---> c6e712820ae7 21:08:08 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:08:08 ---> Running in 77491e743847 21:08:08 Removing intermediate container 77491e743847 21:08:08 ---> 3d1e9e71875d 21:08:08 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:08:08 ---> Running in 4a646f5a7afc 21:08:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:08:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:08:09 OK: 265 MiB in 53 packages 21:08:09 Removing intermediate container 4a646f5a7afc 21:08:09 ---> b65e45cb8f82 21:08:09 Step 8/12 : WORKDIR /app 21:08:09 ---> Running in dfbd4d8c00c7 21:08:09 Removing intermediate container dfbd4d8c00c7 21:08:09 ---> eed18e7bbae9 21:08:09 Step 9/12 : COPY go.mod vendor* ./ 21:08:09 ---> f9895e40217f 21:08:09 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:08:09 ---> Running in 4ad40c96080d 21:08:12 Still waiting to schedule task 21:08:12 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 21:08:31 Removing intermediate container 4ad40c96080d 21:08:31 ---> 53b5d31a00fa 21:08:31 Step 11/12 : COPY . . 21:08:31 ---> 7458a3c4648d 21:08:31 Step 12/12 : RUN $MAKE 21:08:31 ---> Running in 7e6cb3397d3e 21:08:31 noop 21:08:31 Removing intermediate container 7e6cb3397d3e 21:08:31 ---> 457dddf12869 21:08:31 Successfully built 457dddf12869 21:08:31 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:31 + docker inspect -f . ci-base-image-x86_64 21:08:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:32 prd-ubuntu20.04-docker-8c-8g-2282 does not seem to be running inside a container 21:08:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-rfid-llrp-go_PR-160 -v /w/workspace/undry_device-rfid-llrp-go_PR-160:/w/workspace/undry_device-rfid-llrp-go_PR-160:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-160@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-160@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:08:32 $ docker top e7793017dd43deadf2699447783b040fa39eab49aeb986d42348823537a7fafc -eo pid,comm [Pipeline] { [Pipeline] sh 21:08:32 + go version 21:08:32 go version go1.20.2 linux/amd64 [Pipeline] } 21:08:32 $ docker stop --time=1 e7793017dd43deadf2699447783b040fa39eab49aeb986d42348823537a7fafc 21:08:34 $ docker rm -f --volumes e7793017dd43deadf2699447783b040fa39eab49aeb986d42348823537a7fafc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:34 + docker inspect -f . ci-base-image-x86_64 21:08:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:34 prd-ubuntu20.04-docker-8c-8g-2282 does not seem to be running inside a container 21:08:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-rfid-llrp-go_PR-160 -v /w/workspace/undry_device-rfid-llrp-go_PR-160:/w/workspace/undry_device-rfid-llrp-go_PR-160:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-160@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-160@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:08:34 $ docker top 7fed782cbcf6dfb28e25ea1f3ed8b6e4e373a01e49ed17647a59cf9d83085352 -eo pid,comm [Pipeline] { [Pipeline] sh 21:08:35 + git config --global --add safe.directory /w/workspace/undry_device-rfid-llrp-go_PR-160 [Pipeline] fileExists [Pipeline] sh 21:08:35 + make test 21:08:35 go test ./... -coverprofile=coverage.out ./... 21:08:40 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 21:08:50 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 21:08:50 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 21:08:54 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 3.589s coverage: 40.7% of statements 21:08:54 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.242s coverage: 52.0% of statements 21:08:54 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.011s coverage: 94.6% of statements 21:09:03 go vet ./... 21:09:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:09:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:09:05 ./bin/test-attribution-txt.sh 21:09:05 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 21:09:05 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 21:09:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:09:05 $ docker stop --time=1 7fed782cbcf6dfb28e25ea1f3ed8b6e4e373a01e49ed17647a59cf9d83085352 21:09:08 $ docker rm -f --volumes 7fed782cbcf6dfb28e25ea1f3ed8b6e4e373a01e49ed17647a59cf9d83085352 [Pipeline] // withDockerContainer [Pipeline] sh 21:09:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:09:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:09:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:09:09 + ls -al . 21:09:09 total 632 21:09:09 drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 21:08 . 21:09:09 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 21:07 .. 21:09:09 -rw-rw-r-- 1 jenkins jenkins 134 Mar 15 21:07 .dockerignore 21:09:09 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 21:07 .git 21:09:09 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 21:07 .github 21:09:09 -rw-rw-r-- 1 jenkins jenkins 946 Mar 15 21:07 .gitignore 21:09:09 -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 21:07 .golangci.yml 21:09:09 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 21:07 .semver 21:09:09 -rw-rw-r-- 1 jenkins jenkins 10896 Mar 15 21:07 Attribution.txt 21:09:09 -rw-rw-r-- 1 jenkins jenkins 5905 Mar 15 21:07 CHANGELOG.md 21:09:09 -rw-rw-r-- 1 jenkins jenkins 1347 Mar 15 21:07 Dockerfile 21:09:09 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 21:07 GOVERNANCE.md 21:09:09 -rw-rw-r-- 1 jenkins jenkins 683 Mar 15 21:07 Jenkinsfile 21:09:09 -rw-rw-r-- 1 jenkins jenkins 11347 Mar 15 21:07 LICENSE 21:09:09 -rw-rw-r-- 1 jenkins jenkins 2053 Mar 15 21:07 Makefile 21:09:09 -rw-rw-r-- 1 jenkins jenkins 625 Mar 15 21:07 OWNERS.md 21:09:09 -rw-rw-r-- 1 jenkins jenkins 28496 Mar 15 21:07 README.md 21:09:09 -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 21:07 VERSION 21:09:09 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 21:07 bin 21:09:09 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 21:07 cmd 21:09:09 -rw-r--r-- 1 jenkins jenkins 457862 Mar 15 21:08 coverage.out 21:09:09 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 21:07 examples 21:09:09 -rw-rw-r-- 1 jenkins jenkins 3462 Mar 15 21:07 go.mod 21:09:09 -rw-rw-r-- 1 jenkins jenkins 33032 Mar 15 21:07 go.sum 21:09:09 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 21:07 images 21:09:09 drwxrwxr-x 5 jenkins jenkins 4096 Mar 15 21:07 internal 21:09:09 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 21:07 snap 21:09:09 -rw-rw-r-- 1 jenkins jenkins 193 Mar 15 21:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:09 + 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=bab8b8645ec57ec1c319f7278f95231b5fb78c38 --label arch=amd64 --label version=0.0.0 . 21:09:09 Sending build context to Docker daemon 4.187MB 21:09:09 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 21:09:09 Step 2/24 : FROM ${BASE} AS builder 21:09:09 ---> 457dddf12869 21:09:09 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:09:09 ---> Running in 5a3e25eab4a2 21:09:09 Removing intermediate container 5a3e25eab4a2 21:09:09 ---> 9ada1a9f92f2 21:09:09 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:09:09 ---> Running in b699ad4de50a 21:09:09 Removing intermediate container b699ad4de50a 21:09:09 ---> ae25d740916f 21:09:09 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 21:09:09 ---> Running in 59c7ea1779f0 21:09:10 Removing intermediate container 59c7ea1779f0 21:09:10 ---> 1bd3bb68469a 21:09:10 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 21:09:10 ---> Running in 48eb2b1e3284 21:09:10 Removing intermediate container 48eb2b1e3284 21:09:10 ---> 5fb80faa842d 21:09:10 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:09:10 ---> Running in 506aee40e8df 21:09:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:09:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:09:10 OK: 265 MiB in 53 packages 21:09:11 Removing intermediate container 506aee40e8df 21:09:11 ---> 9a43f199f088 21:09:11 Step 8/24 : WORKDIR /app 21:09:11 ---> Running in b86225af4d44 21:09:11 Removing intermediate container b86225af4d44 21:09:11 ---> 5da250a39fdf 21:09:11 Step 9/24 : COPY go.mod vendor* ./ 21:09:11 ---> 46b901134f44 21:09:11 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:09:11 ---> Running in e8c79358773e 21:09:12 Removing intermediate container e8c79358773e 21:09:12 ---> f316f74dbc29 21:09:12 Step 11/24 : COPY . . 21:09:12 ---> e818cb88f890 21:09:12 Step 12/24 : RUN $MAKE 21:09:12 ---> Running in 3ecf07374a87 21:09:12 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rfid-llrp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rfid-llrp ./cmd 21:09:30 Removing intermediate container 3ecf07374a87 21:09:30 ---> 9e37ed6dda96 21:09:30 Step 13/24 : FROM alpine:3.17 21:09:30 3.17: Pulling from library/alpine 21:09:30 63b65145d645: Already exists 21:09:30 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 21:09:30 Status: Downloaded newer image for alpine:3.17 21:09:30 ---> b2aa39c304c2 21:09:30 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:09:30 ---> Running in d93c5d587733 21:09:30 Removing intermediate container d93c5d587733 21:09:30 ---> 4fdf02d8eb2a 21:09:30 Step 15/24 : RUN apk add --update --no-cache dumb-init 21:09:30 ---> Running in c4fff80067b6 21:09:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:09:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:09:31 (1/1) Installing dumb-init (1.2.5-r2) 21:09:31 Executing busybox-1.35.0-r29.trigger 21:09:31 OK: 7 MiB in 16 packages 21:09:32 Removing intermediate container c4fff80067b6 21:09:32 ---> b52f56ac807f 21:09:32 Step 16/24 : COPY --from=builder /app/LICENSE / 21:09:32 ---> 138da4dcf9a5 21:09:32 Step 17/24 : COPY --from=builder /app/Attribution.txt / 21:09:32 ---> 44601af063a1 21:09:32 Step 18/24 : COPY --from=builder /app/cmd/ / 21:09:32 ---> 4cf661175e92 21:09:32 Step 19/24 : EXPOSE 59989 21:09:32 ---> Running in 098d8f8fae03 21:09:32 Removing intermediate container 098d8f8fae03 21:09:32 ---> 9cbe59a467d6 21:09:32 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 21:09:32 ---> Running in 8d33bd1b4cca 21:09:32 Removing intermediate container 8d33bd1b4cca 21:09:32 ---> 12267005a919 21:09:32 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:09:32 ---> Running in d0d279248fa4 21:09:33 Removing intermediate container d0d279248fa4 21:09:33 ---> 5a83622a4fb6 21:09:33 Step 22/24 : LABEL arch=amd64 21:09:33 ---> Running in 76fce414c59b 21:09:33 Removing intermediate container 76fce414c59b 21:09:33 ---> b91ea3e3d25b 21:09:33 Step 23/24 : LABEL git_sha=bab8b8645ec57ec1c319f7278f95231b5fb78c38 21:09:33 ---> Running in 639616e20a90 21:09:33 Removing intermediate container 639616e20a90 21:09:33 ---> cad85ff1f3a8 21:09:33 Step 24/24 : LABEL version=0.0.0 21:09:33 ---> Running in f7dd350af076 21:09:33 Removing intermediate container f7dd350af076 21:09:33 ---> d5dcf52f1ee5 21:09:33 [Warning] One or more build-args [ARCH] were not consumed 21:09:33 Successfully built d5dcf52f1ee5 21:09:33 Successfully tagged device-rfid-llrp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:09:33 21:09:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:09:34 latest: Pulling from edgex-lftools-log-publisher 21:09:34 5eb5b503b376: Pulling fs layer 21:09:34 5c69ac0246d0: Pulling fs layer 21:09:34 ec43610c2a17: Pulling fs layer 21:09:34 3a2ae6a8a46f: Pulling fs layer 21:09:34 33b1e0a273af: Pulling fs layer 21:09:34 5d3b04190fa2: Pulling fs layer 21:09:34 2f39f015ded8: Pulling fs layer 21:09:34 3a2ae6a8a46f: Waiting 21:09:34 33b1e0a273af: Waiting 21:09:34 5d3b04190fa2: Waiting 21:09:34 5c69ac0246d0: Download complete 21:09:34 3a2ae6a8a46f: Download complete 21:09:34 33b1e0a273af: Verifying Checksum 21:09:34 33b1e0a273af: Download complete 21:09:34 5d3b04190fa2: Verifying Checksum 21:09:34 5d3b04190fa2: Download complete 21:09:34 ec43610c2a17: Verifying Checksum 21:09:34 ec43610c2a17: Download complete 21:09:34 5eb5b503b376: Download complete 21:09:34 2f39f015ded8: Verifying Checksum 21:09:35 5eb5b503b376: Pull complete 21:09:35 5c69ac0246d0: Pull complete 21:09:36 ec43610c2a17: Pull complete 21:09:36 3a2ae6a8a46f: Pull complete 21:09:36 33b1e0a273af: Pull complete 21:09:36 5d3b04190fa2: Pull complete 21:09:40 2f39f015ded8: Pull complete 21:09:40 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:09:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:09:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:40 prd-ubuntu20.04-docker-8c-8g-2282 does not seem to be running inside a container 21:09:40 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-rfid-llrp-go_PR-160 -v /w/workspace/undry_device-rfid-llrp-go_PR-160:/w/workspace/undry_device-rfid-llrp-go_PR-160:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-160@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-160@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:09:42 $ docker top 10003a3ad5f2664f113ccc9c2abdb1ed2f983a3579abda9f05aa4cd53df3318d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:09:42 ---> job-cost.sh 21:09:42 lf-activate-venv: SKIPPING 21:09:42 INFO: No Stack... 21:09:43 INFO: Retrieving Pricing Info for: v3-standard-8 21:09:43 INFO: Archiving Costs [Pipeline] sh 21:09:43 + cat /w/workspace/undry_device-rfid-llrp-go_PR-160/archives/cost.csv 21:09:43 + cut -d, -f6 [Pipeline] lock 21:09:43 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-160-3-stack-cost] 21:09:43 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-160-3-stack-cost] did not exist. Created. 21:09:43 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-160-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:09:43 + echo total: 0.2199999988079071 [Pipeline] stash 21:09:43 Stashed 1 file(s) [Pipeline] } 21:09:43 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-160-3-stack-cost] [Pipeline] // lock [Pipeline] } 21:09:44 $ docker stop --time=1 10003a3ad5f2664f113ccc9c2abdb1ed2f983a3579abda9f05aa4cd53df3318d 21:09:45 $ docker rm -f --volumes 10003a3ad5f2664f113ccc9c2abdb1ed2f983a3579abda9f05aa4cd53df3318d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:11:24 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2284 in /w/workspace/undry_device-rfid-llrp-go_PR-160 [Pipeline] { [Pipeline] ws 21:11:24 Running in /w/workspace/device-rfid-llrp-go/3 [Pipeline] { [Pipeline] checkout 21:11:24 Selected Git installation does not exist. Using Default 21:11:24 The recommended git tool is: NONE 21:11:32 using credential edgex-jenkins-ssh 21:11:32 Cloning the remote Git repository 21:11:32 Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:11:32 > git init /w/workspace/device-rfid-llrp-go/3 # timeout=10 21:11:33 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:11:33 > git --version # timeout=10 21:11:33 > git --version # 'git version 2.25.1' 21:11:33 using GIT_SSH to set credentials SSH Credentials for GitHub 21:11:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:11:34 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 21:11:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:11:35 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 21:11:35 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 21:11:35 using GIT_SSH to set credentials SSH Credentials for GitHub 21:11:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/160/head:refs/remotes/origin/PR-160 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:11:36 Merging remotes/origin/main commit f3289a164b8ff7b22d28db9f748121107e7f7ddb into PR head commit c1e9c82f50c5f561b8321fcd721786082837dd82 21:11:36 Merge succeeded, producing 0d6ae0fba057515d35dda883ba4230e863c865db 21:11:36 Checking out Revision 0d6ae0fba057515d35dda883ba4230e863c865db (PR-160) 21:11:36 > git config core.sparsecheckout # timeout=10 21:11:36 > git checkout -f c1e9c82f50c5f561b8321fcd721786082837dd82 # timeout=10 21:11:36 > git remote # timeout=10 21:11:36 > git config --get remote.origin.url # timeout=10 21:11:36 using GIT_SSH to set credentials SSH Credentials for GitHub 21:11:36 > git merge f3289a164b8ff7b22d28db9f748121107e7f7ddb # timeout=10 21:11:36 > git rev-parse HEAD^{commit} # timeout=10 21:11:36 > git config core.sparsecheckout # timeout=10 21:11:36 > git checkout -f 0d6ae0fba057515d35dda883ba4230e863c865db # timeout=10 21:11:40 Commit message: "Merge commit 'f3289a164b8ff7b22d28db9f748121107e7f7ddb' into HEAD" 21:11:40 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:11:40 > git rev-list --no-walk 7d6b4d6e71c66310976b3a215d34432b696f589c # timeout=10 21:11:41 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:11:41 % Total % Received % Xferd Average Speed Time Time Time Current 21:11:41 Dload Upload Total Spent Left Speed 21:11:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 244k 0 --:--:-- --:--:-- --:--:-- 244k [Pipeline] sh 21:11:42 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:11:42 + sudo tee /etc/docker/daemon.new 21:11:42 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:11:42 { 21:11:42 "registry-mirrors": [ 21:11:42 "https://nexus3.edgexfoundry.org:10001" 21:11:42 ], 21:11:42 "bip": "10.250.0.254/24", 21:11:42 "hosts": [ 21:11:42 "tcp://0.0.0.0:5555", 21:11:42 "unix:///var/run/docker.sock" 21:11:42 ], 21:11:42 "mtu": 1458, 21:11:42 "selinux-enabled": true, 21:11:42 "seccomp-profile": "/etc/docker/seccomp.json" 21:11:42 } [Pipeline] sh 21:11:42 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:11:43 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:12:01 provisioning config files... 21:12:01 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/device-rfid-llrp-go/3@tmp/config8497363546250003866tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:12:01 ---> docker-login.sh 21:12:01 nexus3.edgexfoundry.org:10001 21:12:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:02 Configure a credential helper to remove this warning. See 21:12:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:02 21:12:02 Login Succeeded 21:12:02 nexus3.edgexfoundry.org:10002 21:12:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:02 Configure a credential helper to remove this warning. See 21:12:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:02 21:12:02 Login Succeeded 21:12:02 nexus3.edgexfoundry.org:10003 21:12:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:03 Configure a credential helper to remove this warning. See 21:12:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:03 21:12:03 Login Succeeded 21:12:03 nexus3.edgexfoundry.org:10004 21:12:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:03 Configure a credential helper to remove this warning. See 21:12:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:03 21:12:03 Login Succeeded 21:12:03 docker.io 21:12:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:12:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:12:04 Configure a credential helper to remove this warning. See 21:12:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:12:04 21:12:04 Login Succeeded 21:12:04 ---> docker-login.sh ends [Pipeline] } 21:12:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:12:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:12:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:12:04 ========================================================= 21:12:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:12:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:12:04 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 21:12:05 Sending build context to Docker daemon 1.213MB 21:12:05 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:12:05 Step 2/12 : FROM ${BASE} AS builder 21:12:05 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:12:05 af6eaf76a39c: Pulling fs layer 21:12:05 55522c791124: Pulling fs layer 21:12:05 ce5c4a1c91eb: Pulling fs layer 21:12:05 169dfbe0d373: Pulling fs layer 21:12:05 e1ff8fa3b103: Pulling fs layer 21:12:05 52ebb69f0ebf: Pulling fs layer 21:12:05 5abe8eddf0d5: Pulling fs layer 21:12:05 169dfbe0d373: Waiting 21:12:05 52ebb69f0ebf: Waiting 21:12:05 5abe8eddf0d5: Waiting 21:12:05 e1ff8fa3b103: Waiting 21:12:06 55522c791124: Verifying Checksum 21:12:06 55522c791124: Download complete 21:12:06 169dfbe0d373: Verifying Checksum 21:12:06 169dfbe0d373: Download complete 21:12:06 e1ff8fa3b103: Verifying Checksum 21:12:06 e1ff8fa3b103: Download complete 21:12:06 af6eaf76a39c: Verifying Checksum 21:12:06 af6eaf76a39c: Download complete 21:12:07 af6eaf76a39c: Pull complete 21:12:07 5abe8eddf0d5: Verifying Checksum 21:12:07 5abe8eddf0d5: Download complete 21:12:07 55522c791124: Pull complete 21:12:08 ce5c4a1c91eb: Verifying Checksum 21:12:08 ce5c4a1c91eb: Download complete 21:12:09 52ebb69f0ebf: Verifying Checksum 21:12:09 52ebb69f0ebf: Download complete 21:12:21 ce5c4a1c91eb: Pull complete 21:12:21 169dfbe0d373: Pull complete 21:12:21 e1ff8fa3b103: Pull complete 21:12:25 52ebb69f0ebf: Pull complete 21:12:27 5abe8eddf0d5: Pull complete 21:12:27 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 21:12:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:12:27 ---> 6cb57ee374ae 21:12:27 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:12:29 ---> Running in feb9e0d4cb27 21:12:29 Removing intermediate container feb9e0d4cb27 21:12:29 ---> 42b1e0de7ed5 21:12:29 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:12:29 ---> Running in d75c1dfb357c 21:12:30 Removing intermediate container d75c1dfb357c 21:12:30 ---> 3b19d2404b94 21:12:30 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 21:12:30 ---> Running in 2baccf89b5e4 21:12:30 Removing intermediate container 2baccf89b5e4 21:12:30 ---> 53a0762ead47 21:12:30 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:12:30 ---> Running in ec99adddd4ef 21:12:31 Removing intermediate container ec99adddd4ef 21:12:31 ---> 2797f6e1221e 21:12:31 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:12:31 ---> Running in d64945715693 21:12:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:12:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:12:34 OK: 263 MiB in 53 packages 21:12:35 Removing intermediate container d64945715693 21:12:35 ---> 994712f084ad 21:12:35 Step 8/12 : WORKDIR /app 21:12:35 ---> Running in c0e81928cbb7 21:12:35 Removing intermediate container c0e81928cbb7 21:12:35 ---> ac0e9453ff26 21:12:35 Step 9/12 : COPY go.mod vendor* ./ 21:12:36 ---> b44bd9931a47 21:12:36 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:12:36 ---> Running in 746e5b1ff10e 21:13:44 Removing intermediate container 746e5b1ff10e 21:13:44 ---> 079ce251cec3 21:13:44 Step 11/12 : COPY . . 21:13:44 ---> 98d502f106be 21:13:44 Step 12/12 : RUN $MAKE 21:13:44 ---> Running in 1f5bd99dd008 21:13:44 noop 21:13:44 Removing intermediate container 1f5bd99dd008 21:13:44 ---> 9c6320c3beb6 21:13:44 Successfully built 9c6320c3beb6 21:13:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:44 + docker inspect -f . ci-base-image-arm64 21:13:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:13:44 prd-ubuntu20.04-docker-arm64-4c-16g-2284 does not seem to be running inside a container 21:13:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rfid-llrp-go/3 -v /w/workspace/device-rfid-llrp-go/3:/w/workspace/device-rfid-llrp-go/3:rw,z -v /w/workspace/device-rfid-llrp-go/3@tmp:/w/workspace/device-rfid-llrp-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:13:46 $ docker top c1f64d5f7d18b0b35b041ae41bbd012347d8f4a3a9e89f83cc2a2575018b79a3 -eo pid,comm [Pipeline] { [Pipeline] sh 21:13:46 + go version 21:13:46 go version go1.20.2 linux/arm64 [Pipeline] } 21:13:46 $ docker stop --time=1 c1f64d5f7d18b0b35b041ae41bbd012347d8f4a3a9e89f83cc2a2575018b79a3 21:13:48 $ docker rm -f --volumes c1f64d5f7d18b0b35b041ae41bbd012347d8f4a3a9e89f83cc2a2575018b79a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:49 + docker inspect -f . ci-base-image-arm64 21:13:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:13:49 prd-ubuntu20.04-docker-arm64-4c-16g-2284 does not seem to be running inside a container 21:13:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rfid-llrp-go/3 -v /w/workspace/device-rfid-llrp-go/3:/w/workspace/device-rfid-llrp-go/3:rw,z -v /w/workspace/device-rfid-llrp-go/3@tmp:/w/workspace/device-rfid-llrp-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:13:50 $ docker top d8a8e866c391d9ae0d3e22b71faf192865101d4aba1d27af8e40819b64b08869 -eo pid,comm [Pipeline] { [Pipeline] sh 21:13:51 + git config --global --add safe.directory /w/workspace/device-rfid-llrp-go/3 [Pipeline] fileExists [Pipeline] sh 21:13:51 + make test 21:13:51 go test ./... -coverprofile=coverage.out ./... 21:14:24 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 21:16:30 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 21:16:30 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 21:16:57 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 27.838s coverage: 40.7% of statements 21:16:57 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.563s coverage: 52.0% of statements 21:16:57 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.052s coverage: 96.4% of statements 21:16:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:16:57 go vet ./... 21:17:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:17:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:17:30 ./bin/test-attribution-txt.sh 21:17:30 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 21:17:30 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 21:17:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:17:30 $ docker stop --time=1 d8a8e866c391d9ae0d3e22b71faf192865101d4aba1d27af8e40819b64b08869 21:17:32 $ docker rm -f --volumes d8a8e866c391d9ae0d3e22b71faf192865101d4aba1d27af8e40819b64b08869 [Pipeline] // withDockerContainer [Pipeline] sh 21:17:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:17:33 Warning: overwriting stash ‘coverage-report’ 21:17:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:17:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:17:34 + ls -al . 21:17:34 total 628 21:17:34 drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 21:13 . 21:17:34 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 21:11 .. 21:17:34 -rw-rw-r-- 1 jenkins jenkins 134 Mar 15 21:11 .dockerignore 21:17:34 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 21:11 .git 21:17:34 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 21:11 .github 21:17:34 -rw-rw-r-- 1 jenkins jenkins 946 Mar 15 21:11 .gitignore 21:17:34 -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 21:11 .golangci.yml 21:17:34 -rw-rw-r-- 1 jenkins jenkins 10896 Mar 15 21:11 Attribution.txt 21:17:34 -rw-rw-r-- 1 jenkins jenkins 5905 Mar 15 21:11 CHANGELOG.md 21:17:34 -rw-rw-r-- 1 jenkins jenkins 1347 Mar 15 21:11 Dockerfile 21:17:34 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 21:11 GOVERNANCE.md 21:17:34 -rw-rw-r-- 1 jenkins jenkins 683 Mar 15 21:11 Jenkinsfile 21:17:34 -rw-rw-r-- 1 jenkins jenkins 11347 Mar 15 21:11 LICENSE 21:17:34 -rw-rw-r-- 1 jenkins jenkins 2053 Mar 15 21:11 Makefile 21:17:34 -rw-rw-r-- 1 jenkins jenkins 625 Mar 15 21:11 OWNERS.md 21:17:34 -rw-rw-r-- 1 jenkins jenkins 28496 Mar 15 21:11 README.md 21:17:34 -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 21:07 VERSION 21:17:34 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 21:11 bin 21:17:34 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 21:11 cmd 21:17:34 -rw-r--r-- 1 jenkins jenkins 457862 Mar 15 21:16 coverage.out 21:17:34 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 21:11 examples 21:17:34 -rw-rw-r-- 1 jenkins jenkins 3462 Mar 15 21:11 go.mod 21:17:34 -rw-rw-r-- 1 jenkins jenkins 33032 Mar 15 21:11 go.sum 21:17:34 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 21:11 images 21:17:34 drwxrwxr-x 5 jenkins jenkins 4096 Mar 15 21:11 internal 21:17:34 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 21:11 snap 21:17:34 -rw-rw-r-- 1 jenkins jenkins 193 Mar 15 21:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:35 + 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=0d6ae0fba057515d35dda883ba4230e863c865db --label arch=arm64 --label version=0.0.0 . 21:17:35 Sending build context to Docker daemon 1.213MB 21:17:35 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 21:17:35 Step 2/24 : FROM ${BASE} AS builder 21:17:35 ---> 9c6320c3beb6 21:17:35 Step 3/24 : ARG ADD_BUILD_TAGS="" 21:17:35 ---> Running in 23dce0344858 21:17:35 Removing intermediate container 23dce0344858 21:17:35 ---> e4707cbd683b 21:17:35 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:17:35 ---> Running in 6329eece35c8 21:17:36 Removing intermediate container 6329eece35c8 21:17:36 ---> e912e6b779fb 21:17:36 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 21:17:36 ---> Running in 1af448787a62 21:17:36 Removing intermediate container 1af448787a62 21:17:36 ---> a6b0caf396c3 21:17:36 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 21:17:36 ---> Running in ea140436f67d 21:17:36 Removing intermediate container ea140436f67d 21:17:36 ---> 5b8bf3ce3ea8 21:17:36 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:17:37 ---> Running in 05d9e30d3ab4 21:17:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:17:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:17:39 OK: 263 MiB in 53 packages 21:17:40 Removing intermediate container 05d9e30d3ab4 21:17:40 ---> 053bce12140e 21:17:40 Step 8/24 : WORKDIR /app 21:17:40 ---> Running in ab8e023ecbe9 21:17:40 Removing intermediate container ab8e023ecbe9 21:17:40 ---> c592ee5a9fa6 21:17:40 Step 9/24 : COPY go.mod vendor* ./ 21:17:41 ---> b8d04e6e61f2 21:17:41 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:17:41 ---> Running in 14fd932502e3 21:17:43 Removing intermediate container 14fd932502e3 21:17:43 ---> 2796781b85d8 21:17:43 Step 11/24 : COPY . . 21:17:44 ---> d81907a9ebb2 21:17:44 Step 12/24 : RUN $MAKE 21:17:44 ---> Running in c7f9f9c8a520 21:17:45 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rfid-llrp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rfid-llrp ./cmd 21:20:07 Removing intermediate container c7f9f9c8a520 21:20:07 ---> 1e5bd69e144e 21:20:07 Step 13/24 : FROM alpine:3.17 21:20:07 3.17: Pulling from library/alpine 21:20:07 af6eaf76a39c: Already exists 21:20:07 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 21:20:07 Status: Downloaded newer image for alpine:3.17 21:20:07 ---> d74e625d9115 21:20:07 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:20:07 ---> Running in df5832153b3c 21:20:07 Removing intermediate container df5832153b3c 21:20:07 ---> 1cff2883fd13 21:20:07 Step 15/24 : RUN apk add --update --no-cache dumb-init 21:20:07 ---> Running in 86fed3f6e769 21:20:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:20:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:20:07 (1/1) Installing dumb-init (1.2.5-r2) 21:20:07 Executing busybox-1.35.0-r29.trigger 21:20:07 OK: 8 MiB in 16 packages 21:20:07 Removing intermediate container 86fed3f6e769 21:20:07 ---> ea6c71ad3a98 21:20:07 Step 16/24 : COPY --from=builder /app/LICENSE / 21:20:08 ---> 5a2e098c5de8 21:20:08 Step 17/24 : COPY --from=builder /app/Attribution.txt / 21:20:08 ---> 65c7740b4100 21:20:08 Step 18/24 : COPY --from=builder /app/cmd/ / 21:20:10 ---> 2b814394e09a 21:20:10 Step 19/24 : EXPOSE 59989 21:20:10 ---> Running in 15a855c94c85 21:20:10 Removing intermediate container 15a855c94c85 21:20:10 ---> 2cf95f7d41e6 21:20:10 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 21:20:10 ---> Running in 6638d25c264f 21:20:10 Removing intermediate container 6638d25c264f 21:20:10 ---> 813218f42265 21:20:10 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:20:10 ---> Running in 07c285cc9ba4 21:20:11 Removing intermediate container 07c285cc9ba4 21:20:11 ---> f4cfb04b79d6 21:20:11 Step 22/24 : LABEL arch=arm64 21:20:11 ---> Running in 68cb5c78c343 21:20:11 Removing intermediate container 68cb5c78c343 21:20:11 ---> 3d669f410c13 21:20:11 Step 23/24 : LABEL git_sha=0d6ae0fba057515d35dda883ba4230e863c865db 21:20:11 ---> Running in 193634c35da9 21:20:11 Removing intermediate container 193634c35da9 21:20:11 ---> 9025beeed262 21:20:11 Step 24/24 : LABEL version=0.0.0 21:20:11 ---> Running in 104e388624e0 21:20:12 Removing intermediate container 104e388624e0 21:20:12 ---> 12b10d2a395c 21:20:12 [Warning] One or more build-args [ARCH] were not consumed 21:20:12 Successfully built 12b10d2a395c 21:20:12 Successfully tagged device-rfid-llrp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:20:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:20:12 21:20:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:20:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:20:12 arm64: Pulling from edgex-lftools-log-publisher 21:20:12 8998bd30e6a1: Pulling fs layer 21:20:12 04944245beec: Pulling fs layer 21:20:12 699f458cf7ca: Pulling fs layer 21:20:12 765212b225bb: Pulling fs layer 21:20:12 f23df028b6ca: Pulling fs layer 21:20:12 d65c8cfc05b1: Pulling fs layer 21:20:12 2437ff75d9bd: Pulling fs layer 21:20:12 f23df028b6ca: Waiting 21:20:12 d65c8cfc05b1: Waiting 21:20:12 2437ff75d9bd: Waiting 21:20:12 765212b225bb: Waiting 21:20:13 04944245beec: Verifying Checksum 21:20:13 04944245beec: Download complete 21:20:13 765212b225bb: Verifying Checksum 21:20:13 765212b225bb: Download complete 21:20:13 f23df028b6ca: Download complete 21:20:13 d65c8cfc05b1: Verifying Checksum 21:20:13 d65c8cfc05b1: Download complete 21:20:13 699f458cf7ca: Verifying Checksum 21:20:13 699f458cf7ca: Download complete 21:20:13 8998bd30e6a1: Verifying Checksum 21:20:13 8998bd30e6a1: Download complete 21:20:15 2437ff75d9bd: Verifying Checksum 21:20:15 2437ff75d9bd: Download complete 21:20:17 8998bd30e6a1: Pull complete 21:20:17 04944245beec: Pull complete 21:20:19 699f458cf7ca: Pull complete 21:20:19 765212b225bb: Pull complete 21:20:20 f23df028b6ca: Pull complete 21:20:20 d65c8cfc05b1: Pull complete 21:20:35 2437ff75d9bd: Pull complete 21:20:35 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:20:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:20:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:20:36 prd-ubuntu20.04-docker-arm64-4c-16g-2284 does not seem to be running inside a container 21:20:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rfid-llrp-go/3 -v /w/workspace/device-rfid-llrp-go/3:/w/workspace/device-rfid-llrp-go/3:rw,z -v /w/workspace/device-rfid-llrp-go/3@tmp:/w/workspace/device-rfid-llrp-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:20:38 $ docker top 0cb332712f18058154753645767e6831f2c2866410f3c94aeade49537d613861 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:20:39 ---> job-cost.sh 21:20:39 lf-activate-venv: SKIPPING 21:20:39 INFO: No Stack... 21:20:39 INFO: Retrieving Pricing Info for: v3-standard-4 21:20:40 INFO: Archiving Costs [Pipeline] sh 21:20:41 + cut -d, -f6 21:20:41 + cat /w/workspace/device-rfid-llrp-go/3/archives/cost.csv [Pipeline] lock 21:20:41 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-160-3-stack-cost] 21:20:41 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-160-3-stack-cost] did not exist. Created. 21:20:41 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-160-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:20:41 /w/workspace/device-rfid-llrp-go/3@tmp/durable-64baf499/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:20:42 + echo total: 0.10999999940395355 [Pipeline] stash 21:20:42 Warning: overwriting stash ‘stack-cost’ 21:20:42 Stashed 1 file(s) [Pipeline] } 21:20:42 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-160-3-stack-cost] [Pipeline] // lock [Pipeline] } 21:20:42 $ docker stop --time=1 0cb332712f18058154753645767e6831f2c2866410f3c94aeade49537d613861 21:20:44 $ docker rm -f --volumes 0cb332712f18058154753645767e6831f2c2866410f3c94aeade49537d613861 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 21:20:44 provisioning config files... 21:20:44 copy managed file [device-rfid-llrp-go-codecov-token] to file:/w/workspace/undry_device-rfid-llrp-go_PR-160@tmp/config6718060229129621684tmp [Pipeline] { [Pipeline] sh 21:20:44 + set +x 21:20:44 + + curl -s https://codecov.io/bash 21:20:44 bash -s -- 21:20:44 21:20:44 _____ _ 21:20:44 / ____| | | 21:20:44 | | ___ __| | ___ ___ _____ __ 21:20:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:20:44 | |___| (_) | (_| | __/ (_| (_) \ V / 21:20:44 \_____\___/ \__,_|\___|\___\___/ \_/ 21:20:44 Bash-1.0.6 21:20:44 21:20:44 21:20:44 ==> git version 2.25.1 found 21:20:44 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:20:44 Release-Date: 2020-01-08 21:20:44 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:20:44 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:20:44 ==> Jenkins CI detected. 21:20:44 current dir:  /w/workspace/undry_device-rfid-llrp-go_PR-160 21:20:44 project root: . 21:20:44 --> token set from env 21:20:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:20:44 ==> Running gcov in . (disable via -X gcov) 21:20:44 ==> Python coveragepy not found 21:20:44 ==> Searching for coverage reports in: 21:20:44 + . 21:20:44 -> Found 1 reports 21:20:44 ==> Detecting git/mercurial file structure 21:20:44 ==> Reading reports 21:20:44 + ./coverage.out bytes=457862 21:20:44 ==> Appending adjustments 21:20:44 https://docs.codecov.io/docs/fixing-reports 21:20:45 + Found adjustments 21:20:45 ==> Gzipping contents 21:20:45 52K /tmp/codecov.g9hZJQ.gz 21:20:45 ==> Uploading reports 21:20:45 url: https://codecov.io 21:20:45 query: branch=PR-160&commit=bab8b8645ec57ec1c319f7278f95231b5fb78c38&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-160%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=160&job=&cmd_args= 21:20:45 -> Pinging Codecov 21:20:45 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-160&commit=bab8b8645ec57ec1c319f7278f95231b5fb78c38&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-160%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=160&job=&cmd_args= 21:20:45 -> Uploading to 21:20:45 https://storage.googleapis.com/codecov/v4/raw/2023-03-15/581DD39554BDF9B6E22D074273EAD858/bab8b8645ec57ec1c319f7278f95231b5fb78c38/eec1028b-b11b-41bd-b57c-380aec9b8f39.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230315T212045Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7756198c807b133cbb904ac635023f3f6978ec3f935e35e1fab44ae6161faef0 21:20:45 % Total % Received % Xferd Average Speed Time Time Time Current 21:20:45 Dload Upload Total Spent Left Speed 21:20:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 50485 0 0 100 50485 0 242k --:--:-- --:--:-- --:--:-- 241k 100 50485 0 0 100 50485 0 199k --:--:-- --:--:-- --:--:-- 198k 21:20:45 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/bab8b8645ec57ec1c319f7278f95231b5fb78c38 [Pipeline] } 21:20:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:20:46 + [ -d /w/workspace/undry_device-rfid-llrp-go_PR-160/archives ] 21:20:46 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-160/archives 21:20:46 total 16 21:20:46 drwxr-xr-x 3 root root 4096 Mar 15 21:09 . 21:20:46 drwxrwxr-x 12 jenkins jenkins 4096 Mar 15 21:09 .. 21:20:46 drwxr-xr-x 2 root root 4096 Mar 15 21:09 cost 21:20:46 -rw-r--r-- 1 root root 91 Mar 15 21:09 cost.csv 21:20:46 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-rfid-llrp-go_PR-160/archives 21:20:46 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-160/archives 21:20:46 total 16 21:20:46 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 21:09 . 21:20:46 drwxrwxr-x 12 jenkins jenkins 4096 Mar 15 21:09 .. 21:20:46 drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 21:09 cost 21:20:46 -rw-r--r-- 1 jenkins jenkins 91 Mar 15 21:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:20:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:20:47 ---> package-listing.sh 21:20:47 ++ facter osfamily 21:20:47 ++ tr '[:upper:]' '[:lower:]' 21:20:47 + OS_FAMILY=debian 21:20:47 + workspace=/w/workspace/undry_device-rfid-llrp-go_PR-160 21:20:47 + START_PACKAGES=/tmp/packages_start.txt 21:20:47 + END_PACKAGES=/tmp/packages_end.txt 21:20:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:20:47 + PACKAGES=/tmp/packages_start.txt 21:20:47 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-160 ']' 21:20:47 + PACKAGES=/tmp/packages_end.txt 21:20:47 + case "${OS_FAMILY}" in 21:20:47 + dpkg -l 21:20:47 + grep '^ii' 21:20:47 + '[' -f /tmp/packages_start.txt ']' 21:20:47 + '[' -f /tmp/packages_end.txt ']' 21:20:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:20:47 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-160 ']' 21:20:47 + mkdir -p /w/workspace/undry_device-rfid-llrp-go_PR-160/archives/ 21:20:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-rfid-llrp-go_PR-160/archives/ [Pipeline] echo 21:20:47 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-rfid-llrp-go_PR-160/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:20:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:20:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:20:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:20:48 prd-ubuntu20.04-docker-8c-8g-2282 does not seem to be running inside a container 21:20:48 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-rfid-llrp-go_PR-160/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-rfid-llrp-go_PR-160 -v /w/workspace/undry_device-rfid-llrp-go_PR-160:/w/workspace/undry_device-rfid-llrp-go_PR-160:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-160@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-160@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:20:48 $ docker top 754741447f8e279a4f817f2a197d2aa2aca611a69ff64509c1f15f55aa77b537 -eo pid,comm [Pipeline] { [Pipeline] sh 21:20:49 + touch /tmp/pre-build-complete [Pipeline] sh 21:20:49 + mkdir -p /var/log/sysstat [Pipeline] sh 21:20:49 + ls /var/log/sa-host 21:20:49 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:20:49 provisioning config files... 21:20:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-160@tmp/config6013780877582987134tmp [Pipeline] { [Pipeline] echo 21:20:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:20:50 ---> create-netrc.sh [Pipeline] } 21:20:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:20:50 ---> python-tools-install.sh [Pipeline] echo 21:20:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:20:50 ---> sudo-logs.sh 21:20:50 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:20:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:20:51 ---> job-cost.sh 21:20:51 lf-activate-venv: SKIPPING 21:20:51 DEBUG: total: 0.2199999988079071 21:20:51 INFO: Retrieving Stack Cost... 21:20:51 INFO: Retrieving Pricing Info for: v3-standard-8 21:20:51 INFO: Archiving Costs [Pipeline] echo 21:20:51 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:20:52 ---> logs-deploy.sh 21:20:52 lf-activate-venv: SKIPPING 21:20:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rfid-llrp-go/PR-160/3 21:20:52 INFO: archiving workspace using pattern(s): 21:20:53 Archives upload complete. 21:20:53 INFO: archiving logs to Nexus