Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 16bd43c538f9fa424729d14aac07513bbbf37459 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-ssh13785979562530106776.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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-ssh12394762122455693828.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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-ssh12642486303456386449.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 # timeout=10 Commit message: "Merge pull request #405 from ernestojeda/fix-go-1.18-errors" > 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-ssh2368940723271839278.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-ssh2087027198617555633.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-19798 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 16bd43c538f9fa424729d14aac07513bbbf37459 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 16bd43c538f9fa424729d14aac07513bbbf37459 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 (#99)" > git rev-list --no-walk f17cce6e43ef809d5d7f67c42d02d3a2b7113a46 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:02:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:02:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:02:16 ========================================================= 00:02:16 EdgeX Global Pipelines Version Info 00:02:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:02:17 ------------------- 00:02:17 stable info: 00:02:17 ------------------- 00:02:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:02:17 Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 00:02:17 Message: update stable to v1.0.237 00:02:17 ------------------- 00:02:17 experimental info: 00:02:17 ------------------- 00:02:17 Commited By: **** collab-it+edgex@linuxfoundation.org 00:02:17 Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 00:02:17 Message: update experimental to v1.0.237 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:02:18 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rfid-llrp-go-settings [Pipeline] echo 00:02:18 [edgeXSetupEnvironment]: set envvar PROJECT = device-rfid-llrp-go [Pipeline] echo 00:02:18 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:02:18 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:02:18 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:02:18 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 00:02:18 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:02:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:02:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:02:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:02:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:02:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rfid-llrp [Pipeline] echo 00:02:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:02:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:02:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:02:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:02:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:02:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:02:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:02:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:02:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:02:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:02:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:02:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:02:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:02:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:02:18 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:02:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 00:02:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 00:02:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 00:02:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 16bd43c538f9fa424729d14aac07513bbbf37459 [Pipeline] echo 00:02:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 16bd43c [Pipeline] echo 00:02:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:02:18 provisioning config files... 00:02:18 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/foundry_device-rfid-llrp-go_main@tmp/config1459761799724032345tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:02:18 ---> docker-login.sh 00:02:18 nexus3.edgexfoundry.org:10001 00:02:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:02:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:02:19 Configure a credential helper to remove this warning. See 00:02:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:02:19 00:02:19 Login Succeeded 00:02:19 nexus3.edgexfoundry.org:10002 00:02:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:02:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:02:19 Configure a credential helper to remove this warning. See 00:02:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:02:19 00:02:19 Login Succeeded 00:02:19 nexus3.edgexfoundry.org:10003 00:02:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:02:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:02:19 Configure a credential helper to remove this warning. See 00:02:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:02:19 00:02:19 Login Succeeded 00:02:19 nexus3.edgexfoundry.org:10004 00:02:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:02:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:02:19 Configure a credential helper to remove this warning. See 00:02:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:02:19 00:02:19 Login Succeeded 00:02:19 docker.io 00:02:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:02:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:02:20 Configure a credential helper to remove this warning. See 00:02:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:02:20 00:02:20 Login Succeeded 00:02:20 ---> docker-login.sh ends [Pipeline] } 00:02:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:02:20 + git rev-list -1 --merges 16bd43c538f9fa424729d14aac07513bbbf37459~1..16bd43c538f9fa424729d14aac07513bbbf37459 [Pipeline] echo 00:02:20 -----------> git rev-list -1 --merges 16bd43c538f9fa424729d14aac07513bbbf37459~1..16bd43c538f9fa424729d14aac07513bbbf37459 16bd43c538f9fa424729d14aac07513bbbf37459 [false] [Pipeline] sh 00:02:20 + git log --format=format:%s -1 16bd43c538f9fa424729d14aac07513bbbf37459 [Pipeline] echo 00:02:20 ========================================================= 00:02:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:02:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:02:21 + git log --format=format:%s -1 16bd43c538f9fa424729d14aac07513bbbf37459 [Pipeline] echo 00:02:21 [semverPrep] GIT_COMMIT: 16bd43c538f9fa424729d14aac07513bbbf37459, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 (#99) [Pipeline] echo 00:02:21 [semverPrep] This is not a build commit. [Pipeline] sh 00:02:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:02:21 + grep -v github /etc/ssh/ssh_known_hosts 00:02:21 + [ -e /tmp/ssh_known_hosts ] 00:02:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:02:21 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:02:21 + sudo tee -a /etc/ssh/ssh_known_hosts 00:02:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:02:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:02:22 00:02:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:02:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:02:22 0.1.4: Pulling from edgex-devops/py-git-semver 00:02:22 b85a868b505f: Pulling fs layer 00:02:22 e2be974225ed: Pulling fs layer 00:02:22 339a4e72a1f5: Pulling fs layer 00:02:22 988bab9f4d93: Pulling fs layer 00:02:22 1469e6f7b9e6: Pulling fs layer 00:02:22 eaf3925da568: Pulling fs layer 00:02:22 bab4dde63d76: Pulling fs layer 00:02:22 bde34c3a00c8: Pulling fs layer 00:02:22 b352a97aabf1: Pulling fs layer 00:02:22 4872d77fe225: Pulling fs layer 00:02:22 5851b861e8e6: Pulling fs layer 00:02:22 bde34c3a00c8: Waiting 00:02:22 b352a97aabf1: Waiting 00:02:22 4872d77fe225: Waiting 00:02:22 5851b861e8e6: Waiting 00:02:22 988bab9f4d93: Waiting 00:02:22 1469e6f7b9e6: Waiting 00:02:22 eaf3925da568: Waiting 00:02:22 bab4dde63d76: Waiting 00:02:22 e2be974225ed: Verifying Checksum 00:02:22 e2be974225ed: Download complete 00:02:22 988bab9f4d93: Verifying Checksum 00:02:22 988bab9f4d93: Download complete 00:02:22 339a4e72a1f5: Verifying Checksum 00:02:22 339a4e72a1f5: Download complete 00:02:22 1469e6f7b9e6: Verifying Checksum 00:02:22 1469e6f7b9e6: Download complete 00:02:22 eaf3925da568: Download complete 00:02:22 bde34c3a00c8: Verifying Checksum 00:02:22 bde34c3a00c8: Download complete 00:02:22 b352a97aabf1: Download complete 00:02:22 4872d77fe225: Download complete 00:02:22 5851b861e8e6: Verifying Checksum 00:02:22 5851b861e8e6: Download complete 00:02:22 b85a868b505f: Verifying Checksum 00:02:22 b85a868b505f: Download complete 00:02:22 bab4dde63d76: Verifying Checksum 00:02:22 bab4dde63d76: Download complete 00:02:24 b85a868b505f: Pull complete 00:02:24 e2be974225ed: Pull complete 00:02:24 339a4e72a1f5: Pull complete 00:02:24 988bab9f4d93: Pull complete 00:02:25 1469e6f7b9e6: Pull complete 00:02:25 eaf3925da568: Pull complete 00:02:27 bab4dde63d76: Pull complete 00:02:27 bde34c3a00c8: Pull complete 00:02:27 b352a97aabf1: Pull complete 00:02:27 4872d77fe225: Pull complete 00:02:27 5851b861e8e6: Pull complete 00:02:27 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:02:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:02:27 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:02:27 prd-ubuntu20.04-docker-8c-8g-19798 does not seem to be running inside a container 00:02:27 $ 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 00:02:29 $ docker top 83b8ad17b6ae885580424bab17e3c5374ab384748411cfcd425e5a9352d11816 -eo pid,comm 00:02:29 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 00:02:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:02:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:02:29 [ssh-agent] Looking for ssh-agent implementation... 00:02:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:02:29 $ docker exec 83b8ad17b6ae885580424bab17e3c5374ab384748411cfcd425e5a9352d11816 ssh-agent 00:02:29 SSH_AUTH_SOCK=/tmp/ssh-KrB8Nk4d83ca/agent.34 00:02:29 SSH_AGENT_PID=40 00:02:29 Running ssh-add (command line suppressed) 00:02:29 Identity added: /w/workspace/foundry_device-rfid-llrp-go_main@tmp/private_key_1998559991895849264.key (/w/workspace/foundry_device-rfid-llrp-go_main@tmp/private_key_1998559991895849264.key) 00:02:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:02:30 + git tag --points-at HEAD [Pipeline] } 00:02:30 $ docker exec --env ******** --env ******** 83b8ad17b6ae885580424bab17e3c5374ab384748411cfcd425e5a9352d11816 ssh-agent -k 00:02:30 unset SSH_AUTH_SOCK; 00:02:30 unset SSH_AGENT_PID; 00:02:30 echo Agent pid 40 killed; 00:02:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:02:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:02:30 [ssh-agent] Looking for ssh-agent implementation... 00:02:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:02:30 $ docker exec 83b8ad17b6ae885580424bab17e3c5374ab384748411cfcd425e5a9352d11816 ssh-agent 00:02:30 SSH_AUTH_SOCK=/tmp/ssh-7Hy0TAKDPJCP/agent.76 00:02:30 SSH_AGENT_PID=82 00:02:30 Running ssh-add (command line suppressed) 00:02:30 Identity added: /w/workspace/foundry_device-rfid-llrp-go_main@tmp/private_key_8520619609956875701.key (/w/workspace/foundry_device-rfid-llrp-go_main@tmp/private_key_8520619609956875701.key) 00:02:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:02:31 + git semver init 00:02:31 2022-07-13 00:02:31,303 [run_init] DEBUG init version:0.0.0 force:False 00:02:31 2022-07-13 00:02:31,304 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-rfid-llrp-go_main/.semver 00:02:31 2022-07-13 00:02:31,304 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rfid-llrp-go.git /w/workspace/foundry_device-rfid-llrp-go_main/.semver 00:02:31 2022-07-13 00:02:31,304 [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) 00:02:32 2022-07-13 00:02:32,069 [append_file] DEBUG append to file:/w/workspace/foundry_device-rfid-llrp-go_main/.git/info/exclude 00:02:32 2022-07-13 00:02:32,069 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-rfid-llrp-go_main/.semver/main with force:False 00:02:32 2022-07-13 00:02:32,069 [read_version] DEBUG read version from /w/workspace/foundry_device-rfid-llrp-go_main/.semver/main 00:02:32 2022-07-13 00:02:32,069 [read_version] DEBUG read version from /w/workspace/foundry_device-rfid-llrp-go_main/.semver/main 00:02:32 2.2.1-dev.6 [Pipeline] } 00:02:32 $ docker exec --env ******** --env ******** 83b8ad17b6ae885580424bab17e3c5374ab384748411cfcd425e5a9352d11816 ssh-agent -k 00:02:32 unset SSH_AUTH_SOCK; 00:02:32 unset SSH_AGENT_PID; 00:02:32 echo Agent pid 82 killed; 00:02:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:02:32 + git semver [Pipeline] } 00:02:33 $ docker stop --time=1 83b8ad17b6ae885580424bab17e3c5374ab384748411cfcd425e5a9352d11816 00:02:34 $ docker rm -f 83b8ad17b6ae885580424bab17e3c5374ab384748411cfcd425e5a9352d11816 [Pipeline] // withDockerContainer [Pipeline] sh 00:02:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:02:35 Stashed 1 file(s) [Pipeline] echo 00:02:35 [edgeXSemver]: initialized semver on version 2.2.1-dev.6 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:02:35 provisioning config files... 00:02:35 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/foundry_device-rfid-llrp-go_main@tmp/config1407072288492934940tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:02:35 ---> docker-login.sh 00:02:35 nexus3.edgexfoundry.org:10001 00:02:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:02:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:02:35 Configure a credential helper to remove this warning. See 00:02:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:02:35 00:02:35 Login Succeeded 00:02:35 nexus3.edgexfoundry.org:10002 00:02:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:02:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:02:35 Configure a credential helper to remove this warning. See 00:02:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:02:35 00:02:35 Login Succeeded 00:02:35 nexus3.edgexfoundry.org:10003 00:02:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:02:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:02:35 Configure a credential helper to remove this warning. See 00:02:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:02:35 00:02:35 Login Succeeded 00:02:35 nexus3.edgexfoundry.org:10004 00:02:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:02:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:02:35 Configure a credential helper to remove this warning. See 00:02:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:02:35 00:02:35 Login Succeeded 00:02:35 docker.io 00:02:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:02:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:02:36 Configure a credential helper to remove this warning. See 00:02:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:02:36 00:02:36 Login Succeeded 00:02:36 ---> docker-login.sh ends [Pipeline] } 00:02:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:02:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:02:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:02:36 ========================================================= 00:02:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 00:02:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:02:36 + 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 . 00:02:36 Sending build context to Docker daemon 4.037MB 00:02:36 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 00:02:36 Step 2/12 : FROM ${BASE} AS builder 00:02:36 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 00:02:36 2408cc74d12b: Pulling fs layer 00:02:36 ea60b727a1ce: Pulling fs layer 00:02:36 30c4a7721957: Pulling fs layer 00:02:36 370296b7ddb6: Pulling fs layer 00:02:36 7c6cee850709: Pulling fs layer 00:02:36 39a5fcdaea64: Pulling fs layer 00:02:36 d94ebbe4e438: Pulling fs layer 00:02:36 bcfd1f05c69d: Pulling fs layer 00:02:36 59ccb84bbe0f: Pulling fs layer 00:02:36 370296b7ddb6: Waiting 00:02:36 7c6cee850709: Waiting 00:02:36 39a5fcdaea64: Waiting 00:02:36 d94ebbe4e438: Waiting 00:02:36 bcfd1f05c69d: Waiting 00:02:36 59ccb84bbe0f: Waiting 00:02:36 30c4a7721957: Download complete 00:02:36 ea60b727a1ce: Download complete 00:02:36 7c6cee850709: Download complete 00:02:36 39a5fcdaea64: Verifying Checksum 00:02:36 39a5fcdaea64: Download complete 00:02:36 2408cc74d12b: Verifying Checksum 00:02:36 2408cc74d12b: Download complete 00:02:36 d94ebbe4e438: Verifying Checksum 00:02:36 d94ebbe4e438: Download complete 00:02:36 2408cc74d12b: Pull complete 00:02:37 ea60b727a1ce: Pull complete 00:02:37 30c4a7721957: Pull complete 00:02:37 59ccb84bbe0f: Verifying Checksum 00:02:37 59ccb84bbe0f: Download complete 00:02:37 bcfd1f05c69d: Verifying Checksum 00:02:37 bcfd1f05c69d: Download complete 00:02:37 370296b7ddb6: Verifying Checksum 00:02:37 370296b7ddb6: Download complete 00:02:43 370296b7ddb6: Pull complete 00:02:43 7c6cee850709: Pull complete 00:02:43 39a5fcdaea64: Pull complete 00:02:43 d94ebbe4e438: Pull complete 00:02:44 bcfd1f05c69d: Pull complete 00:02:45 59ccb84bbe0f: Pull complete 00:02:45 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 00:02:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 00:02:45 ---> a4fb48ad2a94 00:02:45 Step 3/12 : ARG MAKE='make build' 00:02:47 ---> Running in 9c8e7910790f 00:02:47 Removing intermediate container 9c8e7910790f 00:02:47 ---> f9c8d43e0024 00:02:47 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 00:02:47 ---> Running in 6ccdafe6de92 00:02:47 Removing intermediate container 6ccdafe6de92 00:02:47 ---> 2617bf28aa11 00:02:47 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 00:02:47 ---> Running in 2b1a12f6540e 00:02:47 Removing intermediate container 2b1a12f6540e 00:02:47 ---> 03d5ed4bc5f0 00:02:47 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:02:47 ---> Running in 3466ab8f71da 00:02:48 Removing intermediate container 3466ab8f71da 00:02:48 ---> d9e1b4f97aed 00:02:48 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:02:48 ---> Running in 2e129dc28aa9 00:02:48 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:02:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:02:49 OK: 211 MiB in 51 packages 00:02:50 Still waiting to schedule task 00:02:50 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 00:02:50 Removing intermediate container 2e129dc28aa9 00:02:50 ---> fc346208053c 00:02:50 Step 8/12 : WORKDIR /app 00:02:50 ---> Running in a5d34cbe5517 00:02:50 Removing intermediate container a5d34cbe5517 00:02:50 ---> 5af9513cef0e 00:02:50 Step 9/12 : COPY go.mod vendor* ./ 00:02:50 ---> 75d3af244be8 00:02:50 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:02:50 ---> Running in 847bcd0271a5 00:03:08 Removing intermediate container 847bcd0271a5 00:03:08 ---> 746b8005af07 00:03:08 Step 11/12 : COPY . . 00:03:08 ---> 84e638c7d9ab 00:03:08 Step 12/12 : RUN $MAKE 00:03:08 ---> Running in 9c70989086e1 00:03:08 noop 00:03:08 Removing intermediate container 9c70989086e1 00:03:08 ---> 1a519b608267 00:03:08 Successfully built 1a519b608267 00:03:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:03:08 + docker inspect -f . ci-base-image-x86_64 00:03:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:03:09 prd-ubuntu20.04-docker-8c-8g-19798 does not seem to be running inside a container 00:03: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 ******** -e ******** ci-base-image-x86_64 cat 00:03:09 $ docker top 5d9f11bf815eaff36bd5eaa320d45d87ce7b810844ea02c95da0d0e7098ba581 -eo pid,comm [Pipeline] { [Pipeline] sh 00:03:09 + go version 00:03:09 go version go1.18.3 linux/amd64 [Pipeline] } 00:03:09 $ docker stop --time=1 5d9f11bf815eaff36bd5eaa320d45d87ce7b810844ea02c95da0d0e7098ba581 00:03:11 $ docker rm -f 5d9f11bf815eaff36bd5eaa320d45d87ce7b810844ea02c95da0d0e7098ba581 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:03:11 + docker inspect -f . ci-base-image-x86_64 00:03:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:03:11 prd-ubuntu20.04-docker-8c-8g-19798 does not seem to be running inside a container 00:03:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -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 00:03:12 $ docker top 775b037e1acb260c2df32c991176f626d277c29d64acb251f83f8dec2a5c6ba6 -eo pid,comm [Pipeline] { [Pipeline] sh 00:03:12 + git config --global --add safe.directory /w/workspace/foundry_device-rfid-llrp-go_main [Pipeline] fileExists [Pipeline] sh 00:03:12 + make test 00:03:12 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:03:13 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 00:03:25 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 00:03:25 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 00:03:28 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 4.125s coverage: 39.3% of statements 00:03:28 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.244s coverage: 52.0% of statements 00:03:28 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.029s coverage: 95.5% of statements 00:03:38 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." 00:03:38 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:03:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:03:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:03:41 ./bin/test-attribution-txt.sh [Pipeline] echo 00:03:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:03:41 $ docker stop --time=1 775b037e1acb260c2df32c991176f626d277c29d64acb251f83f8dec2a5c6ba6 00:03:43 $ docker rm -f 775b037e1acb260c2df32c991176f626d277c29d64acb251f83f8dec2a5c6ba6 [Pipeline] // withDockerContainer [Pipeline] sh 00:03:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:03:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:03:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:03:44 + ls -al . 00:03:44 total 632 00:03:44 drwxrwxr-x 11 jenkins jenkins 4096 Jul 13 00:03 . 00:03:44 drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 00:02 .. 00:03:44 -rw-rw-r-- 1 jenkins jenkins 134 Jul 13 00:02 .dockerignore 00:03:44 drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 00:03 .git 00:03:44 drwxrwxr-x 3 jenkins jenkins 4096 Jul 13 00:02 .github 00:03:44 -rw-rw-r-- 1 jenkins jenkins 946 Jul 13 00:02 .gitignore 00:03:44 -rw-rw-r-- 1 jenkins jenkins 41 Jul 13 00:02 .golangci.yml 00:03:44 drwxr-xr-x 3 jenkins jenkins 4096 Jul 13 00:02 .semver 00:03:44 -rw-rw-r-- 1 jenkins jenkins 10362 Jul 13 00:02 Attribution.txt 00:03:44 -rw-rw-r-- 1 jenkins jenkins 3740 Jul 13 00:02 CHANGELOG.md 00:03:44 -rw-rw-r-- 1 jenkins jenkins 1518 Jul 13 00:02 Dockerfile 00:03:44 -rw-rw-r-- 1 jenkins jenkins 677 Jul 13 00:02 GOVERNANCE.md 00:03:44 -rw-rw-r-- 1 jenkins jenkins 683 Jul 13 00:02 Jenkinsfile 00:03:44 -rw-rw-r-- 1 jenkins jenkins 11347 Jul 13 00:02 LICENSE 00:03:44 -rw-rw-r-- 1 jenkins jenkins 2196 Jul 13 00:02 Makefile 00:03:44 -rw-rw-r-- 1 jenkins jenkins 625 Jul 13 00:02 OWNERS.md 00:03:44 -rw-rw-r-- 1 jenkins jenkins 28496 Jul 13 00:02 README.md 00:03:44 -rw-rw-r-- 1 jenkins jenkins 11 Jul 13 00:02 VERSION 00:03:44 drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 00:02 bin 00:03:44 drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 00:02 cmd 00:03:44 -rw-r--r-- 1 jenkins jenkins 460394 Jul 13 00:03 coverage.out 00:03:44 drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 00:02 examples 00:03:44 -rw-rw-r-- 1 jenkins jenkins 3355 Jul 13 00:02 go.mod 00:03:44 -rw-rw-r-- 1 jenkins jenkins 35188 Jul 13 00:02 go.sum 00:03:44 drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 00:02 images 00:03:44 drwxrwxr-x 5 jenkins jenkins 4096 Jul 13 00:02 internal 00:03:44 drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 00:02 snap 00:03:44 -rw-rw-r-- 1 jenkins jenkins 193 Jul 13 00:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:03:44 + 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=16bd43c538f9fa424729d14aac07513bbbf37459 --label arch=amd64 --label version=2.2.1-dev.6 . 00:03:44 Sending build context to Docker daemon 4.037MB 00:03:44 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 00:03:44 Step 2/25 : FROM ${BASE} AS builder 00:03:44 ---> 1a519b608267 00:03:44 Step 3/25 : ARG MAKE='make build' 00:03:44 ---> Running in 8e8d4421922c 00:03:44 Removing intermediate container 8e8d4421922c 00:03:44 ---> 12d23a5346eb 00:03:44 Step 4/25 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 00:03:44 ---> Running in e22cdefc8a22 00:03:44 Removing intermediate container e22cdefc8a22 00:03:44 ---> 7dcf4c899e5b 00:03:44 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 00:03:44 ---> Running in f60516c9fac7 00:03:45 Removing intermediate container f60516c9fac7 00:03:45 ---> 577ca1cc36b2 00:03:45 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:03:45 ---> Running in 28384446fbc6 00:03:45 Removing intermediate container 28384446fbc6 00:03:45 ---> e15dc6ac3486 00:03:45 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:03:45 ---> Running in 59274c6b73a5 00:03:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:03:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:03:47 OK: 211 MiB in 51 packages 00:03:47 Removing intermediate container 59274c6b73a5 00:03:47 ---> 3583d8d78031 00:03:47 Step 8/25 : WORKDIR /app 00:03:47 ---> Running in a39c693b936b 00:03:47 Removing intermediate container a39c693b936b 00:03:47 ---> ff9d38885f05 00:03:47 Step 9/25 : COPY go.mod vendor* ./ 00:03:47 ---> db2c40c95b63 00:03:47 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:03:47 ---> Running in 10405df9b1aa 00:03:48 Removing intermediate container 10405df9b1aa 00:03:48 ---> 8350cab171d8 00:03:48 Step 11/25 : COPY . . 00:03:48 ---> fa1adbcd70c2 00:03:48 Step 12/25 : RUN $MAKE 00:03:48 ---> Running in 133c771dc788 00:03:49 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.1-dev.12 -X github.com/edgexfoundry/device-rfid-llrp-go.Version=2.2.1-dev.6" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rfid-llrp ./cmd 00:04:11 Removing intermediate container 133c771dc788 00:04:11 ---> 8477e99279c8 00:04:11 Step 13/25 : FROM alpine:3.16 00:04:11 3.16: Pulling from library/alpine 00:04:11 2408cc74d12b: Already exists 00:04:11 Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c 00:04:11 Status: Downloaded newer image for alpine:3.16 00:04:11 ---> e66264b98777 00:04:11 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 00:04:11 ---> Running in f6ff11e214e8 00:04:11 Removing intermediate container f6ff11e214e8 00:04:11 ---> f6f66c7dd872 00:04:11 Step 15/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:04:11 ---> Running in 08ea90f02e88 00:04:12 Removing intermediate container 08ea90f02e88 00:04:12 ---> 649da745ffda 00:04:12 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 00:04:12 ---> Running in bf6fc5b9680f 00:04:12 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:04:13 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:04:14 (1/6) Installing dumb-init (1.2.5-r1) 00:04:14 (2/6) Installing libgcc (11.2.1_git20220219-r2) 00:04:14 (3/6) Installing libsodium (1.0.18-r0) 00:04:14 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 00:04:14 (5/6) Installing libzmq (4.3.4-r0) 00:04:14 (6/6) Installing zeromq (4.3.4-r0) 00:04:14 Executing busybox-1.35.0-r13.trigger 00:04:14 OK: 8 MiB in 20 packages 00:04:15 Removing intermediate container bf6fc5b9680f 00:04:15 ---> 1060a314189a 00:04:15 Step 17/25 : COPY --from=builder /app/LICENSE / 00:04:15 ---> a1853d24faf2 00:04:15 Step 18/25 : COPY --from=builder /app/Attribution.txt / 00:04:15 ---> 5323ff8fb571 00:04:15 Step 19/25 : COPY --from=builder /app/cmd/ / 00:04:16 ---> 3b995d63c060 00:04:16 Step 20/25 : EXPOSE 59989 00:04:16 ---> Running in 29fbaa8e5670 00:04:16 Removing intermediate container 29fbaa8e5670 00:04:16 ---> 3a412fe5a6a2 00:04:16 Step 21/25 : ENTRYPOINT ["/device-rfid-llrp"] 00:04:16 ---> Running in 964f24e4a4b3 00:04:16 Removing intermediate container 964f24e4a4b3 00:04:16 ---> 8618318c5ed6 00:04:16 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 00:04:16 ---> Running in c195fcfb3f6c 00:04:16 Removing intermediate container c195fcfb3f6c 00:04:16 ---> 2170560a944a 00:04:16 Step 23/25 : LABEL arch=amd64 00:04:16 ---> Running in 7c4178c3d9c5 00:04:16 Removing intermediate container 7c4178c3d9c5 00:04:16 ---> b56a0eaa56db 00:04:16 Step 24/25 : LABEL git_sha=16bd43c538f9fa424729d14aac07513bbbf37459 00:04:16 ---> Running in a05e3fb00718 00:04:16 Removing intermediate container a05e3fb00718 00:04:16 ---> d1ac42ba2f7e 00:04:16 Step 25/25 : LABEL version=2.2.1-dev.6 00:04:17 ---> Running in 12e60b74d94a 00:04:17 Removing intermediate container 12e60b74d94a 00:04:17 ---> b3e76c7eca24 00:04:17 [Warning] One or more build-args [ARCH] were not consumed 00:04:17 Successfully built b3e76c7eca24 00:04:17 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 00:04:17 provisioning config files... 00:04:17 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/foundry_device-rfid-llrp-go_main@tmp/config437963148119344493tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:04:17 ---> docker-login.sh 00:04:17 nexus3.edgexfoundry.org:10001 00:04:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:04:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:04:17 Configure a credential helper to remove this warning. See 00:04:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:04:17 00:04:17 Login Succeeded 00:04:17 nexus3.edgexfoundry.org:10002 00:04:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:04:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:04:17 Configure a credential helper to remove this warning. See 00:04:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:04:17 00:04:17 Login Succeeded 00:04:17 nexus3.edgexfoundry.org:10003 00:04:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:04:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:04:17 Configure a credential helper to remove this warning. See 00:04:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:04:17 00:04:17 Login Succeeded 00:04:17 nexus3.edgexfoundry.org:10004 00:04:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:04:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:04:17 Configure a credential helper to remove this warning. See 00:04:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:04:17 00:04:17 Login Succeeded 00:04:17 docker.io 00:04:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:04:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:04:18 Configure a credential helper to remove this warning. See 00:04:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:04:18 00:04:18 Login Succeeded 00:04:18 ---> docker-login.sh ends [Pipeline] } 00:04:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:04:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:04:18 [edgeXDocker.push] Tagging docker image device-rfid-llrp with the following tags: 00:04:18 16bd43c538f9fa424729d14aac07513bbbf37459 00:04:18 latest 00:04:18 2.2.1-dev.6 00:04:18 16bd43c538f9fa424729d14aac07513bbbf37459-2.2.1-dev.6 00:04:18 main 00:04:18 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:04:18 + docker tag device-rfid-llrp nexus3.edgexfoundry.org:10004/device-rfid-llrp:16bd43c538f9fa424729d14aac07513bbbf37459 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:04:18 + docker push nexus3.edgexfoundry.org:10004/device-rfid-llrp:16bd43c538f9fa424729d14aac07513bbbf37459 00:04:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rfid-llrp] 00:04:18 1d51893654b3: Preparing 00:04:18 77214be8320e: Preparing 00:04:18 181010e96804: Preparing 00:04:18 16b1627a4033: Preparing 00:04:18 eec0b94d7261: Preparing 00:04:18 24302eb7d908: Preparing 00:04:18 eec0b94d7261: Pushed 00:04:18 77214be8320e: Pushed 00:04:18 181010e96804: Pushed 00:04:18 24302eb7d908: Layer already exists 00:04:19 16b1627a4033: Pushed 00:04:22 1d51893654b3: Pushed 00:04:22 16bd43c538f9fa424729d14aac07513bbbf37459: digest: sha256:f7cf80dd72ed6d5903ab7a99ac8632cee824f3703e88bc3e8e9dcb0ed1098e39 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:04:22 + docker tag device-rfid-llrp nexus3.edgexfoundry.org:10004/device-rfid-llrp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:04:23 + docker push nexus3.edgexfoundry.org:10004/device-rfid-llrp:latest 00:04:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rfid-llrp] 00:04:23 1d51893654b3: Preparing 00:04:23 77214be8320e: Preparing 00:04:23 181010e96804: Preparing 00:04:23 16b1627a4033: Preparing 00:04:23 eec0b94d7261: Preparing 00:04:23 24302eb7d908: Preparing 00:04:23 24302eb7d908: Waiting 00:04:23 16b1627a4033: Layer already exists 00:04:23 77214be8320e: Layer already exists 00:04:23 181010e96804: Layer already exists 00:04:23 1d51893654b3: Layer already exists 00:04:23 eec0b94d7261: Layer already exists 00:04:23 24302eb7d908: Layer already exists 00:04:23 latest: digest: sha256:f7cf80dd72ed6d5903ab7a99ac8632cee824f3703e88bc3e8e9dcb0ed1098e39 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:04:23 + docker tag device-rfid-llrp nexus3.edgexfoundry.org:10004/device-rfid-llrp:2.2.1-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:04:23 + docker push nexus3.edgexfoundry.org:10004/device-rfid-llrp:2.2.1-dev.6 00:04:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rfid-llrp] 00:04:23 1d51893654b3: Preparing 00:04:23 77214be8320e: Preparing 00:04:23 181010e96804: Preparing 00:04:23 16b1627a4033: Preparing 00:04:23 eec0b94d7261: Preparing 00:04:23 24302eb7d908: Preparing 00:04:23 24302eb7d908: Waiting 00:04:23 eec0b94d7261: Layer already exists 00:04:23 1d51893654b3: Layer already exists 00:04:23 181010e96804: Layer already exists 00:04:23 16b1627a4033: Layer already exists 00:04:23 77214be8320e: Layer already exists 00:04:23 24302eb7d908: Layer already exists 00:04:23 2.2.1-dev.6: digest: sha256:f7cf80dd72ed6d5903ab7a99ac8632cee824f3703e88bc3e8e9dcb0ed1098e39 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:04:24 + docker tag device-rfid-llrp nexus3.edgexfoundry.org:10004/device-rfid-llrp:16bd43c538f9fa424729d14aac07513bbbf37459-2.2.1-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:04:24 + docker push nexus3.edgexfoundry.org:10004/device-rfid-llrp:16bd43c538f9fa424729d14aac07513bbbf37459-2.2.1-dev.6 00:04:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rfid-llrp] 00:04:24 1d51893654b3: Preparing 00:04:24 77214be8320e: Preparing 00:04:24 181010e96804: Preparing 00:04:24 16b1627a4033: Preparing 00:04:24 eec0b94d7261: Preparing 00:04:24 24302eb7d908: Preparing 00:04:24 24302eb7d908: Waiting 00:04:24 181010e96804: Layer already exists 00:04:24 77214be8320e: Layer already exists 00:04:24 eec0b94d7261: Layer already exists 00:04:24 16b1627a4033: Layer already exists 00:04:24 1d51893654b3: Layer already exists 00:04:24 24302eb7d908: Layer already exists 00:04:24 16bd43c538f9fa424729d14aac07513bbbf37459-2.2.1-dev.6: digest: sha256:f7cf80dd72ed6d5903ab7a99ac8632cee824f3703e88bc3e8e9dcb0ed1098e39 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:04:24 + docker tag device-rfid-llrp nexus3.edgexfoundry.org:10004/device-rfid-llrp:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:04:25 + docker push nexus3.edgexfoundry.org:10004/device-rfid-llrp:main 00:04:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rfid-llrp] 00:04:25 1d51893654b3: Preparing 00:04:25 77214be8320e: Preparing 00:04:25 181010e96804: Preparing 00:04:25 16b1627a4033: Preparing 00:04:25 eec0b94d7261: Preparing 00:04:25 24302eb7d908: Preparing 00:04:25 16b1627a4033: Layer already exists 00:04:25 1d51893654b3: Layer already exists 00:04:25 181010e96804: Layer already exists 00:04:25 eec0b94d7261: Layer already exists 00:04:25 77214be8320e: Layer already exists 00:04:25 24302eb7d908: Layer already exists 00:04:25 main: digest: sha256:f7cf80dd72ed6d5903ab7a99ac8632cee824f3703e88bc3e8e9dcb0ed1098e39 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:04:25 ===================================================== [Pipeline] echo 00:04:25 taggedImages: 00:04:25 - nexus3.edgexfoundry.org:10004/device-rfid-llrp:16bd43c538f9fa424729d14aac07513bbbf37459 00:04:25 - nexus3.edgexfoundry.org:10004/device-rfid-llrp:latest 00:04:25 - nexus3.edgexfoundry.org:10004/device-rfid-llrp:2.2.1-dev.6 00:04:25 - nexus3.edgexfoundry.org:10004/device-rfid-llrp:16bd43c538f9fa424729d14aac07513bbbf37459-2.2.1-dev.6 00:04:25 - 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 00:04:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:04:25 00:04:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:04:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:04:25 latest: Pulling from edgex-lftools-log-publisher 00:04:25 5eb5b503b376: Pulling fs layer 00:04:25 5c69ac0246d0: Pulling fs layer 00:04:25 ec43610c2a17: Pulling fs layer 00:04:25 3a2ae6a8a46f: Pulling fs layer 00:04:25 33b1e0a273af: Pulling fs layer 00:04:25 5d3b04190fa2: Pulling fs layer 00:04:25 2f39f015ded8: Pulling fs layer 00:04:25 33b1e0a273af: Waiting 00:04:25 5d3b04190fa2: Waiting 00:04:25 2f39f015ded8: Waiting 00:04:25 3a2ae6a8a46f: Waiting 00:04:25 5c69ac0246d0: Download complete 00:04:25 3a2ae6a8a46f: Verifying Checksum 00:04:25 3a2ae6a8a46f: Download complete 00:04:26 Running on prd-ubuntu20.04-docker-arm64-4c-16g-19799 in /w/workspace/foundry_device-rfid-llrp-go_main [Pipeline] { [Pipeline] ws 00:04:26 Running in /w/workspace/device-rfid-llrp-go/41 [Pipeline] { [Pipeline] checkout 00:04:26 Selected Git installation does not exist. Using Default 00:04:26 The recommended git tool is: NONE 00:04:26 ec43610c2a17: Verifying Checksum 00:04:26 ec43610c2a17: Download complete 00:04:26 33b1e0a273af: Verifying Checksum 00:04:26 33b1e0a273af: Download complete 00:04:26 5d3b04190fa2: Verifying Checksum 00:04:26 5d3b04190fa2: Download complete 00:04:26 5eb5b503b376: Verifying Checksum 00:04:26 5eb5b503b376: Download complete 00:04:26 2f39f015ded8: Download complete 00:04:27 5eb5b503b376: Pull complete 00:04:27 5c69ac0246d0: Pull complete 00:04:28 ec43610c2a17: Pull complete 00:04:28 3a2ae6a8a46f: Pull complete 00:04:28 33b1e0a273af: Pull complete 00:04:28 5d3b04190fa2: Pull complete 00:04:32 using credential edgex-jenkins-ssh 00:04:32 Cloning the remote Git repository 00:04:32 Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git 00:04:33 > git init /w/workspace/device-rfid-llrp-go/41 # timeout=10 00:04:33 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 00:04:33 > git --version # timeout=10 00:04:33 > git --version # 'git version 2.25.1' 00:04:33 using GIT_SSH to set credentials SSH Credentials for GitHub 00:04:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:04:34 2f39f015ded8: Pull complete 00:04:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:04:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:04:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:04:34 prd-ubuntu20.04-docker-8c-8g-19798 does not seem to be running inside a container 00:04:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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 00:04:34 Avoid second fetch 00:04:34 Checking out Revision 16bd43c538f9fa424729d14aac07513bbbf37459 (main) 00:04:34 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 00:04:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:04:34 > git config core.sparsecheckout # timeout=10 00:04:34 > git checkout -f 16bd43c538f9fa424729d14aac07513bbbf37459 # timeout=10 00:04:36 $ docker top 4dec1c323b46475f3c47fde2fe01b1677d6ef772fe6022573c41faecfeb2b525 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:04:36 ---> job-cost.sh 00:04:36 lf-activate-venv: SKIPPING 00:04:36 INFO: No Stack... 00:04:36 INFO: Retrieving Pricing Info for: v3-standard-8 00:04:37 INFO: Archiving Costs [Pipeline] sh 00:04:37 + cat /w/workspace/foundry_device-rfid-llrp-go_main/archives/cost.csv 00:04:37 + cut -d, -f6 [Pipeline] lock 00:04:37 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-main-41-stack-cost] 00:04:37 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-main-41-stack-cost] did not exist. Created. 00:04:37 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-main-41-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:04:38 + echo total: 0.2199999988079071 [Pipeline] stash 00:04:38 Stashed 1 file(s) [Pipeline] } 00:04:38 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-main-41-stack-cost] [Pipeline] // lock [Pipeline] } 00:04:38 $ docker stop --time=1 4dec1c323b46475f3c47fde2fe01b1677d6ef772fe6022573c41faecfeb2b525 00:04:39 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 (#99)" 00:04:39 $ docker rm -f 4dec1c323b46475f3c47fde2fe01b1677d6ef772fe6022573c41faecfeb2b525 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:04:39 00:04:39 GitHub has been notified of this commit’s build result 00:04:39 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:04:40 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:04:40 % Total % Received % Xferd Average Speed Time Time Time Current 00:04:40 Dload Upload Total Spent Left Speed 00:04:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 97 12276 97 11882 0 0 83676 0 --:--:-- --:--:-- --:--:-- 83090 100 12276 100 12276 0 0 85250 0 --:--:-- --:--:-- --:--:-- 84662 [Pipeline] sh 00:04:41 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:04:41 + sudo tee /etc/docker/daemon.new 00:04:41 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:04:41 { 00:04:41 "registry-mirrors": [ 00:04:41 "https://nexus3.edgexfoundry.org:10001" 00:04:41 ], 00:04:41 "bip": "10.250.0.254/24", 00:04:41 "hosts": [ 00:04:41 "tcp://0.0.0.0:5555", 00:04:41 "unix:///var/run/docker.sock" 00:04:41 ], 00:04:41 "mtu": 1458, 00:04:41 "selinux-enabled": true, 00:04:41 "seccomp-profile": "/etc/docker/seccomp.json" 00:04:41 } [Pipeline] sh 00:04:41 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:04:42 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:05:00 provisioning config files... 00:05:00 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/device-rfid-llrp-go/41@tmp/config3932262090175870201tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:05:01 ---> docker-login.sh 00:05:01 nexus3.edgexfoundry.org:10001 00:05:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:05:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:05:01 Configure a credential helper to remove this warning. See 00:05:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:05:01 00:05:01 Login Succeeded 00:05:01 nexus3.edgexfoundry.org:10002 00:05:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:05:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:05:02 Configure a credential helper to remove this warning. See 00:05:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:05:02 00:05:02 Login Succeeded 00:05:02 nexus3.edgexfoundry.org:10003 00:05:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:05:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:05:02 Configure a credential helper to remove this warning. See 00:05:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:05:02 00:05:02 Login Succeeded 00:05:02 nexus3.edgexfoundry.org:10004 00:05:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:05:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:05:03 Configure a credential helper to remove this warning. See 00:05:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:05:03 00:05:03 Login Succeeded 00:05:03 docker.io 00:05:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:05:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:05:03 Configure a credential helper to remove this warning. See 00:05:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:05:03 00:05:03 Login Succeeded 00:05:03 ---> docker-login.sh ends [Pipeline] } 00:05:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:05:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:05:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:05:04 ========================================================= 00:05:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 00:05:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:05:04 + 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 . 00:05:05 Sending build context to Docker daemon 1.229MB 00:05:05 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 00:05:05 Step 2/12 : FROM ${BASE} AS builder 00:05:05 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:05:05 b3c136eddcbf: Pulling fs layer 00:05:05 c0a3192eca97: Pulling fs layer 00:05:05 a050256f5b6f: Pulling fs layer 00:05:05 656be50a0ddc: Pulling fs layer 00:05:05 2bbca73fdf42: Pulling fs layer 00:05:05 46d945488cbd: Pulling fs layer 00:05:05 8a5474983e97: Pulling fs layer 00:05:05 329c88fbcd65: Pulling fs layer 00:05:05 656be50a0ddc: Waiting 00:05:05 2bbca73fdf42: Waiting 00:05:05 46d945488cbd: Waiting 00:05:05 8a5474983e97: Waiting 00:05:05 329c88fbcd65: Waiting 00:05:05 a050256f5b6f: Verifying Checksum 00:05:05 a050256f5b6f: Download complete 00:05:05 c0a3192eca97: Verifying Checksum 00:05:05 c0a3192eca97: Download complete 00:05:05 2bbca73fdf42: Verifying Checksum 00:05:05 2bbca73fdf42: Download complete 00:05:05 46d945488cbd: Verifying Checksum 00:05:05 46d945488cbd: Download complete 00:05:05 b3c136eddcbf: Verifying Checksum 00:05:05 b3c136eddcbf: Download complete 00:05:06 b3c136eddcbf: Pull complete 00:05:06 329c88fbcd65: Verifying Checksum 00:05:06 329c88fbcd65: Download complete 00:05:06 c0a3192eca97: Pull complete 00:05:07 a050256f5b6f: Pull complete 00:05:07 8a5474983e97: Verifying Checksum 00:05:07 8a5474983e97: Download complete 00:05:08 656be50a0ddc: Verifying Checksum 00:05:08 656be50a0ddc: Download complete 00:05:20 656be50a0ddc: Pull complete 00:05:20 2bbca73fdf42: Pull complete 00:05:20 46d945488cbd: Pull complete 00:05:27 8a5474983e97: Pull complete 00:05:28 329c88fbcd65: Pull complete 00:05:28 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 00:05:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 00:05:28 ---> ff4287adb874 00:05:28 Step 3/12 : ARG MAKE='make build' 00:05:29 ---> Running in 87e35823c24e 00:05:29 Removing intermediate container 87e35823c24e 00:05:29 ---> e3d10c7613cd 00:05:29 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 00:05:29 ---> Running in 6daf898ade18 00:05:30 Removing intermediate container 6daf898ade18 00:05:30 ---> 41ef6a2fe278 00:05:30 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 00:05:30 ---> Running in dd32863109f6 00:05:30 Removing intermediate container dd32863109f6 00:05:30 ---> 5ce54a84f41c 00:05:30 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:05:30 ---> Running in de6ab27b5671 00:05:32 Removing intermediate container de6ab27b5671 00:05:32 ---> 29ab1af7a575 00:05:32 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:05:32 ---> Running in 56fd53d19e8a 00:05:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:05:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:05:35 OK: 221 MiB in 51 packages 00:05:36 Removing intermediate container 56fd53d19e8a 00:05:36 ---> ccf03cc671ec 00:05:36 Step 8/12 : WORKDIR /app 00:05:36 ---> Running in aa276d0cb04b 00:05:36 Removing intermediate container aa276d0cb04b 00:05:36 ---> 9953fffd3fd6 00:05:36 Step 9/12 : COPY go.mod vendor* ./ 00:05:36 ---> a275ea27c277 00:05:36 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:05:36 ---> Running in 6b82e737486f 00:06:23 Removing intermediate container 6b82e737486f 00:06:23 ---> a5d3d136d581 00:06:23 Step 11/12 : COPY . . 00:06:24 ---> 0a397d34fc27 00:06:24 Step 12/12 : RUN $MAKE 00:06:24 ---> Running in 84922121787a 00:06:25 noop 00:06:25 Removing intermediate container 84922121787a 00:06:25 ---> bd1659faf159 00:06:25 Successfully built bd1659faf159 00:06:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:25 + docker inspect -f . ci-base-image-arm64 00:06:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:06:26 prd-ubuntu20.04-docker-arm64-4c-16g-19799 does not seem to be running inside a container 00:06:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rfid-llrp-go/41 -v /w/workspace/device-rfid-llrp-go/41:/w/workspace/device-rfid-llrp-go/41:rw,z -v /w/workspace/device-rfid-llrp-go/41@tmp:/w/workspace/device-rfid-llrp-go/41@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 00:06:27 $ docker top 7c0634082b820d9cc0ab44a3a9d740d4833b4b03ff2b7fd6466c837122e581bb -eo pid,comm [Pipeline] { [Pipeline] sh 00:06:28 + go version 00:06:28 go version go1.18.3 linux/arm64 [Pipeline] } 00:06:28 $ docker stop --time=1 7c0634082b820d9cc0ab44a3a9d740d4833b4b03ff2b7fd6466c837122e581bb 00:06:30 $ docker rm -f 7c0634082b820d9cc0ab44a3a9d740d4833b4b03ff2b7fd6466c837122e581bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:06:30 + docker inspect -f . ci-base-image-arm64 00:06:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:06:30 prd-ubuntu20.04-docker-arm64-4c-16g-19799 does not seem to be running inside a container 00:06:30 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-rfid-llrp-go/41 -v /w/workspace/device-rfid-llrp-go/41:/w/workspace/device-rfid-llrp-go/41:rw,z -v /w/workspace/device-rfid-llrp-go/41@tmp:/w/workspace/device-rfid-llrp-go/41@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 00:06:32 $ docker top f67fcdf1b3ca1264a3c90fc047bc377b9c7cadc3d46364cf328a540186be8662 -eo pid,comm [Pipeline] { [Pipeline] sh 00:06:33 + git config --global --add safe.directory /w/workspace/device-rfid-llrp-go/41 [Pipeline] fileExists [Pipeline] sh 00:06:34 + make test 00:06:34 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 00:06:35 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 00:07:58 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 00:07:58 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 00:08:30 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 25.207s coverage: 39.3% of statements 00:08:30 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.522s coverage: 52.0% of statements 00:08:30 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.079s coverage: 96.4% of statements 00:08:30 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:08:30 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:08:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:08:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:08:48 ./bin/test-attribution-txt.sh [Pipeline] echo 00:08:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:08:49 $ docker stop --time=1 f67fcdf1b3ca1264a3c90fc047bc377b9c7cadc3d46364cf328a540186be8662 00:08:51 $ docker rm -f f67fcdf1b3ca1264a3c90fc047bc377b9c7cadc3d46364cf328a540186be8662 [Pipeline] // withDockerContainer [Pipeline] sh 00:08:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:08:52 Warning: overwriting stash ‘coverage-report’ 00:08:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:08:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:08:53 + ls -al . 00:08:53 total 628 00:08:53 drwxrwxr-x 10 jenkins jenkins 4096 Jul 13 00:06 . 00:08:53 drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 00:04 .. 00:08:53 -rw-rw-r-- 1 jenkins jenkins 134 Jul 13 00:04 .dockerignore 00:08:53 drwxrwxr-x 8 jenkins jenkins 4096 Jul 13 00:04 .git 00:08:53 drwxrwxr-x 3 jenkins jenkins 4096 Jul 13 00:04 .github 00:08:53 -rw-rw-r-- 1 jenkins jenkins 946 Jul 13 00:04 .gitignore 00:08:53 -rw-rw-r-- 1 jenkins jenkins 41 Jul 13 00:04 .golangci.yml 00:08:53 -rw-rw-r-- 1 jenkins jenkins 10362 Jul 13 00:04 Attribution.txt 00:08:53 -rw-rw-r-- 1 jenkins jenkins 3740 Jul 13 00:04 CHANGELOG.md 00:08:53 -rw-rw-r-- 1 jenkins jenkins 1518 Jul 13 00:04 Dockerfile 00:08:53 -rw-rw-r-- 1 jenkins jenkins 677 Jul 13 00:04 GOVERNANCE.md 00:08:53 -rw-rw-r-- 1 jenkins jenkins 683 Jul 13 00:04 Jenkinsfile 00:08:53 -rw-rw-r-- 1 jenkins jenkins 11347 Jul 13 00:04 LICENSE 00:08:53 -rw-rw-r-- 1 jenkins jenkins 2196 Jul 13 00:04 Makefile 00:08:53 -rw-rw-r-- 1 jenkins jenkins 625 Jul 13 00:04 OWNERS.md 00:08:53 -rw-rw-r-- 1 jenkins jenkins 28496 Jul 13 00:04 README.md 00:08:53 -rw-rw-r-- 1 jenkins jenkins 11 Jul 13 00:02 VERSION 00:08:53 drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 00:04 bin 00:08:53 drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 00:04 cmd 00:08:53 -rw-r--r-- 1 jenkins jenkins 460394 Jul 13 00:08 coverage.out 00:08:53 drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 00:04 examples 00:08:53 -rw-rw-r-- 1 jenkins jenkins 3355 Jul 13 00:04 go.mod 00:08:53 -rw-rw-r-- 1 jenkins jenkins 35188 Jul 13 00:04 go.sum 00:08:53 drwxrwxr-x 2 jenkins jenkins 4096 Jul 13 00:04 images 00:08:53 drwxrwxr-x 5 jenkins jenkins 4096 Jul 13 00:04 internal 00:08:53 drwxrwxr-x 4 jenkins jenkins 4096 Jul 13 00:04 snap 00:08:53 -rw-rw-r-- 1 jenkins jenkins 193 Jul 13 00:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:08:53 + 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=16bd43c538f9fa424729d14aac07513bbbf37459 --label arch=arm64 --label version=2.2.1-dev.6 . 00:08:54 Sending build context to Docker daemon 1.229MB 00:08:54 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 00:08:54 Step 2/25 : FROM ${BASE} AS builder 00:08:54 ---> bd1659faf159 00:08:54 Step 3/25 : ARG MAKE='make build' 00:08:54 ---> Running in 00f9b772c0fc 00:08:54 Removing intermediate container 00f9b772c0fc 00:08:54 ---> 482783b9a4a2 00:08:54 Step 4/25 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 00:08:54 ---> Running in dd186e13648a 00:08:54 Removing intermediate container dd186e13648a 00:08:54 ---> 9a0f715c7e28 00:08:54 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 00:08:54 ---> Running in 417c82a6b0dc 00:08:55 Removing intermediate container 417c82a6b0dc 00:08:55 ---> 2208e68b1830 00:08:55 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:08:55 ---> Running in 959f010ce06c 00:08:56 Removing intermediate container 959f010ce06c 00:08:56 ---> 8b1b8a8cb0c0 00:08:56 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:08:57 ---> Running in 7106d95b768b 00:08:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:08:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:09:00 OK: 221 MiB in 51 packages 00:09:00 Removing intermediate container 7106d95b768b 00:09:00 ---> 7d66b66bbc4f 00:09:00 Step 8/25 : WORKDIR /app 00:09:00 ---> Running in 9da794c27df8 00:09:01 Removing intermediate container 9da794c27df8 00:09:01 ---> 5f5b68fbd817 00:09:01 Step 9/25 : COPY go.mod vendor* ./ 00:09:01 ---> fbc5515f90d1 00:09:01 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:09:01 ---> Running in feffb29bb9cc 00:09:03 Removing intermediate container feffb29bb9cc 00:09:03 ---> 0647d1af589f 00:09:03 Step 11/25 : COPY . . 00:09:04 ---> fdb453dcad6f 00:09:04 Step 12/25 : RUN $MAKE 00:09:04 ---> Running in 0e3d8accc4f1 00:09:05 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.1-dev.12 -X github.com/edgexfoundry/device-rfid-llrp-go.Version=2.2.1-dev.6" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rfid-llrp ./cmd 00:11:12 Removing intermediate container 0e3d8accc4f1 00:11:12 ---> bb57e9d4ef32 00:11:12 Step 13/25 : FROM alpine:3.16 00:11:12 3.16: Pulling from library/alpine 00:11:12 b3c136eddcbf: Already exists 00:11:12 Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c 00:11:12 Status: Downloaded newer image for alpine:3.16 00:11:12 ---> 6e30ab57aeee 00:11:12 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 00:11:12 ---> Running in e647f270e654 00:11:13 Removing intermediate container e647f270e654 00:11:13 ---> 32fa95a3b810 00:11:13 Step 15/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 00:11:13 ---> Running in 14d28be6dc50 00:11:15 Removing intermediate container 14d28be6dc50 00:11:15 ---> a64e87835eba 00:11:15 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 00:11:15 ---> Running in e427b15b601f 00:11:16 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:11:16 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:11:17 (1/6) Installing dumb-init (1.2.5-r1) 00:11:17 (2/6) Installing libgcc (11.2.1_git20220219-r2) 00:11:18 (3/6) Installing libsodium (1.0.18-r0) 00:11:18 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 00:11:18 (5/6) Installing libzmq (4.3.4-r0) 00:11:18 (6/6) Installing zeromq (4.3.4-r0) 00:11:18 Executing busybox-1.35.0-r13.trigger 00:11:18 OK: 8 MiB in 20 packages 00:11:19 Removing intermediate container e427b15b601f 00:11:19 ---> 7199f03096aa 00:11:19 Step 17/25 : COPY --from=builder /app/LICENSE / 00:11:19 ---> 5b0586f26410 00:11:19 Step 18/25 : COPY --from=builder /app/Attribution.txt / 00:11:20 ---> 8ca87758ed92 00:11:20 Step 19/25 : COPY --from=builder /app/cmd/ / 00:11:21 ---> d4e952d43442 00:11:21 Step 20/25 : EXPOSE 59989 00:11:21 ---> Running in 8165a66f2105 00:11:22 Removing intermediate container 8165a66f2105 00:11:22 ---> 81b371e02560 00:11:22 Step 21/25 : ENTRYPOINT ["/device-rfid-llrp"] 00:11:22 ---> Running in 6e10c0f65a86 00:11:22 Removing intermediate container 6e10c0f65a86 00:11:22 ---> 4f2e75e5a0c6 00:11:22 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 00:11:22 ---> Running in 21876d0e2e4a 00:11:23 Removing intermediate container 21876d0e2e4a 00:11:23 ---> fb8310dea755 00:11:23 Step 23/25 : LABEL arch=arm64 00:11:23 ---> Running in 4dc289597d51 00:11:23 Removing intermediate container 4dc289597d51 00:11:23 ---> f85ed6985c2f 00:11:23 Step 24/25 : LABEL git_sha=16bd43c538f9fa424729d14aac07513bbbf37459 00:11:23 ---> Running in d763685975fc 00:11:23 Removing intermediate container d763685975fc 00:11:23 ---> dac7099df3bf 00:11:23 Step 25/25 : LABEL version=2.2.1-dev.6 00:11:23 ---> Running in 1eeb684f5ee5 00:11:24 Removing intermediate container 1eeb684f5ee5 00:11:24 ---> bcfebbd5ec9e 00:11:24 [Warning] One or more build-args [ARCH] were not consumed 00:11:24 Successfully built bcfebbd5ec9e 00:11:24 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 00:11:24 provisioning config files... 00:11:24 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/device-rfid-llrp-go/41@tmp/config6810628566006679834tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:11:24 ---> docker-login.sh 00:11:24 nexus3.edgexfoundry.org:10001 00:11:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:25 Configure a credential helper to remove this warning. See 00:11:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:25 00:11:25 Login Succeeded 00:11:25 nexus3.edgexfoundry.org:10002 00:11:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:25 Configure a credential helper to remove this warning. See 00:11:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:25 00:11:25 Login Succeeded 00:11:25 nexus3.edgexfoundry.org:10003 00:11:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:26 Configure a credential helper to remove this warning. See 00:11:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:26 00:11:26 Login Succeeded 00:11:26 nexus3.edgexfoundry.org:10004 00:11:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:26 Configure a credential helper to remove this warning. See 00:11:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:26 00:11:26 Login Succeeded 00:11:26 docker.io 00:11:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:11:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:11:27 Configure a credential helper to remove this warning. See 00:11:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:11:27 00:11:27 Login Succeeded 00:11:27 ---> docker-login.sh ends [Pipeline] } 00:11:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:11:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:11:27 [edgeXDocker.push] Tagging docker image device-rfid-llrp-arm64 with the following tags: 00:11:27 16bd43c538f9fa424729d14aac07513bbbf37459 00:11:27 latest 00:11:27 2.2.1-dev.6 00:11:27 16bd43c538f9fa424729d14aac07513bbbf37459-2.2.1-dev.6 00:11:27 main 00:11:27 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:11:28 + docker tag device-rfid-llrp-arm64 nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64:16bd43c538f9fa424729d14aac07513bbbf37459 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:11:28 + docker push nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64:16bd43c538f9fa424729d14aac07513bbbf37459 00:11:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64] 00:11:28 cf3c6c2efd54: Preparing 00:11:28 31c15ca17f57: Preparing 00:11:28 ae5ab08bd1f1: Preparing 00:11:28 25a4d1aba0cf: Preparing 00:11:28 50bf5fe5443f: Preparing 00:11:28 dd565ff850e7: Preparing 00:11:28 dd565ff850e7: Waiting 00:11:28 ae5ab08bd1f1: Pushed 00:11:28 31c15ca17f57: Pushed 00:11:28 50bf5fe5443f: Pushed 00:11:28 dd565ff850e7: Layer already exists 00:11:29 25a4d1aba0cf: Pushed 00:11:34 cf3c6c2efd54: Pushed 00:11:34 16bd43c538f9fa424729d14aac07513bbbf37459: digest: sha256:425323776a46b17e1708c30ef052cfb8fc10bbde668fe96bf1fef75ba9068366 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:11:35 + docker tag device-rfid-llrp-arm64 nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:11:35 + docker push nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64:latest 00:11:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64] 00:11:35 cf3c6c2efd54: Preparing 00:11:35 31c15ca17f57: Preparing 00:11:35 ae5ab08bd1f1: Preparing 00:11:35 25a4d1aba0cf: Preparing 00:11:35 50bf5fe5443f: Preparing 00:11:35 dd565ff850e7: Preparing 00:11:35 dd565ff850e7: Waiting 00:11:35 cf3c6c2efd54: Layer already exists 00:11:35 31c15ca17f57: Layer already exists 00:11:35 25a4d1aba0cf: Layer already exists 00:11:35 50bf5fe5443f: Layer already exists 00:11:35 ae5ab08bd1f1: Layer already exists 00:11:35 dd565ff850e7: Layer already exists 00:11:35 latest: digest: sha256:425323776a46b17e1708c30ef052cfb8fc10bbde668fe96bf1fef75ba9068366 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:11:36 + docker tag device-rfid-llrp-arm64 nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64:2.2.1-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:11:36 + docker push nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64:2.2.1-dev.6 00:11:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64] 00:11:36 cf3c6c2efd54: Preparing 00:11:36 31c15ca17f57: Preparing 00:11:36 ae5ab08bd1f1: Preparing 00:11:36 25a4d1aba0cf: Preparing 00:11:36 50bf5fe5443f: Preparing 00:11:36 dd565ff850e7: Preparing 00:11:36 25a4d1aba0cf: Layer already exists 00:11:36 ae5ab08bd1f1: Layer already exists 00:11:36 31c15ca17f57: Layer already exists 00:11:36 50bf5fe5443f: Layer already exists 00:11:36 cf3c6c2efd54: Layer already exists 00:11:36 dd565ff850e7: Layer already exists 00:11:36 2.2.1-dev.6: digest: sha256:425323776a46b17e1708c30ef052cfb8fc10bbde668fe96bf1fef75ba9068366 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:11:37 + docker tag device-rfid-llrp-arm64 nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64:16bd43c538f9fa424729d14aac07513bbbf37459-2.2.1-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:11:37 + docker push nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64:16bd43c538f9fa424729d14aac07513bbbf37459-2.2.1-dev.6 00:11:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64] 00:11:37 cf3c6c2efd54: Preparing 00:11:37 31c15ca17f57: Preparing 00:11:37 ae5ab08bd1f1: Preparing 00:11:37 25a4d1aba0cf: Preparing 00:11:37 50bf5fe5443f: Preparing 00:11:37 dd565ff850e7: Preparing 00:11:37 dd565ff850e7: Waiting 00:11:37 31c15ca17f57: Layer already exists 00:11:37 cf3c6c2efd54: Layer already exists 00:11:37 ae5ab08bd1f1: Layer already exists 00:11:37 25a4d1aba0cf: Layer already exists 00:11:37 50bf5fe5443f: Layer already exists 00:11:37 dd565ff850e7: Layer already exists 00:11:37 16bd43c538f9fa424729d14aac07513bbbf37459-2.2.1-dev.6: digest: sha256:425323776a46b17e1708c30ef052cfb8fc10bbde668fe96bf1fef75ba9068366 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:11:38 + docker tag device-rfid-llrp-arm64 nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:11:38 + docker push nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64:main 00:11:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64] 00:11:38 cf3c6c2efd54: Preparing 00:11:38 31c15ca17f57: Preparing 00:11:38 ae5ab08bd1f1: Preparing 00:11:38 25a4d1aba0cf: Preparing 00:11:38 50bf5fe5443f: Preparing 00:11:38 dd565ff850e7: Preparing 00:11:38 dd565ff850e7: Waiting 00:11:38 ae5ab08bd1f1: Layer already exists 00:11:38 25a4d1aba0cf: Layer already exists 00:11:38 31c15ca17f57: Layer already exists 00:11:38 50bf5fe5443f: Layer already exists 00:11:38 cf3c6c2efd54: Layer already exists 00:11:39 dd565ff850e7: Layer already exists 00:11:39 main: digest: sha256:425323776a46b17e1708c30ef052cfb8fc10bbde668fe96bf1fef75ba9068366 size: 1574 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:11:39 ===================================================== [Pipeline] echo 00:11:39 taggedImages: 00:11:39 - nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64:16bd43c538f9fa424729d14aac07513bbbf37459 00:11:39 - nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64:latest 00:11:39 - nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64:2.2.1-dev.6 00:11:39 - nexus3.edgexfoundry.org:10004/device-rfid-llrp-arm64:16bd43c538f9fa424729d14aac07513bbbf37459-2.2.1-dev.6 00:11:39 - 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 00:11:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:11:39 00:11:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:11:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:11:40 arm64: Pulling from edgex-lftools-log-publisher 00:11:40 8998bd30e6a1: Pulling fs layer 00:11:40 04944245beec: Pulling fs layer 00:11:40 699f458cf7ca: Pulling fs layer 00:11:40 765212b225bb: Pulling fs layer 00:11:40 f23df028b6ca: Pulling fs layer 00:11:40 d65c8cfc05b1: Pulling fs layer 00:11:40 2437ff75d9bd: Pulling fs layer 00:11:40 765212b225bb: Waiting 00:11:40 f23df028b6ca: Waiting 00:11:40 d65c8cfc05b1: Waiting 00:11:40 2437ff75d9bd: Waiting 00:11:40 04944245beec: Verifying Checksum 00:11:40 04944245beec: Download complete 00:11:40 765212b225bb: Download complete 00:11:40 f23df028b6ca: Verifying Checksum 00:11:40 f23df028b6ca: Download complete 00:11:40 d65c8cfc05b1: Verifying Checksum 00:11:40 d65c8cfc05b1: Download complete 00:11:40 699f458cf7ca: Verifying Checksum 00:11:40 699f458cf7ca: Download complete 00:11:41 8998bd30e6a1: Verifying Checksum 00:11:41 8998bd30e6a1: Download complete 00:11:43 2437ff75d9bd: Verifying Checksum 00:11:46 8998bd30e6a1: Pull complete 00:11:46 04944245beec: Pull complete 00:11:48 699f458cf7ca: Pull complete 00:11:48 765212b225bb: Pull complete 00:11:49 f23df028b6ca: Pull complete 00:11:49 d65c8cfc05b1: Pull complete 00:12:04 2437ff75d9bd: Pull complete 00:12:04 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:12:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:12:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:12:04 prd-ubuntu20.04-docker-arm64-4c-16g-19799 does not seem to be running inside a container 00:12:04 $ 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/41 -v /w/workspace/device-rfid-llrp-go/41:/w/workspace/device-rfid-llrp-go/41:rw,z -v /w/workspace/device-rfid-llrp-go/41@tmp:/w/workspace/device-rfid-llrp-go/41@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 00:12:07 $ docker top c19f3730bf993fbcb998bd34de643757a1ce42317a3c34a51363ea80ceac238c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:12:08 ---> job-cost.sh 00:12:08 lf-activate-venv: SKIPPING 00:12:08 INFO: No Stack... 00:12:08 INFO: Retrieving Pricing Info for: v3-standard-4 00:12:09 INFO: Archiving Costs [Pipeline] sh 00:12:10 + cat /w/workspace/device-rfid-llrp-go/41/archives/cost.csv 00:12:10 + cut -d, -f6 [Pipeline] lock 00:12:10 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-main-41-stack-cost] 00:12:10 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-main-41-stack-cost] did not exist. Created. 00:12:10 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-main-41-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:12:11 /w/workspace/device-rfid-llrp-go/41@tmp/durable-412c047b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:12:11 + echo total: 0.10999999940395355 [Pipeline] stash 00:12:11 Warning: overwriting stash ‘stack-cost’ 00:12:11 Stashed 1 file(s) [Pipeline] } 00:12:11 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-main-41-stack-cost] [Pipeline] // lock [Pipeline] } 00:12:11 $ docker stop --time=1 c19f3730bf993fbcb998bd34de643757a1ce42317a3c34a51363ea80ceac238c 00:12:13 $ docker rm -f c19f3730bf993fbcb998bd34de643757a1ce42317a3c34a51363ea80ceac238c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 00:12:13 provisioning config files... 00:12:13 copy managed file [device-rfid-llrp-go-codecov-token] to file:/w/workspace/foundry_device-rfid-llrp-go_main@tmp/config6837368315851523423tmp [Pipeline] { [Pipeline] sh 00:12:14 + set +x 00:12:14 + curl -s https://codecov.io/bash 00:12:14 + bash -s -- 00:12:14 00:12:14 _____ _ 00:12:14 / ____| | | 00:12:14 | | ___ __| | ___ ___ _____ __ 00:12:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:12:14 | |___| (_) | (_| | __/ (_| (_) \ V / 00:12:14 \_____\___/ \__,_|\___|\___\___/ \_/ 00:12:14 Bash-1.0.6 00:12:14 00:12:14 00:12:14 ==> git version 2.25.1 found 00:12:14 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 00:12:14 Release-Date: 2020-01-08 00:12:14 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:12:14 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:12:14 ==> Jenkins CI detected. 00:12:14 current dir:  /w/workspace/foundry_device-rfid-llrp-go_main 00:12:14 project root: . 00:12:14 --> token set from env 00:12:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:12:14 ==> Running gcov in . (disable via -X gcov) 00:12:14 ==> Python coveragepy not found 00:12:14 ==> Searching for coverage reports in: 00:12:14 + . 00:12:14 -> Found 1 reports 00:12:14 ==> Detecting git/mercurial file structure 00:12:14 ==> Reading reports 00:12:14 + ./coverage.out bytes=460394 00:12:14 ==> Appending adjustments 00:12:14 https://docs.codecov.io/docs/fixing-reports 00:12:14 + Found adjustments 00:12:14 ==> Gzipping contents 00:12:14 52K /tmp/codecov.sGRS4U.gz 00:12:14 ==> Uploading reports 00:12:14 url: https://codecov.io 00:12:14 query: branch=main&commit=16bd43c538f9fa424729d14aac07513bbbf37459&build=41&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2Fmain%2F41%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:12:14 -> Pinging Codecov 00:12:14 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=16bd43c538f9fa424729d14aac07513bbbf37459&build=41&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2Fmain%2F41%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:12:14 -> Uploading to 00:12:14 https://storage.googleapis.com/codecov/v4/raw/2022-07-13/581DD39554BDF9B6E22D074273EAD858/16bd43c538f9fa424729d14aac07513bbbf37459/c487d5e6-e0d9-42d6-a7ac-01618b8dbdd0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220713%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220713T001214Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=84bddd0c23c034be04dd9f7a9a4644f2f8d045b17913089b932588dafc35cf8a 00:12:14 % Total % Received % Xferd Average Speed Time Time Time Current 00:12:14 Dload Upload Total Spent Left Speed 00:12:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51800 0 0 100 51800 0 215k --:--:-- --:--:-- --:--:-- 215k 00:12:14 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/16bd43c538f9fa424729d14aac07513bbbf37459 [Pipeline] } 00:12:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 00:12:15 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 00:12:15 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:12:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:12:15 00:12:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:12:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:12:15 1.410.4: Pulling from edgex-devops/edgex-snyk-go 00:12:15 df9b9388f04a: Pulling fs layer 00:12:15 52dc419b0ee2: Pulling fs layer 00:12:15 25bc292e5bac: Pulling fs layer 00:12:15 114826534d7a: Pulling fs layer 00:12:15 4657fd5d0bcf: Pulling fs layer 00:12:15 6ad1cebc031e: Pulling fs layer 00:12:15 8a3aa393b2d8: Pulling fs layer 00:12:15 114826534d7a: Waiting 00:12:15 6ad1cebc031e: Waiting 00:12:15 8a3aa393b2d8: Waiting 00:12:15 25bc292e5bac: Verifying Checksum 00:12:15 25bc292e5bac: Download complete 00:12:15 52dc419b0ee2: Verifying Checksum 00:12:15 52dc419b0ee2: Download complete 00:12:15 4657fd5d0bcf: Verifying Checksum 00:12:15 4657fd5d0bcf: Download complete 00:12:15 df9b9388f04a: Download complete 00:12:16 6ad1cebc031e: Verifying Checksum 00:12:16 6ad1cebc031e: Download complete 00:12:16 df9b9388f04a: Pull complete 00:12:16 52dc419b0ee2: Pull complete 00:12:16 25bc292e5bac: Pull complete 00:12:16 114826534d7a: Verifying Checksum 00:12:16 114826534d7a: Download complete 00:12:16 8a3aa393b2d8: Verifying Checksum 00:12:16 8a3aa393b2d8: Download complete 00:12:20 114826534d7a: Pull complete 00:12:20 4657fd5d0bcf: Pull complete 00:12:20 6ad1cebc031e: Pull complete 00:12:24 8a3aa393b2d8: Pull complete 00:12:24 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 00:12:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:12:24 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:12:24 prd-ubuntu20.04-docker-8c-8g-19798 does not seem to be running inside a container 00:12:24 $ 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 00:12:26 $ docker top ba30ba352c1b4f0f6a702740875a608e0fd0192efd9081407b119b45ce0c9a1a -eo pid,comm [Pipeline] { [Pipeline] echo 00:12:26 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rfid-llrp-go:main' [Pipeline] sh 00:12:26 + set -o pipefail 00:12:26 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rfid-llrp-go:main' 00:12:32 00:12:32 Monitoring /w/workspace/foundry_device-rfid-llrp-go_main (github.com/edgexfoundry/device-rfid-llrp-go)... 00:12:32 00:12:32 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/51b7f931-2ad3-4a5d-a1d2-3e401f6a993d/history/57d01184-f2c4-4f5a-8d77-12b17d47e7c2 00:12:32 00:12:32 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 00:12:32 00:12:32 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 00:12:32 00:12:32 00:12:32 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 00:12:32 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 00:12:32 $ docker stop --time=1 ba30ba352c1b4f0f6a702740875a608e0fd0192efd9081407b119b45ce0c9a1a 00:12:34 $ docker rm -f ba30ba352c1b4f0f6a702740875a608e0fd0192efd9081407b119b45ce0c9a1a [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 00:12:34 + git log --format=format:%s -1 16bd43c538f9fa424729d14aac07513bbbf37459 [Pipeline] sh 00:12:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:12:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:12:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:12:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:12:35 prd-ubuntu20.04-docker-8c-8g-19798 does not seem to be running inside a container 00:12:35 $ 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 00:12:36 $ docker top bd43a23de9aaef0b4de33f05aefa48e63e7c7c2d31b2991ec1ff4812cbc6a420 -eo pid,comm 00:12:36 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 00:12:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:12:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:12:36 [ssh-agent] Looking for ssh-agent implementation... 00:12:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:12:36 $ docker exec bd43a23de9aaef0b4de33f05aefa48e63e7c7c2d31b2991ec1ff4812cbc6a420 ssh-agent 00:12:36 SSH_AUTH_SOCK=/tmp/ssh-psGamaAD5yBP/agent.34 00:12:36 SSH_AGENT_PID=40 00:12:36 Running ssh-add (command line suppressed) 00:12:36 Identity added: /w/workspace/foundry_device-rfid-llrp-go_main@tmp/private_key_3570464400205978510.key (/w/workspace/foundry_device-rfid-llrp-go_main@tmp/private_key_3570464400205978510.key) 00:12:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:12:36 + git semver tag 00:12:37 2022-07-13 00:12:36,975 [run_tag] DEBUG tag force:False 00:12:37 2022-07-13 00:12:36,975 [check_head_tag] DEBUG check head tag 00:12:37 2022-07-13 00:12:36,975 [execute] INFO git cat-file --batch-check 00:12:37 2022-07-13 00:12:36,976 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-rfid-llrp-go_main, universal_newlines=False, shell=None, istream=) 00:12:37 2022-07-13 00:12:36,979 [execute] INFO git cat-file --batch 00:12:37 2022-07-13 00:12:36,980 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-rfid-llrp-go_main, universal_newlines=False, shell=None, istream=) 00:12:37 2022-07-13 00:12:36,986 [read_version] DEBUG read version from /w/workspace/foundry_device-rfid-llrp-go_main/.semver/main 00:12:37 2022-07-13 00:12:36,987 [execute] INFO git tag -a v2.2.1-dev.6 -m v2.2.1-dev.6 00:12:37 2022-07-13 00:12:36,987 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.6', '-m', 'v2.2.1-dev.6'], cwd=/w/workspace/foundry_device-rfid-llrp-go_main, universal_newlines=False, shell=None, istream=None) 00:12:37 2022-07-13 00:12:36,993 [read_version] DEBUG read version from /w/workspace/foundry_device-rfid-llrp-go_main/.semver/main 00:12:37 2.2.1-dev.6 [Pipeline] } 00:12:37 $ docker exec --env ******** --env ******** bd43a23de9aaef0b4de33f05aefa48e63e7c7c2d31b2991ec1ff4812cbc6a420 ssh-agent -k 00:12:37 unset SSH_AUTH_SOCK; 00:12:37 unset SSH_AGENT_PID; 00:12:37 echo Agent pid 40 killed; 00:12:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:12:37 + git semver [Pipeline] } 00:12:37 $ docker stop --time=1 bd43a23de9aaef0b4de33f05aefa48e63e7c7c2d31b2991ec1ff4812cbc6a420 00:12:39 $ docker rm -f bd43a23de9aaef0b4de33f05aefa48e63e7c7c2d31b2991ec1ff4812cbc6a420 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:12:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:12:39 00:12:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:12:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:12:39 0.23.1-centos7: Pulling from edgex-lftools 00:12:39 ab5ef0e58194: Pulling fs layer 00:12:39 9712f1f96733: Pulling fs layer 00:12:39 63f879dbbcfc: Pulling fs layer 00:12:39 0d9ebad4ef96: Pulling fs layer 00:12:39 e9a5061849ea: Pulling fs layer 00:12:39 d747dcd14b5f: Pulling fs layer 00:12:39 2de7ff778b66: Pulling fs layer 00:12:39 0d9ebad4ef96: Waiting 00:12:39 e9a5061849ea: Waiting 00:12:39 d747dcd14b5f: Waiting 00:12:39 2de7ff778b66: Waiting 00:12:39 9712f1f96733: Verifying Checksum 00:12:39 9712f1f96733: Download complete 00:12:40 63f879dbbcfc: Verifying Checksum 00:12:40 63f879dbbcfc: Download complete 00:12:40 e9a5061849ea: Verifying Checksum 00:12:40 e9a5061849ea: Download complete 00:12:40 d747dcd14b5f: Verifying Checksum 00:12:40 d747dcd14b5f: Download complete 00:12:40 0d9ebad4ef96: Verifying Checksum 00:12:40 0d9ebad4ef96: Download complete 00:12:40 ab5ef0e58194: Download complete 00:12:40 2de7ff778b66: Download complete 00:12:43 ab5ef0e58194: Pull complete 00:12:43 9712f1f96733: Pull complete 00:12:44 63f879dbbcfc: Pull complete 00:12:47 0d9ebad4ef96: Pull complete 00:12:47 e9a5061849ea: Pull complete 00:12:47 d747dcd14b5f: Pull complete 00:12:49 2de7ff778b66: Pull complete 00:12:49 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 00:12:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:12:49 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:12:49 prd-ubuntu20.04-docker-8c-8g-19798 does not seem to be running inside a container 00:12:49 $ 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 00:12:51 $ docker top a598d64ce25208e040591fb0b3906bd59936a52e33c481ad913e6124737af4d8 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 00:12:51 provisioning config files... 00:12:51 copy managed file [sigul-config] to file:/w/workspace/foundry_device-rfid-llrp-go_main@tmp/config5516109997139622821tmp 00:12:51 copy managed file [sigul-password] to file:/w/workspace/foundry_device-rfid-llrp-go_main@tmp/config4768455550836460408tmp 00:12:51 copy managed file [sigul-pki] to file:/w/workspace/foundry_device-rfid-llrp-go_main@tmp/config4574293416890714834tmp [Pipeline] { [Pipeline] echo 00:12:51 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 00:12:52 ---> sigul-configuration.sh 00:12:52 gpg: directory `/root/.gnupg' created 00:12:52 gpg: new configuration file `/root/.gnupg/gpg.conf' created 00:12:52 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 00:12:52 gpg: keyring `/root/.gnupg/secring.gpg' created 00:12:52 gpg: keyring `/root/.gnupg/pubring.gpg' created 00:12:52 gpg: CAST5 encrypted data 00:12:52 gpg: encrypted with 1 passphrase 00:12:52 gpg: WARNING: message was not integrity protected [Pipeline] sh 00:12:52 + mkdir /home/jenkins 00:12:52 + mkdir /home/jenkins/sigul [Pipeline] sh 00:12:52 + 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 00:12:52 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 00:12:52 ---> sigul-install.sh 00:12:52 Sigul already installed; skipping installation. [Pipeline] sh 00:12:53 + git tag --list 00:12:53 v0.0.0 00:12:53 v1.0.0 00:12:53 v2.1.0 00:12:53 v2.1.1 00:12:53 v2.1.1-dev.1 00:12:53 v2.2.0 00:12:53 v2.2.1-dev.1 00:12:53 v2.2.1-dev.2 00:12:53 v2.2.1-dev.3 00:12:53 v2.2.1-dev.4 00:12:53 v2.2.1-dev.5 00:12:53 v2.2.1-dev.6 [Pipeline] sh 00:12:53 + lftools sign git-tag v2.2.1-dev.6 00:12:54 Signing Git tag with Sigul... 00:12:54 Signing v2.2.1-dev.6 [Pipeline] echo 00:12:54 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 00:12:54 ---> sigul-configuration-cleanup.sh [Pipeline] } 00:12:54 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 00:12:54 $ docker stop --time=1 a598d64ce25208e040591fb0b3906bd59936a52e33c481ad913e6124737af4d8 00:12:55 $ docker rm -f a598d64ce25208e040591fb0b3906bd59936a52e33c481ad913e6124737af4d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 00:12:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:12:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:12:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:12:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:12:56 prd-ubuntu20.04-docker-8c-8g-19798 does not seem to be running inside a container 00:12:56 $ 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 00:12:57 $ docker top 11a4dc48c0111423dc88d55a5e3df71c0d28e5b0b842797dd022e6f3b6a9d5e1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:12:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:12:57 [ssh-agent] Looking for ssh-agent implementation... 00:12:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:12:57 $ docker exec 11a4dc48c0111423dc88d55a5e3df71c0d28e5b0b842797dd022e6f3b6a9d5e1 ssh-agent 00:12:57 SSH_AUTH_SOCK=/tmp/ssh-oemktFNj28Sa/agent.34 00:12:57 SSH_AGENT_PID=40 00:12:57 Running ssh-add (command line suppressed) 00:12:57 Identity added: /w/workspace/foundry_device-rfid-llrp-go_main@tmp/private_key_7915872009264398066.key (/w/workspace/foundry_device-rfid-llrp-go_main@tmp/private_key_7915872009264398066.key) 00:12:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:12:58 + git semver bump pre 00:12:58 2022-07-13 00:12:58,259 [read_version] DEBUG read version from /w/workspace/foundry_device-rfid-llrp-go_main/.semver/main 00:12:58 2022-07-13 00:12:58,260 [bump_version] DEBUG bumping version:2.2.1-dev.6 on axis:pre with prefix:dev 00:12:58 2022-07-13 00:12:58,260 [bump_version] DEBUG bumped version:2.2.1-dev.7 00:12:58 2022-07-13 00:12:58,260 [write_version] DEBUG write version:2.2.1-dev.7 to path:/w/workspace/foundry_device-rfid-llrp-go_main/.semver/main with force:True 00:12:58 2022-07-13 00:12:58,260 [read_version] DEBUG read version from /w/workspace/foundry_device-rfid-llrp-go_main/.semver/main 00:12:58 2022-07-13 00:12:58,260 [write_file] DEBUG write to file:/w/workspace/foundry_device-rfid-llrp-go_main/.semver/main 00:12:58 2022-07-13 00:12:58,264 [execute] INFO git cat-file --batch-check 00:12:58 2022-07-13 00:12:58,265 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-rfid-llrp-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:12:58 2022-07-13 00:12:58,270 [execute] INFO git cat-file --batch 00:12:58 2022-07-13 00:12:58,271 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-rfid-llrp-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:12:58 2022-07-13 00:12:58,276 [read_version] DEBUG read version from /w/workspace/foundry_device-rfid-llrp-go_main/.semver/main 00:12:58 2.2.1-dev.7 [Pipeline] } 00:12:58 $ docker exec --env ******** --env ******** 11a4dc48c0111423dc88d55a5e3df71c0d28e5b0b842797dd022e6f3b6a9d5e1 ssh-agent -k 00:12:58 unset SSH_AUTH_SOCK; 00:12:58 unset SSH_AGENT_PID; 00:12:58 echo Agent pid 40 killed; 00:12:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:12:58 + git semver [Pipeline] } 00:12:59 $ docker stop --time=1 11a4dc48c0111423dc88d55a5e3df71c0d28e5b0b842797dd022e6f3b6a9d5e1 00:13:00 $ docker rm -f 11a4dc48c0111423dc88d55a5e3df71c0d28e5b0b842797dd022e6f3b6a9d5e1 [Pipeline] // withDockerContainer [Pipeline] sh 00:13:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:13:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:13:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:13:01 prd-ubuntu20.04-docker-8c-8g-19798 does not seem to be running inside a container 00:13:01 $ 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 00:13:01 $ docker top 6a8d6ac75324f4302e601b52350a27f573cc7fac7b7f8433fd7c51861c417cc6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:13:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:13:01 [ssh-agent] Looking for ssh-agent implementation... 00:13:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:13:01 $ docker exec 6a8d6ac75324f4302e601b52350a27f573cc7fac7b7f8433fd7c51861c417cc6 ssh-agent 00:13:01 SSH_AUTH_SOCK=/tmp/ssh-SNXVvA2OCpIF/agent.32 00:13:01 SSH_AGENT_PID=38 00:13:01 Running ssh-add (command line suppressed) 00:13:01 Identity added: /w/workspace/foundry_device-rfid-llrp-go_main@tmp/private_key_7729471267267486804.key (/w/workspace/foundry_device-rfid-llrp-go_main@tmp/private_key_7729471267267486804.key) 00:13:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:13:02 + git semver push 00:13:02 2022-07-13 00:13:02,362 [run_push] DEBUG push 00:13:02 2022-07-13 00:13:02,363 [execute] INFO git cat-file --batch-check 00:13:02 2022-07-13 00:13:02,363 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-rfid-llrp-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:13:02 2022-07-13 00:13:02,367 [execute] INFO git rev-list 18123a7ce7ec4a127deb20d7acaae117aca9e943 -- 00:13:02 2022-07-13 00:13:02,368 [execute] DEBUG Popen(['git', 'rev-list', '18123a7ce7ec4a127deb20d7acaae117aca9e943', '--'], cwd=/w/workspace/foundry_device-rfid-llrp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 00:13:02 2022-07-13 00:13:02,373 [execute] INFO git fetch -v origin 00:13:02 2022-07-13 00:13:02,374 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/foundry_device-rfid-llrp-go_main/.semver, universal_newlines=True, shell=None, istream=None) 00:13:02 2022-07-13 00:13:02,851 [run_push] DEBUG no remote changes detected 00:13:02 2022-07-13 00:13:02,852 [execute] INFO git push origin semver 00:13:02 2022-07-13 00:13:02,852 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/foundry_device-rfid-llrp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 00:13:03 2022-07-13 00:13:03,622 [run_push] DEBUG push all version tags 00:13:03 2022-07-13 00:13:03,622 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 00:13:03 2022-07-13 00:13:03,623 [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) 00:13:04 2022-07-13 00:13:04,290 [read_version] DEBUG read version from /w/workspace/foundry_device-rfid-llrp-go_main/.semver/main 00:13:04 2.2.1-dev.7 [Pipeline] } 00:13:04 $ docker exec --env ******** --env ******** 6a8d6ac75324f4302e601b52350a27f573cc7fac7b7f8433fd7c51861c417cc6 ssh-agent -k 00:13:04 unset SSH_AUTH_SOCK; 00:13:04 unset SSH_AGENT_PID; 00:13:04 echo Agent pid 38 killed; 00:13:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:13:05 + git semver [Pipeline] } 00:13:05 $ docker stop --time=1 6a8d6ac75324f4302e601b52350a27f573cc7fac7b7f8433fd7c51861c417cc6 00:13:06 $ docker rm -f 6a8d6ac75324f4302e601b52350a27f573cc7fac7b7f8433fd7c51861c417cc6 [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 00:13:07 + [ -d /w/workspace/foundry_device-rfid-llrp-go_main/archives ] 00:13:07 + ls -al /w/workspace/foundry_device-rfid-llrp-go_main/archives 00:13:07 total 16 00:13:07 drwxr-xr-x 3 root root 4096 Jul 13 00:04 . 00:13:07 drwxrwxr-x 12 jenkins jenkins 4096 Jul 13 00:12 .. 00:13:07 drwxr-xr-x 2 root root 4096 Jul 13 00:04 cost 00:13:07 -rw-r--r-- 1 root root 89 Jul 13 00:04 cost.csv 00:13:07 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-rfid-llrp-go_main/archives 00:13:07 + ls -al /w/workspace/foundry_device-rfid-llrp-go_main/archives 00:13:07 total 16 00:13:07 drwxr-xr-x 3 jenkins jenkins 4096 Jul 13 00:04 . 00:13:07 drwxrwxr-x 12 jenkins jenkins 4096 Jul 13 00:12 .. 00:13:07 drwxr-xr-x 2 jenkins jenkins 4096 Jul 13 00:04 cost 00:13:07 -rw-r--r-- 1 jenkins jenkins 89 Jul 13 00:04 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:13:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:13:08 ---> package-listing.sh 00:13:08 ++ facter osfamily 00:13:08 ++ tr '[:upper:]' '[:lower:]' 00:13:08 + OS_FAMILY=debian 00:13:08 + workspace=/w/workspace/foundry_device-rfid-llrp-go_main 00:13:08 + START_PACKAGES=/tmp/packages_start.txt 00:13:08 + END_PACKAGES=/tmp/packages_end.txt 00:13:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:13:08 + PACKAGES=/tmp/packages_start.txt 00:13:08 + '[' /w/workspace/foundry_device-rfid-llrp-go_main ']' 00:13:08 + PACKAGES=/tmp/packages_end.txt 00:13:08 + case "${OS_FAMILY}" in 00:13:08 + dpkg -l 00:13:08 + grep '^ii' 00:13:08 + '[' -f /tmp/packages_start.txt ']' 00:13:08 + '[' -f /tmp/packages_end.txt ']' 00:13:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:13:08 + '[' /w/workspace/foundry_device-rfid-llrp-go_main ']' 00:13:08 + mkdir -p /w/workspace/foundry_device-rfid-llrp-go_main/archives/ 00:13:08 + 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 00:13:08 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 00:13:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:13:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:13:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:13:09 prd-ubuntu20.04-docker-8c-8g-19798 does not seem to be running inside a container 00:13:09 $ 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 00:13:09 $ docker top 0009205edff3cb16bc90f2eff87db8e54f6e756313b86cc429c5a3f906e32a19 -eo pid,comm [Pipeline] { [Pipeline] sh 00:13:10 + touch /tmp/pre-build-complete [Pipeline] sh 00:13:10 + mkdir -p /var/log/sysstat [Pipeline] sh 00:13:10 + ls /var/log/sa-host 00:13:10 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:13:10 provisioning config files... 00:13:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-rfid-llrp-go_main@tmp/config4424521135277721675tmp [Pipeline] { [Pipeline] echo 00:13:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:13:11 ---> create-netrc.sh [Pipeline] } 00:13:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:13:11 ---> python-tools-install.sh [Pipeline] echo 00:13:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:13:11 ---> sudo-logs.sh 00:13:11 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:13:11 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:13:12 ---> job-cost.sh 00:13:12 lf-activate-venv: SKIPPING 00:13:12 DEBUG: total: 0.2199999988079071 00:13:12 INFO: Retrieving Stack Cost... 00:13:12 INFO: Retrieving Pricing Info for: v3-standard-8 00:13:12 INFO: Archiving Costs [Pipeline] echo 00:13:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:13:13 ---> logs-deploy.sh 00:13:13 lf-activate-venv: SKIPPING 00:13:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rfid-llrp-go/main/41 00:13:13 INFO: archiving workspace using pattern(s): 00:13:14 Archives upload complete. 00:13:14 INFO: archiving logs to Nexus 00:13:15 ---> uname -a: 00:13:15 Linux prd-ubuntu20-04-docker-8c-8g-19798 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 00:13:15 00:13:15 00:13:15 ---> lscpu: 00:13:15 Architecture: x86_64 00:13:15 CPU op-mode(s): 32-bit, 64-bit 00:13:15 Byte Order: Little Endian 00:13:15 Address sizes: 40 bits physical, 48 bits virtual 00:13:15 CPU(s): 8 00:13:15 On-line CPU(s) list: 0-7 00:13:15 Thread(s) per core: 1 00:13:15 Core(s) per socket: 1 00:13:15 Socket(s): 8 00:13:15 NUMA node(s): 1 00:13:15 Vendor ID: AuthenticAMD 00:13:15 CPU family: 23 00:13:15 Model: 49 00:13:15 Model name: AMD EPYC-Rome Processor 00:13:15 Stepping: 0 00:13:15 CPU MHz: 2799.998 00:13:15 BogoMIPS: 5599.99 00:13:15 Virtualization: AMD-V 00:13:15 Hypervisor vendor: KVM 00:13:15 Virtualization type: full 00:13:15 L1d cache: 256 KiB 00:13:15 L1i cache: 256 KiB 00:13:15 L2 cache: 4 MiB 00:13:15 L3 cache: 128 MiB 00:13:15 NUMA node0 CPU(s): 0-7 00:13:15 Vulnerability Itlb multihit: Not affected 00:13:15 Vulnerability L1tf: Not affected 00:13:15 Vulnerability Mds: Not affected 00:13:15 Vulnerability Meltdown: Not affected 00:13:15 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 00:13:15 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 00:13:15 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 00:13:15 Vulnerability Srbds: Not affected 00:13:15 Vulnerability Tsx async abort: Not affected 00:13:15 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 00:13:15 00:13:15 00:13:15 ---> nproc: 00:13:15 8 00:13:15 00:13:15 00:13:15 ---> df -h: 00:13:15 Filesystem Size Used Avail Use% Mounted on 00:13:15 overlay 155G 12G 143G 8% / 00:13:15 tmpfs 64M 0 64M 0% /dev 00:13:15 tmpfs 16G 0 16G 0% /sys/fs/cgroup 00:13:15 shm 64M 0 64M 0% /dev/shm 00:13:15 /dev/vda1 155G 12G 143G 8% /facter-os 00:13:15 00:13:15 00:13:15 ---> sar -b -r -n DEV: 00:13:15 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-19798) 07/13/22 _x86_64_ (8 CPU) 00:13:15 00:13:15 00:01:40 LINUX RESTART (8 CPU) 00:13:15 00:13:15 00:02:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 00:13:15 00:03:01 431.21 46.52 384.69 0.00 4079.84 181516.29 0.00 00:13:15 00:04:01 116.25 0.18 116.06 0.00 7.60 22807.27 0.00 00:13:15 00:05:01 120.33 0.10 120.23 0.00 12.00 33547.35 0.00 00:13:15 00:06:01 2.32 0.00 2.32 0.00 0.00 26.80 0.00 00:13:15 00:07:01 3.33 1.63 1.70 0.00 50.79 21.73 0.00 00:13:15 00:08:01 2.12 0.00 2.12 0.00 0.00 25.20 0.00 00:13:15 00:09:01 0.92 0.00 0.92 0.00 0.00 11.20 0.00 00:13:15 00:10:01 1.77 0.00 1.77 0.00 0.00 20.40 0.00 00:13:15 00:11:01 1.05 0.00 1.05 0.00 0.00 12.13 0.00 00:13:15 00:12:01 1.85 0.00 1.85 0.00 0.00 26.80 0.00 00:13:15 00:13:01 121.11 0.23 120.88 0.00 11.33 58421.73 0.00 00:13:15 Average: 72.93 4.42 68.51 0.00 378.35 26950.50 0.00 00:13:15 00:13:15 00:02:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 00:13:15 00:03:01 28099480 31719560 579852 1.76 163720 3647692 2392496 7.05 1264408 3060924 247532 00:13:15 00:04:01 27973484 31613424 677708 2.06 162056 3670460 2711136 7.99 1571856 2867364 302204 00:13:15 00:05:01 27681588 31747124 545840 1.66 171908 4048304 2001516 5.90 1343900 3351144 152 00:13:15 00:06:01 27682680 31748256 544492 1.66 171972 4048296 2001516 5.90 1342968 3351144 20 00:13:15 00:07:01 27661220 31729460 562912 1.71 172036 4049828 1984944 5.85 1366640 3350788 20 00:13:15 00:08:01 27660636 31728932 563344 1.71 172084 4049836 1984944 5.85 1366376 3350792 152 00:13:15 00:09:01 27668276 31736576 555776 1.69 172104 4049840 1984944 5.85 1358048 3350796 12 00:13:15 00:10:01 27668204 31736544 555732 1.69 172156 4049844 1984944 5.85 1357980 3350816 48 00:13:15 00:11:01 27668180 31736604 555664 1.69 172188 4049844 1984944 5.85 1358684 3350816 24 00:13:15 00:12:01 27667760 31736332 555860 1.69 172256 4049936 1984944 5.85 1358400 3350936 68 00:13:15 00:13:01 26116684 31666624 619628 1.88 215392 5357956 2640756 7.78 1524088 4599964 648 00:13:15 Average: 27595290 31718131 574255 1.75 174352 4097440 2150644 6.34 1383032 3394135 50080 00:13:15 00:13:15 00:02:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 00:13:15 00:03:01 docker0 106.50 126.67 8.69 1066.15 0.00 0.00 0.00 0.00 00:13:15 00:03:01 lo 6.46 6.46 0.63 0.63 0.00 0.00 0.00 0.00 00:13:15 00:03:01 ens3 769.16 478.49 7398.67 110.53 0.00 0.00 0.00 0.00 00:13:15 00:04:01 veth20dc1ec 0.05 0.20 0.00 0.02 0.00 0.00 0.00 0.00 00:13:15 00:04:01 docker0 7.82 9.47 0.46 40.83 0.00 0.00 0.00 0.00 00:13:15 00:04:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 00:13:15 00:04:01 ens3 81.95 60.97 83.48 69.88 0.00 0.00 0.00 0.00 00:13:15 00:05:01 docker0 7.33 12.66 0.45 58.46 0.00 0.00 0.00 0.00 00:13:15 00:05:01 lo 7.66 7.66 0.75 0.75 0.00 0.00 0.00 0.00 00:13:15 00:05:01 ens3 170.59 120.08 2614.21 237.43 0.00 0.00 0.00 0.00 00:13:15 00:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:13:15 00:06:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 00:13:15 00:06:01 ens3 0.77 0.78 0.05 0.07 0.00 0.00 0.00 0.00 00:13:15 00:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:13:15 00:07:01 lo 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 00:13:15 00:07:01 ens3 33.13 31.44 15.20 51.56 0.00 0.00 0.00 0.00 00:13:15 00:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:13:15 00:08:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 00:13:15 00:08:01 ens3 9.43 11.08 5.93 7.78 0.00 0.00 0.00 0.00 00:13:15 00:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:13:15 00:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:13:15 00:09:01 ens3 0.03 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:13:15 00:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:13:15 00:10:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 00:13:15 00:10:01 ens3 0.13 0.12 0.01 0.01 0.00 0.00 0.00 0.00 00:13:15 00:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:13:15 00:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:13:15 00:11:01 ens3 7.45 8.18 0.78 14.04 0.00 0.00 0.00 0.00 00:13:15 00:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:13:15 00:12:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 00:13:15 00:12:01 ens3 0.10 0.10 0.01 0.01 0.00 0.00 0.00 0.00 00:13:15 00:13:01 veth85dc0fe 0.00 0.07 0.00 0.01 0.00 0.00 0.00 0.00 00:13:15 00:13:01 docker0 35.82 44.75 3.30 684.03 0.00 0.00 0.00 0.00 00:13:15 00:13:01 lo 2.00 2.00 0.19 0.19 0.00 0.00 0.00 0.00 00:13:15 00:13:01 ens3 367.16 250.73 7895.73 102.26 0.00 0.00 0.00 0.00 00:13:15 Average: veth85dc0fe 0.00 0.01 0.00 0.00 0.00 0.00 0.00 0.00 00:13:15 Average: docker0 14.32 17.60 1.17 168.15 0.00 0.00 0.00 0.00 00:13:15 Average: lo 1.59 1.59 0.15 0.15 0.00 0.00 0.00 0.00 00:13:15 Average: ens3 130.91 87.46 1637.76 53.96 0.00 0.00 0.00 0.00 00:13:15 00:13:15