Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 21adccc9884da49a19e8c8809216b587ffbf4cf2 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-ssh8245714904533091572.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh3172990818674981323.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6251171692931541638.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh6720248533119326539.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15349309111153401577.key Verifying host key using known hosts file > 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.18 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-8061 in /w/workspace/foundry_device-rfid-llrp-go_main [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/foundry_device-rfid-llrp-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 Avoid second fetch Checking out Revision 21adccc9884da49a19e8c8809216b587ffbf4cf2 (main) Commit message: "feat(snap): add config interface with unique identifier (#114)" > git config core.sparsecheckout # timeout=10 > git checkout -f 21adccc9884da49a19e8c8809216b587ffbf4cf2 # timeout=10 > git rev-list --no-walk b9a08de2089269f98948aec2235dffa919f27c0f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:13:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:13:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:13:49 ========================================================= 09:13:49 EdgeX Global Pipelines Version Info 09:13:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:13:50 ------------------- 09:13:50 stable info: 09:13:50 ------------------- 09:13:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:13:50 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 09:13:50 Message: update stable to v1.0.239 09:13:51 ------------------- 09:13:51 experimental info: 09:13:51 ------------------- 09:13:51 Commited By: **** collab-it+edgex@linuxfoundation.org 09:13:51 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 09:13:51 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:13:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rfid-llrp-go-settings [Pipeline] echo 09:13:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-rfid-llrp-go [Pipeline] echo 09:13:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:13:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:13:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:13:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 09:13:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:13:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:13:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:13:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:13:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:13:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rfid-llrp [Pipeline] echo 09:13:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:13:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:13:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:13:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:13:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:13:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:13:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:13:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:13:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:13:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:13:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:13:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:13:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:13:51 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:13:51 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:13:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 09:13:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 09:13:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 09:13:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 21adccc9884da49a19e8c8809216b587ffbf4cf2 [Pipeline] echo 09:13:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 21adccc [Pipeline] echo 09:13:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:13:51 provisioning config files... 09:13:51 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/foundry_device-rfid-llrp-go_main@tmp/config1042449818528834213tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:13:51 ---> docker-login.sh 09:13:51 nexus3.edgexfoundry.org:10001 09:13:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:52 Configure a credential helper to remove this warning. See 09:13:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:52 09:13:52 Login Succeeded 09:13:52 nexus3.edgexfoundry.org:10002 09:13:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:52 Configure a credential helper to remove this warning. See 09:13:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:52 09:13:52 Login Succeeded 09:13:52 nexus3.edgexfoundry.org:10003 09:13:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:52 Configure a credential helper to remove this warning. See 09:13:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:52 09:13:52 Login Succeeded 09:13:52 nexus3.edgexfoundry.org:10004 09:13:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:52 Configure a credential helper to remove this warning. See 09:13:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:52 09:13:52 Login Succeeded 09:13:52 docker.io 09:13:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:13:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:13:52 Configure a credential helper to remove this warning. See 09:13:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:13:52 09:13:52 Login Succeeded 09:13:52 ---> docker-login.sh ends [Pipeline] } 09:13:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:13:53 + git rev-list -1 --merges 21adccc9884da49a19e8c8809216b587ffbf4cf2~1..21adccc9884da49a19e8c8809216b587ffbf4cf2 [Pipeline] echo 09:13:53 -----------> git rev-list -1 --merges 21adccc9884da49a19e8c8809216b587ffbf4cf2~1..21adccc9884da49a19e8c8809216b587ffbf4cf2 21adccc9884da49a19e8c8809216b587ffbf4cf2 [false] [Pipeline] sh 09:13:53 + git log --format=format:%s -1 21adccc9884da49a19e8c8809216b587ffbf4cf2 [Pipeline] echo 09:13:53 ========================================================= 09:13:53 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:13:53 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:13:53 + git log --format=format:%s -1 21adccc9884da49a19e8c8809216b587ffbf4cf2 [Pipeline] echo 09:13:54 [semverPrep] GIT_COMMIT: 21adccc9884da49a19e8c8809216b587ffbf4cf2, Commit Message: feat(snap): add config interface with unique identifier (#114) [Pipeline] echo 09:13:54 [semverPrep] This is not a build commit. [Pipeline] sh 09:13:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:13:54 + grep -v github /etc/ssh/ssh_known_hosts 09:13:54 + [ -e /tmp/ssh_known_hosts ] 09:13:54 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:13:54 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:13:54 + sudo tee -a /etc/ssh/ssh_known_hosts 09:13:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:13:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:13:54 09:13:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:13:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:13:54 0.1.4: Pulling from edgex-devops/py-git-semver 09:13:54 b85a868b505f: Pulling fs layer 09:13:54 e2be974225ed: Pulling fs layer 09:13:54 339a4e72a1f5: Pulling fs layer 09:13:54 988bab9f4d93: Pulling fs layer 09:13:54 1469e6f7b9e6: Pulling fs layer 09:13:54 eaf3925da568: Pulling fs layer 09:13:54 bab4dde63d76: Pulling fs layer 09:13:54 bde34c3a00c8: Pulling fs layer 09:13:54 b352a97aabf1: Pulling fs layer 09:13:54 4872d77fe225: Pulling fs layer 09:13:54 5851b861e8e6: Pulling fs layer 09:13:54 bde34c3a00c8: Waiting 09:13:54 b352a97aabf1: Waiting 09:13:54 4872d77fe225: Waiting 09:13:54 5851b861e8e6: Waiting 09:13:54 bab4dde63d76: Waiting 09:13:54 988bab9f4d93: Waiting 09:13:54 1469e6f7b9e6: Waiting 09:13:54 eaf3925da568: Waiting 09:13:54 e2be974225ed: Download complete 09:13:54 988bab9f4d93: Verifying Checksum 09:13:54 988bab9f4d93: Download complete 09:13:55 1469e6f7b9e6: Verifying Checksum 09:13:55 1469e6f7b9e6: Download complete 09:13:55 339a4e72a1f5: Verifying Checksum 09:13:55 339a4e72a1f5: Download complete 09:13:55 eaf3925da568: Verifying Checksum 09:13:55 eaf3925da568: Download complete 09:13:55 bde34c3a00c8: Download complete 09:13:55 b352a97aabf1: Download complete 09:13:55 4872d77fe225: Verifying Checksum 09:13:55 4872d77fe225: Download complete 09:13:55 5851b861e8e6: Verifying Checksum 09:13:55 5851b861e8e6: Download complete 09:13:55 b85a868b505f: Download complete 09:13:55 bab4dde63d76: Verifying Checksum 09:13:55 bab4dde63d76: Download complete 09:13:56 b85a868b505f: Pull complete 09:13:56 e2be974225ed: Pull complete 09:13:57 339a4e72a1f5: Pull complete 09:13:57 988bab9f4d93: Pull complete 09:13:57 1469e6f7b9e6: Pull complete 09:13:57 eaf3925da568: Pull complete 09:13:59 bab4dde63d76: Pull complete 09:13:59 bde34c3a00c8: Pull complete 09:13:59 b352a97aabf1: Pull complete 09:13:59 4872d77fe225: Pull complete 09:13:59 5851b861e8e6: Pull complete 09:13:59 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:13:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:13:59 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:13:59 prd-ubuntu20.04-docker-8c-8g-8061 does not seem to be running inside a container 09:13:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-rfid-llrp-go_main -v /w/workspace/foundry_device-rfid-llrp-go_main:/w/workspace/foundry_device-rfid-llrp-go_main:rw,z -v /w/workspace/foundry_device-rfid-llrp-go_main@tmp:/w/workspace/foundry_device-rfid-llrp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:14:00 $ docker top ebe4d009b34b01d1512d770440eb17094fe0758edbe069f45625376fcce81582 -eo pid,comm 09:14:00 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). 09:14:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:14:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:14:00 [ssh-agent] Looking for ssh-agent implementation... 09:14:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:14:01 $ docker exec ebe4d009b34b01d1512d770440eb17094fe0758edbe069f45625376fcce81582 ssh-agent 09:14:01 SSH_AUTH_SOCK=/tmp/ssh-0oef21RcVTab/agent.32 09:14:01 SSH_AGENT_PID=38 09:14:01 Running ssh-add (command line suppressed) 09:14:01 Identity added: /w/workspace/foundry_device-rfid-llrp-go_main@tmp/private_key_12027678321438945402.key (/w/workspace/foundry_device-rfid-llrp-go_main@tmp/private_key_12027678321438945402.key) 09:14:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:14:01 + git tag --points-at HEAD [Pipeline] } 09:14:01 $ docker exec --env ******** --env ******** ebe4d009b34b01d1512d770440eb17094fe0758edbe069f45625376fcce81582 ssh-agent -k 09:14:01 unset SSH_AUTH_SOCK; 09:14:01 unset SSH_AGENT_PID; 09:14:01 echo Agent pid 38 killed; 09:14:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:14:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:14:01 [ssh-agent] Looking for ssh-agent implementation... 09:14:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:14:01 $ docker exec ebe4d009b34b01d1512d770440eb17094fe0758edbe069f45625376fcce81582 ssh-agent 09:14:01 SSH_AUTH_SOCK=/tmp/ssh-b1ZfY34LuutR/agent.70 09:14:01 SSH_AGENT_PID=76 09:14:01 Running ssh-add (command line suppressed) 09:14:02 Identity added: /w/workspace/foundry_device-rfid-llrp-go_main@tmp/private_key_15917528791660727388.key (/w/workspace/foundry_device-rfid-llrp-go_main@tmp/private_key_15917528791660727388.key) 09:14:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:14:02 + git semver init 09:14:02 2022-10-17 09:14:02,544 [run_init] DEBUG init version:0.0.0 force:False 09:14:02 2022-10-17 09:14:02,544 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-rfid-llrp-go_main/.semver 09:14:02 2022-10-17 09:14:02,545 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rfid-llrp-go.git /w/workspace/foundry_device-rfid-llrp-go_main/.semver 09:14:02 2022-10-17 09:14:02,545 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rfid-llrp-go.git', '/w/workspace/foundry_device-rfid-llrp-go_main/.semver'], cwd=/w/workspace/foundry_device-rfid-llrp-go_main, universal_newlines=False, shell=None, istream=None) 09:14:03 2022-10-17 09:14:03,520 [append_file] DEBUG append to file:/w/workspace/foundry_device-rfid-llrp-go_main/.git/info/exclude 09:14:03 2022-10-17 09:14:03,521 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-rfid-llrp-go_main/.semver/main with force:False 09:14:03 2022-10-17 09:14:03,521 [read_version] DEBUG read version from /w/workspace/foundry_device-rfid-llrp-go_main/.semver/main 09:14:03 2022-10-17 09:14:03,521 [read_version] DEBUG read version from /w/workspace/foundry_device-rfid-llrp-go_main/.semver/main 09:14:03 2.3.0-dev.16 [Pipeline] } 09:14:03 $ docker exec --env ******** --env ******** ebe4d009b34b01d1512d770440eb17094fe0758edbe069f45625376fcce81582 ssh-agent -k 09:14:03 unset SSH_AUTH_SOCK; 09:14:03 unset SSH_AGENT_PID; 09:14:03 echo Agent pid 76 killed; 09:14:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:14:03 + git semver [Pipeline] } 09:14:04 $ docker stop --time=1 ebe4d009b34b01d1512d770440eb17094fe0758edbe069f45625376fcce81582 09:14:05 $ docker rm -f ebe4d009b34b01d1512d770440eb17094fe0758edbe069f45625376fcce81582 [Pipeline] // withDockerContainer [Pipeline] sh 09:14:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:14:06 Stashed 1 file(s) [Pipeline] echo 09:14:06 [edgeXSemver]: initialized semver on version 2.3.0-dev.16 [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 09:14:06 provisioning config files... 09:14:06 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/foundry_device-rfid-llrp-go_main@tmp/config7994438478465180572tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:14:06 ---> docker-login.sh 09:14:06 nexus3.edgexfoundry.org:10001 09:14:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:14:06 Configure a credential helper to remove this warning. See 09:14:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:14:06 09:14:06 Login Succeeded 09:14:06 nexus3.edgexfoundry.org:10002 09:14:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:14:06 Configure a credential helper to remove this warning. See 09:14:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:14:06 09:14:06 Login Succeeded 09:14:06 nexus3.edgexfoundry.org:10003 09:14:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:14:06 Configure a credential helper to remove this warning. See 09:14:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:14:06 09:14:06 Login Succeeded 09:14:06 nexus3.edgexfoundry.org:10004 09:14:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:14:06 Configure a credential helper to remove this warning. See 09:14:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:14:06 09:14:06 Login Succeeded 09:14:06 docker.io 09:14:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:14:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:14:07 Configure a credential helper to remove this warning. See 09:14:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:14:07 09:14:07 Login Succeeded 09:14:07 ---> docker-login.sh ends [Pipeline] } 09:14:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:14:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:14:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:14:07 ========================================================= 09:14:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 09:14:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:14:07 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 09:14:07 Sending build context to Docker daemon 4.076MB 09:14:07 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 09:14:07 Step 2/12 : FROM ${BASE} AS builder 09:14:07 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 09:14:07 213ec9aee27d: Pulling fs layer 09:14:07 4583459ba037: Pulling fs layer 09:14:07 93c1e223e6f2: Pulling fs layer 09:14:07 53926ce57604: Pulling fs layer 09:14:07 21b2b0c7a3f4: Pulling fs layer 09:14:07 30f14e443154: Pulling fs layer 09:14:07 801331c1e519: Pulling fs layer 09:14:07 99cc6dd402b0: Pulling fs layer 09:14:07 7d9ed39f4882: Pulling fs layer 09:14:07 21b2b0c7a3f4: Waiting 09:14:07 53926ce57604: Waiting 09:14:07 30f14e443154: Waiting 09:14:07 801331c1e519: Waiting 09:14:07 99cc6dd402b0: Waiting 09:14:07 7d9ed39f4882: Waiting 09:14:07 93c1e223e6f2: Verifying Checksum 09:14:07 93c1e223e6f2: Download complete 09:14:07 4583459ba037: Download complete 09:14:07 21b2b0c7a3f4: Download complete 09:14:08 30f14e443154: Download complete 09:14:08 213ec9aee27d: Verifying Checksum 09:14:08 213ec9aee27d: Download complete 09:14:08 801331c1e519: Verifying Checksum 09:14:08 801331c1e519: Download complete 09:14:08 213ec9aee27d: Pull complete 09:14:08 4583459ba037: Pull complete 09:14:08 93c1e223e6f2: Pull complete 09:14:08 7d9ed39f4882: Verifying Checksum 09:14:08 7d9ed39f4882: Download complete 09:14:08 53926ce57604: Verifying Checksum 09:14:08 53926ce57604: Download complete 09:14:08 99cc6dd402b0: Verifying Checksum 09:14:08 99cc6dd402b0: Download complete 09:14:13 53926ce57604: Pull complete 09:14:13 21b2b0c7a3f4: Pull complete 09:14:13 30f14e443154: Pull complete 09:14:13 801331c1e519: Pull complete 09:14:14 99cc6dd402b0: Pull complete 09:14:15 7d9ed39f4882: Pull complete 09:14:15 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 09:14:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 09:14:15 ---> 1dedd983c030 09:14:15 Step 3/12 : ARG MAKE='make build' 09:14:17 ---> Running in 1ffe59495396 09:14:17 Removing intermediate container 1ffe59495396 09:14:17 ---> 28541d1407dc 09:14:17 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 09:14:17 ---> Running in c9758b0eb7bf 09:14:17 Removing intermediate container c9758b0eb7bf 09:14:17 ---> f3e34e396108 09:14:17 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 09:14:17 ---> Running in 8c48fc257cce 09:14:17 Removing intermediate container 8c48fc257cce 09:14:17 ---> d2a418286b43 09:14:17 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:14:17 ---> Running in b3168500f88b 09:14:18 Removing intermediate container b3168500f88b 09:14:18 ---> 7fecbddc6c4c 09:14:18 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:14:18 ---> Running in b3c6544011e7 09:14:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:14:19 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:14:19 OK: 211 MiB in 51 packages 09:14:20 Removing intermediate container b3c6544011e7 09:14:20 ---> d5ab2e7849ee 09:14:20 Step 8/12 : WORKDIR /app 09:14:20 ---> Running in 106d332bb3fb 09:14:20 Removing intermediate container 106d332bb3fb 09:14:20 ---> 21f03f3d687d 09:14:20 Step 9/12 : COPY go.mod vendor* ./ 09:14:20 ---> 0c6c9d3b8647 09:14:20 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:14:20 ---> Running in 9f81b9ce343b 09:14:21 Still waiting to schedule task 09:14:21 ‘prd-centos7-blackbox-4c-2g-7901’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 09:14:21 ‘prd-ubuntu20.04-docker-8c-8g-8063’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 09:14:21 ‘prd-ubuntu20.04-docker-arm64-4c-16g-8062’ is offline 09:14:35 Removing intermediate container 9f81b9ce343b 09:14:35 ---> 1870ee6251cf 09:14:35 Step 11/12 : COPY . . 09:14:35 ---> 9af5db88b2a3 09:14:35 Step 12/12 : RUN $MAKE 09:14:35 ---> Running in 2d5cc80f3f37 09:14:35 noop 09:14:35 Removing intermediate container 2d5cc80f3f37 09:14:35 ---> d26f770c253e 09:14:35 Successfully built d26f770c253e 09:14:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:14:35 + docker inspect -f . ci-base-image-x86_64 09:14:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:14:35 prd-ubuntu20.04-docker-8c-8g-8061 does not seem to be running inside a container 09:14:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-rfid-llrp-go_main -v /w/workspace/foundry_device-rfid-llrp-go_main:/w/workspace/foundry_device-rfid-llrp-go_main:rw,z -v /w/workspace/foundry_device-rfid-llrp-go_main@tmp:/w/workspace/foundry_device-rfid-llrp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:14:36 $ docker top 887a932bf635e0e61c8bd846f1b328870880721b11dc3487e962510e03eadee9 -eo pid,comm [Pipeline] { [Pipeline] sh 09:14:36 + go version 09:14:36 go version go1.18.7 linux/amd64 [Pipeline] } 09:14:36 $ docker stop --time=1 887a932bf635e0e61c8bd846f1b328870880721b11dc3487e962510e03eadee9 09:14:37 $ docker rm -f 887a932bf635e0e61c8bd846f1b328870880721b11dc3487e962510e03eadee9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:14:38 + docker inspect -f . ci-base-image-x86_64 09:14:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:14:38 prd-ubuntu20.04-docker-8c-8g-8061 does not seem to be running inside a container 09:14:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-rfid-llrp-go_main -v /w/workspace/foundry_device-rfid-llrp-go_main:/w/workspace/foundry_device-rfid-llrp-go_main:rw,z -v /w/workspace/foundry_device-rfid-llrp-go_main@tmp:/w/workspace/foundry_device-rfid-llrp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:14:38 $ docker top f54638fdb53f9fe7dc131434d2aa3a63511e0f4393455cd23017cf945c4f7940 -eo pid,comm [Pipeline] { [Pipeline] sh 09:14:38 + git config --global --add safe.directory /w/workspace/foundry_device-rfid-llrp-go_main [Pipeline] fileExists [Pipeline] sh 09:14:39 + make test 09:14:39 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 09:14:39 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 09:14:49 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 09:14:49 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 09:14:53 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 3.626s coverage: 38.5% of statements 09:14:53 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.239s coverage: 52.0% of statements 09:14:53 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.030s coverage: 95.5% of statements 09:15:01 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 09:15:01 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:15:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:15:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:15:05 ./bin/test-attribution-txt.sh 09:15:05 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [Pipeline] echo 09:15:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:15:05 $ docker stop --time=1 f54638fdb53f9fe7dc131434d2aa3a63511e0f4393455cd23017cf945c4f7940 09:15:07 $ docker rm -f f54638fdb53f9fe7dc131434d2aa3a63511e0f4393455cd23017cf945c4f7940 [Pipeline] // withDockerContainer [Pipeline] sh 09:15:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:15:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:15:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:15:08 + ls -al . 09:15:08 total 636 09:15:08 drwxrwxr-x 11 jenkins jenkins 4096 Oct 17 09:14 . 09:15:08 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 09:13 .. 09:15:08 -rw-rw-r-- 1 jenkins jenkins 134 Oct 17 09:13 .dockerignore 09:15:08 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 09:14 .git 09:15:08 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 09:13 .github 09:15:08 -rw-rw-r-- 1 jenkins jenkins 946 Oct 17 09:13 .gitignore 09:15:08 -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 09:13 .golangci.yml 09:15:08 drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 09:14 .semver 09:15:08 -rw-rw-r-- 1 jenkins jenkins 10866 Oct 17 09:13 Attribution.txt 09:15:08 -rw-rw-r-- 1 jenkins jenkins 3740 Oct 17 09:13 CHANGELOG.md 09:15:08 -rw-rw-r-- 1 jenkins jenkins 1518 Oct 17 09:13 Dockerfile 09:15:08 -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 09:13 GOVERNANCE.md 09:15:08 -rw-rw-r-- 1 jenkins jenkins 683 Oct 17 09:13 Jenkinsfile 09:15:08 -rw-rw-r-- 1 jenkins jenkins 11347 Oct 17 09:13 LICENSE 09:15:08 -rw-rw-r-- 1 jenkins jenkins 2196 Oct 17 09:13 Makefile 09:15:08 -rw-rw-r-- 1 jenkins jenkins 625 Oct 17 09:13 OWNERS.md 09:15:08 -rw-rw-r-- 1 jenkins jenkins 28496 Oct 17 09:13 README.md 09:15:08 -rw-rw-r-- 1 jenkins jenkins 12 Oct 17 09:14 VERSION 09:15:08 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 09:13 bin 09:15:08 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 09:13 cmd 09:15:08 -rw-r--r-- 1 jenkins jenkins 460049 Oct 17 09:14 coverage.out 09:15:08 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 09:13 examples 09:15:08 -rw-rw-r-- 1 jenkins jenkins 3609 Oct 17 09:13 go.mod 09:15:08 -rw-rw-r-- 1 jenkins jenkins 37783 Oct 17 09:13 go.sum 09:15:08 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 09:13 images 09:15:08 drwxrwxr-x 5 jenkins jenkins 4096 Oct 17 09:13 internal 09:15:08 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 09:13 snap 09:15:08 -rw-rw-r-- 1 jenkins jenkins 193 Oct 17 09:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:15:08 + 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=21adccc9884da49a19e8c8809216b587ffbf4cf2 --label arch=amd64 --label version=2.3.0-dev.16 . 09:15:08 Sending build context to Docker daemon 4.076MB 09:15:08 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 09:15:08 Step 2/25 : FROM ${BASE} AS builder 09:15:08 ---> d26f770c253e 09:15:08 Step 3/25 : ARG MAKE='make build' 09:15:08 ---> Running in c13c7521fb60 09:15:08 Removing intermediate container c13c7521fb60 09:15:08 ---> c3126f758988 09:15:08 Step 4/25 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 09:15:08 ---> Running in cf5291f49971 09:15:08 Removing intermediate container cf5291f49971 09:15:08 ---> ef9226cfe8d5 09:15:08 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 09:15:09 ---> Running in 119b9530bff1 09:15:09 Removing intermediate container 119b9530bff1 09:15:09 ---> 06bcf73adbbf 09:15:09 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:15:09 ---> Running in 2346ee232e03 09:15:09 Removing intermediate container 2346ee232e03 09:15:09 ---> dedb03c21c1c 09:15:09 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:15:09 ---> Running in 99e26972e973 09:15:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:15:13 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:15:17 OK: 211 MiB in 51 packages 09:15:17 Removing intermediate container 99e26972e973 09:15:17 ---> 5bde43339205 09:15:17 Step 8/25 : WORKDIR /app 09:15:17 ---> Running in 483135e1ed0f 09:15:17 Removing intermediate container 483135e1ed0f 09:15:17 ---> 3615ea676a0d 09:15:17 Step 9/25 : COPY go.mod vendor* ./ 09:15:17 ---> 46cc6c61cf63 09:15:17 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:15:17 ---> Running in 6f63ae46fa54 09:15:18 Removing intermediate container 6f63ae46fa54 09:15:18 ---> 6b962cc70239 09:15:18 Step 11/25 : COPY . . 09:15:18 ---> 70fc78794d67 09:15:18 Step 12/25 : RUN $MAKE 09:15:18 ---> Running in 8489c0d45309 09:15:18 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.37 -X github.com/edgexfoundry/device-rfid-llrp-go.Version=2.3.0-dev.16" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rfid-llrp ./cmd 09:15:40 Removing intermediate container 8489c0d45309 09:15:40 ---> bf9bd45c6a30 09:15:40 Step 13/25 : FROM alpine:3.16 09:15:40 3.16: Pulling from library/alpine 09:15:40 213ec9aee27d: Already exists 09:15:40 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 09:15:40 Status: Downloaded newer image for alpine:3.16 09:15:40 ---> 9c6f07244728 09:15:40 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 09:15:40 ---> Running in 0042aad1d9da 09:15:40 Removing intermediate container 0042aad1d9da 09:15:40 ---> b0221e82f9ae 09:15:40 Step 15/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:15:40 ---> Running in 0e06dd659e08 09:15:40 Removing intermediate container 0e06dd659e08 09:15:40 ---> d62ef6f87627 09:15:40 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 09:15:40 ---> Running in cd855714db1f 09:15:40 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 09:15:40 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 09:15:41 (1/6) Installing dumb-init (1.2.5-r1) 09:15:41 (2/6) Installing libgcc (11.2.1_git20220219-r2) 09:15:41 (3/6) Installing libsodium (1.0.18-r0) 09:15:41 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 09:15:41 (5/6) Installing libzmq (4.3.4-r0) 09:15:41 (6/6) Installing zeromq (4.3.4-r0) 09:15:41 Executing busybox-1.35.0-r17.trigger 09:15:41 OK: 8 MiB in 20 packages 09:15:42 Removing intermediate container cd855714db1f 09:15:42 ---> 872dc7061152 09:15:42 Step 17/25 : COPY --from=builder /app/LICENSE / 09:15:42 ---> 927ebc4e6d3b 09:15:42 Step 18/25 : COPY --from=builder /app/Attribution.txt / 09:15:42 ---> d29c27183fa9 09:15:42 Step 19/25 : COPY --from=builder /app/cmd/ / 09:15:43 ---> 2d4088ff41d2 09:15:43 Step 20/25 : EXPOSE 59989 09:15:43 ---> Running in dfd458379888 09:15:43 Removing intermediate container dfd458379888 09:15:43 ---> 82fd868e53e6 09:15:43 Step 21/25 : ENTRYPOINT ["/device-rfid-llrp"] 09:15:43 ---> Running in e038daf1a986 09:15:43 Removing intermediate container e038daf1a986 09:15:43 ---> 4f3fdad52e34 09:15:43 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 09:15:43 ---> Running in 261aadbadb50 09:15:43 Removing intermediate container 261aadbadb50 09:15:43 ---> fe663813329d 09:15:43 Step 23/25 : LABEL arch=amd64 09:15:43 ---> Running in a80827232793 09:15:43 Removing intermediate container a80827232793 09:15:43 ---> 6b1f7858426d 09:15:43 Step 24/25 : LABEL git_sha=21adccc9884da49a19e8c8809216b587ffbf4cf2 09:15:43 ---> Running in 01ad46262834 09:15:43 Removing intermediate container 01ad46262834 09:15:43 ---> 4b559bcc36db 09:15:43 Step 25/25 : LABEL version=2.3.0-dev.16 09:15:43 ---> Running in f4a8d8c47c1c 09:15:43 Removing intermediate container f4a8d8c47c1c 09:15:43 ---> e3bdefcaa84a 09:15:43 [Warning] One or more build-args [ARCH] were not consumed 09:15:43 Successfully built e3bdefcaa84a 09:15:43 Successfully tagged device-rfid-llrp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:15:43 provisioning config files... 09:15:43 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/foundry_device-rfid-llrp-go_main@tmp/config5172404824301049902tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:15:44 ---> docker-login.sh 09:15:44 nexus3.edgexfoundry.org:10001 09:15:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:15:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:15:44 Configure a credential helper to remove this warning. See 09:15:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:15:44 09:15:44 Login Succeeded 09:15:44 nexus3.edgexfoundry.org:10002 09:15:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:15:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:15:44 Configure a credential helper to remove this warning. See 09:15:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:15:44 09:15:44 Login Succeeded 09:15:44 nexus3.edgexfoundry.org:10003 09:15:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:15:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:15:44 Configure a credential helper to remove this warning. See 09:15:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:15:44 09:15:44 Login Succeeded 09:15:44 nexus3.edgexfoundry.org:10004 09:15:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:15:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:15:44 Configure a credential helper to remove this warning. See 09:15:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:15:44 09:15:44 Login Succeeded 09:15:44 docker.io 09:15:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:15:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:15:44 Configure a credential helper to remove this warning. See 09:15:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:15:44 09:15:44 Login Succeeded 09:15:44 ---> docker-login.sh ends [Pipeline] } 09:15:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:15:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:15:45 [edgeXDocker.push] Tagging docker image device-rfid-llrp with the following tags: 09:15:45 21adccc9884da49a19e8c8809216b587ffbf4cf2 09:15:45 latest 09:15:45 2.3.0-dev.16 09:15:45 21adccc9884da49a19e8c8809216b587ffbf4cf2-2.3.0-dev.16 09:15:45 main 09:15:45 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:15:45 + docker tag device-rfid-llrp nexus3.edgexfoundry.org:10004/device-rfid-llrp:21adccc9884da49a19e8c8809216b587ffbf4cf2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:15:45 + docker push nexus3.edgexfoundry.org:10004/device-rfid-llrp:21adccc9884da49a19e8c8809216b587ffbf4cf2 09:15:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rfid-llrp] 09:15:45 87bb5b96d51e: Preparing 09:15:45 9a2f31027828: Preparing 09:15:45 a66963352f42: Preparing 09:15:45 bafa24490719: Preparing 09:15:45 9cc802f2c2c7: Preparing 09:15:45 994393dc58e7: Preparing 09:15:45 994393dc58e7: Waiting 09:15:45 9a2f31027828: Pushed 09:15:45 a66963352f42: Pushed 09:15:45 9cc802f2c2c7: Pushed 09:15:45 994393dc58e7: Layer already exists 09:15:45 bafa24490719: Pushed 09:15:48 87bb5b96d51e: Pushed 09:15:48 21adccc9884da49a19e8c8809216b587ffbf4cf2: digest: sha256:288598467b5e0bc6a0b634781afd84bcfc61df6141e676901f8c91d1c5a118a0 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:15:48 + docker tag device-rfid-llrp nexus3.edgexfoundry.org:10004/device-rfid-llrp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:15:49 + docker push nexus3.edgexfoundry.org:10004/device-rfid-llrp:latest 09:15:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rfid-llrp] 09:15:49 87bb5b96d51e: Preparing 09:15:49 9a2f31027828: Preparing 09:15:49 a66963352f42: Preparing 09:15:49 bafa24490719: Preparing 09:15:49 9cc802f2c2c7: Preparing 09:15:49 994393dc58e7: Preparing 09:15:49 994393dc58e7: Waiting 09:15:49 a66963352f42: Layer already exists 09:15:49 9cc802f2c2c7: Layer already exists 09:15:49 bafa24490719: Layer already exists 09:15:49 87bb5b96d51e: Layer already exists 09:15:49 9a2f31027828: Layer already exists 09:15:49 994393dc58e7: Layer already exists 09:15:49 latest: digest: sha256:288598467b5e0bc6a0b634781afd84bcfc61df6141e676901f8c91d1c5a118a0 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:15:49 + docker tag device-rfid-llrp nexus3.edgexfoundry.org:10004/device-rfid-llrp:2.3.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:15:49 + docker push nexus3.edgexfoundry.org:10004/device-rfid-llrp:2.3.0-dev.16 09:15:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rfid-llrp] 09:15:49 87bb5b96d51e: Preparing 09:15:49 9a2f31027828: Preparing 09:15:49 a66963352f42: Preparing 09:15:49 bafa24490719: Preparing 09:15:49 9cc802f2c2c7: Preparing 09:15:49 994393dc58e7: Preparing 09:15:49 994393dc58e7: Waiting 09:15:49 9a2f31027828: Layer already exists 09:15:49 a66963352f42: Layer already exists 09:15:49 87bb5b96d51e: Layer already exists 09:15:49 bafa24490719: Layer already exists 09:15:49 9cc802f2c2c7: Layer already exists 09:15:49 994393dc58e7: Layer already exists 09:15:49 2.3.0-dev.16: digest: sha256:288598467b5e0bc6a0b634781afd84bcfc61df6141e676901f8c91d1c5a118a0 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:15:50 + docker tag device-rfid-llrp nexus3.edgexfoundry.org:10004/device-rfid-llrp:21adccc9884da49a19e8c8809216b587ffbf4cf2-2.3.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:15:50 + docker push nexus3.edgexfoundry.org:10004/device-rfid-llrp:21adccc9884da49a19e8c8809216b587ffbf4cf2-2.3.0-dev.16 09:15:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rfid-llrp] 09:15:50 87bb5b96d51e: Preparing 09:15:50 9a2f31027828: Preparing 09:15:50 a66963352f42: Preparing 09:15:50 bafa24490719: Preparing 09:15:50 9cc802f2c2c7: Preparing 09:15:50 994393dc58e7: Preparing 09:15:50 994393dc58e7: Waiting 09:15:50 9a2f31027828: Layer already exists 09:15:50 a66963352f42: Layer already exists 09:15:50 9cc802f2c2c7: Layer already exists 09:15:50 87bb5b96d51e: Layer already exists 09:15:50 bafa24490719: Layer already exists 09:15:50 994393dc58e7: Layer already exists 09:15:50 21adccc9884da49a19e8c8809216b587ffbf4cf2-2.3.0-dev.16: digest: sha256:288598467b5e0bc6a0b634781afd84bcfc61df6141e676901f8c91d1c5a118a0 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:15:50 + docker tag device-rfid-llrp nexus3.edgexfoundry.org:10004/device-rfid-llrp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:15:50 + docker push nexus3.edgexfoundry.org:10004/device-rfid-llrp:main 09:15:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rfid-llrp] 09:15:50 87bb5b96d51e: Preparing 09:15:50 9a2f31027828: Preparing 09:15:50 a66963352f42: Preparing 09:15:50 bafa24490719: Preparing 09:15:50 9cc802f2c2c7: Preparing 09:15:50 994393dc58e7: Preparing 09:15:50 994393dc58e7: Waiting 09:15:50 9cc802f2c2c7: Layer already exists 09:15:50 9a2f31027828: Layer already exists 09:15:50 a66963352f42: Layer already exists 09:15:50 87bb5b96d51e: Layer already exists 09:15:50 bafa24490719: Layer already exists 09:15:50 994393dc58e7: Layer already exists 09:15:50 main: digest: sha256:288598467b5e0bc6a0b634781afd84bcfc61df6141e676901f8c91d1c5a118a0 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:15:50 ===================================================== [Pipeline] echo 09:15:50 taggedImages: 09:15:50 - nexus3.edgexfoundry.org:10004/device-rfid-llrp:21adccc9884da49a19e8c8809216b587ffbf4cf2 09:15:50 - nexus3.edgexfoundry.org:10004/device-rfid-llrp:latest 09:15:50 - nexus3.edgexfoundry.org:10004/device-rfid-llrp:2.3.0-dev.16 09:15:50 - nexus3.edgexfoundry.org:10004/device-rfid-llrp:21adccc9884da49a19e8c8809216b587ffbf4cf2-2.3.0-dev.16 09:15:50 - nexus3.edgexfoundry.org:10004/device-rfid-llrp:main [Pipeline] } [Pipeline] // script [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 09:15:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:15:51 09:15:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:15:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:15:51 latest: Pulling from edgex-lftools-log-publisher 09:15:51 5eb5b503b376: Pulling fs layer 09:15:51 5c69ac0246d0: Pulling fs layer 09:15:51 ec43610c2a17: Pulling fs layer 09:15:51 3a2ae6a8a46f: Pulling fs layer 09:15:51 33b1e0a273af: Pulling fs layer 09:15:51 5d3b04190fa2: Pulling fs layer 09:15:51 2f39f015ded8: Pulling fs layer 09:15:51 33b1e0a273af: Waiting 09:15:51 5d3b04190fa2: Waiting 09:15:51 3a2ae6a8a46f: Waiting 09:15:51 2f39f015ded8: Waiting 09:15:51 5c69ac0246d0: Verifying Checksum 09:15:51 5c69ac0246d0: Download complete 09:15:51 3a2ae6a8a46f: Verifying Checksum 09:15:51 3a2ae6a8a46f: Download complete 09:15:51 33b1e0a273af: Verifying Checksum 09:15:51 33b1e0a273af: Download complete 09:15:51 5d3b04190fa2: Download complete 09:15:51 ec43610c2a17: Download complete 09:15:51 5eb5b503b376: Verifying Checksum 09:15:51 5eb5b503b376: Download complete 09:15:52 2f39f015ded8: Download complete 09:15:53 5eb5b503b376: Pull complete 09:15:53 5c69ac0246d0: Pull complete 09:15:53 ec43610c2a17: Pull complete 09:15:53 3a2ae6a8a46f: Pull complete 09:15:54 33b1e0a273af: Pull complete 09:15:54 5d3b04190fa2: Pull complete 09:15:58 2f39f015ded8: Pull complete 09:15:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:15:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:15:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:15:58 prd-ubuntu20.04-docker-8c-8g-8061 does not seem to be running inside a container 09:15:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-rfid-llrp-go_main -v /w/workspace/foundry_device-rfid-llrp-go_main:/w/workspace/foundry_device-rfid-llrp-go_main:rw,z -v /w/workspace/foundry_device-rfid-llrp-go_main@tmp:/w/workspace/foundry_device-rfid-llrp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:16:00 $ docker top 1ed25042b8571958b2bc7ce4275090c5342aaf878617155cf8b30c5d56b72741 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:16:00 ---> job-cost.sh 09:16:00 lf-activate-venv: SKIPPING 09:16:00 INFO: No Stack... 09:16:00 INFO: Retrieving Pricing Info for: v3-standard-8 09:16:01 INFO: Archiving Costs [Pipeline] sh 09:16:01 + cat /w/workspace/foundry_device-rfid-llrp-go_main/archives/cost.csv 09:16:01 + cut -d, -f6 [Pipeline] lock 09:16:01 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-main-52-stack-cost] 09:16:01 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-main-52-stack-cost] did not exist. Created. 09:16:01 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-main-52-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:16:01 + echo total: 0.2199999988079071 [Pipeline] stash 09:16:01 Stashed 1 file(s) [Pipeline] } 09:16:01 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-main-52-stack-cost] [Pipeline] // lock [Pipeline] } 09:16:01 $ docker stop --time=1 1ed25042b8571958b2bc7ce4275090c5342aaf878617155cf8b30c5d56b72741 09:16:03 $ docker rm -f 1ed25042b8571958b2bc7ce4275090c5342aaf878617155cf8b30c5d56b72741 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:20:57 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8114 in /w/workspace/foundry_device-rfid-llrp-go_main [Pipeline] { [Pipeline] ws 09:20:57 Running in /w/workspace/device-rfid-llrp-go/52 [Pipeline] { [Pipeline] checkout 09:20:57 Selected Git installation does not exist. Using Default 09:20:57 The recommended git tool is: NONE 09:21:03 using credential edgex-jenkins-ssh 09:21:03 Cloning the remote Git repository 09:21:03 Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git 09:21:03 > git init /w/workspace/device-rfid-llrp-go/52 # timeout=10 09:21:03 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 09:21:03 > git --version # timeout=10 09:21:03 > git --version # 'git version 2.25.1' 09:21:03 using GIT_SSH to set credentials SSH Credentials for GitHub 09:21:03 Verifying host key using known hosts file 09:21:04 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 09:21:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:21:05 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 09:21:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:21:06 Avoid second fetch 09:21:06 Checking out Revision 21adccc9884da49a19e8c8809216b587ffbf4cf2 (main) 09:21:07 Commit message: "feat(snap): add config interface with unique identifier (#114)" 09:21:06 > git config core.sparsecheckout # timeout=10 09:21:06 > git checkout -f 21adccc9884da49a19e8c8809216b587ffbf4cf2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:21:08 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:21:08 % Total % Received % Xferd Average Speed Time Time Time Current 09:21:08 Dload Upload Total Spent Left Speed 09:21:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 178k 0 --:--:-- --:--:-- --:--:-- 178k [Pipeline] sh 09:21:08 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:21:09 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:21:09 + sudo tee /etc/docker/daemon.new 09:21:09 { 09:21:09 "registry-mirrors": [ 09:21:09 "https://nexus3.edgexfoundry.org:10001" 09:21:09 ], 09:21:09 "bip": "10.250.0.254/24", 09:21:09 "hosts": [ 09:21:09 "tcp://0.0.0.0:5555", 09:21:09 "unix:///var/run/docker.sock" 09:21:09 ], 09:21:09 "mtu": 1458, 09:21:09 "selinux-enabled": true, 09:21:09 "seccomp-profile": "/etc/docker/seccomp.json" 09:21:09 } [Pipeline] sh 09:21:09 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:21:09 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:21:28 provisioning config files... 09:21:28 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/device-rfid-llrp-go/52@tmp/config3703777123498430575tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:21:28 ---> docker-login.sh 09:21:28 nexus3.edgexfoundry.org:10001 09:21:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:21:29 Configure a credential helper to remove this warning. See 09:21:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:21:29 09:21:29 Login Succeeded 09:21:29 nexus3.edgexfoundry.org:10002 09:21:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:21:29 Configure a credential helper to remove this warning. See 09:21:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:21:29 09:21:29 Login Succeeded 09:21:29 nexus3.edgexfoundry.org:10003 09:21:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:21:30 Configure a credential helper to remove this warning. See 09:21:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:21:30 09:21:30 Login Succeeded 09:21:30 nexus3.edgexfoundry.org:10004 09:21:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:21:30 Configure a credential helper to remove this warning. See 09:21:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:21:30 09:21:30 Login Succeeded 09:21:30 docker.io 09:21:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:21:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:21:31 Configure a credential helper to remove this warning. See 09:21:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:21:31 09:21:31 Login Succeeded 09:21:31 ---> docker-login.sh ends [Pipeline] } 09:21:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:21:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:21:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:21:31 ========================================================= 09:21:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 09:21:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:21:32 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 09:21:32 Sending build context to Docker daemon 1.22MB 09:21:32 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 09:21:32 Step 2/12 : FROM ${BASE} AS builder 09:21:32 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:21:32 9b18e9b68314: Pulling fs layer 09:21:32 d32db5db7311: Pulling fs layer 09:21:32 d0c4b47475fc: Pulling fs layer 09:21:32 5831b945b038: Pulling fs layer 09:21:32 86bbec2aaacd: Pulling fs layer 09:21:32 e10730c5d714: Pulling fs layer 09:21:32 5dd5c2283517: Pulling fs layer 09:21:32 d5ac0230b979: Pulling fs layer 09:21:32 e10730c5d714: Waiting 09:21:32 5831b945b038: Waiting 09:21:32 5dd5c2283517: Waiting 09:21:32 86bbec2aaacd: Waiting 09:21:32 d5ac0230b979: Waiting 09:21:32 d0c4b47475fc: Verifying Checksum 09:21:32 d0c4b47475fc: Download complete 09:21:32 d32db5db7311: Verifying Checksum 09:21:32 d32db5db7311: Download complete 09:21:32 86bbec2aaacd: Verifying Checksum 09:21:32 86bbec2aaacd: Download complete 09:21:32 e10730c5d714: Verifying Checksum 09:21:32 e10730c5d714: Download complete 09:21:32 9b18e9b68314: Verifying Checksum 09:21:32 9b18e9b68314: Download complete 09:21:33 9b18e9b68314: Pull complete 09:21:34 d5ac0230b979: Verifying Checksum 09:21:34 d5ac0230b979: Download complete 09:21:34 d32db5db7311: Pull complete 09:21:34 d0c4b47475fc: Pull complete 09:21:35 5dd5c2283517: Download complete 09:21:35 5831b945b038: Verifying Checksum 09:21:35 5831b945b038: Download complete 09:21:51 5831b945b038: Pull complete 09:21:51 86bbec2aaacd: Pull complete 09:21:51 e10730c5d714: Pull complete 09:21:56 5dd5c2283517: Pull complete 09:21:59 d5ac0230b979: Pull complete 09:21:59 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 09:21:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 09:21:59 ---> 59b3b1a385d4 09:21:59 Step 3/12 : ARG MAKE='make build' 09:21:59 ---> Running in d6de93c0e2ac 09:21:59 Removing intermediate container d6de93c0e2ac 09:21:59 ---> 69f99e66f934 09:21:59 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 09:22:00 ---> Running in f4df7be94838 09:22:00 Removing intermediate container f4df7be94838 09:22:00 ---> 3825fe3f481f 09:22:00 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 09:22:00 ---> Running in e7f4eb347518 09:22:00 Removing intermediate container e7f4eb347518 09:22:00 ---> 3ab56ded13c7 09:22:00 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:22:00 ---> Running in 07f8c3849270 09:22:03 Removing intermediate container 07f8c3849270 09:22:03 ---> e60b8b6ab45c 09:22:03 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:22:03 ---> Running in 96ed22354d40 09:22:04 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:22:05 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:22:06 OK: 221 MiB in 51 packages 09:22:07 Removing intermediate container 96ed22354d40 09:22:07 ---> 661114513ab6 09:22:07 Step 8/12 : WORKDIR /app 09:22:07 ---> Running in c058d4ba00c9 09:22:08 Removing intermediate container c058d4ba00c9 09:22:08 ---> 44a3b0331cc1 09:22:08 Step 9/12 : COPY go.mod vendor* ./ 09:22:08 ---> 636a47164eeb 09:22:08 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:22:08 ---> Running in 563b32eb72cc 09:23:05 Removing intermediate container 563b32eb72cc 09:23:05 ---> 715a704f7c31 09:23:05 Step 11/12 : COPY . . 09:23:05 ---> 8c6b85c1fd38 09:23:05 Step 12/12 : RUN $MAKE 09:23:05 ---> Running in ed978aef09c3 09:23:05 noop 09:23:05 Removing intermediate container ed978aef09c3 09:23:05 ---> ef790f3ea183 09:23:05 Successfully built ef790f3ea183 09:23:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:23:05 + docker inspect -f . ci-base-image-arm64 09:23:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:23:05 prd-ubuntu20.04-docker-arm64-4c-16g-8114 does not seem to be running inside a container 09:23:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rfid-llrp-go/52 -v /w/workspace/device-rfid-llrp-go/52:/w/workspace/device-rfid-llrp-go/52:rw,z -v /w/workspace/device-rfid-llrp-go/52@tmp:/w/workspace/device-rfid-llrp-go/52@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:23:07 $ docker top 204962654a14eaa1fe7d6d84f2f798a8d59d625b347cd3105f049a2071f043a9 -eo pid,comm [Pipeline] { [Pipeline] sh 09:23:08 + go version 09:23:08 go version go1.18.7 linux/arm64 [Pipeline] } 09:23:08 $ docker stop --time=1 204962654a14eaa1fe7d6d84f2f798a8d59d625b347cd3105f049a2071f043a9 09:23:09 $ docker rm -f 204962654a14eaa1fe7d6d84f2f798a8d59d625b347cd3105f049a2071f043a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:23:10 + docker inspect -f . ci-base-image-arm64 09:23:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:23:10 prd-ubuntu20.04-docker-arm64-4c-16g-8114 does not seem to be running inside a container 09:23:10 $ 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/52 -v /w/workspace/device-rfid-llrp-go/52:/w/workspace/device-rfid-llrp-go/52:rw,z -v /w/workspace/device-rfid-llrp-go/52@tmp:/w/workspace/device-rfid-llrp-go/52@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:23:12 $ docker top c0e48fc72942dd988ec56de2d988cf3efae278d242a2b3817c2147022c5950cb -eo pid,comm [Pipeline] { [Pipeline] sh 09:23:13 + git config --global --add safe.directory /w/workspace/device-rfid-llrp-go/52 [Pipeline] fileExists [Pipeline] sh 09:23:13 + make test 09:23:13 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 09:23:16 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 09:24:53 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 09:24:53 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 09:25:25 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 30.410s coverage: 38.5% of statements 09:25:25 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.528s coverage: 52.0% of statements 09:25:25 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.038s coverage: 95.5% of statements 09:25:25 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:25:25 CGO_ENABLED=1 GO111MODULE=on go vet ./... 09:25:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:25:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:25:58 ./bin/test-attribution-txt.sh 09:25:58 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [Pipeline] echo 09:25:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:25:59 $ docker stop --time=1 c0e48fc72942dd988ec56de2d988cf3efae278d242a2b3817c2147022c5950cb 09:26:01 $ docker rm -f c0e48fc72942dd988ec56de2d988cf3efae278d242a2b3817c2147022c5950cb [Pipeline] // withDockerContainer [Pipeline] sh 09:26:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:26:02 Warning: overwriting stash ‘coverage-report’ 09:26:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:26:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:26:04 + ls -al . 09:26:04 total 632 09:26:04 drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 09:23 . 09:26:04 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 09:21 .. 09:26:04 -rw-rw-r-- 1 jenkins jenkins 134 Oct 17 09:21 .dockerignore 09:26:04 drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 09:21 .git 09:26:04 drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 09:21 .github 09:26:04 -rw-rw-r-- 1 jenkins jenkins 946 Oct 17 09:21 .gitignore 09:26:04 -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 09:21 .golangci.yml 09:26:04 -rw-rw-r-- 1 jenkins jenkins 10866 Oct 17 09:21 Attribution.txt 09:26:04 -rw-rw-r-- 1 jenkins jenkins 3740 Oct 17 09:21 CHANGELOG.md 09:26:04 -rw-rw-r-- 1 jenkins jenkins 1518 Oct 17 09:21 Dockerfile 09:26:04 -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 09:21 GOVERNANCE.md 09:26:04 -rw-rw-r-- 1 jenkins jenkins 683 Oct 17 09:21 Jenkinsfile 09:26:04 -rw-rw-r-- 1 jenkins jenkins 11347 Oct 17 09:21 LICENSE 09:26:04 -rw-rw-r-- 1 jenkins jenkins 2196 Oct 17 09:21 Makefile 09:26:04 -rw-rw-r-- 1 jenkins jenkins 625 Oct 17 09:21 OWNERS.md 09:26:04 -rw-rw-r-- 1 jenkins jenkins 28496 Oct 17 09:21 README.md 09:26:04 -rw-rw-r-- 1 jenkins jenkins 12 Oct 17 09:14 VERSION 09:26:04 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 09:21 bin 09:26:04 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 09:21 cmd 09:26:04 -rw-r--r-- 1 jenkins jenkins 460049 Oct 17 09:25 coverage.out 09:26:04 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 09:21 examples 09:26:04 -rw-rw-r-- 1 jenkins jenkins 3609 Oct 17 09:21 go.mod 09:26:04 -rw-rw-r-- 1 jenkins jenkins 37783 Oct 17 09:21 go.sum 09:26:04 drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 09:21 images 09:26:04 drwxrwxr-x 5 jenkins jenkins 4096 Oct 17 09:21 internal 09:26:04 drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 09:21 snap 09:26:04 -rw-rw-r-- 1 jenkins jenkins 193 Oct 17 09:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:26:04 + 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=21adccc9884da49a19e8c8809216b587ffbf4cf2 --label arch=arm64 --label version=2.3.0-dev.16 . 09:26:04 Sending build context to Docker daemon 1.22MB 09:26:05 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 09:26:05 Step 2/25 : FROM ${BASE} AS builder 09:26:05 ---> ef790f3ea183 09:26:05 Step 3/25 : ARG MAKE='make build' 09:26:05 ---> Running in 31ce129df786 09:26:05 Removing intermediate container 31ce129df786 09:26:05 ---> 225256d6d88c 09:26:05 Step 4/25 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 09:26:05 ---> Running in 495ec54e8cfd 09:26:06 Removing intermediate container 495ec54e8cfd 09:26:06 ---> a462f89ccb50 09:26:06 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 09:26:06 ---> Running in d9e87da53e21 09:26:06 Removing intermediate container d9e87da53e21 09:26:06 ---> 8efcde6c0ef7 09:26:06 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:26:06 ---> Running in ab525652525d 09:26:08 Removing intermediate container ab525652525d 09:26:08 ---> 531dba6805b2 09:26:08 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:26:08 ---> Running in cf285a13a438 09:26:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:26:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:26:11 OK: 221 MiB in 51 packages 09:26:12 Removing intermediate container cf285a13a438 09:26:12 ---> ca44960a94a4 09:26:12 Step 8/25 : WORKDIR /app 09:26:12 ---> Running in f0ef1ec34a51 09:26:13 Removing intermediate container f0ef1ec34a51 09:26:13 ---> 70291961b3a4 09:26:13 Step 9/25 : COPY go.mod vendor* ./ 09:26:13 ---> a7a313f18fe4 09:26:13 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:26:13 ---> Running in a8b484da5c97 09:26:15 Removing intermediate container a8b484da5c97 09:26:15 ---> 8964c81477d3 09:26:15 Step 11/25 : COPY . . 09:26:16 ---> 36ab868025c7 09:26:16 Step 12/25 : RUN $MAKE 09:26:16 ---> Running in 5bd282d35c6d 09:26:17 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.37 -X github.com/edgexfoundry/device-rfid-llrp-go.Version=2.3.0-dev.16" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rfid-llrp ./cmd 09:28:38 Removing intermediate container 5bd282d35c6d 09:28:38 ---> ca1f2ac658d2 09:28:38 Step 13/25 : FROM alpine:3.16 09:28:38 3.16: Pulling from library/alpine 09:28:38 9b18e9b68314: Already exists 09:28:38 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 09:28:38 Status: Downloaded newer image for alpine:3.16 09:28:38 ---> a6215f271958 09:28:38 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 09:28:38 ---> Running in 8179ea665911 09:28:38 Removing intermediate container 8179ea665911 09:28:38 ---> 24bb967d019f 09:28:38 Step 15/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 09:28:38 ---> Running in 4314b39c1ce4 09:28:40 Removing intermediate container 4314b39c1ce4 09:28:40 ---> 01c5c60e68bd 09:28:40 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 09:28:40 ---> Running in a93eb59b3f3b 09:28:41 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 09:28:42 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 09:28:43 (1/6) Installing dumb-init (1.2.5-r1) 09:28:43 (2/6) Installing libgcc (11.2.1_git20220219-r2) 09:28:43 (3/6) Installing libsodium (1.0.18-r0) 09:28:43 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 09:28:43 (5/6) Installing libzmq (4.3.4-r0) 09:28:43 (6/6) Installing zeromq (4.3.4-r0) 09:28:43 Executing busybox-1.35.0-r17.trigger 09:28:43 OK: 8 MiB in 20 packages 09:28:44 Removing intermediate container a93eb59b3f3b 09:28:44 ---> b7069f7e79e9 09:28:44 Step 17/25 : COPY --from=builder /app/LICENSE / 09:28:45 ---> 194866b18b1e 09:28:45 Step 18/25 : COPY --from=builder /app/Attribution.txt / 09:28:45 ---> 89b28c0be13e 09:28:45 Step 19/25 : COPY --from=builder /app/cmd/ / 09:28:47 ---> c9f2e13ac41c 09:28:47 Step 20/25 : EXPOSE 59989 09:28:47 ---> Running in 368aaf4f7729 09:28:47 Removing intermediate container 368aaf4f7729 09:28:47 ---> c51243ab596c 09:28:47 Step 21/25 : ENTRYPOINT ["/device-rfid-llrp"] 09:28:47 ---> Running in dfb0482c6687 09:28:47 Removing intermediate container dfb0482c6687 09:28:47 ---> 8d82915c37b6 09:28:47 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 09:28:47 ---> Running in dc68c9d514a8 09:28:48 Removing intermediate container dc68c9d514a8 09:28:48 ---> 3302066e558f 09:28:48 Step 23/25 : LABEL arch=arm64 09:28:48 ---> Running in c18874acc9ee 09:28:48 Removing intermediate container c18874acc9ee 09:28:48 ---> 600d8a8036a9 09:28:48 Step 24/25 : LABEL git_sha=21adccc9884da49a19e8c8809216b587ffbf4cf2 09:28:48 ---> Running in 2fa4d8f5ef86 09:28:48 Removing intermediate container 2fa4d8f5ef86 09:28:48 ---> fb07c2594b86 09:28:48 Step 25/25 : LABEL version=2.3.0-dev.16 09:28:48 ---> Running in 5a3a8b63e25f 09:28:49 Removing intermediate container 5a3a8b63e25f 09:28:49 ---> fa9c7422cc5e 09:28:49 [Warning] One or more build-args [ARCH] were not consumed 09:28:49 Successfully built fa9c7422cc5e 09:28:49 Successfully tagged device-rfid-llrp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:28:49 provisioning config files... 09:28:49 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/device-rfid-llrp-go/52@tmp/config5209222475620120228tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:28:49 ---> docker-login.sh 09:28:49 nexus3.edgexfoundry.org:10001 09:28:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:28:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:28:50 Configure a credential helper to remove this warning. See 09:28:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:28:50 09:28:50 Login Succeeded 09:28:50 nexus3.edgexfoundry.org:10002 09:28:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:28:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:28:50 Configure a credential helper to remove this warning. See 09:28:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:28:50 09:28:50 Login Succeeded 09:28:50 nexus3.edgexfoundry.org:10003 09:28:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:28:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:28:50 Configure a credential helper to remove this warning. See 09:28:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:28:50 09:28:50 Login Succeeded 09:28:50 nexus3.edgexfoundry.org:10004 09:28:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:28:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:28:51 Configure a credential helper to remove this warning. See 09:28:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:28:51 09:28:51 Login Succeeded 09:28:51 docker.io 09:28:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:28:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:28:51 Configure a credential helper to remove this warning. See 09:28:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:28:51 09:28:51 Login Succeeded 09:28:51 ---> docker-login.sh ends [Pipeline] } 09:28:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:28:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:28:52 [edgeXDocker.push] Tagging docker image device-rfid-llrp-arm64 with the following tags: 09:28:52 21adccc9884da49a19e8c8809216b587ffbf4cf2 09:28:52 latest 09:28:52 2.3.0-dev.16 09:28:52 21adccc9884da49a19e8c8809216b587ffbf4cf2-2.3.0-dev.16 09:28:52 main 09:28:52 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:28:52 + docker tag device-rfid-llrp-arm64 nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64:21adccc9884da49a19e8c8809216b587ffbf4cf2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:28:52 + docker push nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64:21adccc9884da49a19e8c8809216b587ffbf4cf2 09:28:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64] 09:28:52 e086e58d2fbe: Preparing 09:28:52 74b47586cd08: Preparing 09:28:52 1f91964068af: Preparing 09:28:52 5add7c8add0c: Preparing 09:28:52 d352c929c286: Preparing 09:28:52 5d3e392a13a0: Preparing 09:28:52 5d3e392a13a0: Waiting 09:28:52 d352c929c286: Pushed 09:28:52 1f91964068af: Pushed 09:28:52 74b47586cd08: Pushed 09:28:52 5d3e392a13a0: Layer already exists 09:28:53 5add7c8add0c: Pushed 09:28:58 e086e58d2fbe: Pushed 09:28:58 21adccc9884da49a19e8c8809216b587ffbf4cf2: digest: sha256:00b031b6aa225831e39d60682a4a8cd149d5884fa91b716c0de56c1c0393b17d size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:28:59 + docker tag device-rfid-llrp-arm64 nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:28:59 + docker push nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64:latest 09:28:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64] 09:28:59 e086e58d2fbe: Preparing 09:28:59 74b47586cd08: Preparing 09:28:59 1f91964068af: Preparing 09:28:59 5add7c8add0c: Preparing 09:28:59 d352c929c286: Preparing 09:28:59 5d3e392a13a0: Preparing 09:28:59 5d3e392a13a0: Waiting 09:28:59 74b47586cd08: Layer already exists 09:28:59 5add7c8add0c: Layer already exists 09:28:59 e086e58d2fbe: Layer already exists 09:28:59 d352c929c286: Layer already exists 09:28:59 1f91964068af: Layer already exists 09:28:59 5d3e392a13a0: Layer already exists 09:28:59 latest: digest: sha256:00b031b6aa225831e39d60682a4a8cd149d5884fa91b716c0de56c1c0393b17d size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:29:00 + docker tag device-rfid-llrp-arm64 nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64:2.3.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:29:00 + docker push nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64:2.3.0-dev.16 09:29:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64] 09:29:00 e086e58d2fbe: Preparing 09:29:00 74b47586cd08: Preparing 09:29:00 1f91964068af: Preparing 09:29:00 5add7c8add0c: Preparing 09:29:00 d352c929c286: Preparing 09:29:00 5d3e392a13a0: Preparing 09:29:00 5d3e392a13a0: Waiting 09:29:00 e086e58d2fbe: Layer already exists 09:29:00 74b47586cd08: Layer already exists 09:29:00 5add7c8add0c: Layer already exists 09:29:00 1f91964068af: Layer already exists 09:29:00 d352c929c286: Layer already exists 09:29:00 5d3e392a13a0: Layer already exists 09:29:00 2.3.0-dev.16: digest: sha256:00b031b6aa225831e39d60682a4a8cd149d5884fa91b716c0de56c1c0393b17d size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:29:01 + docker tag device-rfid-llrp-arm64 nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64:21adccc9884da49a19e8c8809216b587ffbf4cf2-2.3.0-dev.16 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:29:01 + docker push nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64:21adccc9884da49a19e8c8809216b587ffbf4cf2-2.3.0-dev.16 09:29:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64] 09:29:01 e086e58d2fbe: Preparing 09:29:01 74b47586cd08: Preparing 09:29:01 1f91964068af: Preparing 09:29:01 5add7c8add0c: Preparing 09:29:01 d352c929c286: Preparing 09:29:01 5d3e392a13a0: Preparing 09:29:01 5d3e392a13a0: Waiting 09:29:01 d352c929c286: Layer already exists 09:29:01 e086e58d2fbe: Layer already exists 09:29:01 1f91964068af: Layer already exists 09:29:01 5add7c8add0c: Layer already exists 09:29:01 74b47586cd08: Layer already exists 09:29:01 5d3e392a13a0: Layer already exists 09:29:01 21adccc9884da49a19e8c8809216b587ffbf4cf2-2.3.0-dev.16: digest: sha256:00b031b6aa225831e39d60682a4a8cd149d5884fa91b716c0de56c1c0393b17d size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:29:02 + docker tag device-rfid-llrp-arm64 nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:29:02 + docker push nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64:main 09:29:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64] 09:29:02 e086e58d2fbe: Preparing 09:29:02 74b47586cd08: Preparing 09:29:02 1f91964068af: Preparing 09:29:02 5add7c8add0c: Preparing 09:29:02 d352c929c286: Preparing 09:29:02 5d3e392a13a0: Preparing 09:29:02 5d3e392a13a0: Waiting 09:29:02 5add7c8add0c: Layer already exists 09:29:02 d352c929c286: Layer already exists 09:29:02 74b47586cd08: Layer already exists 09:29:02 e086e58d2fbe: Layer already exists 09:29:02 1f91964068af: Layer already exists 09:29:02 5d3e392a13a0: Layer already exists 09:29:02 main: digest: sha256:00b031b6aa225831e39d60682a4a8cd149d5884fa91b716c0de56c1c0393b17d size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 09:29:02 ===================================================== [Pipeline] echo 09:29:02 taggedImages: 09:29:02 - nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64:21adccc9884da49a19e8c8809216b587ffbf4cf2 09:29:02 - nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64:latest 09:29:02 - nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64:2.3.0-dev.16 09:29:02 - nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64:21adccc9884da49a19e8c8809216b587ffbf4cf2-2.3.0-dev.16 09:29:02 - nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:29:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:29:03 09:29:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:29:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:29:03 arm64: Pulling from edgex-lftools-log-publisher 09:29:03 8998bd30e6a1: Pulling fs layer 09:29:03 04944245beec: Pulling fs layer 09:29:03 699f458cf7ca: Pulling fs layer 09:29:03 765212b225bb: Pulling fs layer 09:29:03 f23df028b6ca: Pulling fs layer 09:29:03 d65c8cfc05b1: Pulling fs layer 09:29:03 2437ff75d9bd: Pulling fs layer 09:29:03 f23df028b6ca: Waiting 09:29:03 d65c8cfc05b1: Waiting 09:29:03 2437ff75d9bd: Waiting 09:29:03 765212b225bb: Waiting 09:29:03 04944245beec: Verifying Checksum 09:29:03 04944245beec: Download complete 09:29:03 765212b225bb: Verifying Checksum 09:29:03 765212b225bb: Download complete 09:29:03 f23df028b6ca: Verifying Checksum 09:29:03 f23df028b6ca: Download complete 09:29:03 d65c8cfc05b1: Download complete 09:29:04 699f458cf7ca: Verifying Checksum 09:29:04 699f458cf7ca: Download complete 09:29:04 8998bd30e6a1: Verifying Checksum 09:29:04 8998bd30e6a1: Download complete 09:29:06 2437ff75d9bd: Verifying Checksum 09:29:06 2437ff75d9bd: Download complete 09:29:08 8998bd30e6a1: Pull complete 09:29:08 04944245beec: Pull complete 09:29:10 699f458cf7ca: Pull complete 09:29:10 765212b225bb: Pull complete 09:29:11 f23df028b6ca: Pull complete 09:29:11 d65c8cfc05b1: Pull complete 09:29:26 2437ff75d9bd: Pull complete 09:29:26 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:29:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:29:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:29:26 prd-ubuntu20.04-docker-arm64-4c-16g-8114 does not seem to be running inside a container 09:29:26 $ 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/52 -v /w/workspace/device-rfid-llrp-go/52:/w/workspace/device-rfid-llrp-go/52:rw,z -v /w/workspace/device-rfid-llrp-go/52@tmp:/w/workspace/device-rfid-llrp-go/52@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:29:29 $ docker top b7c36828d2631a4ccd07e45f1c7f4cf99a0653d354ebea868ec1904779b27bdf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:29:29 ---> job-cost.sh 09:29:29 lf-activate-venv: SKIPPING 09:29:29 INFO: No Stack... 09:29:30 INFO: Retrieving Pricing Info for: v3-standard-4 09:29:31 INFO: Archiving Costs [Pipeline] sh 09:29:31 + cat /w/workspace/device-rfid-llrp-go/52/archives/cost.csv 09:29:31 + cut -d, -f6 [Pipeline] lock 09:29:31 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-main-52-stack-cost] 09:29:31 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-main-52-stack-cost] did not exist. Created. 09:29:31 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-main-52-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:29:31 /w/workspace/device-rfid-llrp-go/52@tmp/durable-f9546488/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:29:32 + echo total: 0.10999999940395355 [Pipeline] stash 09:29:32 Warning: overwriting stash ‘stack-cost’ 09:29:32 Stashed 1 file(s) [Pipeline] } 09:29:32 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-main-52-stack-cost] [Pipeline] // lock [Pipeline] } 09:29:32 $ docker stop --time=1 b7c36828d2631a4ccd07e45f1c7f4cf99a0653d354ebea868ec1904779b27bdf 09:29:33 $ docker rm -f b7c36828d2631a4ccd07e45f1c7f4cf99a0653d354ebea868ec1904779b27bdf [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 09:29:34 provisioning config files... 09:29:34 copy managed file [device-rfid-llrp-go-codecov-token] to file:/w/workspace/foundry_device-rfid-llrp-go_main@tmp/config17439699423619713496tmp [Pipeline] { [Pipeline] sh 09:29:34 + set +x 09:29:34 + curl -s https://codecov.io/bash 09:29:34 + bash -s -- 09:29:34 09:29:34 _____ _ 09:29:34 / ____| | | 09:29:34 | | ___ __| | ___ ___ _____ __ 09:29:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:29:34 | |___| (_) | (_| | __/ (_| (_) \ V / 09:29:34 \_____\___/ \__,_|\___|\___\___/ \_/ 09:29:34 Bash-1.0.6 09:29:34 09:29:34 09:29:34 ==> git version 2.25.1 found 09:29:34 ==> 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 09:29:34 Release-Date: 2020-01-08 09:29:34 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:29:34 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:29:34 ==> Jenkins CI detected. 09:29:34 current dir:  /w/workspace/foundry_device-rfid-llrp-go_main 09:29:34 project root: . 09:29:34 --> token set from env 09:29:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:29:34 ==> Running gcov in . (disable via -X gcov) 09:29:34 ==> Python coveragepy not found 09:29:34 ==> Searching for coverage reports in: 09:29:34 + . 09:29:34 -> Found 1 reports 09:29:34 ==> Detecting git/mercurial file structure 09:29:34 ==> Reading reports 09:29:34 + ./coverage.out bytes=460049 09:29:34 ==> Appending adjustments 09:29:34 https://docs.codecov.io/docs/fixing-reports 09:29:34 + Found adjustments 09:29:34 ==> Gzipping contents 09:29:34 52K /tmp/codecov.o7AYRs.gz 09:29:34 ==> Uploading reports 09:29:34 url: https://codecov.io 09:29:34 query: branch=main&commit=21adccc9884da49a19e8c8809216b587ffbf4cf2&build=52&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2Fmain%2F52%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:29:34 -> Pinging Codecov 09:29:34 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=main&commit=21adccc9884da49a19e8c8809216b587ffbf4cf2&build=52&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2Fmain%2F52%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=&job=&cmd_args= 09:29:35 -> Uploading to 09:29:35 https://storage.googleapis.com/codecov/v4/raw/2022-10-17/581DD39554BDF9B6E22D074273EAD858/21adccc9884da49a19e8c8809216b587ffbf4cf2/f5ee5b15-47f6-4bc6-bb66-42082242aee6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221017%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221017T092934Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=16362b33b4a28634934f0f199421301e6bce73e0e2d48ff0f8fc2e083a2703cc 09:29:35 % Total % Received % Xferd Average Speed Time Time Time Current 09:29:35 Dload Upload Total Spent Left Speed 09:29:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51592 0 0 100 51592 0 253k --:--:-- --:--:-- --:--:-- 253k 09:29:35 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/21adccc9884da49a19e8c8809216b587ffbf4cf2 [Pipeline] } 09:29:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 09:29:35 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 09:29:35 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:29:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:29:35 09:29:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:29:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:29:35 1.410.4: Pulling from edgex-devops/edgex-snyk-go 09:29:35 df9b9388f04a: Pulling fs layer 09:29:35 52dc419b0ee2: Pulling fs layer 09:29:35 25bc292e5bac: Pulling fs layer 09:29:35 114826534d7a: Pulling fs layer 09:29:35 4657fd5d0bcf: Pulling fs layer 09:29:35 6ad1cebc031e: Pulling fs layer 09:29:35 8a3aa393b2d8: Pulling fs layer 09:29:35 4657fd5d0bcf: Waiting 09:29:35 6ad1cebc031e: Waiting 09:29:35 8a3aa393b2d8: Waiting 09:29:35 114826534d7a: Waiting 09:29:35 25bc292e5bac: Verifying Checksum 09:29:35 25bc292e5bac: Download complete 09:29:35 52dc419b0ee2: Download complete 09:29:35 4657fd5d0bcf: Verifying Checksum 09:29:35 4657fd5d0bcf: Download complete 09:29:35 df9b9388f04a: Download complete 09:29:36 df9b9388f04a: Pull complete 09:29:36 6ad1cebc031e: Verifying Checksum 09:29:36 6ad1cebc031e: Download complete 09:29:36 52dc419b0ee2: Pull complete 09:29:36 25bc292e5bac: Pull complete 09:29:36 114826534d7a: Download complete 09:29:36 8a3aa393b2d8: Verifying Checksum 09:29:36 8a3aa393b2d8: Download complete 09:29:40 114826534d7a: Pull complete 09:29:40 4657fd5d0bcf: Pull complete 09:29:40 6ad1cebc031e: Pull complete 09:29:43 8a3aa393b2d8: Pull complete 09:29:43 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 09:29:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 09:29:43 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:29:43 prd-ubuntu20.04-docker-8c-8g-8061 does not seem to be running inside a container 09:29:43 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/foundry_device-rfid-llrp-go_main -v /w/workspace/foundry_device-rfid-llrp-go_main:/w/workspace/foundry_device-rfid-llrp-go_main:rw,z -v /w/workspace/foundry_device-rfid-llrp-go_main@tmp:/w/workspace/foundry_device-rfid-llrp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 09:29:45 $ docker top 02badf08a7f6a4bbebbf627e2ac8ddcb89094efb40bb7b6a9c56dc143bc10461 -eo pid,comm [Pipeline] { [Pipeline] echo 09:29:45 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rfid-llrp-go:main' [Pipeline] sh 09:29:46 + set -o pipefail 09:29:46 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rfid-llrp-go:main' 09:29:54 09:29:54 Monitoring /w/workspace/foundry_device-rfid-llrp-go_main (github.com/edgexfoundry/device-rfid-llrp-go)... 09:29:54 09:29:54 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/51b7f931-2ad3-4a5d-a1d2-3e401f6a993d/history/30a16336-5c27-4f47-8515-aa1a4e82529e 09:29:54 09:29:54 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 09:29:54 09:29:54 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 09:29:54 09:29:54 09:29:54 A medium severity vulnerability was found in the Snyk CLI versions you are using. 09:29:54 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 09:29:54 More details here: https://snyk.co/ue1NS [Pipeline] } 09:29:54 $ docker stop --time=1 02badf08a7f6a4bbebbf627e2ac8ddcb89094efb40bb7b6a9c56dc143bc10461 09:29:56 $ docker rm -f 02badf08a7f6a4bbebbf627e2ac8ddcb89094efb40bb7b6a9c56dc143bc10461 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:29:57 + git log --format=format:%s -1 21adccc9884da49a19e8c8809216b587ffbf4cf2 [Pipeline] sh 09:29:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:29:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:29:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:29:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:29:57 prd-ubuntu20.04-docker-8c-8g-8061 does not seem to be running inside a container 09:29:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-rfid-llrp-go_main -v /w/workspace/foundry_device-rfid-llrp-go_main:/w/workspace/foundry_device-rfid-llrp-go_main:rw,z -v /w/workspace/foundry_device-rfid-llrp-go_main@tmp:/w/workspace/foundry_device-rfid-llrp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:29:58 $ docker top 5987c22c944ec3b5b75ddc8cd1680982d062b21a941c172b3f5f0c1bf7c97c86 -eo pid,comm 09:29:58 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). 09:29:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:29:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:29:58 [ssh-agent] Looking for ssh-agent implementation... 09:29:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:29:58 $ docker exec 5987c22c944ec3b5b75ddc8cd1680982d062b21a941c172b3f5f0c1bf7c97c86 ssh-agent 09:29:58 SSH_AUTH_SOCK=/tmp/ssh-fsmXM5SLKPBy/agent.32 09:29:58 SSH_AGENT_PID=38 09:29:58 Running ssh-add (command line suppressed) 09:29:58 Identity added: /w/workspace/foundry_device-rfid-llrp-go_main@tmp/private_key_6892641433019025990.key (/w/workspace/foundry_device-rfid-llrp-go_main@tmp/private_key_6892641433019025990.key) 09:29:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:29:58 + git semver tag 09:29:59 2022-10-17 09:29:59,167 [run_tag] DEBUG tag force:False 09:29:59 2022-10-17 09:29:59,167 [check_head_tag] DEBUG check head tag 09:29:59 2022-10-17 09:29:59,167 [execute] INFO git cat-file --batch-check 09:29:59 2022-10-17 09:29:59,168 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-rfid-llrp-go_main, universal_newlines=False, shell=None, istream=) 09:29:59 2022-10-17 09:29:59,171 [execute] INFO git cat-file --batch 09:29:59 2022-10-17 09:29:59,171 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-rfid-llrp-go_main, universal_newlines=False, shell=None, istream=) 09:29:59 2022-10-17 09:29:59,181 [read_version] DEBUG read version from /w/workspace/foundry_device-rfid-llrp-go_main/.semver/main 09:29:59 2022-10-17 09:29:59,181 [execute] INFO git tag -a v2.3.0-dev.16 -m v2.3.0-dev.16 09:29:59 2022-10-17 09:29:59,182 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.16', '-m', 'v2.3.0-dev.16'], cwd=/w/workspace/foundry_device-rfid-llrp-go_main, universal_newlines=False, shell=None, istream=None) 09:29:59 2022-10-17 09:29:59,186 [read_version] DEBUG read version from /w/workspace/foundry_device-rfid-llrp-go_main/.semver/main 09:29:59 2.3.0-dev.16 [Pipeline] } 09:29:59 $ docker exec --env ******** --env ******** 5987c22c944ec3b5b75ddc8cd1680982d062b21a941c172b3f5f0c1bf7c97c86 ssh-agent -k 09:29:59 unset SSH_AUTH_SOCK; 09:29:59 unset SSH_AGENT_PID; 09:29:59 echo Agent pid 38 killed; 09:29:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:29:59 + git semver [Pipeline] } 09:29:59 $ docker stop --time=1 5987c22c944ec3b5b75ddc8cd1680982d062b21a941c172b3f5f0c1bf7c97c86 09:30:01 $ docker rm -f 5987c22c944ec3b5b75ddc8cd1680982d062b21a941c172b3f5f0c1bf7c97c86 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:30:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:30:01 09:30:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:30:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:30:01 0.23.1-centos7: Pulling from edgex-lftools 09:30:01 ab5ef0e58194: Pulling fs layer 09:30:01 9712f1f96733: Pulling fs layer 09:30:01 63f879dbbcfc: Pulling fs layer 09:30:01 0d9ebad4ef96: Pulling fs layer 09:30:01 e9a5061849ea: Pulling fs layer 09:30:01 d747dcd14b5f: Pulling fs layer 09:30:01 2de7ff778b66: Pulling fs layer 09:30:01 e9a5061849ea: Waiting 09:30:01 0d9ebad4ef96: Waiting 09:30:01 d747dcd14b5f: Waiting 09:30:01 9712f1f96733: Verifying Checksum 09:30:01 9712f1f96733: Download complete 09:30:02 63f879dbbcfc: Verifying Checksum 09:30:02 63f879dbbcfc: Download complete 09:30:02 ab5ef0e58194: Verifying Checksum 09:30:02 ab5ef0e58194: Download complete 09:30:02 e9a5061849ea: Verifying Checksum 09:30:02 e9a5061849ea: Download complete 09:30:02 d747dcd14b5f: Verifying Checksum 09:30:02 d747dcd14b5f: Download complete 09:30:02 0d9ebad4ef96: Download complete 09:30:02 2de7ff778b66: Verifying Checksum 09:30:02 2de7ff778b66: Download complete 09:30:05 ab5ef0e58194: Pull complete 09:30:05 9712f1f96733: Pull complete 09:30:05 63f879dbbcfc: Pull complete 09:30:08 0d9ebad4ef96: Pull complete 09:30:08 e9a5061849ea: Pull complete 09:30:08 d747dcd14b5f: Pull complete 09:30:09 2de7ff778b66: Pull complete 09:30:09 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 09:30:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 09:30:09 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:30:09 prd-ubuntu20.04-docker-8c-8g-8061 does not seem to be running inside a container 09:30:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-rfid-llrp-go_main -v /w/workspace/foundry_device-rfid-llrp-go_main:/w/workspace/foundry_device-rfid-llrp-go_main:rw,z -v /w/workspace/foundry_device-rfid-llrp-go_main@tmp:/w/workspace/foundry_device-rfid-llrp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 09:30:12 $ docker top b6597660d82989f4a53eab5209697f5812923c31251d51b08ef89dc5e7e8315f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 09:30:12 provisioning config files... 09:30:12 copy managed file [sigul-config] to file:/w/workspace/foundry_device-rfid-llrp-go_main@tmp/config12045320888591898747tmp 09:30:12 copy managed file [sigul-password] to file:/w/workspace/foundry_device-rfid-llrp-go_main@tmp/config5945890899752987854tmp 09:30:12 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-rfid-llrp-go_main@tmp/config2971643828919006027tmp [Pipeline] { [Pipeline] echo 09:30:12 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 09:30:12 ---> sigul-configuration.sh 09:30:12 gpg: directory `/root/.gnupg' created 09:30:12 gpg: new configuration file `/root/.gnupg/gpg.conf' created 09:30:12 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 09:30:12 gpg: keyring `/root/.gnupg/secring.gpg' created 09:30:12 gpg: keyring `/root/.gnupg/pubring.gpg' created 09:30:12 gpg: CAST5 encrypted data 09:30:12 gpg: encrypted with 1 passphrase 09:30:12 gpg: WARNING: message was not integrity protected [Pipeline] sh 09:30:12 + mkdir /home/jenkins 09:30:12 + mkdir /home/jenkins/sigul [Pipeline] sh 09:30:13 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 09:30:13 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 09:30:13 ---> sigul-install.sh 09:30:13 Sigul already installed; skipping installation. [Pipeline] sh 09:30:13 + git tag --list 09:30:13 v0.0.0 09:30:13 v1.0.0 09:30:13 v2.1.0 09:30:13 v2.1.1 09:30:13 v2.1.1-dev.1 09:30:13 v2.2.0 09:30:13 v2.2.1-dev.1 09:30:13 v2.2.1-dev.2 09:30:13 v2.2.1-dev.3 09:30:13 v2.2.1-dev.4 09:30:13 v2.2.1-dev.5 09:30:13 v2.2.1-dev.6 09:30:13 v2.2.1-dev.7 09:30:13 v2.3.0-dev.10 09:30:13 v2.3.0-dev.11 09:30:13 v2.3.0-dev.12 09:30:13 v2.3.0-dev.13 09:30:13 v2.3.0-dev.14 09:30:13 v2.3.0-dev.15 09:30:13 v2.3.0-dev.16 09:30:13 v2.3.0-dev.7 09:30:13 v2.3.0-dev.8 09:30:13 v2.3.0-dev.9 [Pipeline] sh 09:30:14 + lftools sign git-tag v2.3.0-dev.16 09:30:14 Signing Git tag with Sigul... 09:30:14 Signing v2.3.0-dev.16 [Pipeline] echo 09:30:14 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 09:30:15 ---> sigul-configuration-cleanup.sh [Pipeline] } 09:30:15 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 09:30:15 $ docker stop --time=1 b6597660d82989f4a53eab5209697f5812923c31251d51b08ef89dc5e7e8315f 09:30:16 $ docker rm -f b6597660d82989f4a53eab5209697f5812923c31251d51b08ef89dc5e7e8315f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 09:30:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:30:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:30:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:30:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:30:17 prd-ubuntu20.04-docker-8c-8g-8061 does not seem to be running inside a container 09:30:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-rfid-llrp-go_main -v /w/workspace/foundry_device-rfid-llrp-go_main:/w/workspace/foundry_device-rfid-llrp-go_main:rw,z -v /w/workspace/foundry_device-rfid-llrp-go_main@tmp:/w/workspace/foundry_device-rfid-llrp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:30:17 $ docker top 76f79414aaede4374302b409a13965195a54caae5d8b1c1d1fd5543364635f62 -eo pid,comm 09:30:17 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). 09:30:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:30:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:30:17 [ssh-agent] Looking for ssh-agent implementation... 09:30:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:30:17 $ docker exec 76f79414aaede4374302b409a13965195a54caae5d8b1c1d1fd5543364635f62 ssh-agent 09:30:17 SSH_AUTH_SOCK=/tmp/ssh-A5RgyCTKMzlW/agent.32 09:30:17 SSH_AGENT_PID=38 09:30:17 Running ssh-add (command line suppressed) 09:30:18 Identity added: /w/workspace/foundry_device-rfid-llrp-go_main@tmp/private_key_4717251531160155631.key (/w/workspace/foundry_device-rfid-llrp-go_main@tmp/private_key_4717251531160155631.key) 09:30:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:30:18 + git semver bump pre 09:30:18 2022-10-17 09:30:18,622 [read_version] DEBUG read version from /w/workspace/foundry_device-rfid-llrp-go_main/.semver/main 09:30:18 2022-10-17 09:30:18,622 [bump_version] DEBUG bumping version:2.3.0-dev.16 on axis:pre with prefix:dev 09:30:18 2022-10-17 09:30:18,622 [bump_version] DEBUG bumped version:2.3.0-dev.17 09:30:18 2022-10-17 09:30:18,622 [write_version] DEBUG write version:2.3.0-dev.17 to path:/w/workspace/foundry_device-rfid-llrp-go_main/.semver/main with force:True 09:30:18 2022-10-17 09:30:18,622 [read_version] DEBUG read version from /w/workspace/foundry_device-rfid-llrp-go_main/.semver/main 09:30:18 2022-10-17 09:30:18,622 [write_file] DEBUG write to file:/w/workspace/foundry_device-rfid-llrp-go_main/.semver/main 09:30:18 2022-10-17 09:30:18,624 [execute] INFO git cat-file --batch-check 09:30:18 2022-10-17 09:30:18,624 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-rfid-llrp-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:30:18 2022-10-17 09:30:18,629 [execute] INFO git cat-file --batch 09:30:18 2022-10-17 09:30:18,630 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-rfid-llrp-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:30:18 2022-10-17 09:30:18,635 [read_version] DEBUG read version from /w/workspace/foundry_device-rfid-llrp-go_main/.semver/main 09:30:18 2.3.0-dev.17 [Pipeline] } 09:30:18 $ docker exec --env ******** --env ******** 76f79414aaede4374302b409a13965195a54caae5d8b1c1d1fd5543364635f62 ssh-agent -k 09:30:18 unset SSH_AUTH_SOCK; 09:30:18 unset SSH_AGENT_PID; 09:30:18 echo Agent pid 38 killed; 09:30:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:30:19 + git semver [Pipeline] } 09:30:19 $ docker stop --time=1 76f79414aaede4374302b409a13965195a54caae5d8b1c1d1fd5543364635f62 09:30:20 $ docker rm -f 76f79414aaede4374302b409a13965195a54caae5d8b1c1d1fd5543364635f62 [Pipeline] // withDockerContainer [Pipeline] sh 09:30:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:30:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:30:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:30:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:30:21 prd-ubuntu20.04-docker-8c-8g-8061 does not seem to be running inside a container 09:30:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-rfid-llrp-go_main -v /w/workspace/foundry_device-rfid-llrp-go_main:/w/workspace/foundry_device-rfid-llrp-go_main:rw,z -v /w/workspace/foundry_device-rfid-llrp-go_main@tmp:/w/workspace/foundry_device-rfid-llrp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:30:21 $ docker top 14efa1478bce90e44a2f9d02f1519ca37fe1134068b33a14db37811fcf47edc8 -eo pid,comm 09:30:21 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). 09:30:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:30:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:30:21 [ssh-agent] Looking for ssh-agent implementation... 09:30:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:30:22 $ docker exec 14efa1478bce90e44a2f9d02f1519ca37fe1134068b33a14db37811fcf47edc8 ssh-agent 09:30:22 SSH_AUTH_SOCK=/tmp/ssh-jAi4JWmMw7Sr/agent.32 09:30:22 SSH_AGENT_PID=38 09:30:22 Running ssh-add (command line suppressed) 09:30:22 Identity added: /w/workspace/foundry_device-rfid-llrp-go_main@tmp/private_key_14607983767911995046.key (/w/workspace/foundry_device-rfid-llrp-go_main@tmp/private_key_14607983767911995046.key) 09:30:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:30:22 + git semver push 09:30:22 2022-10-17 09:30:22,757 [run_push] DEBUG push 09:30:22 2022-10-17 09:30:22,757 [execute] INFO git cat-file --batch-check 09:30:22 2022-10-17 09:30:22,758 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-rfid-llrp-go_main/.semver, universal_newlines=False, shell=None, istream=) 09:30:22 2022-10-17 09:30:22,761 [execute] INFO git rev-list 5ae76e046c1833376e884fac2482b0890cd231f1 -- 09:30:22 2022-10-17 09:30:22,762 [execute] DEBUG Popen(['git', 'rev-list', '5ae76e046c1833376e884fac2482b0890cd231f1', '--'], cwd=/w/workspace/foundry_device-rfid-llrp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 09:30:22 2022-10-17 09:30:22,768 [execute] INFO git fetch -v origin 09:30:22 2022-10-17 09:30:22,769 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-rfid-llrp-go_main/.semver, universal_newlines=True, shell=None, istream=None) 09:30:23 2022-10-17 09:30:23,293 [run_push] DEBUG no remote changes detected 09:30:23 2022-10-17 09:30:23,294 [execute] INFO git push origin semver 09:30:23 2022-10-17 09:30:23,294 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-rfid-llrp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 09:30:24 2022-10-17 09:30:24,111 [run_push] DEBUG push all version tags 09:30:24 2022-10-17 09:30:24,112 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 09:30:24 2022-10-17 09:30:24,112 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/foundry_device-rfid-llrp-go_main, universal_newlines=False, shell=None, istream=None) 09:30:25 2022-10-17 09:30:24,940 [read_version] DEBUG read version from /w/workspace/foundry_device-rfid-llrp-go_main/.semver/main 09:30:25 2.3.0-dev.17 [Pipeline] } 09:30:25 $ docker exec --env ******** --env ******** 14efa1478bce90e44a2f9d02f1519ca37fe1134068b33a14db37811fcf47edc8 ssh-agent -k 09:30:25 unset SSH_AUTH_SOCK; 09:30:25 unset SSH_AGENT_PID; 09:30:25 echo Agent pid 38 killed; 09:30:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:30:25 + git semver [Pipeline] } 09:30:25 $ docker stop --time=1 14efa1478bce90e44a2f9d02f1519ca37fe1134068b33a14db37811fcf47edc8 09:30:27 $ docker rm -f 14efa1478bce90e44a2f9d02f1519ca37fe1134068b33a14db37811fcf47edc8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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 09:30:27 + [ -d /w/workspace/foundry_device-rfid-llrp-go_main/archives ] 09:30:27 + ls -al /w/workspace/foundry_device-rfid-llrp-go_main/archives 09:30:27 total 16 09:30:27 drwxr-xr-x 3 root root 4096 Oct 17 09:16 . 09:30:27 drwxrwxr-x 12 jenkins jenkins 4096 Oct 17 09:30 .. 09:30:27 drwxr-xr-x 2 root root 4096 Oct 17 09:16 cost 09:30:27 -rw-r--r-- 1 root root 90 Oct 17 09:16 cost.csv 09:30:27 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-rfid-llrp-go_main/archives 09:30:27 + ls -al /w/workspace/foundry_device-rfid-llrp-go_main/archives 09:30:27 total 16 09:30:27 drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 09:16 . 09:30:27 drwxrwxr-x 12 jenkins jenkins 4096 Oct 17 09:30 .. 09:30:27 drwxr-xr-x 2 jenkins jenkins 4096 Oct 17 09:16 cost 09:30:27 -rw-r--r-- 1 jenkins jenkins 90 Oct 17 09:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:30:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:30:28 ---> package-listing.sh 09:30:28 ++ facter osfamily 09:30:28 ++ tr '[:upper:]' '[:lower:]' 09:30:29 + OS_FAMILY=debian 09:30:29 + workspace=/w/workspace/foundry_device-rfid-llrp-go_main 09:30:29 + START_PACKAGES=/tmp/packages_start.txt 09:30:29 + END_PACKAGES=/tmp/packages_end.txt 09:30:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:30:29 + PACKAGES=/tmp/packages_start.txt 09:30:29 + '[' /w/workspace/foundry_device-rfid-llrp-go_main ']' 09:30:29 + PACKAGES=/tmp/packages_end.txt 09:30:29 + case "${OS_FAMILY}" in 09:30:29 + dpkg -l 09:30:29 + grep '^ii' 09:30:29 + '[' -f /tmp/packages_start.txt ']' 09:30:29 + '[' -f /tmp/packages_end.txt ']' 09:30:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:30:29 + '[' /w/workspace/foundry_device-rfid-llrp-go_main ']' 09:30:29 + mkdir -p /w/workspace/foundry_device-rfid-llrp-go_main/archives/ 09:30:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-rfid-llrp-go_main/archives/ [Pipeline] echo 09:30:29 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-rfid-llrp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:30:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:30:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:30:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:30:29 prd-ubuntu20.04-docker-8c-8g-8061 does not seem to be running inside a container 09:30:29 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-rfid-llrp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-rfid-llrp-go_main -v /w/workspace/foundry_device-rfid-llrp-go_main:/w/workspace/foundry_device-rfid-llrp-go_main:rw,z -v /w/workspace/foundry_device-rfid-llrp-go_main@tmp:/w/workspace/foundry_device-rfid-llrp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:30:30 $ docker top aea3ced7e3f4c83528bbf548e167770a12bf6e3cef826a99a0db3334f1c97704 -eo pid,comm [Pipeline] { [Pipeline] sh 09:30:30 + touch /tmp/pre-build-complete [Pipeline] sh 09:30:30 + mkdir -p /var/log/sysstat [Pipeline] sh 09:30:31 + ls /var/log/sa-host 09:30:31 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:30:31 provisioning config files... 09:30:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-rfid-llrp-go_main@tmp/config13888991806693317146tmp [Pipeline] { [Pipeline] echo 09:30:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:30:31 ---> create-netrc.sh [Pipeline] } 09:30:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:30:31 ---> python-tools-install.sh [Pipeline] echo 09:30:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:30:32 ---> sudo-logs.sh 09:30:32 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:30:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:30:32 ---> job-cost.sh 09:30:32 lf-activate-venv: SKIPPING 09:30:32 DEBUG: total: 0.2199999988079071 09:30:32 INFO: Retrieving Stack Cost... 09:30:32 INFO: Retrieving Pricing Info for: v3-standard-8 09:30:33 INFO: Archiving Costs [Pipeline] echo 09:30:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:30:33 ---> logs-deploy.sh 09:30:33 lf-activate-venv: SKIPPING 09:30:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rfid-llrp-go/main/52 09:30:33 INFO: archiving workspace using pattern(s): 09:30:34 Archives upload complete. 09:30:34 INFO: archiving logs to Nexus