Pull request #190 updated Pull request #190 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of marcpfuller for edgexfoundry/device-rfid-llrp-go Loading trusted files from base branch main at 56ebd084d71db325e16ff8b089022d3f4ad733ae rather than 34bbc2f432096dd3462687b8f81dd07d7f1fb5a4 Obtained Jenkinsfile from 56ebd084d71db325e16ff8b089022d3f4ad733ae 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-ssh13745367629951775599.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-ssh11982261970620937295.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-190/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-190/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9082070708191429253.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-ssh2162691553861381777.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-190/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-190/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11395959572971341249.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-5004 in /w/workspace/undry_device-rfid-llrp-go_PR-190 [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-190 # 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/190/head:refs/remotes/origin/PR-190 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 56ebd084d71db325e16ff8b089022d3f4ad733ae into PR head commit 34bbc2f432096dd3462687b8f81dd07d7f1fb5a4 Merge succeeded, producing 34bbc2f432096dd3462687b8f81dd07d7f1fb5a4 Checking out Revision 34bbc2f432096dd3462687b8f81dd07d7f1fb5a4 (PR-190) > git config core.sparsecheckout # timeout=10 > git checkout -f 34bbc2f432096dd3462687b8f81dd07d7f1fb5a4 # 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 56ebd084d71db325e16ff8b089022d3f4ad733ae # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 34bbc2f432096dd3462687b8f81dd07d7f1fb5a4 # timeout=10 Commit message: "refactor!: Change configuration file format to YAML" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:08:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:08:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:08:43 ========================================================= 00:08:43 EdgeX Global Pipelines Version Info 00:08:43 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:08:44 ------------------- 00:08:44 stable info: 00:08:44 ------------------- 00:08:44 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:08:44 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 00:08:44 Message: update stable to v1.0.245 00:08:44 ------------------- 00:08:44 experimental info: 00:08:44 ------------------- 00:08:44 Commited By: **** collab-it+edgex@linuxfoundation.org 00:08:44 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 00:08:44 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:08:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rfid-llrp-go-settings [Pipeline] echo 00:08:44 [edgeXSetupEnvironment]: set envvar PROJECT = device-rfid-llrp-go [Pipeline] echo 00:08:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:08:44 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:08:45 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:08:45 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 00:08:45 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:08:45 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:08:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:08:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:08:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:08:45 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rfid-llrp [Pipeline] echo 00:08:45 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:08:45 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:08:45 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:08:45 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:08:45 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:08:45 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:08:45 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:08:45 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:08:45 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:08:45 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:08:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:08:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:08:45 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:08:45 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:08:45 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:08:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-190 [Pipeline] echo 00:08:45 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-190 [Pipeline] echo 00:08:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-190 [Pipeline] echo 00:08:45 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 34bbc2f432096dd3462687b8f81dd07d7f1fb5a4 [Pipeline] echo 00:08:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 34bbc2f [Pipeline] echo 00:08:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:08:45 provisioning config files... 00:08:45 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-190@tmp/config9486692304794796318tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:08:45 ---> docker-login.sh 00:08:45 nexus3.edgexfoundry.org:10001 00:08:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:08:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:08:45 Configure a credential helper to remove this warning. See 00:08:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:08:45 00:08:45 Login Succeeded 00:08:45 nexus3.edgexfoundry.org:10002 00:08:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:08:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:08:46 Configure a credential helper to remove this warning. See 00:08:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:08:46 00:08:46 Login Succeeded 00:08:46 nexus3.edgexfoundry.org:10003 00:08:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:08:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:08:46 Configure a credential helper to remove this warning. See 00:08:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:08:46 00:08:46 Login Succeeded 00:08:46 nexus3.edgexfoundry.org:10004 00:08:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:08:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:08:46 Configure a credential helper to remove this warning. See 00:08:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:08:46 00:08:46 Login Succeeded 00:08:46 docker.io 00:08:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:08:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:08:46 Configure a credential helper to remove this warning. See 00:08:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:08:46 00:08:46 Login Succeeded 00:08:46 ---> docker-login.sh ends [Pipeline] } 00:08:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:08:47 + git rev-list -1 --merges 34bbc2f432096dd3462687b8f81dd07d7f1fb5a4~1..34bbc2f432096dd3462687b8f81dd07d7f1fb5a4 [Pipeline] echo 00:08:47 -----------> git rev-list -1 --merges 34bbc2f432096dd3462687b8f81dd07d7f1fb5a4~1..34bbc2f432096dd3462687b8f81dd07d7f1fb5a4 34bbc2f432096dd3462687b8f81dd07d7f1fb5a4 [false] [Pipeline] sh 00:08:47 + git log --format=format:%s -1 34bbc2f432096dd3462687b8f81dd07d7f1fb5a4 [Pipeline] echo 00:08:47 ========================================================= 00:08:47 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:08:47 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:08:47 + git log --format=format:%s -1 34bbc2f432096dd3462687b8f81dd07d7f1fb5a4 [Pipeline] echo 00:08:47 [semverPrep] GIT_COMMIT: 34bbc2f432096dd3462687b8f81dd07d7f1fb5a4, Commit Message: refactor!: Change configuration file format to YAML [Pipeline] echo 00:08:47 [semverPrep] This is not a build commit. [Pipeline] sh 00:08:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:08:48 + grep -v github /etc/ssh/ssh_known_hosts 00:08:48 + [ -e /tmp/ssh_known_hosts ] 00:08:48 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:08:48 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:08:48 + sudo tee -a /etc/ssh/ssh_known_hosts 00:08:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:08:48 00:08:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:08:48 0.1.4: Pulling from edgex-devops/py-git-semver 00:08:48 b85a868b505f: Pulling fs layer 00:08:48 e2be974225ed: Pulling fs layer 00:08:48 339a4e72a1f5: Pulling fs layer 00:08:48 988bab9f4d93: Pulling fs layer 00:08:48 1469e6f7b9e6: Pulling fs layer 00:08:48 eaf3925da568: Pulling fs layer 00:08:48 bab4dde63d76: Pulling fs layer 00:08:48 bde34c3a00c8: Pulling fs layer 00:08:48 b352a97aabf1: Pulling fs layer 00:08:48 4872d77fe225: Pulling fs layer 00:08:48 5851b861e8e6: Pulling fs layer 00:08:48 eaf3925da568: Waiting 00:08:48 1469e6f7b9e6: Waiting 00:08:48 bab4dde63d76: Waiting 00:08:48 bde34c3a00c8: Waiting 00:08:48 b352a97aabf1: Waiting 00:08:48 4872d77fe225: Waiting 00:08:48 5851b861e8e6: Waiting 00:08:48 988bab9f4d93: Waiting 00:08:48 e2be974225ed: Verifying Checksum 00:08:48 e2be974225ed: Download complete 00:08:48 988bab9f4d93: Verifying Checksum 00:08:48 988bab9f4d93: Download complete 00:08:48 1469e6f7b9e6: Verifying Checksum 00:08:48 1469e6f7b9e6: Download complete 00:08:48 eaf3925da568: Verifying Checksum 00:08:49 339a4e72a1f5: Verifying Checksum 00:08:49 339a4e72a1f5: Download complete 00:08:49 bde34c3a00c8: Verifying Checksum 00:08:49 bde34c3a00c8: Download complete 00:08:49 b352a97aabf1: Download complete 00:08:49 4872d77fe225: Download complete 00:08:49 5851b861e8e6: Verifying Checksum 00:08:49 5851b861e8e6: Download complete 00:08:49 b85a868b505f: Verifying Checksum 00:08:49 b85a868b505f: Download complete 00:08:49 bab4dde63d76: Verifying Checksum 00:08:49 bab4dde63d76: Download complete 00:08:50 b85a868b505f: Pull complete 00:08:50 e2be974225ed: Pull complete 00:08:51 339a4e72a1f5: Pull complete 00:08:51 988bab9f4d93: Pull complete 00:08:51 1469e6f7b9e6: Pull complete 00:08:51 eaf3925da568: Pull complete 00:08:53 bab4dde63d76: Pull complete 00:08:53 bde34c3a00c8: Pull complete 00:08:53 b352a97aabf1: Pull complete 00:08:53 4872d77fe225: Pull complete 00:08:53 5851b861e8e6: Pull complete 00:08:53 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:08:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:08:53 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:08:53 prd-ubuntu20.04-docker-8c-8g-5004 does not seem to be running inside a container 00:08:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-rfid-llrp-go_PR-190 -v /w/workspace/undry_device-rfid-llrp-go_PR-190:/w/workspace/undry_device-rfid-llrp-go_PR-190:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-190@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-190@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 00:08:54 $ docker top b71eddab96f0f5d6dcb1e694d0165237e42b2ab3e1b7e1b74ca1f39731df46ae -eo pid,comm 00:08:54 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). 00:08:54 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:08:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:08:55 [ssh-agent] Looking for ssh-agent implementation... 00:08:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:08:55 $ docker exec b71eddab96f0f5d6dcb1e694d0165237e42b2ab3e1b7e1b74ca1f39731df46ae ssh-agent 00:08:55 SSH_AUTH_SOCK=/tmp/ssh-SGRqH5ODJXJq/agent.32 00:08:55 SSH_AGENT_PID=38 00:08:55 Running ssh-add (command line suppressed) 00:08:55 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-190@tmp/private_key_16523077851993366950.key (/w/workspace/undry_device-rfid-llrp-go_PR-190@tmp/private_key_16523077851993366950.key) 00:08:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:08:55 + git tag --points-at HEAD [Pipeline] } 00:08:55 $ docker exec --env ******** --env ******** b71eddab96f0f5d6dcb1e694d0165237e42b2ab3e1b7e1b74ca1f39731df46ae ssh-agent -k 00:08:55 unset SSH_AUTH_SOCK; 00:08:55 unset SSH_AGENT_PID; 00:08:55 echo Agent pid 38 killed; 00:08:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:08:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:08:55 [ssh-agent] Looking for ssh-agent implementation... 00:08:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:08:55 $ docker exec b71eddab96f0f5d6dcb1e694d0165237e42b2ab3e1b7e1b74ca1f39731df46ae ssh-agent 00:08:56 SSH_AUTH_SOCK=/tmp/ssh-TvvmgBsmn6MK/agent.70 00:08:56 SSH_AGENT_PID=76 00:08:56 Running ssh-add (command line suppressed) 00:08:56 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-190@tmp/private_key_15653346170199302366.key (/w/workspace/undry_device-rfid-llrp-go_PR-190@tmp/private_key_15653346170199302366.key) 00:08:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:08:56 + git semver init 00:08:56 2023-03-22 00:08:56,721 [run_init] DEBUG init version:0.0.0 force:False 00:08:56 2023-03-22 00:08:56,723 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-rfid-llrp-go_PR-190/.semver 00:08:56 2023-03-22 00:08:56,724 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rfid-llrp-go.git /w/workspace/undry_device-rfid-llrp-go_PR-190/.semver 00:08:56 2023-03-22 00:08:56,724 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rfid-llrp-go.git', '/w/workspace/undry_device-rfid-llrp-go_PR-190/.semver'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-190, universal_newlines=False, shell=None, istream=None) 00:08:57 2023-03-22 00:08:57,488 [append_file] DEBUG append to file:/w/workspace/undry_device-rfid-llrp-go_PR-190/.git/info/exclude 00:08:57 2023-03-22 00:08:57,488 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-rfid-llrp-go_PR-190/.semver/PR-190 with force:False 00:08:57 2023-03-22 00:08:57,488 [write_file] DEBUG write to file:/w/workspace/undry_device-rfid-llrp-go_PR-190/.semver/PR-190 00:08:57 2023-03-22 00:08:57,493 [execute] INFO git cat-file --batch-check 00:08:57 2023-03-22 00:08:57,493 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-190/.semver, universal_newlines=False, shell=None, istream=) 00:08:57 2023-03-22 00:08:57,500 [execute] INFO git cat-file --batch 00:08:57 2023-03-22 00:08:57,500 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-190/.semver, universal_newlines=False, shell=None, istream=) 00:08:57 2023-03-22 00:08:57,505 [read_version] DEBUG read version from /w/workspace/undry_device-rfid-llrp-go_PR-190/.semver/PR-190 00:08:57 0.0.0 [Pipeline] } 00:08:57 $ docker exec --env ******** --env ******** b71eddab96f0f5d6dcb1e694d0165237e42b2ab3e1b7e1b74ca1f39731df46ae ssh-agent -k 00:08:57 unset SSH_AUTH_SOCK; 00:08:57 unset SSH_AGENT_PID; 00:08:57 echo Agent pid 76 killed; 00:08:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:08:58 + git semver [Pipeline] } 00:08:58 $ docker stop --time=1 b71eddab96f0f5d6dcb1e694d0165237e42b2ab3e1b7e1b74ca1f39731df46ae 00:08:59 $ docker rm -f --volumes b71eddab96f0f5d6dcb1e694d0165237e42b2ab3e1b7e1b74ca1f39731df46ae [Pipeline] // withDockerContainer [Pipeline] sh 00:09:00 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:09:00 Stashed 1 file(s) [Pipeline] echo 00:09:00 [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 00:09:00 provisioning config files... 00:09:00 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-190@tmp/config15368494369892988453tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:09:00 ---> docker-login.sh 00:09:00 nexus3.edgexfoundry.org:10001 00:09:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:09:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:09:00 Configure a credential helper to remove this warning. See 00:09:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:09:00 00:09:00 Login Succeeded 00:09:00 nexus3.edgexfoundry.org:10002 00:09:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:09:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:09:00 Configure a credential helper to remove this warning. See 00:09:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:09:00 00:09:00 Login Succeeded 00:09:00 nexus3.edgexfoundry.org:10003 00:09:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:09:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:09:01 Configure a credential helper to remove this warning. See 00:09:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:09:01 00:09:01 Login Succeeded 00:09:01 nexus3.edgexfoundry.org:10004 00:09:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:09:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:09:01 Configure a credential helper to remove this warning. See 00:09:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:09:01 00:09:01 Login Succeeded 00:09:01 docker.io 00:09:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:09:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:09:01 Configure a credential helper to remove this warning. See 00:09:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:09:01 00:09:01 Login Succeeded 00:09:01 ---> docker-login.sh ends [Pipeline] } 00:09:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:09:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:09:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:09:01 ========================================================= 00:09:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 00:09:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:01 + 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 . 00:09:01 Sending build context to Docker daemon 4.191MB 00:09:01 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 00:09:01 Step 2/12 : FROM ${BASE} AS builder 00:09:01 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 00:09:01 63b65145d645: Pulling fs layer 00:09:01 a2d21d5440eb: Pulling fs layer 00:09:01 935e6c44a52c: Pulling fs layer 00:09:01 94cc34f8dd06: Pulling fs layer 00:09:01 30dea6a524f1: Pulling fs layer 00:09:01 a2aff8979fd8: Pulling fs layer 00:09:01 6808be2612f2: Pulling fs layer 00:09:01 f25807f1079a: Pulling fs layer 00:09:01 94cc34f8dd06: Waiting 00:09:01 30dea6a524f1: Waiting 00:09:01 6808be2612f2: Waiting 00:09:01 f25807f1079a: Waiting 00:09:01 a2d21d5440eb: Verifying Checksum 00:09:01 a2d21d5440eb: Download complete 00:09:01 94cc34f8dd06: Verifying Checksum 00:09:01 94cc34f8dd06: Download complete 00:09:01 30dea6a524f1: Verifying Checksum 00:09:01 30dea6a524f1: Download complete 00:09:02 63b65145d645: Verifying Checksum 00:09:02 63b65145d645: Download complete 00:09:02 a2aff8979fd8: Verifying Checksum 00:09:02 a2aff8979fd8: Download complete 00:09:02 63b65145d645: Pull complete 00:09:02 a2d21d5440eb: Pull complete 00:09:02 f25807f1079a: Verifying Checksum 00:09:02 f25807f1079a: Download complete 00:09:02 935e6c44a52c: Verifying Checksum 00:09:02 935e6c44a52c: Download complete 00:09:02 6808be2612f2: Verifying Checksum 00:09:02 6808be2612f2: Download complete 00:09:06 935e6c44a52c: Pull complete 00:09:06 94cc34f8dd06: Pull complete 00:09:06 30dea6a524f1: Pull complete 00:09:06 a2aff8979fd8: Pull complete 00:09:08 6808be2612f2: Pull complete 00:09:09 f25807f1079a: Pull complete 00:09:09 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 00:09:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 00:09:09 ---> 3b553350e43f 00:09:09 Step 3/12 : ARG ADD_BUILD_TAGS="" 00:09:10 ---> Running in 12f83b2576e5 00:09:10 Removing intermediate container 12f83b2576e5 00:09:10 ---> 8a8b33c5c1db 00:09:10 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:09:10 ---> Running in c5dadd0f20f7 00:09:10 Removing intermediate container c5dadd0f20f7 00:09:10 ---> aa43a06791e3 00:09:10 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 00:09:10 ---> Running in 0b508e6a0412 00:09:11 Removing intermediate container 0b508e6a0412 00:09:11 ---> 1f17f94e3371 00:09:11 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 00:09:11 ---> Running in 436b2f026c69 00:09:11 Removing intermediate container 436b2f026c69 00:09:11 ---> 1837bb056244 00:09:11 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:09:11 ---> Running in 30c9ebdaf2e4 00:09:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:09:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:09:11 OK: 265 MiB in 53 packages 00:09:12 Removing intermediate container 30c9ebdaf2e4 00:09:12 ---> c32e66ec3779 00:09:12 Step 8/12 : WORKDIR /app 00:09:12 ---> Running in 4f6ad180873d 00:09:12 Removing intermediate container 4f6ad180873d 00:09:12 ---> cdabf1985d0a 00:09:12 Step 9/12 : COPY go.mod vendor* ./ 00:09:12 ---> 1500860dbd8c 00:09:12 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:09:12 ---> Running in c1dd9114bfe5 00:09:15 Still waiting to schedule task 00:09:15 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5002’ 00:09:44 Removing intermediate container c1dd9114bfe5 00:09:44 ---> ac85eafd7c0f 00:09:44 Step 11/12 : COPY . . 00:09:44 ---> 8281049676fa 00:09:44 Step 12/12 : RUN $MAKE 00:09:44 ---> Running in 7afa4f0b0960 00:09:44 noop 00:09:44 Removing intermediate container 7afa4f0b0960 00:09:44 ---> 5c4f0e0220c1 00:09:44 Successfully built 5c4f0e0220c1 00:09:44 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:44 + docker inspect -f . ci-base-image-x86_64 00:09:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:09:44 prd-ubuntu20.04-docker-8c-8g-5004 does not seem to be running inside a container 00:09:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-rfid-llrp-go_PR-190 -v /w/workspace/undry_device-rfid-llrp-go_PR-190:/w/workspace/undry_device-rfid-llrp-go_PR-190:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-190@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-190@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 00:09:45 $ docker top fb781662d350296b86b39964b29d3aef4d9fb8e4fc69735e7320a46a2dd878a3 -eo pid,comm [Pipeline] { [Pipeline] sh 00:09:45 + go version 00:09:45 go version go1.20.2 linux/amd64 [Pipeline] } 00:09:45 $ docker stop --time=1 fb781662d350296b86b39964b29d3aef4d9fb8e4fc69735e7320a46a2dd878a3 00:09:47 $ docker rm -f --volumes fb781662d350296b86b39964b29d3aef4d9fb8e4fc69735e7320a46a2dd878a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:09:47 + docker inspect -f . ci-base-image-x86_64 00:09:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:09:47 prd-ubuntu20.04-docker-8c-8g-5004 does not seem to be running inside a container 00:09:47 $ 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-190 -v /w/workspace/undry_device-rfid-llrp-go_PR-190:/w/workspace/undry_device-rfid-llrp-go_PR-190:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-190@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-190@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 00:09:47 $ docker top c749d9c473c15502b9773d1d1938c9a124b4262e9227c785a2cd93d8b76f71c6 -eo pid,comm [Pipeline] { [Pipeline] sh 00:09:48 + git config --global --add safe.directory /w/workspace/undry_device-rfid-llrp-go_PR-190 [Pipeline] fileExists [Pipeline] sh 00:09:48 + make test 00:09:48 go test ./... -coverprofile=coverage.out ./... 00:09:53 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 00:10:06 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 00:10:06 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 00:10:08 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 4.145s coverage: 40.9% of statements 00:10:08 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.253s coverage: 52.0% of statements 00:10:08 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.008s coverage: 95.5% of statements 00:10:16 go vet ./... 00:10:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:10:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:10:20 ./bin/test-attribution-txt.sh 00:10:20 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 00:10:20 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 00:10:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:10:20 $ docker stop --time=1 c749d9c473c15502b9773d1d1938c9a124b4262e9227c785a2cd93d8b76f71c6 00:10:22 $ docker rm -f --volumes c749d9c473c15502b9773d1d1938c9a124b4262e9227c785a2cd93d8b76f71c6 [Pipeline] // withDockerContainer [Pipeline] sh 00:10:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:10:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:10:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:10:23 + ls -al . 00:10:23 total 628 00:10:23 drwxrwxr-x 11 jenkins jenkins 4096 Mar 22 00:09 . 00:10:23 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 00:08 .. 00:10:23 -rw-rw-r-- 1 jenkins jenkins 134 Mar 22 00:08 .dockerignore 00:10:23 drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 00:08 .git 00:10:23 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 00:08 .github 00:10:23 -rw-rw-r-- 1 jenkins jenkins 946 Mar 22 00:08 .gitignore 00:10:23 -rw-rw-r-- 1 jenkins jenkins 41 Mar 22 00:08 .golangci.yml 00:10:23 drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 00:08 .semver 00:10:23 -rw-rw-r-- 1 jenkins jenkins 10896 Mar 22 00:08 Attribution.txt 00:10:23 -rw-rw-r-- 1 jenkins jenkins 5905 Mar 22 00:08 CHANGELOG.md 00:10:23 -rw-rw-r-- 1 jenkins jenkins 1347 Mar 22 00:08 Dockerfile 00:10:23 -rw-rw-r-- 1 jenkins jenkins 677 Mar 22 00:08 GOVERNANCE.md 00:10:23 -rw-rw-r-- 1 jenkins jenkins 683 Mar 22 00:08 Jenkinsfile 00:10:23 -rw-rw-r-- 1 jenkins jenkins 11347 Mar 22 00:08 LICENSE 00:10:23 -rw-rw-r-- 1 jenkins jenkins 2053 Mar 22 00:08 Makefile 00:10:23 -rw-rw-r-- 1 jenkins jenkins 625 Mar 22 00:08 OWNERS.md 00:10:23 -rw-rw-r-- 1 jenkins jenkins 28496 Mar 22 00:08 README.md 00:10:23 -rw-rw-r-- 1 jenkins jenkins 5 Mar 22 00:09 VERSION 00:10:23 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 00:08 bin 00:10:23 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 00:08 cmd 00:10:23 -rw-r--r-- 1 jenkins jenkins 457600 Mar 22 00:10 coverage.out 00:10:23 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 00:08 examples 00:10:23 -rw-rw-r-- 1 jenkins jenkins 3464 Mar 22 00:08 go.mod 00:10:23 -rw-rw-r-- 1 jenkins jenkins 31138 Mar 22 00:08 go.sum 00:10:23 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 00:08 images 00:10:23 drwxrwxr-x 5 jenkins jenkins 4096 Mar 22 00:08 internal 00:10:23 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 00:08 snap 00:10:23 -rw-rw-r-- 1 jenkins jenkins 193 Mar 22 00:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:10:24 + 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=34bbc2f432096dd3462687b8f81dd07d7f1fb5a4 --label arch=amd64 --label version=0.0.0 . 00:10:24 Sending build context to Docker daemon 4.191MB 00:10:24 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 00:10:24 Step 2/24 : FROM ${BASE} AS builder 00:10:24 ---> 5c4f0e0220c1 00:10:24 Step 3/24 : ARG ADD_BUILD_TAGS="" 00:10:24 ---> Running in 182b4746963c 00:10:24 Removing intermediate container 182b4746963c 00:10:24 ---> 9140c61c16fb 00:10:24 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:10:24 ---> Running in fc4f07bb7a96 00:10:24 Removing intermediate container fc4f07bb7a96 00:10:24 ---> 032eaeaa2c5f 00:10:24 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 00:10:24 ---> Running in 38696b116ecb 00:10:24 Removing intermediate container 38696b116ecb 00:10:24 ---> 7364a1ccbc96 00:10:24 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 00:10:24 ---> Running in 9834dba49da3 00:10:24 Removing intermediate container 9834dba49da3 00:10:24 ---> 5262c8a9281d 00:10:24 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:10:24 ---> Running in 8b0108d86d5a 00:10:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:10:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:10:25 OK: 265 MiB in 53 packages 00:10:25 Removing intermediate container 8b0108d86d5a 00:10:25 ---> 280185d739da 00:10:25 Step 8/24 : WORKDIR /app 00:10:25 ---> Running in f15637ed0551 00:10:25 Removing intermediate container f15637ed0551 00:10:25 ---> 7ac023189e81 00:10:25 Step 9/24 : COPY go.mod vendor* ./ 00:10:26 ---> bfebf7a388c1 00:10:26 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:10:26 ---> Running in 5c3ef63b8dce 00:10:27 Removing intermediate container 5c3ef63b8dce 00:10:27 ---> 4110ee9182e2 00:10:27 Step 11/24 : COPY . . 00:10:27 ---> c79a94c4ffbf 00:10:27 Step 12/24 : RUN $MAKE 00:10:27 ---> Running in 72cf920b83c9 00:10:27 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 00:10:45 Removing intermediate container 72cf920b83c9 00:10:45 ---> 5ada039f851c 00:10:45 Step 13/24 : FROM alpine:3.17 00:10:45 3.17: Pulling from library/alpine 00:10:45 63b65145d645: Already exists 00:10:46 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 00:10:46 Status: Downloaded newer image for alpine:3.17 00:10:46 ---> b2aa39c304c2 00:10:46 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 00:10:46 ---> Running in d7b136ccd2fd 00:10:46 Removing intermediate container d7b136ccd2fd 00:10:46 ---> dde66b6010b3 00:10:46 Step 15/24 : RUN apk add --update --no-cache dumb-init 00:10:46 ---> Running in daaad05850d4 00:10:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:10:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:10:46 (1/1) Installing dumb-init (1.2.5-r2) 00:10:46 Executing busybox-1.35.0-r29.trigger 00:10:46 OK: 7 MiB in 16 packages 00:10:47 Removing intermediate container daaad05850d4 00:10:47 ---> f115660c3ab8 00:10:47 Step 16/24 : COPY --from=builder /app/LICENSE / 00:10:47 ---> 7fdf7653dcd6 00:10:47 Step 17/24 : COPY --from=builder /app/Attribution.txt / 00:10:47 ---> 08ef1e72d099 00:10:47 Step 18/24 : COPY --from=builder /app/cmd/ / 00:10:48 ---> c2a6802bead9 00:10:48 Step 19/24 : EXPOSE 59989 00:10:48 ---> Running in dfb97bb9ad9a 00:10:48 Removing intermediate container dfb97bb9ad9a 00:10:48 ---> d6c330a8b253 00:10:48 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 00:10:48 ---> Running in 09a233792b70 00:10:48 Removing intermediate container 09a233792b70 00:10:48 ---> 150c6fa39399 00:10:48 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:10:48 ---> Running in 3ab4914a7641 00:10:48 Removing intermediate container 3ab4914a7641 00:10:48 ---> 8a2df5ca76ec 00:10:48 Step 22/24 : LABEL arch=amd64 00:10:48 ---> Running in efea77da1d0a 00:10:48 Removing intermediate container efea77da1d0a 00:10:48 ---> 89acdf18348a 00:10:48 Step 23/24 : LABEL git_sha=34bbc2f432096dd3462687b8f81dd07d7f1fb5a4 00:10:48 ---> Running in 58b06746d1fc 00:10:48 Removing intermediate container 58b06746d1fc 00:10:48 ---> ea44406b854e 00:10:48 Step 24/24 : LABEL version=0.0.0 00:10:48 ---> Running in 66d9d801b51e 00:10:48 Removing intermediate container 66d9d801b51e 00:10:48 ---> cd8d6891703d 00:10:48 [Warning] One or more build-args [ARCH] were not consumed 00:10:48 Successfully built cd8d6891703d 00:10:48 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 00:10:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:10:49 00:10:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:10:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:10:49 latest: Pulling from edgex-lftools-log-publisher 00:10:49 5eb5b503b376: Pulling fs layer 00:10:49 5c69ac0246d0: Pulling fs layer 00:10:49 ec43610c2a17: Pulling fs layer 00:10:49 3a2ae6a8a46f: Pulling fs layer 00:10:49 33b1e0a273af: Pulling fs layer 00:10:49 5d3b04190fa2: Pulling fs layer 00:10:49 2f39f015ded8: Pulling fs layer 00:10:49 3a2ae6a8a46f: Waiting 00:10:49 33b1e0a273af: Waiting 00:10:49 5d3b04190fa2: Waiting 00:10:49 2f39f015ded8: Waiting 00:10:49 5c69ac0246d0: Verifying Checksum 00:10:49 5c69ac0246d0: Download complete 00:10:49 3a2ae6a8a46f: Verifying Checksum 00:10:49 3a2ae6a8a46f: Download complete 00:10:49 33b1e0a273af: Verifying Checksum 00:10:49 33b1e0a273af: Download complete 00:10:49 5d3b04190fa2: Verifying Checksum 00:10:49 5d3b04190fa2: Download complete 00:10:49 ec43610c2a17: Verifying Checksum 00:10:49 ec43610c2a17: Download complete 00:10:49 5eb5b503b376: Verifying Checksum 00:10:49 5eb5b503b376: Download complete 00:10:50 2f39f015ded8: Verifying Checksum 00:10:50 2f39f015ded8: Download complete 00:10:51 5eb5b503b376: Pull complete 00:10:51 5c69ac0246d0: Pull complete 00:10:52 ec43610c2a17: Pull complete 00:10:52 3a2ae6a8a46f: Pull complete 00:10:52 33b1e0a273af: Pull complete 00:10:52 5d3b04190fa2: Pull complete 00:10:56 2f39f015ded8: Pull complete 00:10:56 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:10:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:10:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:10:56 prd-ubuntu20.04-docker-8c-8g-5004 does not seem to be running inside a container 00:10:56 $ 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-190 -v /w/workspace/undry_device-rfid-llrp-go_PR-190:/w/workspace/undry_device-rfid-llrp-go_PR-190:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-190@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-190@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 00:10:59 $ docker top 189f54a2943e81bfac6c28c784102b106db5673ce76eed24e2e59b079e0a9c4e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:10:59 ---> job-cost.sh 00:10:59 lf-activate-venv: SKIPPING 00:10:59 INFO: No Stack... 00:10:59 INFO: Retrieving Pricing Info for: v3-standard-8 00:11:00 INFO: Archiving Costs [Pipeline] sh 00:11:00 + cat /w/workspace/undry_device-rfid-llrp-go_PR-190/archives/cost.csv 00:11:00 + cut -d, -f6 [Pipeline] lock 00:11:00 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-190-2-stack-cost] 00:11:00 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-190-2-stack-cost] did not exist. Created. 00:11:00 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-190-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:11:00 + echo total: 0.2199999988079071 [Pipeline] stash 00:11:00 Stashed 1 file(s) [Pipeline] } 00:11:00 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-190-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:11:00 $ docker stop --time=1 189f54a2943e81bfac6c28c784102b106db5673ce76eed24e2e59b079e0a9c4e 00:11:01 $ docker rm -f --volumes 189f54a2943e81bfac6c28c784102b106db5673ce76eed24e2e59b079e0a9c4e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:12:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5005 in /w/workspace/undry_device-rfid-llrp-go_PR-190 [Pipeline] { [Pipeline] ws 00:12:37 Running in /w/workspace/device-rfid-llrp-go/2 [Pipeline] { [Pipeline] checkout 00:12:37 Selected Git installation does not exist. Using Default 00:12:37 The recommended git tool is: NONE 00:12:43 using credential edgex-jenkins-ssh 00:12:43 Cloning the remote Git repository 00:12:43 Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git 00:12:43 > git init /w/workspace/device-rfid-llrp-go/2 # timeout=10 00:12:43 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 00:12:43 > git --version # timeout=10 00:12:43 > git --version # 'git version 2.25.1' 00:12:43 using GIT_SSH to set credentials SSH Credentials for GitHub 00:12:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:12:44 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 00:12:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:12:46 Merging remotes/origin/main commit 56ebd084d71db325e16ff8b089022d3f4ad733ae into PR head commit 34bbc2f432096dd3462687b8f81dd07d7f1fb5a4 00:12:45 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 00:12:45 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 00:12:45 using GIT_SSH to set credentials SSH Credentials for GitHub 00:12:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/190/head:refs/remotes/origin/PR-190 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:12:46 > git config core.sparsecheckout # timeout=10 00:12:46 > git checkout -f 34bbc2f432096dd3462687b8f81dd07d7f1fb5a4 # timeout=10 00:12:46 > git remote # timeout=10 00:12:46 > git config --get remote.origin.url # timeout=10 00:12:46 using GIT_SSH to set credentials SSH Credentials for GitHub 00:12:46 Merge succeeded, producing 34bbc2f432096dd3462687b8f81dd07d7f1fb5a4 00:12:46 Checking out Revision 34bbc2f432096dd3462687b8f81dd07d7f1fb5a4 (PR-190) 00:12:46 > git merge 56ebd084d71db325e16ff8b089022d3f4ad733ae # timeout=10 00:12:46 > git rev-parse HEAD^{commit} # timeout=10 00:12:46 > git config core.sparsecheckout # timeout=10 00:12:46 > git checkout -f 34bbc2f432096dd3462687b8f81dd07d7f1fb5a4 # timeout=10 00:12:50 Commit message: "refactor!: Change configuration file format to YAML" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:12:51 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:12:51 % Total % Received % Xferd Average Speed Time Time Time Current 00:12:51 Dload Upload Total Spent Left Speed 00:12:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95872 0 --:--:-- --:--:-- --:--:-- 96598 [Pipeline] sh 00:12:52 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:12:52 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:12:52 + sudo tee /etc/docker/daemon.new 00:12:52 { 00:12:52 "registry-mirrors": [ 00:12:52 "https://nexus3.edgexfoundry.org:10001" 00:12:52 ], 00:12:52 "bip": "10.250.0.254/24", 00:12:52 "hosts": [ 00:12:52 "tcp://0.0.0.0:5555", 00:12:52 "unix:///var/run/docker.sock" 00:12:52 ], 00:12:52 "mtu": 1458, 00:12:52 "selinux-enabled": true, 00:12:52 "seccomp-profile": "/etc/docker/seccomp.json" 00:12:52 } [Pipeline] sh 00:12:52 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:12:53 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:13:12 provisioning config files... 00:13:12 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/device-rfid-llrp-go/2@tmp/config5778507987748415822tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:13:12 ---> docker-login.sh 00:13:12 nexus3.edgexfoundry.org:10001 00:13:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:13:13 Configure a credential helper to remove this warning. See 00:13:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:13:13 00:13:13 Login Succeeded 00:13:13 nexus3.edgexfoundry.org:10002 00:13:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:13:13 Configure a credential helper to remove this warning. See 00:13:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:13:13 00:13:13 Login Succeeded 00:13:13 nexus3.edgexfoundry.org:10003 00:13:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:13:13 Configure a credential helper to remove this warning. See 00:13:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:13:13 00:13:13 Login Succeeded 00:13:13 nexus3.edgexfoundry.org:10004 00:13:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:13:14 Configure a credential helper to remove this warning. See 00:13:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:13:14 00:13:14 Login Succeeded 00:13:14 docker.io 00:13:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:13:14 Configure a credential helper to remove this warning. See 00:13:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:13:14 00:13:14 Login Succeeded 00:13:14 ---> docker-login.sh ends [Pipeline] } 00:13:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:13:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:13:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:13:14 ========================================================= 00:13:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 00:13:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:15 + 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 . 00:13:15 Sending build context to Docker daemon 1.212MB 00:13:15 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 00:13:15 Step 2/12 : FROM ${BASE} AS builder 00:13:17 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:13:17 af6eaf76a39c: Pulling fs layer 00:13:17 55522c791124: Pulling fs layer 00:13:17 ce5c4a1c91eb: Pulling fs layer 00:13:17 169dfbe0d373: Pulling fs layer 00:13:17 e1ff8fa3b103: Pulling fs layer 00:13:17 52ebb69f0ebf: Pulling fs layer 00:13:17 5abe8eddf0d5: Pulling fs layer 00:13:17 e1ff8fa3b103: Waiting 00:13:17 52ebb69f0ebf: Waiting 00:13:17 5abe8eddf0d5: Waiting 00:13:17 169dfbe0d373: Waiting 00:13:17 55522c791124: Verifying Checksum 00:13:17 55522c791124: Download complete 00:13:17 169dfbe0d373: Download complete 00:13:17 e1ff8fa3b103: Verifying Checksum 00:13:17 e1ff8fa3b103: Download complete 00:13:17 af6eaf76a39c: Verifying Checksum 00:13:17 af6eaf76a39c: Download complete 00:13:18 af6eaf76a39c: Pull complete 00:13:18 5abe8eddf0d5: Verifying Checksum 00:13:18 5abe8eddf0d5: Download complete 00:13:18 55522c791124: Pull complete 00:13:19 ce5c4a1c91eb: Verifying Checksum 00:13:19 ce5c4a1c91eb: Download complete 00:13:19 52ebb69f0ebf: Verifying Checksum 00:13:19 52ebb69f0ebf: Download complete 00:13:32 ce5c4a1c91eb: Pull complete 00:13:32 169dfbe0d373: Pull complete 00:13:32 e1ff8fa3b103: Pull complete 00:13:38 52ebb69f0ebf: Pull complete 00:13:39 5abe8eddf0d5: Pull complete 00:13:40 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 00:13:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 00:13:40 ---> 6cb57ee374ae 00:13:40 Step 3/12 : ARG ADD_BUILD_TAGS="" 00:13:45 ---> Running in 275b72bc3089 00:13:45 Removing intermediate container 275b72bc3089 00:13:45 ---> 99e88354436e 00:13:45 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:13:45 ---> Running in 4735dc595e67 00:13:45 Removing intermediate container 4735dc595e67 00:13:45 ---> 668d17e43c80 00:13:45 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 00:13:45 ---> Running in f9601c1f4e7f 00:13:46 Removing intermediate container f9601c1f4e7f 00:13:46 ---> b8d4d107da13 00:13:46 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 00:13:46 ---> Running in 1c43d50a9d25 00:13:46 Removing intermediate container 1c43d50a9d25 00:13:46 ---> 716bf4b6b10e 00:13:46 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:13:46 ---> Running in 3d1870867573 00:13:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:13:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:13:49 OK: 263 MiB in 53 packages 00:13:50 Removing intermediate container 3d1870867573 00:13:50 ---> 3961c5e57038 00:13:50 Step 8/12 : WORKDIR /app 00:13:50 ---> Running in 74268c8d945e 00:13:50 Removing intermediate container 74268c8d945e 00:13:50 ---> 7aa681c821b3 00:13:50 Step 9/12 : COPY go.mod vendor* ./ 00:13:50 ---> 9fa904353fdc 00:13:50 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:13:50 ---> Running in 31f532779528 00:14:58 Removing intermediate container 31f532779528 00:14:58 ---> 3cc22fc0f220 00:14:58 Step 11/12 : COPY . . 00:14:58 ---> 396b0fb0210d 00:14:58 Step 12/12 : RUN $MAKE 00:14:58 ---> Running in c3324e641d87 00:14:58 noop 00:14:58 Removing intermediate container c3324e641d87 00:14:58 ---> 880830deef87 00:14:58 Successfully built 880830deef87 00:14:58 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:14:59 + docker inspect -f . ci-base-image-arm64 00:14:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:14:59 prd-ubuntu20.04-docker-arm64-4c-16g-5005 does not seem to be running inside a container 00:14:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rfid-llrp-go/2 -v /w/workspace/device-rfid-llrp-go/2:/w/workspace/device-rfid-llrp-go/2:rw,z -v /w/workspace/device-rfid-llrp-go/2@tmp:/w/workspace/device-rfid-llrp-go/2@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 ******** -e ******** ci-base-image-arm64 cat 00:15:00 $ docker top e680e849791becffdc91deb75db3107af508ba7959ed994e50cc453192391661 -eo pid,comm [Pipeline] { [Pipeline] sh 00:15:01 + go version 00:15:01 go version go1.20.2 linux/arm64 [Pipeline] } 00:15:01 $ docker stop --time=1 e680e849791becffdc91deb75db3107af508ba7959ed994e50cc453192391661 00:15:03 $ docker rm -f --volumes e680e849791becffdc91deb75db3107af508ba7959ed994e50cc453192391661 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:15:03 + docker inspect -f . ci-base-image-arm64 00:15:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:15:03 prd-ubuntu20.04-docker-arm64-4c-16g-5005 does not seem to be running inside a container 00:15:03 $ 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/2 -v /w/workspace/device-rfid-llrp-go/2:/w/workspace/device-rfid-llrp-go/2:rw,z -v /w/workspace/device-rfid-llrp-go/2@tmp:/w/workspace/device-rfid-llrp-go/2@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 ******** -e ******** ci-base-image-arm64 cat 00:15:06 $ docker top cfc92e60e8fd942a75fd72ea7cfff618050ede236d503f875357d4fa43f5f95d -eo pid,comm [Pipeline] { [Pipeline] sh 00:15:06 + git config --global --add safe.directory /w/workspace/device-rfid-llrp-go/2 [Pipeline] fileExists [Pipeline] sh 00:15:07 + make test 00:15:07 go test ./... -coverprofile=coverage.out ./... 00:15:39 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 00:17:46 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 00:17:46 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 00:18:12 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 26.955s coverage: 40.9% of statements 00:18:12 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.563s coverage: 52.0% of statements 00:18:12 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.029s coverage: 95.5% of statements 00:18:12 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:18:12 go vet ./... 00:18:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:18:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:18:39 ./bin/test-attribution-txt.sh 00:18:39 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 00:18:39 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 00:18:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:18:39 $ docker stop --time=1 cfc92e60e8fd942a75fd72ea7cfff618050ede236d503f875357d4fa43f5f95d 00:18:41 $ docker rm -f --volumes cfc92e60e8fd942a75fd72ea7cfff618050ede236d503f875357d4fa43f5f95d [Pipeline] // withDockerContainer [Pipeline] sh 00:18:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:18:42 Warning: overwriting stash ‘coverage-report’ 00:18:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:18:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:18:43 + ls -al . 00:18:43 total 624 00:18:43 drwxrwxr-x 10 jenkins jenkins 4096 Mar 22 00:15 . 00:18:43 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 00:12 .. 00:18:43 -rw-rw-r-- 1 jenkins jenkins 134 Mar 22 00:12 .dockerignore 00:18:43 drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 00:12 .git 00:18:43 drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 00:12 .github 00:18:43 -rw-rw-r-- 1 jenkins jenkins 946 Mar 22 00:12 .gitignore 00:18:43 -rw-rw-r-- 1 jenkins jenkins 41 Mar 22 00:12 .golangci.yml 00:18:43 -rw-rw-r-- 1 jenkins jenkins 10896 Mar 22 00:12 Attribution.txt 00:18:43 -rw-rw-r-- 1 jenkins jenkins 5905 Mar 22 00:12 CHANGELOG.md 00:18:43 -rw-rw-r-- 1 jenkins jenkins 1347 Mar 22 00:12 Dockerfile 00:18:43 -rw-rw-r-- 1 jenkins jenkins 677 Mar 22 00:12 GOVERNANCE.md 00:18:43 -rw-rw-r-- 1 jenkins jenkins 683 Mar 22 00:12 Jenkinsfile 00:18:43 -rw-rw-r-- 1 jenkins jenkins 11347 Mar 22 00:12 LICENSE 00:18:43 -rw-rw-r-- 1 jenkins jenkins 2053 Mar 22 00:12 Makefile 00:18:43 -rw-rw-r-- 1 jenkins jenkins 625 Mar 22 00:12 OWNERS.md 00:18:43 -rw-rw-r-- 1 jenkins jenkins 28496 Mar 22 00:12 README.md 00:18:43 -rw-rw-r-- 1 jenkins jenkins 5 Mar 22 00:09 VERSION 00:18:43 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 00:12 bin 00:18:43 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 00:12 cmd 00:18:43 -rw-r--r-- 1 jenkins jenkins 457600 Mar 22 00:18 coverage.out 00:18:43 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 00:12 examples 00:18:43 -rw-rw-r-- 1 jenkins jenkins 3464 Mar 22 00:12 go.mod 00:18:43 -rw-rw-r-- 1 jenkins jenkins 31138 Mar 22 00:12 go.sum 00:18:43 drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 00:12 images 00:18:43 drwxrwxr-x 5 jenkins jenkins 4096 Mar 22 00:12 internal 00:18:43 drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 00:12 snap 00:18:43 -rw-rw-r-- 1 jenkins jenkins 193 Mar 22 00:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:18:44 + 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=34bbc2f432096dd3462687b8f81dd07d7f1fb5a4 --label arch=arm64 --label version=0.0.0 . 00:18:44 Sending build context to Docker daemon 1.212MB 00:18:44 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 00:18:44 Step 2/24 : FROM ${BASE} AS builder 00:18:44 ---> 880830deef87 00:18:44 Step 3/24 : ARG ADD_BUILD_TAGS="" 00:18:44 ---> Running in 92cffe0838b2 00:18:44 Removing intermediate container 92cffe0838b2 00:18:44 ---> 1488bdd9b078 00:18:44 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:18:45 ---> Running in 1cecb015b03f 00:18:45 Removing intermediate container 1cecb015b03f 00:18:45 ---> 371517cabd30 00:18:45 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 00:18:45 ---> Running in 855d9ae46687 00:18:45 Removing intermediate container 855d9ae46687 00:18:45 ---> 7d5460d76d40 00:18:45 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 00:18:45 ---> Running in ee23774cf2eb 00:18:45 Removing intermediate container ee23774cf2eb 00:18:45 ---> 6ea7ab67b10d 00:18:45 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:18:46 ---> Running in 990ee79c8180 00:18:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:18:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:18:48 OK: 263 MiB in 53 packages 00:18:49 Removing intermediate container 990ee79c8180 00:18:49 ---> cd3fe9ca45ff 00:18:49 Step 8/24 : WORKDIR /app 00:18:49 ---> Running in 9f3a5218220d 00:18:49 Removing intermediate container 9f3a5218220d 00:18:49 ---> 095513367f37 00:18:49 Step 9/24 : COPY go.mod vendor* ./ 00:18:50 ---> 206b3470cd4b 00:18:50 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:18:50 ---> Running in b0011c9a650a 00:18:53 Removing intermediate container b0011c9a650a 00:18:53 ---> 61d8d2f5ba72 00:18:53 Step 11/24 : COPY . . 00:18:53 ---> 00b4093b6987 00:18:53 Step 12/24 : RUN $MAKE 00:18:53 ---> Running in 0176d4547a38 00:18:54 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rfid-llrp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rfid-llrp ./cmd 00:21:06 Removing intermediate container 0176d4547a38 00:21:06 ---> 31830327db06 00:21:06 Step 13/24 : FROM alpine:3.17 00:21:06 3.17: Pulling from library/alpine 00:21:06 af6eaf76a39c: Already exists 00:21:06 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 00:21:06 Status: Downloaded newer image for alpine:3.17 00:21:06 ---> d74e625d9115 00:21:06 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 00:21:06 ---> Running in f0d439d18e08 00:21:06 Removing intermediate container f0d439d18e08 00:21:06 ---> 8272b239fdc5 00:21:06 Step 15/24 : RUN apk add --update --no-cache dumb-init 00:21:06 ---> Running in 651899cb71f2 00:21:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:21:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:21:08 (1/1) Installing dumb-init (1.2.5-r2) 00:21:08 Executing busybox-1.35.0-r29.trigger 00:21:08 OK: 8 MiB in 16 packages 00:21:09 Removing intermediate container 651899cb71f2 00:21:09 ---> 3b0fe940488e 00:21:09 Step 16/24 : COPY --from=builder /app/LICENSE / 00:21:09 ---> 5b57d4e666c8 00:21:09 Step 17/24 : COPY --from=builder /app/Attribution.txt / 00:21:10 ---> 65a1b0699cb8 00:21:10 Step 18/24 : COPY --from=builder /app/cmd/ / 00:21:11 ---> 4fbc5ce3633f 00:21:11 Step 19/24 : EXPOSE 59989 00:21:11 ---> Running in 46049f3499da 00:21:12 Removing intermediate container 46049f3499da 00:21:12 ---> 3c548af83dd9 00:21:12 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 00:21:12 ---> Running in a7732a8bf4d2 00:21:12 Removing intermediate container a7732a8bf4d2 00:21:12 ---> 55dbfb2c1cef 00:21:12 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:21:12 ---> Running in ed8ac8380010 00:21:12 Removing intermediate container ed8ac8380010 00:21:12 ---> 29dfb79dfb6c 00:21:12 Step 22/24 : LABEL arch=arm64 00:21:12 ---> Running in 6980717c36db 00:21:12 Removing intermediate container 6980717c36db 00:21:12 ---> 7ba1ac67cd81 00:21:12 Step 23/24 : LABEL git_sha=34bbc2f432096dd3462687b8f81dd07d7f1fb5a4 00:21:13 ---> Running in 8147b9514e40 00:21:13 Removing intermediate container 8147b9514e40 00:21:13 ---> 9489cc075240 00:21:13 Step 24/24 : LABEL version=0.0.0 00:21:13 ---> Running in 6622f1aed30f 00:21:13 Removing intermediate container 6622f1aed30f 00:21:13 ---> 127a14641e29 00:21:13 [Warning] One or more build-args [ARCH] were not consumed 00:21:13 Successfully built 127a14641e29 00:21:13 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 00:21:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:21:14 00:21:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:21:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:21:14 arm64: Pulling from edgex-lftools-log-publisher 00:21:14 8998bd30e6a1: Pulling fs layer 00:21:14 04944245beec: Pulling fs layer 00:21:14 699f458cf7ca: Pulling fs layer 00:21:14 765212b225bb: Pulling fs layer 00:21:14 f23df028b6ca: Pulling fs layer 00:21:14 d65c8cfc05b1: Pulling fs layer 00:21:14 2437ff75d9bd: Pulling fs layer 00:21:14 765212b225bb: Waiting 00:21:14 f23df028b6ca: Waiting 00:21:14 d65c8cfc05b1: Waiting 00:21:14 2437ff75d9bd: Waiting 00:21:14 04944245beec: Verifying Checksum 00:21:14 04944245beec: Download complete 00:21:14 765212b225bb: Download complete 00:21:14 f23df028b6ca: Verifying Checksum 00:21:14 f23df028b6ca: Download complete 00:21:14 d65c8cfc05b1: Verifying Checksum 00:21:14 d65c8cfc05b1: Download complete 00:21:14 699f458cf7ca: Verifying Checksum 00:21:14 699f458cf7ca: Download complete 00:21:15 8998bd30e6a1: Verifying Checksum 00:21:15 8998bd30e6a1: Download complete 00:21:17 2437ff75d9bd: Verifying Checksum 00:21:17 2437ff75d9bd: Download complete 00:21:18 8998bd30e6a1: Pull complete 00:21:19 04944245beec: Pull complete 00:21:20 699f458cf7ca: Pull complete 00:21:20 765212b225bb: Pull complete 00:21:21 f23df028b6ca: Pull complete 00:21:21 d65c8cfc05b1: Pull complete 00:21:33 2437ff75d9bd: Pull complete 00:21:33 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:21:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:21:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:21:34 prd-ubuntu20.04-docker-arm64-4c-16g-5005 does not seem to be running inside a container 00:21:34 $ 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/2 -v /w/workspace/device-rfid-llrp-go/2:/w/workspace/device-rfid-llrp-go/2:rw,z -v /w/workspace/device-rfid-llrp-go/2@tmp:/w/workspace/device-rfid-llrp-go/2@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:21:37 $ docker top d8106b495eed24c77de5bea60de3b003130c907ee72ffef4cf815cbb719f0c0d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:21:38 ---> job-cost.sh 00:21:38 lf-activate-venv: SKIPPING 00:21:38 INFO: No Stack... 00:21:38 INFO: Retrieving Pricing Info for: v3-standard-4 00:21:39 INFO: Archiving Costs [Pipeline] sh 00:21:39 + cat /w/workspace/device-rfid-llrp-go/2/archives/cost.csv 00:21:39 + cut -d, -f6 [Pipeline] lock 00:21:39 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-190-2-stack-cost] 00:21:39 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-190-2-stack-cost] did not exist. Created. 00:21:39 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-190-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:21:40 /w/workspace/device-rfid-llrp-go/2@tmp/durable-773cc02e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:21:40 + echo total: 0.10999999940395355 [Pipeline] stash 00:21:40 Warning: overwriting stash ‘stack-cost’ 00:21:40 Stashed 1 file(s) [Pipeline] } 00:21:40 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-190-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:21:40 $ docker stop --time=1 d8106b495eed24c77de5bea60de3b003130c907ee72ffef4cf815cbb719f0c0d 00:21:42 $ docker rm -f --volumes d8106b495eed24c77de5bea60de3b003130c907ee72ffef4cf815cbb719f0c0d [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 00:21:42 provisioning config files... 00:21:42 copy managed file [device-rfid-llrp-go-codecov-token] to file:/w/workspace/undry_device-rfid-llrp-go_PR-190@tmp/config5949778278405486196tmp [Pipeline] { [Pipeline] sh 00:21:42 + set +x 00:21:42 + bash -s -- 00:21:42 + curl -s https://codecov.io/bash 00:21:42 00:21:42 _____ _ 00:21:42 / ____| | | 00:21:42 | | ___ __| | ___ ___ _____ __ 00:21:42 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:21:42 | |___| (_) | (_| | __/ (_| (_) \ V / 00:21:42 \_____\___/ \__,_|\___|\___\___/ \_/ 00:21:42 Bash-1.0.6 00:21:42 00:21:42 00:21:42 ==> git version 2.25.1 found 00:21:42 ==> 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 00:21:42 Release-Date: 2020-01-08 00:21:42 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:21:42 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:21:42 ==> Jenkins CI detected. 00:21:42 current dir:  /w/workspace/undry_device-rfid-llrp-go_PR-190 00:21:42 project root: . 00:21:42 --> token set from env 00:21:42 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:21:42 ==> Running gcov in . (disable via -X gcov) 00:21:42 ==> Python coveragepy not found 00:21:42 ==> Searching for coverage reports in: 00:21:42 + . 00:21:42 -> Found 1 reports 00:21:42 ==> Detecting git/mercurial file structure 00:21:42 ==> Reading reports 00:21:42 + ./coverage.out bytes=457600 00:21:42 ==> Appending adjustments 00:21:42 https://docs.codecov.io/docs/fixing-reports 00:21:42 + Found adjustments 00:21:42 ==> Gzipping contents 00:21:43 52K /tmp/codecov.kspJ05.gz 00:21:43 ==> Uploading reports 00:21:43 url: https://codecov.io 00:21:43 query: branch=PR-190&commit=34bbc2f432096dd3462687b8f81dd07d7f1fb5a4&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-190%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=190&job=&cmd_args= 00:21:43 -> Pinging Codecov 00:21:43 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-190&commit=34bbc2f432096dd3462687b8f81dd07d7f1fb5a4&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-190%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=190&job=&cmd_args= 00:21:43 -> Uploading to 00:21:43 https://storage.googleapis.com/codecov/v4/raw/2023-03-22/581DD39554BDF9B6E22D074273EAD858/34bbc2f432096dd3462687b8f81dd07d7f1fb5a4/929c850b-8117-4376-a39f-9b8252c8253b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230322%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230322T002143Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d6e67a3a4e57f38574c8bbf16ad49602e057a43ba4a391b162fa57b279836261 00:21:43 % Total % Received % Xferd Average Speed Time Time Time Current 00:21:43 Dload Upload Total Spent Left Speed 00:21:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 50463 0 0 100 50463 0 222k --:--:-- --:--:-- --:--:-- 221k 100 50463 0 0 100 50463 0 169k --:--:-- --:--:-- --:--:-- 169k 00:21:43 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/34bbc2f432096dd3462687b8f81dd07d7f1fb5a4 [Pipeline] } 00:21:43 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 00:21:44 + [ -d /w/workspace/undry_device-rfid-llrp-go_PR-190/archives ] 00:21:44 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-190/archives 00:21:44 total 16 00:21:44 drwxr-xr-x 3 root root 4096 Mar 22 00:11 . 00:21:44 drwxrwxr-x 12 jenkins jenkins 4096 Mar 22 00:11 .. 00:21:44 drwxr-xr-x 2 root root 4096 Mar 22 00:11 cost 00:21:44 -rw-r--r-- 1 root root 91 Mar 22 00:11 cost.csv 00:21:44 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-rfid-llrp-go_PR-190/archives 00:21:44 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-190/archives 00:21:44 total 16 00:21:44 drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 00:11 . 00:21:44 drwxrwxr-x 12 jenkins jenkins 4096 Mar 22 00:11 .. 00:21:44 drwxr-xr-x 2 jenkins jenkins 4096 Mar 22 00:11 cost 00:21:44 -rw-r--r-- 1 jenkins jenkins 91 Mar 22 00:11 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:21:44 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:21:45 ---> package-listing.sh 00:21:45 ++ facter osfamily 00:21:45 ++ tr '[:upper:]' '[:lower:]' 00:21:45 + OS_FAMILY=debian 00:21:45 + workspace=/w/workspace/undry_device-rfid-llrp-go_PR-190 00:21:45 + START_PACKAGES=/tmp/packages_start.txt 00:21:45 + END_PACKAGES=/tmp/packages_end.txt 00:21:45 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:21:45 + PACKAGES=/tmp/packages_start.txt 00:21:45 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-190 ']' 00:21:45 + PACKAGES=/tmp/packages_end.txt 00:21:45 + case "${OS_FAMILY}" in 00:21:45 + dpkg -l 00:21:45 + grep '^ii' 00:21:45 + '[' -f /tmp/packages_start.txt ']' 00:21:45 + '[' -f /tmp/packages_end.txt ']' 00:21:45 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:21:45 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-190 ']' 00:21:45 + mkdir -p /w/workspace/undry_device-rfid-llrp-go_PR-190/archives/ 00:21:45 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-rfid-llrp-go_PR-190/archives/ [Pipeline] echo 00:21:45 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-190/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:21:46 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:21:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:21:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:21:46 prd-ubuntu20.04-docker-8c-8g-5004 does not seem to be running inside a container 00:21:46 $ 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-190/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-190 -v /w/workspace/undry_device-rfid-llrp-go_PR-190:/w/workspace/undry_device-rfid-llrp-go_PR-190:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-190@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-190@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 00:21:46 $ docker top 5f7203b64180406fc929d654b44ea984365831ba57ee946a648a1e12d70263d5 -eo pid,comm [Pipeline] { [Pipeline] sh 00:21:47 + touch /tmp/pre-build-complete [Pipeline] sh 00:21:47 + mkdir -p /var/log/sysstat [Pipeline] sh 00:21:47 + ls /var/log/sa-host 00:21:47 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:21:47 provisioning config files... 00:21:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-190@tmp/config17562453705983918672tmp [Pipeline] { [Pipeline] echo 00:21:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:21:48 ---> create-netrc.sh [Pipeline] } 00:21:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:21:48 ---> python-tools-install.sh [Pipeline] echo 00:21:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:21:48 ---> sudo-logs.sh 00:21:48 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:21:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:21:49 ---> job-cost.sh 00:21:49 lf-activate-venv: SKIPPING 00:21:49 DEBUG: total: 0.2199999988079071 00:21:49 INFO: Retrieving Stack Cost... 00:21:49 INFO: Retrieving Pricing Info for: v3-standard-8 00:21:49 INFO: Archiving Costs [Pipeline] echo 00:21:49 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:21:50 ---> logs-deploy.sh 00:21:50 lf-activate-venv: SKIPPING 00:21:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rfid-llrp-go/PR-190/2 00:21:50 INFO: archiving workspace using pattern(s): 00:21:51 Archives upload complete. 00:21:51 INFO: archiving logs to Nexus