Pull request #109 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-rfid-llrp-go Obtained Jenkinsfile from 9b5f28e3c5720c10038d035e1a5d008fc4c90c75+abf08d0160819e269393c084552fc961dbc8790f (fc8539ecf11296cf48a2bfe92e672e9059162bfa) 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-ssh5186415731948256518.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh10763606605284318100.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/PR-109/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/PR-109/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1472419277838896042.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/PR-109/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15815142960633639459.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh15563104356740038550.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/PR-109/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/PR-109/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8342811771163537364.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rfid-llrp-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rfid-llrp-go-settings PROJECT: device-rfid-llrp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rfid-llrp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1459 in /w/workspace/undry_device-rfid-llrp-go_PR-109 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git > git init /w/workspace/undry_device-rfid-llrp-go_PR-109 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/109/head:refs/remotes/origin/PR-109 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit abf08d0160819e269393c084552fc961dbc8790f into PR head commit 9b5f28e3c5720c10038d035e1a5d008fc4c90c75 Merge succeeded, producing 9b5f28e3c5720c10038d035e1a5d008fc4c90c75 Checking out Revision 9b5f28e3c5720c10038d035e1a5d008fc4c90c75 (PR-109) > git config core.sparsecheckout # timeout=10 > git checkout -f 9b5f28e3c5720c10038d035e1a5d008fc4c90c75 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge abf08d0160819e269393c084552fc961dbc8790f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9b5f28e3c5720c10038d035e1a5d008fc4c90c75 # timeout=10 Commit message: "build: Add option to build Service with NATS Capability" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:11:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:11:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:11:14 ========================================================= 23:11:14 EdgeX Global Pipelines Version Info 23:11:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:11:15 ------------------- 23:11:15 stable info: 23:11:15 ------------------- 23:11:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:11:15 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 23:11:15 Message: update stable to v1.0.239 23:11:15 ------------------- 23:11:15 experimental info: 23:11:15 ------------------- 23:11:15 Commited By: **** collab-it+edgex@linuxfoundation.org 23:11:15 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 23:11:15 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:11:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rfid-llrp-go-settings [Pipeline] echo 23:11:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-rfid-llrp-go [Pipeline] echo 23:11:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:11:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:11:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:11:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 23:11:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:11:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:11:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:11:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:11:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:11:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rfid-llrp [Pipeline] echo 23:11:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:11:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:11:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:11:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:11:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:11:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:11:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:11:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:11:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:11:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:11:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:11:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:11:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:11:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:11:16 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:11:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-109 [Pipeline] echo 23:11:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-109 [Pipeline] echo 23:11:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-109 [Pipeline] echo 23:11:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9b5f28e3c5720c10038d035e1a5d008fc4c90c75 [Pipeline] echo 23:11:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9b5f28e [Pipeline] echo 23:11:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:11:17 provisioning config files... 23:11:17 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-109@tmp/config12240089415426819743tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:11:17 ---> docker-login.sh 23:11:17 nexus3.edgexfoundry.org:10001 23:11:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:11:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:11:18 Configure a credential helper to remove this warning. See 23:11:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:11:18 23:11:18 Login Succeeded 23:11:18 nexus3.edgexfoundry.org:10002 23:11:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:11:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:11:18 Configure a credential helper to remove this warning. See 23:11:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:11:18 23:11:18 Login Succeeded 23:11:18 nexus3.edgexfoundry.org:10003 23:11:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:11:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:11:18 Configure a credential helper to remove this warning. See 23:11:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:11:18 23:11:18 Login Succeeded 23:11:18 nexus3.edgexfoundry.org:10004 23:11:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:11:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:11:18 Configure a credential helper to remove this warning. See 23:11:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:11:18 23:11:18 Login Succeeded 23:11:18 docker.io 23:11:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:11:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:11:18 Configure a credential helper to remove this warning. See 23:11:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:11:18 23:11:18 Login Succeeded 23:11:18 ---> docker-login.sh ends [Pipeline] } 23:11:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:11:19 + git rev-list -1 --merges 9b5f28e3c5720c10038d035e1a5d008fc4c90c75~1..9b5f28e3c5720c10038d035e1a5d008fc4c90c75 [Pipeline] echo 23:11:19 -----------> git rev-list -1 --merges 9b5f28e3c5720c10038d035e1a5d008fc4c90c75~1..9b5f28e3c5720c10038d035e1a5d008fc4c90c75 9b5f28e3c5720c10038d035e1a5d008fc4c90c75 [false] [Pipeline] sh 23:11:19 + git log --format=format:%s -1 9b5f28e3c5720c10038d035e1a5d008fc4c90c75 [Pipeline] echo 23:11:19 ========================================================= 23:11:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:11:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:11:20 + git log --format=format:%s -1 9b5f28e3c5720c10038d035e1a5d008fc4c90c75 [Pipeline] echo 23:11:20 [semverPrep] GIT_COMMIT: 9b5f28e3c5720c10038d035e1a5d008fc4c90c75, Commit Message: build: Add option to build Service with NATS Capability [Pipeline] echo 23:11:20 [semverPrep] This is not a build commit. [Pipeline] sh 23:11:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:11:20 + grep -v github /etc/ssh/ssh_known_hosts 23:11:20 + [ -e /tmp/ssh_known_hosts ] 23:11:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:11:20 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:11:20 + sudo tee -a /etc/ssh/ssh_known_hosts 23:11:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:11:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:11:21 23:11:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:11:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:11:21 0.1.4: Pulling from edgex-devops/py-git-semver 23:11:21 b85a868b505f: Pulling fs layer 23:11:21 e2be974225ed: Pulling fs layer 23:11:21 339a4e72a1f5: Pulling fs layer 23:11:21 988bab9f4d93: Pulling fs layer 23:11:21 1469e6f7b9e6: Pulling fs layer 23:11:21 eaf3925da568: Pulling fs layer 23:11:21 988bab9f4d93: Waiting 23:11:21 1469e6f7b9e6: Waiting 23:11:21 eaf3925da568: Waiting 23:11:21 bab4dde63d76: Pulling fs layer 23:11:21 bde34c3a00c8: Pulling fs layer 23:11:21 bab4dde63d76: Waiting 23:11:21 b352a97aabf1: Pulling fs layer 23:11:21 4872d77fe225: Pulling fs layer 23:11:21 bde34c3a00c8: Waiting 23:11:21 b352a97aabf1: Waiting 23:11:21 5851b861e8e6: Pulling fs layer 23:11:21 5851b861e8e6: Waiting 23:11:21 4872d77fe225: Waiting 23:11:21 e2be974225ed: Download complete 23:11:21 988bab9f4d93: Verifying Checksum 23:11:21 988bab9f4d93: Download complete 23:11:21 1469e6f7b9e6: Verifying Checksum 23:11:21 1469e6f7b9e6: Download complete 23:11:21 eaf3925da568: Verifying Checksum 23:11:21 eaf3925da568: Download complete 23:11:21 339a4e72a1f5: Verifying Checksum 23:11:21 339a4e72a1f5: Download complete 23:11:21 bde34c3a00c8: Verifying Checksum 23:11:21 bde34c3a00c8: Download complete 23:11:21 b352a97aabf1: Verifying Checksum 23:11:21 4872d77fe225: Download complete 23:11:21 5851b861e8e6: Verifying Checksum 23:11:21 5851b861e8e6: Download complete 23:11:21 b85a868b505f: Download complete 23:11:21 bab4dde63d76: Verifying Checksum 23:11:21 bab4dde63d76: Download complete 23:11:22 b85a868b505f: Pull complete 23:11:23 e2be974225ed: Pull complete 23:11:23 339a4e72a1f5: Pull complete 23:11:23 988bab9f4d93: Pull complete 23:11:23 1469e6f7b9e6: Pull complete 23:11:23 eaf3925da568: Pull complete 23:11:25 bab4dde63d76: Pull complete 23:11:25 bde34c3a00c8: Pull complete 23:11:25 b352a97aabf1: Pull complete 23:11:25 4872d77fe225: Pull complete 23:11:25 5851b861e8e6: Pull complete 23:11:26 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:11:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:11:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:11:26 prd-ubuntu20.04-docker-8c-8g-1459 does not seem to be running inside a container 23:11:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-rfid-llrp-go_PR-109 -v /w/workspace/undry_device-rfid-llrp-go_PR-109:/w/workspace/undry_device-rfid-llrp-go_PR-109:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-109@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-109@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:11:29 $ docker top 136f2febf6b847dbce5dbdb4a85a82f4a110c9e628053769c6db586c8671bfad -eo pid,comm 23:11: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). 23:11:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:11:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:11:29 [ssh-agent] Looking for ssh-agent implementation... 23:11:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:11:29 $ docker exec 136f2febf6b847dbce5dbdb4a85a82f4a110c9e628053769c6db586c8671bfad ssh-agent 23:11:29 SSH_AUTH_SOCK=/tmp/ssh-uLhIyksHdReA/agent.33 23:11:29 SSH_AGENT_PID=39 23:11:29 Running ssh-add (command line suppressed) 23:11:29 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-109@tmp/private_key_14527879425159134808.key (/w/workspace/undry_device-rfid-llrp-go_PR-109@tmp/private_key_14527879425159134808.key) 23:11:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:11:30 + git tag --points-at HEAD [Pipeline] } 23:11:30 $ docker exec --env ******** --env ******** 136f2febf6b847dbce5dbdb4a85a82f4a110c9e628053769c6db586c8671bfad ssh-agent -k 23:11:30 unset SSH_AUTH_SOCK; 23:11:30 unset SSH_AGENT_PID; 23:11:30 echo Agent pid 39 killed; 23:11:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:11:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:11:30 [ssh-agent] Looking for ssh-agent implementation... 23:11:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:11:30 $ docker exec 136f2febf6b847dbce5dbdb4a85a82f4a110c9e628053769c6db586c8671bfad ssh-agent 23:11:30 SSH_AUTH_SOCK=/tmp/ssh-HZgkQelmuPGj/agent.72 23:11:30 SSH_AGENT_PID=78 23:11:30 Running ssh-add (command line suppressed) 23:11:30 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-109@tmp/private_key_7065512719824977667.key (/w/workspace/undry_device-rfid-llrp-go_PR-109@tmp/private_key_7065512719824977667.key) 23:11:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:11:31 + git semver init 23:11:31 2022-09-27 23:11:31,216 [run_init] DEBUG init version:0.0.0 force:False 23:11:31 2022-09-27 23:11:31,217 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-rfid-llrp-go_PR-109/.semver 23:11:31 2022-09-27 23:11:31,217 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rfid-llrp-go.git /w/workspace/undry_device-rfid-llrp-go_PR-109/.semver 23:11:31 2022-09-27 23:11:31,217 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rfid-llrp-go.git', '/w/workspace/undry_device-rfid-llrp-go_PR-109/.semver'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-109, universal_newlines=False, shell=None, istream=None) 23:11:32 2022-09-27 23:11:32,160 [append_file] DEBUG append to file:/w/workspace/undry_device-rfid-llrp-go_PR-109/.git/info/exclude 23:11:32 2022-09-27 23:11:32,161 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-rfid-llrp-go_PR-109/.semver/PR-109 with force:False 23:11:32 2022-09-27 23:11:32,161 [write_file] DEBUG write to file:/w/workspace/undry_device-rfid-llrp-go_PR-109/.semver/PR-109 23:11:32 2022-09-27 23:11:32,165 [execute] INFO git cat-file --batch-check 23:11:32 2022-09-27 23:11:32,165 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-109/.semver, universal_newlines=False, shell=None, istream=) 23:11:32 2022-09-27 23:11:32,171 [execute] INFO git cat-file --batch 23:11:32 2022-09-27 23:11:32,171 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-109/.semver, universal_newlines=False, shell=None, istream=) 23:11:32 2022-09-27 23:11:32,177 [read_version] DEBUG read version from /w/workspace/undry_device-rfid-llrp-go_PR-109/.semver/PR-109 23:11:32 0.0.0 [Pipeline] } 23:11:32 $ docker exec --env ******** --env ******** 136f2febf6b847dbce5dbdb4a85a82f4a110c9e628053769c6db586c8671bfad ssh-agent -k 23:11:32 unset SSH_AUTH_SOCK; 23:11:32 unset SSH_AGENT_PID; 23:11:32 echo Agent pid 78 killed; 23:11:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:11:32 + git semver [Pipeline] } 23:11:33 $ docker stop --time=1 136f2febf6b847dbce5dbdb4a85a82f4a110c9e628053769c6db586c8671bfad 23:11:34 $ docker rm -f 136f2febf6b847dbce5dbdb4a85a82f4a110c9e628053769c6db586c8671bfad [Pipeline] // withDockerContainer [Pipeline] sh 23:11:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:11:35 Stashed 1 file(s) [Pipeline] echo 23:11:35 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:11:35 provisioning config files... 23:11:35 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-109@tmp/config1612656697353374448tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:11:35 ---> docker-login.sh 23:11:35 nexus3.edgexfoundry.org:10001 23:11:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:11:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:11:35 Configure a credential helper to remove this warning. See 23:11:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:11:35 23:11:35 Login Succeeded 23:11:35 nexus3.edgexfoundry.org:10002 23:11:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:11:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:11:35 Configure a credential helper to remove this warning. See 23:11:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:11:35 23:11:35 Login Succeeded 23:11:35 nexus3.edgexfoundry.org:10003 23:11:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:11:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:11:36 Configure a credential helper to remove this warning. See 23:11:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:11:36 23:11:36 Login Succeeded 23:11:36 nexus3.edgexfoundry.org:10004 23:11:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:11:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:11:36 Configure a credential helper to remove this warning. See 23:11:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:11:36 23:11:36 Login Succeeded 23:11:36 docker.io 23:11:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:11:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:11:36 Configure a credential helper to remove this warning. See 23:11:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:11:36 23:11:36 Login Succeeded 23:11:36 ---> docker-login.sh ends [Pipeline] } 23:11:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:11:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:11:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:11:36 ========================================================= 23:11:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 23:11:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:11:37 + 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 . 23:11:37 Sending build context to Docker daemon 4.069MB 23:11:37 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 23:11:37 Step 2/13 : FROM ${BASE} AS builder 23:11:37 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 23:11:37 2408cc74d12b: Pulling fs layer 23:11:37 ea60b727a1ce: Pulling fs layer 23:11:37 30c4a7721957: Pulling fs layer 23:11:37 370296b7ddb6: Pulling fs layer 23:11:37 7c6cee850709: Pulling fs layer 23:11:37 39a5fcdaea64: Pulling fs layer 23:11:37 d94ebbe4e438: Pulling fs layer 23:11:37 bcfd1f05c69d: Pulling fs layer 23:11:37 59ccb84bbe0f: Pulling fs layer 23:11:37 39a5fcdaea64: Waiting 23:11:37 d94ebbe4e438: Waiting 23:11:37 bcfd1f05c69d: Waiting 23:11:37 59ccb84bbe0f: Waiting 23:11:37 370296b7ddb6: Waiting 23:11:37 7c6cee850709: Waiting 23:11:37 30c4a7721957: Verifying Checksum 23:11:37 30c4a7721957: Download complete 23:11:37 ea60b727a1ce: Download complete 23:11:37 7c6cee850709: Verifying Checksum 23:11:37 7c6cee850709: Download complete 23:11:37 39a5fcdaea64: Download complete 23:11:37 2408cc74d12b: Verifying Checksum 23:11:37 2408cc74d12b: Download complete 23:11:37 d94ebbe4e438: Download complete 23:11:37 2408cc74d12b: Pull complete 23:11:37 ea60b727a1ce: Pull complete 23:11:37 30c4a7721957: Pull complete 23:11:38 59ccb84bbe0f: Verifying Checksum 23:11:38 59ccb84bbe0f: Download complete 23:11:38 370296b7ddb6: Verifying Checksum 23:11:38 370296b7ddb6: Download complete 23:11:38 bcfd1f05c69d: Verifying Checksum 23:11:38 bcfd1f05c69d: Download complete 23:11:41 370296b7ddb6: Pull complete 23:11:41 7c6cee850709: Pull complete 23:11:42 39a5fcdaea64: Pull complete 23:11:42 d94ebbe4e438: Pull complete 23:11:43 bcfd1f05c69d: Pull complete 23:11:44 59ccb84bbe0f: Pull complete 23:11:44 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 23:11:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 23:11:44 ---> a4fb48ad2a94 23:11:44 Step 3/13 : ARG ADD_BUILD_TAGS="" 23:11:48 ---> Running in 5aacde635c12 23:11:48 Removing intermediate container 5aacde635c12 23:11:48 ---> 0be7680ed238 23:11:48 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:11:48 ---> Running in 6600b49d5fdd 23:11:48 Removing intermediate container 6600b49d5fdd 23:11:48 ---> 9a4cb8a778c6 23:11:48 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 23:11:48 ---> Running in 919d175314a2 23:11:48 Removing intermediate container 919d175314a2 23:11:48 ---> 3539027efe0b 23:11:48 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 23:11:48 ---> Running in 44bf642c99fb 23:11:48 Removing intermediate container 44bf642c99fb 23:11:48 ---> 82dca7f49d50 23:11:48 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:11:48 ---> Running in fd8e985c9883 23:11:49 Removing intermediate container fd8e985c9883 23:11:49 ---> aef38f48136d 23:11:49 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:11:49 ---> Running in b192691eedde 23:11:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:11:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:11:50 OK: 211 MiB in 51 packages 23:11:50 Still waiting to schedule task 23:11:50 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1458’ 23:11:50 Removing intermediate container b192691eedde 23:11:50 ---> ba064a20034f 23:11:50 Step 9/13 : WORKDIR /app 23:11:50 ---> Running in 193245045a26 23:11:50 Removing intermediate container 193245045a26 23:11:50 ---> 837951ee10b2 23:11:50 Step 10/13 : COPY go.mod vendor* ./ 23:11:50 ---> 623ba2b4c2e9 23:11:50 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:11:50 ---> Running in 014d2dc0dd77 23:12:12 Removing intermediate container 014d2dc0dd77 23:12:12 ---> 25a36d230d0c 23:12:12 Step 12/13 : COPY . . 23:12:12 ---> cb8ebaa323e6 23:12:12 Step 13/13 : RUN $MAKE 23:12:12 ---> Running in 2dc34a7b5949 23:12:12 noop 23:12:12 Removing intermediate container 2dc34a7b5949 23:12:12 ---> ff0a807f0b36 23:12:12 Successfully built ff0a807f0b36 23:12:12 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:12:13 + docker inspect -f . ci-base-image-x86_64 23:12:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:12:13 prd-ubuntu20.04-docker-8c-8g-1459 does not seem to be running inside a container 23:12:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-rfid-llrp-go_PR-109 -v /w/workspace/undry_device-rfid-llrp-go_PR-109:/w/workspace/undry_device-rfid-llrp-go_PR-109:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-109@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-109@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:12:13 $ docker top 5b89945038cd1ad762482aee97095f9a155e1a4758980aa3e9550a67162e4d82 -eo pid,comm [Pipeline] { [Pipeline] sh 23:12:14 + go version 23:12:14 go version go1.18.3 linux/amd64 [Pipeline] } 23:12:14 $ docker stop --time=1 5b89945038cd1ad762482aee97095f9a155e1a4758980aa3e9550a67162e4d82 23:12:15 $ docker rm -f 5b89945038cd1ad762482aee97095f9a155e1a4758980aa3e9550a67162e4d82 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:12:16 + docker inspect -f . ci-base-image-x86_64 23:12:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:12:16 prd-ubuntu20.04-docker-8c-8g-1459 does not seem to be running inside a container 23:12:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-rfid-llrp-go_PR-109 -v /w/workspace/undry_device-rfid-llrp-go_PR-109:/w/workspace/undry_device-rfid-llrp-go_PR-109:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-109@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-109@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:12:16 $ docker top bc30b0fec8bb8bd1f823e16801ae0ca67a1d3286a0b88e2392d6b52923cebfd8 -eo pid,comm [Pipeline] { [Pipeline] sh 23:12:17 + git config --global --add safe.directory /w/workspace/undry_device-rfid-llrp-go_PR-109 [Pipeline] fileExists [Pipeline] sh 23:12:17 + make test 23:12:17 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:12:17 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 23:12:27 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 23:12:27 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 23:12:30 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 3.301s coverage: 38.5% of statements 23:12:30 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.243s coverage: 51.9% of statements 23:12:30 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.038s coverage: 95.5% of statements 23:12:39 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." 23:12:39 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:12:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:12:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:12:40 ./bin/test-attribution-txt.sh [Pipeline] echo 23:12:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:12:41 $ docker stop --time=1 bc30b0fec8bb8bd1f823e16801ae0ca67a1d3286a0b88e2392d6b52923cebfd8 23:12:43 $ docker rm -f bc30b0fec8bb8bd1f823e16801ae0ca67a1d3286a0b88e2392d6b52923cebfd8 [Pipeline] // withDockerContainer [Pipeline] sh 23:12:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:12:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:12:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:12:45 + ls -al . 23:12:45 total 640 23:12:45 drwxrwxr-x 11 jenkins jenkins 4096 Sep 27 23:12 . 23:12:45 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 23:11 .. 23:12:45 -rw-rw-r-- 1 jenkins jenkins 134 Sep 27 23:11 .dockerignore 23:12:45 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 23:12 .git 23:12:45 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 23:11 .github 23:12:45 -rw-rw-r-- 1 jenkins jenkins 946 Sep 27 23:11 .gitignore 23:12:45 -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 23:11 .golangci.yml 23:12:45 drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 23:11 .semver 23:12:45 -rw-rw-r-- 1 jenkins jenkins 11000 Sep 27 23:11 Attribution.txt 23:12:45 -rw-rw-r-- 1 jenkins jenkins 3740 Sep 27 23:11 CHANGELOG.md 23:12:45 -rw-rw-r-- 1 jenkins jenkins 1575 Sep 27 23:11 Dockerfile 23:12:45 -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 23:11 GOVERNANCE.md 23:12:45 -rw-rw-r-- 1 jenkins jenkins 683 Sep 27 23:11 Jenkinsfile 23:12:45 -rw-rw-r-- 1 jenkins jenkins 11347 Sep 27 23:11 LICENSE 23:12:45 -rw-rw-r-- 1 jenkins jenkins 2405 Sep 27 23:11 Makefile 23:12:45 -rw-rw-r-- 1 jenkins jenkins 625 Sep 27 23:11 OWNERS.md 23:12:45 -rw-rw-r-- 1 jenkins jenkins 29160 Sep 27 23:11 README.md 23:12:45 -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 23:11 VERSION 23:12:45 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 23:11 bin 23:12:45 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 23:11 cmd 23:12:45 -rw-r--r-- 1 jenkins jenkins 460049 Sep 27 23:12 coverage.out 23:12:45 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 23:11 examples 23:12:45 -rw-rw-r-- 1 jenkins jenkins 3609 Sep 27 23:11 go.mod 23:12:45 -rw-rw-r-- 1 jenkins jenkins 37783 Sep 27 23:11 go.sum 23:12:45 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 23:11 images 23:12:45 drwxrwxr-x 5 jenkins jenkins 4096 Sep 27 23:11 internal 23:12:45 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 23:11 snap 23:12:45 -rw-rw-r-- 1 jenkins jenkins 193 Sep 27 23:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:12:45 + 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=9b5f28e3c5720c10038d035e1a5d008fc4c90c75 --label arch=amd64 --label version=0.0.0 . 23:12:45 Sending build context to Docker daemon 4.069MB 23:12:45 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 23:12:45 Step 2/26 : FROM ${BASE} AS builder 23:12:45 ---> ff0a807f0b36 23:12:45 Step 3/26 : ARG ADD_BUILD_TAGS="" 23:12:45 ---> Running in 764e699358b6 23:12:45 Removing intermediate container 764e699358b6 23:12:45 ---> 6161258bae67 23:12:45 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:12:45 ---> Running in ed3aa81a1ebd 23:12:45 Removing intermediate container ed3aa81a1ebd 23:12:45 ---> 90eeb4c8c9c8 23:12:45 Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 23:12:45 ---> Running in cb17b622e2d2 23:12:46 Removing intermediate container cb17b622e2d2 23:12:46 ---> 9f737b9634b0 23:12:46 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 23:12:46 ---> Running in 7cd2916ba27a 23:12:46 Removing intermediate container 7cd2916ba27a 23:12:46 ---> e33bb28d4ff2 23:12:46 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:12:46 ---> Running in caa8d56634b2 23:12:46 Removing intermediate container caa8d56634b2 23:12:46 ---> 8c2ef42e6f67 23:12:46 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:12:46 ---> Running in 8809f076b790 23:12:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:12:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:12:48 OK: 211 MiB in 51 packages 23:12:48 Removing intermediate container 8809f076b790 23:12:48 ---> 05505ff8e024 23:12:48 Step 9/26 : WORKDIR /app 23:12:48 ---> Running in 56eb5dc91f6c 23:12:48 Removing intermediate container 56eb5dc91f6c 23:12:48 ---> c021e7b58bbe 23:12:48 Step 10/26 : COPY go.mod vendor* ./ 23:12:48 ---> ae71a2c7f1c3 23:12:48 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:12:48 ---> Running in eb1ba0a5fa11 23:12:49 Removing intermediate container eb1ba0a5fa11 23:12:49 ---> 95ed60bfc589 23:12:49 Step 12/26 : COPY . . 23:12:49 ---> 60092cf91c98 23:12:49 Step 13/26 : RUN $MAKE 23:12:49 ---> Running in 6b042e197186 23:12:49 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.28 -X github.com/edgexfoundry/device-rfid-llrp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rfid-llrp ./cmd 23:13:11 Removing intermediate container 6b042e197186 23:13:11 ---> 8bd503ce50f3 23:13:11 Step 14/26 : FROM alpine:3.16 23:13:11 3.16: Pulling from library/alpine 23:13:11 213ec9aee27d: Pulling fs layer 23:13:11 213ec9aee27d: Verifying Checksum 23:13:11 213ec9aee27d: Download complete 23:13:11 213ec9aee27d: Pull complete 23:13:11 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 23:13:11 Status: Downloaded newer image for alpine:3.16 23:13:11 ---> 9c6f07244728 23:13:11 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 23:13:11 ---> Running in f6dfed927bc8 23:13:11 Removing intermediate container f6dfed927bc8 23:13:11 ---> 5ce958ab60d7 23:13:11 Step 16/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:13:11 ---> Running in e652eb7e8407 23:13:11 Removing intermediate container e652eb7e8407 23:13:11 ---> e7b0a774057d 23:13:11 Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init 23:13:11 ---> Running in c4bb265c33f1 23:13:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:13:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:13:11 (1/6) Installing dumb-init (1.2.5-r1) 23:13:11 (2/6) Installing libgcc (11.2.1_git20220219-r2) 23:13:11 (3/6) Installing libsodium (1.0.18-r0) 23:13:12 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 23:13:12 (5/6) Installing libzmq (4.3.4-r0) 23:13:12 (6/6) Installing zeromq (4.3.4-r0) 23:13:12 Executing busybox-1.35.0-r17.trigger 23:13:12 OK: 8 MiB in 20 packages 23:13:12 Removing intermediate container c4bb265c33f1 23:13:12 ---> 9ec58ba4b31e 23:13:12 Step 18/26 : COPY --from=builder /app/LICENSE / 23:13:12 ---> 7bf8ae9d8207 23:13:12 Step 19/26 : COPY --from=builder /app/Attribution.txt / 23:13:12 ---> 1658f4ea918b 23:13:12 Step 20/26 : COPY --from=builder /app/cmd/ / 23:13:13 ---> 972c157449be 23:13:13 Step 21/26 : EXPOSE 59989 23:13:13 ---> Running in 50d37a2a564c 23:13:13 Removing intermediate container 50d37a2a564c 23:13:13 ---> cac4dde907eb 23:13:13 Step 22/26 : ENTRYPOINT ["/device-rfid-llrp"] 23:13:13 ---> Running in e0a82aa62413 23:13:13 Removing intermediate container e0a82aa62413 23:13:13 ---> c13fbb8e7dad 23:13:13 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 23:13:13 ---> Running in a844c2160ad7 23:13:13 Removing intermediate container a844c2160ad7 23:13:13 ---> ea00129a0944 23:13:13 Step 24/26 : LABEL arch=amd64 23:13:13 ---> Running in 0ebc6dae2a61 23:13:14 Removing intermediate container 0ebc6dae2a61 23:13:14 ---> cf959379f38c 23:13:14 Step 25/26 : LABEL git_sha=9b5f28e3c5720c10038d035e1a5d008fc4c90c75 23:13:14 ---> Running in b1c3f8432ee2 23:13:14 Removing intermediate container b1c3f8432ee2 23:13:14 ---> 6d5bed1a9683 23:13:14 Step 26/26 : LABEL version=0.0.0 23:13:14 ---> Running in f12afdbfd29b 23:13:14 Removing intermediate container f12afdbfd29b 23:13:14 ---> 1cf6bb5d3af9 23:13:14 [Warning] One or more build-args [ARCH] were not consumed 23:13:14 Successfully built 1cf6bb5d3af9 23:13:14 Successfully tagged device-rfid-llrp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:13:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:13:14 23:13:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:13:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:13:15 latest: Pulling from edgex-lftools-log-publisher 23:13:15 5eb5b503b376: Pulling fs layer 23:13:15 5c69ac0246d0: Pulling fs layer 23:13:15 ec43610c2a17: Pulling fs layer 23:13:15 3a2ae6a8a46f: Pulling fs layer 23:13:15 33b1e0a273af: Pulling fs layer 23:13:15 5d3b04190fa2: Pulling fs layer 23:13:15 2f39f015ded8: Pulling fs layer 23:13:15 33b1e0a273af: Waiting 23:13:15 5d3b04190fa2: Waiting 23:13:15 2f39f015ded8: Waiting 23:13:15 3a2ae6a8a46f: Waiting 23:13:15 5c69ac0246d0: Verifying Checksum 23:13:15 5c69ac0246d0: Download complete 23:13:15 3a2ae6a8a46f: Verifying Checksum 23:13:15 3a2ae6a8a46f: Download complete 23:13:15 33b1e0a273af: Verifying Checksum 23:13:15 33b1e0a273af: Download complete 23:13:15 5d3b04190fa2: Download complete 23:13:15 ec43610c2a17: Verifying Checksum 23:13:15 ec43610c2a17: Download complete 23:13:15 5eb5b503b376: Verifying Checksum 23:13:15 5eb5b503b376: Download complete 23:13:16 2f39f015ded8: Verifying Checksum 23:13:16 2f39f015ded8: Download complete 23:13:16 5eb5b503b376: Pull complete 23:13:17 5c69ac0246d0: Pull complete 23:13:17 ec43610c2a17: Pull complete 23:13:17 3a2ae6a8a46f: Pull complete 23:13:17 33b1e0a273af: Pull complete 23:13:17 5d3b04190fa2: Pull complete 23:13:22 2f39f015ded8: Pull complete 23:13:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:13:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:13:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:13:22 prd-ubuntu20.04-docker-8c-8g-1459 does not seem to be running inside a container 23:13:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-rfid-llrp-go_PR-109 -v /w/workspace/undry_device-rfid-llrp-go_PR-109:/w/workspace/undry_device-rfid-llrp-go_PR-109:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-109@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-109@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:13:25 $ docker top e223b22a08d21732c7f600cebbd9c2b8cae4e2b5a7c27f9d8e0c4f944a094d15 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:13:25 ---> job-cost.sh 23:13:25 lf-activate-venv: SKIPPING 23:13:25 INFO: No Stack... 23:13:25 INFO: Retrieving Pricing Info for: v3-standard-8 23:13:26 INFO: Archiving Costs [Pipeline] sh 23:13:26 + cat /w/workspace/undry_device-rfid-llrp-go_PR-109/archives/cost.csv 23:13:26 + cut -d, -f6 [Pipeline] lock 23:13:26 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-109-1-stack-cost] 23:13:26 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-109-1-stack-cost] did not exist. Created. 23:13:26 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-109-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:13:27 + echo total: 0.2199999988079071 [Pipeline] stash 23:13:27 Stashed 1 file(s) [Pipeline] } 23:13:27 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-109-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:13:27 $ docker stop --time=1 e223b22a08d21732c7f600cebbd9c2b8cae4e2b5a7c27f9d8e0c4f944a094d15 23:13:28 $ docker rm -f e223b22a08d21732c7f600cebbd9c2b8cae4e2b5a7c27f9d8e0c4f944a094d15 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:15:06 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1460 in /w/workspace/undry_device-rfid-llrp-go_PR-109 [Pipeline] { [Pipeline] ws 23:15:06 Running in /w/workspace/device-rfid-llrp-go/1 [Pipeline] { [Pipeline] checkout 23:15:06 Selected Git installation does not exist. Using Default 23:15:06 The recommended git tool is: NONE 23:15:11 using credential edgex-jenkins-ssh 23:15:12 Cloning the remote Git repository 23:15:12 Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git 23:15:12 > git init /w/workspace/device-rfid-llrp-go/1 # timeout=10 23:15:12 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 23:15:12 > git --version # timeout=10 23:15:12 > git --version # 'git version 2.25.1' 23:15:12 using GIT_SSH to set credentials SSH Credentials for GitHub 23:15:12 Verifying host key using known hosts file 23:15:12 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 23:15:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:15:13 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 23:15:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:15:15 Merging remotes/origin/main commit abf08d0160819e269393c084552fc961dbc8790f into PR head commit 9b5f28e3c5720c10038d035e1a5d008fc4c90c75 23:15:14 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 23:15:14 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 23:15:14 using GIT_SSH to set credentials SSH Credentials for GitHub 23:15:14 Verifying host key using known hosts file 23:15:14 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 23:15:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/109/head:refs/remotes/origin/PR-109 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:15:15 > git config core.sparsecheckout # timeout=10 23:15:15 > git checkout -f 9b5f28e3c5720c10038d035e1a5d008fc4c90c75 # timeout=10 23:15:15 > git remote # timeout=10 23:15:15 Merge succeeded, producing 9b5f28e3c5720c10038d035e1a5d008fc4c90c75 23:15:15 Checking out Revision 9b5f28e3c5720c10038d035e1a5d008fc4c90c75 (PR-109) 23:15:15 > git config --get remote.origin.url # timeout=10 23:15:15 using GIT_SSH to set credentials SSH Credentials for GitHub 23:15:15 Verifying host key using known hosts file 23:15:15 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 23:15:15 > git merge abf08d0160819e269393c084552fc961dbc8790f # timeout=10 23:15:15 > git rev-parse HEAD^{commit} # timeout=10 23:15:15 > git config core.sparsecheckout # timeout=10 23:15:15 > git checkout -f 9b5f28e3c5720c10038d035e1a5d008fc4c90c75 # timeout=10 23:15:19 Commit message: "build: Add option to build Service with NATS Capability" 23:15:19 > git --version # timeout=10 23:15:19 > git --version # 'git version 2.25.1' 23:15:19 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:15:20 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:15:20 % Total % Received % Xferd Average Speed Time Time Time Current 23:15:20 Dload Upload Total Spent Left Speed 23:15:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 70402 0 --:--:-- --:--:-- --:--:-- 70402 [Pipeline] sh 23:15:20 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:15:21 + sudo tee /etc/docker/daemon.new 23:15:21 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:15:21 { 23:15:21 "registry-mirrors": [ 23:15:21 "https://nexus3.edgexfoundry.org:10001" 23:15:21 ], 23:15:21 "bip": "10.250.0.254/24", 23:15:21 "hosts": [ 23:15:21 "tcp://0.0.0.0:5555", 23:15:21 "unix:///var/run/docker.sock" 23:15:21 ], 23:15:21 "mtu": 1458, 23:15:21 "selinux-enabled": true, 23:15:21 "seccomp-profile": "/etc/docker/seccomp.json" 23:15:21 } [Pipeline] sh 23:15:21 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:15:21 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:15:40 provisioning config files... 23:15:40 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/device-rfid-llrp-go/1@tmp/config17521931483637355650tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:15:40 ---> docker-login.sh 23:15:40 nexus3.edgexfoundry.org:10001 23:15:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:15:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:15:41 Configure a credential helper to remove this warning. See 23:15:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:15:41 23:15:41 Login Succeeded 23:15:41 nexus3.edgexfoundry.org:10002 23:15:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:15:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:15:41 Configure a credential helper to remove this warning. See 23:15:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:15:41 23:15:41 Login Succeeded 23:15:41 nexus3.edgexfoundry.org:10003 23:15:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:15:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:15:42 Configure a credential helper to remove this warning. See 23:15:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:15:42 23:15:42 Login Succeeded 23:15:42 nexus3.edgexfoundry.org:10004 23:15:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:15:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:15:42 Configure a credential helper to remove this warning. See 23:15:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:15:42 23:15:42 Login Succeeded 23:15:42 docker.io 23:15:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:15:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:15:42 Configure a credential helper to remove this warning. See 23:15:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:15:42 23:15:42 Login Succeeded 23:15:42 ---> docker-login.sh ends [Pipeline] } 23:15:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:15:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:15:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:15:43 ========================================================= 23:15:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 23:15:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:15:43 + 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 . 23:15:44 Sending build context to Docker daemon 1.221MB 23:15:44 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 23:15:44 Step 2/13 : FROM ${BASE} AS builder 23:15:44 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:15:44 b3c136eddcbf: Pulling fs layer 23:15:44 c0a3192eca97: Pulling fs layer 23:15:44 a050256f5b6f: Pulling fs layer 23:15:44 656be50a0ddc: Pulling fs layer 23:15:44 2bbca73fdf42: Pulling fs layer 23:15:44 46d945488cbd: Pulling fs layer 23:15:44 8a5474983e97: Pulling fs layer 23:15:44 329c88fbcd65: Pulling fs layer 23:15:44 2bbca73fdf42: Waiting 23:15:44 46d945488cbd: Waiting 23:15:44 8a5474983e97: Waiting 23:15:44 329c88fbcd65: Waiting 23:15:44 656be50a0ddc: Waiting 23:15:44 a050256f5b6f: Download complete 23:15:44 c0a3192eca97: Verifying Checksum 23:15:44 c0a3192eca97: Download complete 23:15:44 2bbca73fdf42: Verifying Checksum 23:15:44 2bbca73fdf42: Download complete 23:15:44 46d945488cbd: Verifying Checksum 23:15:44 46d945488cbd: Download complete 23:15:44 b3c136eddcbf: Verifying Checksum 23:15:44 b3c136eddcbf: Download complete 23:15:45 b3c136eddcbf: Pull complete 23:15:45 329c88fbcd65: Verifying Checksum 23:15:45 329c88fbcd65: Download complete 23:15:45 c0a3192eca97: Pull complete 23:15:45 a050256f5b6f: Pull complete 23:15:46 8a5474983e97: Verifying Checksum 23:15:46 8a5474983e97: Download complete 23:15:47 656be50a0ddc: Download complete 23:15:59 656be50a0ddc: Pull complete 23:15:59 2bbca73fdf42: Pull complete 23:15:59 46d945488cbd: Pull complete 23:16:04 8a5474983e97: Pull complete 23:16:06 329c88fbcd65: Pull complete 23:16:06 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 23:16:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 23:16:06 ---> ff4287adb874 23:16:06 Step 3/13 : ARG ADD_BUILD_TAGS="" 23:16:08 ---> Running in 569e730572f2 23:16:09 Removing intermediate container 569e730572f2 23:16:09 ---> e91a1bd63944 23:16:09 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:16:09 ---> Running in f81257f6c68b 23:16:09 Removing intermediate container f81257f6c68b 23:16:09 ---> 1a8773d8a94c 23:16:09 Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 23:16:09 ---> Running in e1ec640ed868 23:16:10 Removing intermediate container e1ec640ed868 23:16:10 ---> 7e4b45805dce 23:16:10 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 23:16:10 ---> Running in b82cbc2351f9 23:16:10 Removing intermediate container b82cbc2351f9 23:16:10 ---> 960234e4444f 23:16:10 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:16:10 ---> Running in dd25c1a8896a 23:16:12 Removing intermediate container dd25c1a8896a 23:16:12 ---> dcad28b7c898 23:16:12 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:16:12 ---> Running in 9c1fc47d1c18 23:16:13 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:16:14 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:16:15 OK: 221 MiB in 51 packages 23:16:16 Removing intermediate container 9c1fc47d1c18 23:16:16 ---> 25c56e53b014 23:16:16 Step 9/13 : WORKDIR /app 23:16:16 ---> Running in 59a74d86c38f 23:16:16 Removing intermediate container 59a74d86c38f 23:16:16 ---> 18e346721944 23:16:16 Step 10/13 : COPY go.mod vendor* ./ 23:16:17 ---> a53594e291bb 23:16:17 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:16:17 ---> Running in dd4911e91ac9 23:17:04 Removing intermediate container dd4911e91ac9 23:17:04 ---> dde4d2561991 23:17:04 Step 12/13 : COPY . . 23:17:04 ---> 2e8f9790bff1 23:17:04 Step 13/13 : RUN $MAKE 23:17:04 ---> Running in 03881759b84e 23:17:05 noop 23:17:06 Removing intermediate container 03881759b84e 23:17:06 ---> b7550f328ba5 23:17:06 Successfully built b7550f328ba5 23:17:06 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:06 + docker inspect -f . ci-base-image-arm64 23:17:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:17:06 prd-ubuntu20.04-docker-arm64-4c-16g-1460 does not seem to be running inside a container 23:17:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rfid-llrp-go/1 -v /w/workspace/device-rfid-llrp-go/1:/w/workspace/device-rfid-llrp-go/1:rw,z -v /w/workspace/device-rfid-llrp-go/1@tmp:/w/workspace/device-rfid-llrp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:17:07 $ docker top 2c643ab423db25c0fab51577810b376bacc23020f2984e22c5ff52da2470b9ef -eo pid,comm [Pipeline] { [Pipeline] sh 23:17:08 + go version 23:17:08 go version go1.18.3 linux/arm64 [Pipeline] } 23:17:08 $ docker stop --time=1 2c643ab423db25c0fab51577810b376bacc23020f2984e22c5ff52da2470b9ef 23:17:10 $ docker rm -f 2c643ab423db25c0fab51577810b376bacc23020f2984e22c5ff52da2470b9ef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:11 + docker inspect -f . ci-base-image-arm64 23:17:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:17:11 prd-ubuntu20.04-docker-arm64-4c-16g-1460 does not seem to be running inside a container 23:17:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rfid-llrp-go/1 -v /w/workspace/device-rfid-llrp-go/1:/w/workspace/device-rfid-llrp-go/1:rw,z -v /w/workspace/device-rfid-llrp-go/1@tmp:/w/workspace/device-rfid-llrp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:17:12 $ docker top d99c19231f94058fa50019dded32fcc5e9f6c4ef6ab3d19cc3f6459217c2b058 -eo pid,comm [Pipeline] { [Pipeline] sh 23:17:12 + git config --global --add safe.directory /w/workspace/device-rfid-llrp-go/1 [Pipeline] fileExists [Pipeline] sh 23:17:13 + make test 23:17:13 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:17:15 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 23:18:51 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 23:18:51 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 23:19:10 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 24.982s coverage: 38.5% of statements 23:19:10 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.494s coverage: 52.0% of statements 23:19:10 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.038s coverage: 95.5% of statements 23:19:10 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:19:10 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:19:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:19:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:19:32 ./bin/test-attribution-txt.sh [Pipeline] echo 23:19:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:19:32 $ docker stop --time=1 d99c19231f94058fa50019dded32fcc5e9f6c4ef6ab3d19cc3f6459217c2b058 23:19:33 $ docker rm -f d99c19231f94058fa50019dded32fcc5e9f6c4ef6ab3d19cc3f6459217c2b058 [Pipeline] // withDockerContainer [Pipeline] sh 23:19:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:19:34 Warning: overwriting stash ‘coverage-report’ 23:19:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:19:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:19:36 + ls -al . 23:19:36 total 636 23:19:36 drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 23:17 . 23:19:36 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 23:15 .. 23:19:36 -rw-rw-r-- 1 jenkins jenkins 134 Sep 27 23:15 .dockerignore 23:19:36 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 23:15 .git 23:19:36 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 23:15 .github 23:19:36 -rw-rw-r-- 1 jenkins jenkins 946 Sep 27 23:15 .gitignore 23:19:36 -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 23:15 .golangci.yml 23:19:36 -rw-rw-r-- 1 jenkins jenkins 11000 Sep 27 23:15 Attribution.txt 23:19:36 -rw-rw-r-- 1 jenkins jenkins 3740 Sep 27 23:15 CHANGELOG.md 23:19:36 -rw-rw-r-- 1 jenkins jenkins 1575 Sep 27 23:15 Dockerfile 23:19:36 -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 23:15 GOVERNANCE.md 23:19:36 -rw-rw-r-- 1 jenkins jenkins 683 Sep 27 23:15 Jenkinsfile 23:19:36 -rw-rw-r-- 1 jenkins jenkins 11347 Sep 27 23:15 LICENSE 23:19:36 -rw-rw-r-- 1 jenkins jenkins 2405 Sep 27 23:15 Makefile 23:19:36 -rw-rw-r-- 1 jenkins jenkins 625 Sep 27 23:15 OWNERS.md 23:19:36 -rw-rw-r-- 1 jenkins jenkins 29160 Sep 27 23:15 README.md 23:19:36 -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 23:11 VERSION 23:19:36 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 23:15 bin 23:19:36 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 23:15 cmd 23:19:36 -rw-r--r-- 1 jenkins jenkins 460049 Sep 27 23:19 coverage.out 23:19:36 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 23:15 examples 23:19:36 -rw-rw-r-- 1 jenkins jenkins 3609 Sep 27 23:15 go.mod 23:19:36 -rw-rw-r-- 1 jenkins jenkins 37783 Sep 27 23:15 go.sum 23:19:36 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 23:15 images 23:19:36 drwxrwxr-x 5 jenkins jenkins 4096 Sep 27 23:15 internal 23:19:36 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 23:15 snap 23:19:36 -rw-rw-r-- 1 jenkins jenkins 193 Sep 27 23:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:19:37 + 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=9b5f28e3c5720c10038d035e1a5d008fc4c90c75 --label arch=arm64 --label version=0.0.0 . 23:19:37 Sending build context to Docker daemon 1.221MB 23:19:37 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 23:19:37 Step 2/26 : FROM ${BASE} AS builder 23:19:37 ---> b7550f328ba5 23:19:37 Step 3/26 : ARG ADD_BUILD_TAGS="" 23:19:37 ---> Running in becb3302be6b 23:19:38 Removing intermediate container becb3302be6b 23:19:38 ---> d1c9a0d6c99d 23:19:38 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:19:38 ---> Running in c2575c91c1e2 23:19:38 Removing intermediate container c2575c91c1e2 23:19:38 ---> 34e7d6293d2d 23:19:38 Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 23:19:38 ---> Running in e1cc4a9be826 23:19:38 Removing intermediate container e1cc4a9be826 23:19:38 ---> a21c144d4680 23:19:38 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 23:19:38 ---> Running in c88aee9c727c 23:19:39 Removing intermediate container c88aee9c727c 23:19:39 ---> 9cccf62f93d8 23:19:39 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:19:39 ---> Running in 02f2faab7b00 23:19:41 Removing intermediate container 02f2faab7b00 23:19:41 ---> d5aff8b32b44 23:19:41 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:19:41 ---> Running in efda3c28cf79 23:19:42 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:19:43 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:19:45 OK: 221 MiB in 51 packages 23:19:45 Removing intermediate container efda3c28cf79 23:19:45 ---> 9f44f3cbe391 23:19:45 Step 9/26 : WORKDIR /app 23:19:45 ---> Running in 2bdc7ed4e856 23:19:46 Removing intermediate container 2bdc7ed4e856 23:19:46 ---> 86f4886bc41a 23:19:46 Step 10/26 : COPY go.mod vendor* ./ 23:19:46 ---> 58e4c8a4a372 23:19:46 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:19:47 ---> Running in 9788f6626770 23:19:49 Removing intermediate container 9788f6626770 23:19:49 ---> f4ab2bd710d5 23:19:49 Step 12/26 : COPY . . 23:19:49 ---> cb02ea56e1ef 23:19:49 Step 13/26 : RUN $MAKE 23:19:50 ---> Running in d4db7c7143e9 23:19:51 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.28 -X github.com/edgexfoundry/device-rfid-llrp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rfid-llrp ./cmd 23:22:12 Removing intermediate container d4db7c7143e9 23:22:12 ---> d5546188b336 23:22:12 Step 14/26 : FROM alpine:3.16 23:22:12 3.16: Pulling from library/alpine 23:22:12 9b18e9b68314: Pulling fs layer 23:22:12 9b18e9b68314: Verifying Checksum 23:22:12 9b18e9b68314: Download complete 23:22:12 9b18e9b68314: Pull complete 23:22:12 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 23:22:12 Status: Downloaded newer image for alpine:3.16 23:22:12 ---> a6215f271958 23:22:12 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 23:22:12 ---> Running in fabffcfb500d 23:22:12 Removing intermediate container fabffcfb500d 23:22:12 ---> 23eb7d4b1171 23:22:12 Step 16/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:22:12 ---> Running in 027e72f6a8f6 23:22:13 Removing intermediate container 027e72f6a8f6 23:22:13 ---> 03b7858de807 23:22:13 Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init 23:22:13 ---> Running in 28ef1997f030 23:22:14 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:22:15 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:22:16 (1/6) Installing dumb-init (1.2.5-r1) 23:22:16 (2/6) Installing libgcc (11.2.1_git20220219-r2) 23:22:16 (3/6) Installing libsodium (1.0.18-r0) 23:22:17 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 23:22:17 (5/6) Installing libzmq (4.3.4-r0) 23:22:17 (6/6) Installing zeromq (4.3.4-r0) 23:22:17 Executing busybox-1.35.0-r17.trigger 23:22:17 OK: 8 MiB in 20 packages 23:22:18 Removing intermediate container 28ef1997f030 23:22:18 ---> 7e53759124b5 23:22:18 Step 18/26 : COPY --from=builder /app/LICENSE / 23:22:18 ---> ff68fd3319e7 23:22:18 Step 19/26 : COPY --from=builder /app/Attribution.txt / 23:22:19 ---> eecc1fcc81dd 23:22:19 Step 20/26 : COPY --from=builder /app/cmd/ / 23:22:20 ---> 4bafc3ded630 23:22:20 Step 21/26 : EXPOSE 59989 23:22:20 ---> Running in ec1a3a30a7fa 23:22:21 Removing intermediate container ec1a3a30a7fa 23:22:21 ---> 738790eba4f7 23:22:21 Step 22/26 : ENTRYPOINT ["/device-rfid-llrp"] 23:22:21 ---> Running in 493b3d701ae1 23:22:21 Removing intermediate container 493b3d701ae1 23:22:21 ---> 1cdde8f18834 23:22:21 Step 23/26 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 23:22:21 ---> Running in 6b13fb14b1e7 23:22:21 Removing intermediate container 6b13fb14b1e7 23:22:21 ---> d4547d64e659 23:22:21 Step 24/26 : LABEL arch=arm64 23:22:21 ---> Running in b6547d3dd5af 23:22:21 Removing intermediate container b6547d3dd5af 23:22:21 ---> 27029a815445 23:22:21 Step 25/26 : LABEL git_sha=9b5f28e3c5720c10038d035e1a5d008fc4c90c75 23:22:21 ---> Running in 0d314bca220e 23:22:22 Removing intermediate container 0d314bca220e 23:22:22 ---> 860b2fb60518 23:22:22 Step 26/26 : LABEL version=0.0.0 23:22:22 ---> Running in 02bd50ec30d5 23:22:22 Removing intermediate container 02bd50ec30d5 23:22:22 ---> 1a257ed6dcd1 23:22:22 [Warning] One or more build-args [ARCH] were not consumed 23:22:22 Successfully built 1a257ed6dcd1 23:22:22 Successfully tagged device-rfid-llrp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:22:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:22:23 23:22:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:22:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:22:23 arm64: Pulling from edgex-lftools-log-publisher 23:22:23 8998bd30e6a1: Pulling fs layer 23:22:23 04944245beec: Pulling fs layer 23:22:23 699f458cf7ca: Pulling fs layer 23:22:23 765212b225bb: Pulling fs layer 23:22:23 f23df028b6ca: Pulling fs layer 23:22:23 d65c8cfc05b1: Pulling fs layer 23:22:23 2437ff75d9bd: Pulling fs layer 23:22:23 f23df028b6ca: Waiting 23:22:23 765212b225bb: Waiting 23:22:23 d65c8cfc05b1: Waiting 23:22:23 2437ff75d9bd: Waiting 23:22:24 04944245beec: Verifying Checksum 23:22:24 04944245beec: Download complete 23:22:24 765212b225bb: Verifying Checksum 23:22:24 765212b225bb: Download complete 23:22:24 f23df028b6ca: Verifying Checksum 23:22:24 f23df028b6ca: Download complete 23:22:24 d65c8cfc05b1: Verifying Checksum 23:22:24 d65c8cfc05b1: Download complete 23:22:24 699f458cf7ca: Verifying Checksum 23:22:24 699f458cf7ca: Download complete 23:22:24 8998bd30e6a1: Verifying Checksum 23:22:24 8998bd30e6a1: Download complete 23:22:26 2437ff75d9bd: Verifying Checksum 23:22:26 2437ff75d9bd: Download complete 23:22:28 8998bd30e6a1: Pull complete 23:22:28 04944245beec: Pull complete 23:22:30 699f458cf7ca: Pull complete 23:22:30 765212b225bb: Pull complete 23:22:30 f23df028b6ca: Pull complete 23:22:31 d65c8cfc05b1: Pull complete 23:22:46 2437ff75d9bd: Pull complete 23:22:46 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:22:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:22:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:22:46 prd-ubuntu20.04-docker-arm64-4c-16g-1460 does not seem to be running inside a container 23:22:46 $ 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/1 -v /w/workspace/device-rfid-llrp-go/1:/w/workspace/device-rfid-llrp-go/1:rw,z -v /w/workspace/device-rfid-llrp-go/1@tmp:/w/workspace/device-rfid-llrp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:22:48 $ docker top 37130ca6dea6971eb852d7b96179890c042eec6a68f70e1e9c345a9b1dc363a4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:22:49 ---> job-cost.sh 23:22:49 lf-activate-venv: SKIPPING 23:22:49 INFO: No Stack... 23:22:50 INFO: Retrieving Pricing Info for: v3-standard-4 23:22:50 INFO: Archiving Costs [Pipeline] sh 23:22:51 + cut -d, -f6 23:22:51 + cat /w/workspace/device-rfid-llrp-go/1/archives/cost.csv [Pipeline] lock 23:22:51 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-109-1-stack-cost] 23:22:51 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-109-1-stack-cost] did not exist. Created. 23:22:51 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-109-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:22:51 /w/workspace/device-rfid-llrp-go/1@tmp/durable-1fd17a57/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:22:51 + echo total: 0.10999999940395355 [Pipeline] stash 23:22:51 Warning: overwriting stash ‘stack-cost’ 23:22:52 Stashed 1 file(s) [Pipeline] } 23:22:52 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-109-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:22:52 $ docker stop --time=1 37130ca6dea6971eb852d7b96179890c042eec6a68f70e1e9c345a9b1dc363a4 23:22:53 $ docker rm -f 37130ca6dea6971eb852d7b96179890c042eec6a68f70e1e9c345a9b1dc363a4 [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 23:22:54 provisioning config files... 23:22:54 copy managed file [device-rfid-llrp-go-codecov-token] to file:/w/workspace/undry_device-rfid-llrp-go_PR-109@tmp/config12795756561439598263tmp [Pipeline] { [Pipeline] sh 23:22:54 + set +x 23:22:54 + curl -s https://codecov.io/bash 23:22:54 + bash -s -- 23:22:54 23:22:54 _____ _ 23:22:54 / ____| | | 23:22:54 | | ___ __| | ___ ___ _____ __ 23:22:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:22:54 | |___| (_) | (_| | __/ (_| (_) \ V / 23:22:54 \_____\___/ \__,_|\___|\___\___/ \_/ 23:22:54 Bash-1.0.6 23:22:54 23:22:54 23:22:54 ==> git version 2.25.1 found 23:22:54 ==> 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 23:22:54 Release-Date: 2020-01-08 23:22:54 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:22:54 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:22:54 ==> Jenkins CI detected. 23:22:54 current dir:  /w/workspace/undry_device-rfid-llrp-go_PR-109 23:22:54 project root: . 23:22:54 --> token set from env 23:22:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:22:54 ==> Running gcov in . (disable via -X gcov) 23:22:54 ==> Python coveragepy not found 23:22:54 ==> Searching for coverage reports in: 23:22:54 + . 23:22:54 -> Found 1 reports 23:22:54 ==> Detecting git/mercurial file structure 23:22:54 ==> Reading reports 23:22:54 + ./coverage.out bytes=460049 23:22:54 ==> Appending adjustments 23:22:54 https://docs.codecov.io/docs/fixing-reports 23:22:55 + Found adjustments 23:22:55 ==> Gzipping contents 23:22:55 52K /tmp/codecov.QKUJLy.gz 23:22:55 ==> Uploading reports 23:22:55 url: https://codecov.io 23:22:55 query: branch=PR-109&commit=9b5f28e3c5720c10038d035e1a5d008fc4c90c75&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-109%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=109&job=&cmd_args= 23:22:55 -> Pinging Codecov 23:22:55 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-109&commit=9b5f28e3c5720c10038d035e1a5d008fc4c90c75&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-109%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=109&job=&cmd_args= 23:22:55 -> Uploading to 23:22:55 https://storage.googleapis.com/codecov/v4/raw/2022-09-27/581DD39554BDF9B6E22D074273EAD858/9b5f28e3c5720c10038d035e1a5d008fc4c90c75/4bff00cf-823c-4f5d-abda-a08b77435f33.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220927%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220927T232255Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=143f6da032b18f4c21c0253c9a509246ff3c92b4442d13afdab98224fd34cc7c 23:22:55 % Total % Received % Xferd Average Speed Time Time Time Current 23:22:55 Dload Upload Total Spent Left Speed 23:22:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51587 0 0 100 51587 0 227k --:--:-- --:--:-- --:--:-- 226k 100 51587 0 0 100 51587 0 203k --:--:-- --:--:-- --:--:-- 202k 23:22:55 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/9b5f28e3c5720c10038d035e1a5d008fc4c90c75 [Pipeline] } 23:22:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 23:22:57 + [ -d /w/workspace/undry_device-rfid-llrp-go_PR-109/archives ] 23:22:57 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-109/archives 23:22:57 total 16 23:22:57 drwxr-xr-x 3 root root 4096 Sep 27 23:13 . 23:22:57 drwxrwxr-x 12 jenkins jenkins 4096 Sep 27 23:13 .. 23:22:57 drwxr-xr-x 2 root root 4096 Sep 27 23:13 cost 23:22:57 -rw-r--r-- 1 root root 91 Sep 27 23:13 cost.csv 23:22:57 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-rfid-llrp-go_PR-109/archives 23:22:57 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-109/archives 23:22:57 total 16 23:22:57 drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 23:13 . 23:22:57 drwxrwxr-x 12 jenkins jenkins 4096 Sep 27 23:13 .. 23:22:57 drwxr-xr-x 2 jenkins jenkins 4096 Sep 27 23:13 cost 23:22:57 -rw-r--r-- 1 jenkins jenkins 91 Sep 27 23:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:22:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:22:58 ---> package-listing.sh 23:22:58 ++ facter osfamily 23:22:58 ++ tr '[:upper:]' '[:lower:]' 23:22:59 + OS_FAMILY=debian 23:22:59 + workspace=/w/workspace/undry_device-rfid-llrp-go_PR-109 23:22:59 + START_PACKAGES=/tmp/packages_start.txt 23:22:59 + END_PACKAGES=/tmp/packages_end.txt 23:22:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:22:59 + PACKAGES=/tmp/packages_start.txt 23:22:59 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-109 ']' 23:22:59 + PACKAGES=/tmp/packages_end.txt 23:22:59 + case "${OS_FAMILY}" in 23:22:59 + dpkg -l 23:22:59 + grep '^ii' 23:22:59 + '[' -f /tmp/packages_start.txt ']' 23:22:59 + '[' -f /tmp/packages_end.txt ']' 23:22:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:22:59 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-109 ']' 23:22:59 + mkdir -p /w/workspace/undry_device-rfid-llrp-go_PR-109/archives/ 23:22:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-rfid-llrp-go_PR-109/archives/ [Pipeline] echo 23:22:59 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-rfid-llrp-go_PR-109/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:22:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:23:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:23:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:23:00 prd-ubuntu20.04-docker-8c-8g-1459 does not seem to be running inside a container 23:23:00 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-rfid-llrp-go_PR-109/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-rfid-llrp-go_PR-109 -v /w/workspace/undry_device-rfid-llrp-go_PR-109:/w/workspace/undry_device-rfid-llrp-go_PR-109:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-109@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-109@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:23:00 $ docker top 4baa6de50741cdbd69eb6ddb53ae2a25ce471bbfd2d43de8ca6d0e9096bab2c3 -eo pid,comm [Pipeline] { [Pipeline] sh 23:23:00 + touch /tmp/pre-build-complete [Pipeline] sh 23:23:01 + mkdir -p /var/log/sysstat [Pipeline] sh 23:23:01 + ls /var/log/sa-host 23:23:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:23:01 provisioning config files... 23:23:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-109@tmp/config16223352750853677357tmp [Pipeline] { [Pipeline] echo 23:23:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:23:01 ---> create-netrc.sh [Pipeline] } 23:23:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:23:02 ---> python-tools-install.sh [Pipeline] echo 23:23:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:23:02 ---> sudo-logs.sh 23:23:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:23:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:23:03 ---> job-cost.sh 23:23:03 lf-activate-venv: SKIPPING 23:23:03 DEBUG: total: 0.2199999988079071 23:23:03 INFO: Retrieving Stack Cost... 23:23:03 INFO: Retrieving Pricing Info for: v3-standard-8 23:23:03 INFO: Archiving Costs [Pipeline] echo 23:23:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:23:04 ---> logs-deploy.sh 23:23:04 lf-activate-venv: SKIPPING 23:23:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rfid-llrp-go/PR-109/1 23:23:04 INFO: archiving workspace using pattern(s): 23:23:05 Archives upload complete. 23:23:05 INFO: archiving logs to Nexus