Pull request #116 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 95524313f5e7cb61c0aa5389b242f309f31c1ce8+7dd050cc22c9d035a838129566380a3ada9f0223 (bb656a2e2f16ae39bd6fdff04c2f596911a2c675) 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-ssh2237616182297016174.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh13792828884231459910.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-116/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-116/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9801307334057878625.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-116/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5306110532947781617.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 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh4978272335844918316.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-116/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-116/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10251166188649582172.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 6c1167a966ce7273a24629bf6583a1975ad218c3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rfid-llrp-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rfid-llrp-go-settings PROJECT: device-rfid-llrp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rfid-llrp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9278 in /w/workspace/undry_device-rfid-llrp-go_PR-116 [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-116 # 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/116/head:refs/remotes/origin/PR-116 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7dd050cc22c9d035a838129566380a3ada9f0223 into PR head commit 95524313f5e7cb61c0aa5389b242f309f31c1ce8 Merge succeeded, producing 95524313f5e7cb61c0aa5389b242f309f31c1ce8 Checking out Revision 95524313f5e7cb61c0aa5389b242f309f31c1ce8 (PR-116) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:09:20 Timeout set to expire in 6 hr 0 min [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 95524313f5e7cb61c0aa5389b242f309f31c1ce8 # 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 7dd050cc22c9d035a838129566380a3ada9f0223 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 95524313f5e7cb61c0aa5389b242f309f31c1ce8 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:09:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:09:20 ========================================================= 10:09:20 EdgeX Global Pipelines Version Info 10:09:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:09:21 ------------------- 10:09:21 stable info: 10:09:21 ------------------- 10:09:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:09:21 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 10:09:21 Message: update stable to v1.0.243 10:09:21 ------------------- 10:09:21 experimental info: 10:09:21 ------------------- 10:09:21 Commited By: **** collab-it+edgex@linuxfoundation.org 10:09:21 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 10:09:21 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:09:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rfid-llrp-go-settings [Pipeline] echo 10:09:22 [edgeXSetupEnvironment]: set envvar PROJECT = device-rfid-llrp-go [Pipeline] echo 10:09:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:09:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:09:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:09:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 10:09:22 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:09:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:09:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:09:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:09:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:09:22 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rfid-llrp [Pipeline] echo 10:09:22 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:09:22 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:09:22 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:09:22 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:09:22 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:09:22 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:09:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:09:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:09:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:09:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:09:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:09:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:09:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:09:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:09:23 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:09:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-116 [Pipeline] echo 10:09:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-116 [Pipeline] echo 10:09:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-116 [Pipeline] echo 10:09:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 95524313f5e7cb61c0aa5389b242f309f31c1ce8 [Pipeline] echo 10:09:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9552431 [Pipeline] echo 10:09:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:09:23 provisioning config files... 10:09:23 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-116@tmp/config3252422223643753807tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:09:23 ---> docker-login.sh 10:09:23 nexus3.edgexfoundry.org:10001 10:09:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:09:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:09:24 Configure a credential helper to remove this warning. See 10:09:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:09:24 10:09:24 Login Succeeded 10:09:24 nexus3.edgexfoundry.org:10002 10:09:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:09:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:09:24 Configure a credential helper to remove this warning. See 10:09:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:09:24 10:09:24 Login Succeeded 10:09:24 nexus3.edgexfoundry.org:10003 10:09:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:09:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:09:24 Configure a credential helper to remove this warning. See 10:09:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:09:24 10:09:24 Login Succeeded 10:09:24 nexus3.edgexfoundry.org:10004 10:09:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:09:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:09:24 Configure a credential helper to remove this warning. See 10:09:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:09:24 10:09:24 Login Succeeded 10:09:24 docker.io 10:09:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:09:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:09:24 Configure a credential helper to remove this warning. See 10:09:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:09:24 10:09:24 Login Succeeded 10:09:24 ---> docker-login.sh ends [Pipeline] } 10:09:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:09:25 + git rev-list -1 --merges 95524313f5e7cb61c0aa5389b242f309f31c1ce8~1..95524313f5e7cb61c0aa5389b242f309f31c1ce8 [Pipeline] echo 10:09:25 -----------> git rev-list -1 --merges 95524313f5e7cb61c0aa5389b242f309f31c1ce8~1..95524313f5e7cb61c0aa5389b242f309f31c1ce8 95524313f5e7cb61c0aa5389b242f309f31c1ce8 [false] [Pipeline] sh 10:09:25 + git log --format=format:%s -1 95524313f5e7cb61c0aa5389b242f309f31c1ce8 [Pipeline] echo 10:09:25 ========================================================= 10:09:25 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:09:25 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:09:26 + git log --format=format:%s -1 95524313f5e7cb61c0aa5389b242f309f31c1ce8 [Pipeline] echo 10:09:26 [semverPrep] GIT_COMMIT: 95524313f5e7cb61c0aa5389b242f309f31c1ce8, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 10:09:26 [semverPrep] This is not a build commit. [Pipeline] sh 10:09:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:09:26 + grep -v github /etc/ssh/ssh_known_hosts 10:09:26 + [ -e /tmp/ssh_known_hosts ] 10:09:26 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:09:26 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ 10:09:26 sudo tee -a /etc/ssh/ssh_known_hosts 10:09:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:09:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:09:27 10:09:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:09:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:09:27 0.1.4: Pulling from edgex-devops/py-git-semver 10:09:27 b85a868b505f: Pulling fs layer 10:09:27 e2be974225ed: Pulling fs layer 10:09:27 339a4e72a1f5: Pulling fs layer 10:09:27 988bab9f4d93: Pulling fs layer 10:09:27 1469e6f7b9e6: Pulling fs layer 10:09:27 eaf3925da568: Pulling fs layer 10:09:27 bab4dde63d76: Pulling fs layer 10:09:27 bde34c3a00c8: Pulling fs layer 10:09:27 b352a97aabf1: Pulling fs layer 10:09:27 4872d77fe225: Pulling fs layer 10:09:27 5851b861e8e6: Pulling fs layer 10:09:27 988bab9f4d93: Waiting 10:09:27 1469e6f7b9e6: Waiting 10:09:27 eaf3925da568: Waiting 10:09:27 bab4dde63d76: Waiting 10:09:27 bde34c3a00c8: Waiting 10:09:27 b352a97aabf1: Waiting 10:09:27 4872d77fe225: Waiting 10:09:27 5851b861e8e6: Waiting 10:09:27 e2be974225ed: Verifying Checksum 10:09:27 e2be974225ed: Download complete 10:09:27 988bab9f4d93: Verifying Checksum 10:09:27 988bab9f4d93: Download complete 10:09:27 1469e6f7b9e6: Verifying Checksum 10:09:27 1469e6f7b9e6: Download complete 10:09:27 eaf3925da568: Download complete 10:09:27 339a4e72a1f5: Verifying Checksum 10:09:27 339a4e72a1f5: Download complete 10:09:27 bde34c3a00c8: Download complete 10:09:27 b352a97aabf1: Download complete 10:09:27 4872d77fe225: Verifying Checksum 10:09:27 4872d77fe225: Download complete 10:09:27 5851b861e8e6: Verifying Checksum 10:09:27 5851b861e8e6: Download complete 10:09:27 b85a868b505f: Verifying Checksum 10:09:27 b85a868b505f: Download complete 10:09:28 bab4dde63d76: Verifying Checksum 10:09:28 bab4dde63d76: Download complete 10:09:29 b85a868b505f: Pull complete 10:09:29 e2be974225ed: Pull complete 10:09:29 339a4e72a1f5: Pull complete 10:09:29 988bab9f4d93: Pull complete 10:09:29 1469e6f7b9e6: Pull complete 10:09:29 eaf3925da568: Pull complete 10:09:31 bab4dde63d76: Pull complete 10:09:31 bde34c3a00c8: Pull complete 10:09:31 b352a97aabf1: Pull complete 10:09:31 4872d77fe225: Pull complete 10:09:31 5851b861e8e6: Pull complete 10:09:31 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:09:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:09:31 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:09:32 prd-ubuntu20.04-docker-8c-8g-9278 does not seem to be running inside a container 10:09:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-rfid-llrp-go_PR-116 -v /w/workspace/undry_device-rfid-llrp-go_PR-116:/w/workspace/undry_device-rfid-llrp-go_PR-116:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-116@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-116@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 10:09:33 $ docker top 268aea090a3efa92432f9fe3222717f20d034edaf6d8ed7ababc6c6a7514ce63 -eo pid,comm 10:09:33 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). 10:09:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:09:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:09:33 [ssh-agent] Looking for ssh-agent implementation... 10:09:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:09:33 $ docker exec 268aea090a3efa92432f9fe3222717f20d034edaf6d8ed7ababc6c6a7514ce63 ssh-agent 10:09:33 SSH_AUTH_SOCK=/tmp/ssh-r1kF4tf9CfV0/agent.31 10:09:33 SSH_AGENT_PID=37 10:09:33 Running ssh-add (command line suppressed) 10:09:33 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-116@tmp/private_key_10932509661349282884.key (/w/workspace/undry_device-rfid-llrp-go_PR-116@tmp/private_key_10932509661349282884.key) 10:09:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:09:34 + git tag --points-at HEAD [Pipeline] } 10:09:34 $ docker exec --env ******** --env ******** 268aea090a3efa92432f9fe3222717f20d034edaf6d8ed7ababc6c6a7514ce63 ssh-agent -k 10:09:34 unset SSH_AUTH_SOCK; 10:09:34 unset SSH_AGENT_PID; 10:09:34 echo Agent pid 37 killed; 10:09:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:09:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:09:34 [ssh-agent] Looking for ssh-agent implementation... 10:09:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:09:34 $ docker exec 268aea090a3efa92432f9fe3222717f20d034edaf6d8ed7ababc6c6a7514ce63 ssh-agent 10:09:34 SSH_AUTH_SOCK=/tmp/ssh-icOoC5uu3dr3/agent.69 10:09:34 SSH_AGENT_PID=75 10:09:34 Running ssh-add (command line suppressed) 10:09:34 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-116@tmp/private_key_3763816793653150999.key (/w/workspace/undry_device-rfid-llrp-go_PR-116@tmp/private_key_3763816793653150999.key) 10:09:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:09:35 + git semver init 10:09:35 2022-10-24 10:09:35,247 [run_init] DEBUG init version:0.0.0 force:False 10:09:35 2022-10-24 10:09:35,248 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-rfid-llrp-go_PR-116/.semver 10:09:35 2022-10-24 10:09:35,248 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rfid-llrp-go.git /w/workspace/undry_device-rfid-llrp-go_PR-116/.semver 10:09:35 2022-10-24 10:09:35,249 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rfid-llrp-go.git', '/w/workspace/undry_device-rfid-llrp-go_PR-116/.semver'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-116, universal_newlines=False, shell=None, istream=None) 10:09:36 2022-10-24 10:09:36,163 [append_file] DEBUG append to file:/w/workspace/undry_device-rfid-llrp-go_PR-116/.git/info/exclude 10:09:36 2022-10-24 10:09:36,164 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-rfid-llrp-go_PR-116/.semver/PR-116 with force:False 10:09:36 2022-10-24 10:09:36,164 [write_file] DEBUG write to file:/w/workspace/undry_device-rfid-llrp-go_PR-116/.semver/PR-116 10:09:36 2022-10-24 10:09:36,168 [execute] INFO git cat-file --batch-check 10:09:36 2022-10-24 10:09:36,168 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-116/.semver, universal_newlines=False, shell=None, istream=) 10:09:36 2022-10-24 10:09:36,174 [execute] INFO git cat-file --batch 10:09:36 2022-10-24 10:09:36,174 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-116/.semver, universal_newlines=False, shell=None, istream=) 10:09:36 2022-10-24 10:09:36,178 [read_version] DEBUG read version from /w/workspace/undry_device-rfid-llrp-go_PR-116/.semver/PR-116 10:09:36 0.0.0 [Pipeline] } 10:09:36 $ docker exec --env ******** --env ******** 268aea090a3efa92432f9fe3222717f20d034edaf6d8ed7ababc6c6a7514ce63 ssh-agent -k 10:09:36 unset SSH_AUTH_SOCK; 10:09:36 unset SSH_AGENT_PID; 10:09:36 echo Agent pid 75 killed; 10:09:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:09:36 + git semver [Pipeline] } 10:09:37 $ docker stop --time=1 268aea090a3efa92432f9fe3222717f20d034edaf6d8ed7ababc6c6a7514ce63 10:09:38 $ docker rm -f 268aea090a3efa92432f9fe3222717f20d034edaf6d8ed7ababc6c6a7514ce63 [Pipeline] // withDockerContainer [Pipeline] sh 10:09:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:09:38 Stashed 1 file(s) [Pipeline] echo 10:09:39 [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 10:09:39 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9275 in /w/workspace/undry_device-rfid-llrp-go_PR-116 [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] { [Pipeline] configFileProvider 10:09:39 provisioning config files... 10:09:39 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-116@tmp/config16915198114207288258tmp [Pipeline] ws 10:09:39 Running in /w/workspace/device-rfid-llrp-go/1 [Pipeline] { [Pipeline] { [Pipeline] checkout [Pipeline] libraryResource 10:09:39 Selected Git installation does not exist. Using Default 10:09:39 The recommended git tool is: NONE [Pipeline] sh 10:09:40 ---> docker-login.sh 10:09:40 nexus3.edgexfoundry.org:10001 10:09:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:09:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:09:40 Configure a credential helper to remove this warning. See 10:09:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:09:40 10:09:40 Login Succeeded 10:09:40 nexus3.edgexfoundry.org:10002 10:09:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:09:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:09:40 Configure a credential helper to remove this warning. See 10:09:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:09:40 10:09:40 Login Succeeded 10:09:40 nexus3.edgexfoundry.org:10003 10:09:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:09:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:09:40 Configure a credential helper to remove this warning. See 10:09:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:09:40 10:09:40 Login Succeeded 10:09:40 nexus3.edgexfoundry.org:10004 10:09:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:09:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:09:40 Configure a credential helper to remove this warning. See 10:09:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:09:40 10:09:40 Login Succeeded 10:09:40 docker.io 10:09:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:09:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:09:40 Configure a credential helper to remove this warning. See 10:09:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:09:40 10:09:40 Login Succeeded 10:09:40 ---> docker-login.sh ends [Pipeline] } 10:09:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:09:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:09:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:09:41 ========================================================= 10:09:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 10:09:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:09:41 + 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 . 10:09:41 Sending build context to Docker daemon 4.093MB 10:09:41 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 10:09:41 Step 2/12 : FROM ${BASE} AS builder 10:09:41 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 10:09:41 213ec9aee27d: Pulling fs layer 10:09:41 4583459ba037: Pulling fs layer 10:09:41 93c1e223e6f2: Pulling fs layer 10:09:41 53926ce57604: Pulling fs layer 10:09:41 21b2b0c7a3f4: Pulling fs layer 10:09:41 30f14e443154: Pulling fs layer 10:09:41 801331c1e519: Pulling fs layer 10:09:41 99cc6dd402b0: Pulling fs layer 10:09:41 7d9ed39f4882: Pulling fs layer 10:09:41 53926ce57604: Waiting 10:09:41 801331c1e519: Waiting 10:09:41 21b2b0c7a3f4: Waiting 10:09:41 99cc6dd402b0: Waiting 10:09:41 30f14e443154: Waiting 10:09:41 7d9ed39f4882: Waiting 10:09:41 93c1e223e6f2: Verifying Checksum 10:09:41 93c1e223e6f2: Download complete 10:09:41 4583459ba037: Download complete 10:09:41 21b2b0c7a3f4: Verifying Checksum 10:09:41 21b2b0c7a3f4: Download complete 10:09:41 30f14e443154: Download complete 10:09:41 213ec9aee27d: Verifying Checksum 10:09:41 801331c1e519: Verifying Checksum 10:09:41 801331c1e519: Download complete 10:09:41 213ec9aee27d: Pull complete 10:09:42 4583459ba037: Pull complete 10:09:42 93c1e223e6f2: Pull complete 10:09:42 53926ce57604: Verifying Checksum 10:09:42 53926ce57604: Download complete 10:09:42 7d9ed39f4882: Verifying Checksum 10:09:42 7d9ed39f4882: Download complete 10:09:42 99cc6dd402b0: Verifying Checksum 10:09:42 99cc6dd402b0: Download complete 10:09:44 using credential edgex-jenkins-ssh 10:09:44 Cloning the remote Git repository 10:09:44 Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git 10:09:44 > git init /w/workspace/device-rfid-llrp-go/1 # timeout=10 10:09:44 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 10:09:44 > git --version # timeout=10 10:09:44 > git --version # 'git version 2.25.1' 10:09:44 using GIT_SSH to set credentials SSH Credentials for GitHub 10:09:44 Verifying host key using known hosts file 10:09:44 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. 10:09:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:09:45 53926ce57604: Pull complete 10:09:45 21b2b0c7a3f4: Pull complete 10:09:45 30f14e443154: Pull complete 10:09:46 801331c1e519: Pull complete 10:09:45 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 10:09:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:09:46 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 10:09:46 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 10:09:46 using GIT_SSH to set credentials SSH Credentials for GitHub 10:09:46 Verifying host key using known hosts file 10:09:46 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. 10:09:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/116/head:refs/remotes/origin/PR-116 +refs/heads/main:refs/remotes/origin/main # timeout=10 10:09:47 Merging remotes/origin/main commit 7dd050cc22c9d035a838129566380a3ada9f0223 into PR head commit 95524313f5e7cb61c0aa5389b242f309f31c1ce8 10:09:47 Merge succeeded, producing 95524313f5e7cb61c0aa5389b242f309f31c1ce8 10:09:47 Checking out Revision 95524313f5e7cb61c0aa5389b242f309f31c1ce8 (PR-116) 10:09:48 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" 10:09:48 > git --version # timeout=10 10:09:48 > git --version # 'git version 2.25.1' 10:09:48 fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 10:09:48 99cc6dd402b0: Pull complete 10:09:47 > git config core.sparsecheckout # timeout=10 10:09:47 > git checkout -f 95524313f5e7cb61c0aa5389b242f309f31c1ce8 # timeout=10 10:09:47 > git remote # timeout=10 10:09:47 > git config --get remote.origin.url # timeout=10 10:09:47 using GIT_SSH to set credentials SSH Credentials for GitHub 10:09:47 Verifying host key using known hosts file 10:09:47 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. 10:09:47 > git merge 7dd050cc22c9d035a838129566380a3ada9f0223 # timeout=10 10:09:47 > git rev-parse HEAD^{commit} # timeout=10 10:09:47 > git config core.sparsecheckout # timeout=10 10:09:47 > git checkout -f 95524313f5e7cb61c0aa5389b242f309f31c1ce8 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:09:49 7d9ed39f4882: Pull complete 10:09:49 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 10:09:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 10:09:49 ---> 1dedd983c030 10:09:49 Step 3/12 : ARG MAKE='make build' 10:09:49 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:09:49 % Total % Received % Xferd Average Speed Time Time Time Current 10:09:49 Dload Upload Total Spent Left Speed 10:09:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 86910 0 --:--:-- --:--:-- --:--:-- 86910 [Pipeline] sh 10:09:49 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:09:50 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:09:50 + sudo tee /etc/docker/daemon.new 10:09:50 { 10:09:50 "registry-mirrors": [ 10:09:50 "https://nexus3.edgexfoundry.org:10001" 10:09:50 ], 10:09:50 "bip": "10.250.0.254/24", 10:09:50 "hosts": [ 10:09:50 "tcp://0.0.0.0:5555", 10:09:50 "unix:///var/run/docker.sock" 10:09:50 ], 10:09:50 "mtu": 1458, 10:09:50 "selinux-enabled": true, 10:09:50 "seccomp-profile": "/etc/docker/seccomp.json" 10:09:50 } [Pipeline] sh 10:09:50 ---> Running in 648e92b5fcd1 10:09:50 Removing intermediate container 648e92b5fcd1 10:09:50 ---> c2c82f72883d 10:09:50 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 10:09:50 ---> Running in 0e304aa4c33e 10:09:50 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:09:50 Removing intermediate container 0e304aa4c33e 10:09:50 ---> 82f872c39eac 10:09:50 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 10:09:50 ---> Running in 16b717c65f32 10:09:50 Removing intermediate container 16b717c65f32 10:09:50 ---> e8228e42a768 10:09:50 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:09:50 ---> Running in 00e99d266e0c 10:09:50 + sudo service docker restart 10:09:51 Removing intermediate container 00e99d266e0c 10:09:51 ---> ef0858c8e01f 10:09:51 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:09:51 ---> Running in a2109a54463e 10:09:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:09:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:09:52 OK: 211 MiB in 51 packages 10:09:53 Removing intermediate container a2109a54463e 10:09:53 ---> 5f0cdfb96156 10:09:53 Step 8/12 : WORKDIR /app 10:09:53 ---> Running in f7165d024daf 10:09:53 Removing intermediate container f7165d024daf 10:09:53 ---> 794599403c72 10:09:53 Step 9/12 : COPY go.mod vendor* ./ 10:09:53 ---> c2fe15933e37 10:09:53 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:09:53 ---> Running in 233d7f15a9ac [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:10:09 provisioning config files... 10:10:09 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/device-rfid-llrp-go/1@tmp/config7006470756033586111tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:10:09 ---> docker-login.sh 10:10:09 nexus3.edgexfoundry.org:10001 10:10:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:10 Configure a credential helper to remove this warning. See 10:10:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:10 10:10:10 Login Succeeded 10:10:10 nexus3.edgexfoundry.org:10002 10:10:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:10 Configure a credential helper to remove this warning. See 10:10:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:10 10:10:10 Login Succeeded 10:10:10 nexus3.edgexfoundry.org:10003 10:10:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:10 Configure a credential helper to remove this warning. See 10:10:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:10 10:10:10 Login Succeeded 10:10:10 nexus3.edgexfoundry.org:10004 10:10:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:11 Configure a credential helper to remove this warning. See 10:10:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:11 10:10:11 Login Succeeded 10:10:11 docker.io 10:10:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:10:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:10:12 Configure a credential helper to remove this warning. See 10:10:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:10:12 10:10:12 Login Succeeded 10:10:12 ---> docker-login.sh ends [Pipeline] } 10:10:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:10:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:10:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:10:12 ========================================================= 10:10:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 10:10:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:10:12 + 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 . 10:10:13 Sending build context to Docker daemon 1.22MB 10:10:13 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 10:10:13 Step 2/12 : FROM ${BASE} AS builder 10:10:13 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:10:13 9b18e9b68314: Pulling fs layer 10:10:13 d32db5db7311: Pulling fs layer 10:10:13 d0c4b47475fc: Pulling fs layer 10:10:13 5831b945b038: Pulling fs layer 10:10:13 86bbec2aaacd: Pulling fs layer 10:10:13 e10730c5d714: Pulling fs layer 10:10:13 5dd5c2283517: Pulling fs layer 10:10:13 d5ac0230b979: Pulling fs layer 10:10:13 5831b945b038: Waiting 10:10:13 86bbec2aaacd: Waiting 10:10:13 e10730c5d714: Waiting 10:10:13 5dd5c2283517: Waiting 10:10:13 d5ac0230b979: Waiting 10:10:13 d0c4b47475fc: Download complete 10:10:13 d32db5db7311: Verifying Checksum 10:10:13 d32db5db7311: Download complete 10:10:13 86bbec2aaacd: Verifying Checksum 10:10:13 86bbec2aaacd: Download complete 10:10:13 e10730c5d714: Verifying Checksum 10:10:13 e10730c5d714: Download complete 10:10:13 9b18e9b68314: Verifying Checksum 10:10:13 9b18e9b68314: Download complete 10:10:14 d5ac0230b979: Verifying Checksum 10:10:14 d5ac0230b979: Download complete 10:10:15 5dd5c2283517: Verifying Checksum 10:10:15 5dd5c2283517: Download complete 10:10:16 9b18e9b68314: Pull complete 10:10:16 5831b945b038: Verifying Checksum 10:10:16 5831b945b038: Download complete 10:10:16 d32db5db7311: Pull complete 10:10:16 d0c4b47475fc: Pull complete 10:10:20 Removing intermediate container 233d7f15a9ac 10:10:20 ---> 9ceb6779a195 10:10:20 Step 11/12 : COPY . . 10:10:20 ---> 75d1768f82c0 10:10:20 Step 12/12 : RUN $MAKE 10:10:20 ---> Running in 8762d2f3ad94 10:10:20 noop 10:10:20 Removing intermediate container 8762d2f3ad94 10:10:20 ---> d84ed4ac17e3 10:10:20 Successfully built d84ed4ac17e3 10:10:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:10:20 + docker inspect -f . ci-base-image-x86_64 10:10:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:10:20 prd-ubuntu20.04-docker-8c-8g-9278 does not seem to be running inside a container 10:10:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-rfid-llrp-go_PR-116 -v /w/workspace/undry_device-rfid-llrp-go_PR-116:/w/workspace/undry_device-rfid-llrp-go_PR-116:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-116@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-116@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 ******** ci-base-image-x86_64 cat 10:10:21 $ docker top b9379deec32a9a01b207645bc8f6ed3a5ffc4ca979f55df922ab5e827866723c -eo pid,comm [Pipeline] { [Pipeline] sh 10:10:21 + go version 10:10:21 go version go1.18.7 linux/amd64 [Pipeline] } 10:10:21 $ docker stop --time=1 b9379deec32a9a01b207645bc8f6ed3a5ffc4ca979f55df922ab5e827866723c 10:10:22 $ docker rm -f b9379deec32a9a01b207645bc8f6ed3a5ffc4ca979f55df922ab5e827866723c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:10:23 + docker inspect -f . ci-base-image-x86_64 10:10:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:10:23 prd-ubuntu20.04-docker-8c-8g-9278 does not seem to be running inside a container 10:10:23 $ 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-116 -v /w/workspace/undry_device-rfid-llrp-go_PR-116:/w/workspace/undry_device-rfid-llrp-go_PR-116:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-116@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-116@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 ******** ci-base-image-x86_64 cat 10:10:24 $ docker top 4e6ed3093c682b23544cd2fb7ea4aa18d83904eea409de3001a6a1a36882c372 -eo pid,comm [Pipeline] { [Pipeline] sh 10:10:24 + git config --global --add safe.directory /w/workspace/undry_device-rfid-llrp-go_PR-116 [Pipeline] fileExists [Pipeline] sh 10:10:24 + make test 10:10:24 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:10:25 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 10:10:29 5831b945b038: Pull complete 10:10:29 86bbec2aaacd: Pull complete 10:10:29 e10730c5d714: Pull complete 10:10:35 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 10:10:35 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 10:10:35 5dd5c2283517: Pull complete 10:10:36 d5ac0230b979: Pull complete 10:10:36 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 10:10:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 10:10:36 ---> 59b3b1a385d4 10:10:36 Step 3/12 : ARG MAKE='make build' 10:10:38 ---> Running in dd785d2e9269 10:10:38 Removing intermediate container dd785d2e9269 10:10:38 ---> dc49f200a9c3 10:10:38 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 10:10:38 ---> Running in f43d04803218 10:10:39 Removing intermediate container f43d04803218 10:10:39 ---> 001c910e7544 10:10:39 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 10:10:39 ---> Running in 3da68e9eb1fd 10:10:39 Removing intermediate container 3da68e9eb1fd 10:10:39 ---> 34697c39311e 10:10:39 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:10:39 ---> Running in 36a18543bd7a 10:10:40 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 4.038s coverage: 38.5% of statements 10:10:40 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.250s coverage: 52.0% of statements 10:10:40 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.017s coverage: 96.4% of statements 10:10:41 Removing intermediate container 36a18543bd7a 10:10:41 ---> d022232c6904 10:10:41 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:10:41 ---> Running in dd44f8d228d6 10:10:42 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:10:43 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:10:44 OK: 221 MiB in 51 packages 10:10:45 Removing intermediate container dd44f8d228d6 10:10:45 ---> 82ddd6babae3 10:10:45 Step 8/12 : WORKDIR /app 10:10:45 ---> Running in c8c7023829e7 10:10:45 Removing intermediate container c8c7023829e7 10:10:45 ---> c2e0c17bd24c 10:10:45 Step 9/12 : COPY go.mod vendor* ./ 10:10:46 ---> 5d50dd19399e 10:10:46 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:10:46 ---> Running in e513a7842d79 10:10:48 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." 10:10:48 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:10:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:10:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:10:51 ./bin/test-attribution-txt.sh 10:10:51 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [Pipeline] echo 10:10:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:10:51 $ docker stop --time=1 4e6ed3093c682b23544cd2fb7ea4aa18d83904eea409de3001a6a1a36882c372 10:10:53 $ docker rm -f 4e6ed3093c682b23544cd2fb7ea4aa18d83904eea409de3001a6a1a36882c372 [Pipeline] // withDockerContainer [Pipeline] sh 10:10:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:10:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:10:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:10:55 + ls -al . 10:10:55 total 640 10:10:55 drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 10:10 . 10:10:55 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 10:09 .. 10:10:55 -rw-rw-r-- 1 jenkins jenkins 134 Oct 24 10:09 .dockerignore 10:10:55 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 10:10 .git 10:10:55 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 10:09 .github 10:10:55 -rw-rw-r-- 1 jenkins jenkins 946 Oct 24 10:09 .gitignore 10:10:55 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 10:09 .golangci.yml 10:10:55 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 10:09 .semver 10:10:55 -rw-rw-r-- 1 jenkins jenkins 10866 Oct 24 10:09 Attribution.txt 10:10:55 -rw-rw-r-- 1 jenkins jenkins 3740 Oct 24 10:09 CHANGELOG.md 10:10:55 -rw-rw-r-- 1 jenkins jenkins 1518 Oct 24 10:09 Dockerfile 10:10:55 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 10:09 GOVERNANCE.md 10:10:55 -rw-rw-r-- 1 jenkins jenkins 683 Oct 24 10:09 Jenkinsfile 10:10:55 -rw-rw-r-- 1 jenkins jenkins 11347 Oct 24 10:09 LICENSE 10:10:55 -rw-rw-r-- 1 jenkins jenkins 2196 Oct 24 10:09 Makefile 10:10:55 -rw-rw-r-- 1 jenkins jenkins 625 Oct 24 10:09 OWNERS.md 10:10:55 -rw-rw-r-- 1 jenkins jenkins 28496 Oct 24 10:09 README.md 10:10:55 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 10:09 VERSION 10:10:55 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 10:09 bin 10:10:55 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 10:09 cmd 10:10:55 -rw-r--r-- 1 jenkins jenkins 460049 Oct 24 10:10 coverage.out 10:10:55 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 10:09 examples 10:10:55 -rw-rw-r-- 1 jenkins jenkins 3597 Oct 24 10:09 go.mod 10:10:55 -rw-rw-r-- 1 jenkins jenkins 44718 Oct 24 10:09 go.sum 10:10:55 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 10:09 images 10:10:55 drwxrwxr-x 5 jenkins jenkins 4096 Oct 24 10:09 internal 10:10:55 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 10:09 snap 10:10:55 -rw-rw-r-- 1 jenkins jenkins 193 Oct 24 10:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:10:56 + 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=95524313f5e7cb61c0aa5389b242f309f31c1ce8 --label arch=amd64 --label version=0.0.0 . 10:10:56 Sending build context to Docker daemon 4.093MB 10:10:56 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 10:10:56 Step 2/25 : FROM ${BASE} AS builder 10:10:56 ---> d84ed4ac17e3 10:10:56 Step 3/25 : ARG MAKE='make build' 10:10:56 ---> Running in 5b570f26000a 10:10:56 Removing intermediate container 5b570f26000a 10:10:56 ---> 9a023c695426 10:10:56 Step 4/25 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 10:10:56 ---> Running in c8643875a619 10:10:56 Removing intermediate container c8643875a619 10:10:56 ---> d7aba16238fa 10:10:56 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 10:10:56 ---> Running in 101e06aa4542 10:10:56 Removing intermediate container 101e06aa4542 10:10:56 ---> c9ebdf9c09d7 10:10:56 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:10:56 ---> Running in fbca4de24b77 10:10:56 Removing intermediate container fbca4de24b77 10:10:56 ---> a362967dce51 10:10:56 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:10:56 ---> Running in 9162f65d5cb3 10:10:57 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:10:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:10:58 OK: 211 MiB in 51 packages 10:10:58 Removing intermediate container 9162f65d5cb3 10:10:58 ---> 821f7777b78e 10:10:58 Step 8/25 : WORKDIR /app 10:10:58 ---> Running in c9c0bc57c278 10:10:58 Removing intermediate container c9c0bc57c278 10:10:58 ---> ec9fbc6bee80 10:10:58 Step 9/25 : COPY go.mod vendor* ./ 10:10:58 ---> 0f720eef76d8 10:10:58 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:10:58 ---> Running in dccb975f474e 10:10:59 Removing intermediate container dccb975f474e 10:10:59 ---> 38d68fabebb4 10:10:59 Step 11/25 : COPY . . 10:11:00 ---> 6b41d1a4faac 10:11:00 Step 12/25 : RUN $MAKE 10:11:00 ---> Running in 03b52f79c298 10:11:00 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.46 -X github.com/edgexfoundry/device-rfid-llrp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rfid-llrp ./cmd 10:11:22 Removing intermediate container 03b52f79c298 10:11:22 ---> 1a90ffdde78d 10:11:22 Step 13/25 : FROM alpine:3.16 10:11:22 3.16: Pulling from library/alpine 10:11:22 213ec9aee27d: Already exists 10:11:22 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 10:11:22 Status: Downloaded newer image for alpine:3.16 10:11:22 ---> 9c6f07244728 10:11:22 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 10:11:22 ---> Running in 22696d31f8d6 10:11:22 Removing intermediate container 22696d31f8d6 10:11:22 ---> d8bb86dae9c5 10:11:22 Step 15/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:11:22 ---> Running in fd59f115a85b 10:11:22 Removing intermediate container fd59f115a85b 10:11:22 ---> 0551cf438662 10:11:22 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 10:11:22 ---> Running in 7d0919d6d77f 10:11:22 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 10:11:22 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 10:11:22 (1/6) Installing dumb-init (1.2.5-r1) 10:11:22 (2/6) Installing libgcc (11.2.1_git20220219-r2) 10:11:22 (3/6) Installing libsodium (1.0.18-r0) 10:11:23 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 10:11:23 (5/6) Installing libzmq (4.3.4-r0) 10:11:23 (6/6) Installing zeromq (4.3.4-r0) 10:11:23 Executing busybox-1.35.0-r17.trigger 10:11:23 OK: 8 MiB in 20 packages 10:11:23 Removing intermediate container 7d0919d6d77f 10:11:23 ---> 51c3d3936bb0 10:11:23 Step 17/25 : COPY --from=builder /app/LICENSE / 10:11:23 ---> 822d19d2afe0 10:11:23 Step 18/25 : COPY --from=builder /app/Attribution.txt / 10:11:23 ---> 3f3704989ec3 10:11:23 Step 19/25 : COPY --from=builder /app/cmd/ / 10:11:24 ---> 0e9679d08344 10:11:24 Step 20/25 : EXPOSE 59989 10:11:24 ---> Running in e8cea9bf6bbc 10:11:24 Removing intermediate container e8cea9bf6bbc 10:11:24 ---> 20b30ebe7b26 10:11:24 Step 21/25 : ENTRYPOINT ["/device-rfid-llrp"] 10:11:24 ---> Running in f1cfbfa01ece 10:11:24 Removing intermediate container f1cfbfa01ece 10:11:24 ---> eae852840c6b 10:11:24 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 10:11:24 ---> Running in 4f3c62955fb8 10:11:24 Removing intermediate container 4f3c62955fb8 10:11:24 ---> e5df4876b0b3 10:11:24 Step 23/25 : LABEL arch=amd64 10:11:24 ---> Running in 77ddd2c0d0a7 10:11:24 Removing intermediate container 77ddd2c0d0a7 10:11:24 ---> cc93fb2019fd 10:11:24 Step 24/25 : LABEL git_sha=95524313f5e7cb61c0aa5389b242f309f31c1ce8 10:11:24 ---> Running in 08ecce69ce4e 10:11:24 Removing intermediate container 08ecce69ce4e 10:11:24 ---> 624c929c0427 10:11:24 Step 25/25 : LABEL version=0.0.0 10:11:24 ---> Running in 15bfc797ce5c 10:11:25 Removing intermediate container 15bfc797ce5c 10:11:25 ---> 3cf6aa4910ca 10:11:25 [Warning] One or more build-args [ARCH] were not consumed 10:11:25 Successfully built 3cf6aa4910ca 10:11:25 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 10:11:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:11:26 10:11:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:11:26 latest: Pulling from edgex-lftools-log-publisher 10:11:26 5eb5b503b376: Pulling fs layer 10:11:26 5c69ac0246d0: Pulling fs layer 10:11:26 ec43610c2a17: Pulling fs layer 10:11:26 3a2ae6a8a46f: Pulling fs layer 10:11:26 33b1e0a273af: Pulling fs layer 10:11:26 5d3b04190fa2: Pulling fs layer 10:11:26 2f39f015ded8: Pulling fs layer 10:11:26 5d3b04190fa2: Waiting 10:11:26 3a2ae6a8a46f: Waiting 10:11:26 33b1e0a273af: Waiting 10:11:26 2f39f015ded8: Waiting 10:11:26 5c69ac0246d0: Verifying Checksum 10:11:26 5c69ac0246d0: Download complete 10:11:26 3a2ae6a8a46f: Verifying Checksum 10:11:26 3a2ae6a8a46f: Download complete 10:11:26 ec43610c2a17: Verifying Checksum 10:11:26 ec43610c2a17: Download complete 10:11:26 33b1e0a273af: Verifying Checksum 10:11:26 33b1e0a273af: Download complete 10:11:26 5d3b04190fa2: Verifying Checksum 10:11:26 5d3b04190fa2: Download complete 10:11:26 5eb5b503b376: Verifying Checksum 10:11:26 5eb5b503b376: Download complete 10:11:27 2f39f015ded8: Download complete 10:11:27 5eb5b503b376: Pull complete 10:11:27 5c69ac0246d0: Pull complete 10:11:28 ec43610c2a17: Pull complete 10:11:28 3a2ae6a8a46f: Pull complete 10:11:28 33b1e0a273af: Pull complete 10:11:28 5d3b04190fa2: Pull complete 10:11:32 2f39f015ded8: Pull complete 10:11:32 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:11:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:11:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:11:33 prd-ubuntu20.04-docker-8c-8g-9278 does not seem to be running inside a container 10:11:33 $ 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-116 -v /w/workspace/undry_device-rfid-llrp-go_PR-116:/w/workspace/undry_device-rfid-llrp-go_PR-116:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-116@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-116@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-lftools-log-publisher:latest cat 10:11:35 $ docker top d6ba1f6854e9bae8ba3d291f6b6e190f652b9b846c2734947c644b44e822ed61 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:11:36 ---> job-cost.sh 10:11:36 lf-activate-venv: SKIPPING 10:11:36 INFO: No Stack... 10:11:36 INFO: Retrieving Pricing Info for: v3-standard-8 10:11:36 INFO: Archiving Costs [Pipeline] sh 10:11:37 + cat /w/workspace/undry_device-rfid-llrp-go_PR-116/archives/cost.csv 10:11:37 + cut -d, -f6 [Pipeline] lock 10:11:37 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-116-1-stack-cost] 10:11:37 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-116-1-stack-cost] did not exist. Created. 10:11:37 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-116-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:11:37 + echo total: 0.2199999988079071 [Pipeline] stash 10:11:37 Stashed 1 file(s) [Pipeline] } 10:11:37 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-116-1-stack-cost] [Pipeline] // lock [Pipeline] } 10:11:37 $ docker stop --time=1 d6ba1f6854e9bae8ba3d291f6b6e190f652b9b846c2734947c644b44e822ed61 10:11:39 $ docker rm -f d6ba1f6854e9bae8ba3d291f6b6e190f652b9b846c2734947c644b44e822ed61 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:11:42 Removing intermediate container e513a7842d79 10:11:42 ---> c82ad6bf0390 10:11:42 Step 11/12 : COPY . . 10:11:42 ---> ac23c83bf9bf 10:11:42 Step 12/12 : RUN $MAKE 10:11:42 ---> Running in 77d1b2eb1c8d 10:11:42 noop 10:11:42 Removing intermediate container 77d1b2eb1c8d 10:11:42 ---> 9a406d0895b8 10:11:42 Successfully built 9a406d0895b8 10:11:42 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:43 + docker inspect -f . ci-base-image-arm64 10:11:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:11:43 prd-ubuntu20.04-docker-arm64-4c-16g-9275 does not seem to be running inside a container 10:11:43 $ 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 ******** ci-base-image-arm64 cat 10:11:44 $ docker top 7f1bcb948810bafebf20fa9919a4bcf8db0069c1c597c09ffa4392343462347c -eo pid,comm [Pipeline] { [Pipeline] sh 10:11:45 + go version 10:11:45 go version go1.18.7 linux/arm64 [Pipeline] } 10:11:45 $ docker stop --time=1 7f1bcb948810bafebf20fa9919a4bcf8db0069c1c597c09ffa4392343462347c 10:11:47 $ docker rm -f 7f1bcb948810bafebf20fa9919a4bcf8db0069c1c597c09ffa4392343462347c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:11:47 + docker inspect -f . ci-base-image-arm64 10:11:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:11:48 prd-ubuntu20.04-docker-arm64-4c-16g-9275 does not seem to be running inside a container 10:11:48 $ 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 ******** ci-base-image-arm64 cat 10:11:49 $ docker top 14bade4e4dde45cc83494300b7385de0e9c3c3b70159aac46e6069a22f25ea0d -eo pid,comm [Pipeline] { [Pipeline] sh 10:11:50 + git config --global --add safe.directory /w/workspace/device-rfid-llrp-go/1 [Pipeline] fileExists [Pipeline] sh 10:11:51 + make test 10:11:51 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:11:53 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 10:13:29 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 10:13:29 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 10:13:56 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 28.672s coverage: 38.5% of statements 10:13:56 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.460s coverage: 51.9% of statements 10:13:56 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.040s coverage: 96.4% of statements 10:13:56 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:13:56 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:14:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:14:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:14:23 ./bin/test-attribution-txt.sh 10:14:23 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [Pipeline] echo 10:14:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:14:23 $ docker stop --time=1 14bade4e4dde45cc83494300b7385de0e9c3c3b70159aac46e6069a22f25ea0d 10:14:25 $ docker rm -f 14bade4e4dde45cc83494300b7385de0e9c3c3b70159aac46e6069a22f25ea0d [Pipeline] // withDockerContainer [Pipeline] sh 10:14:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:14:26 Warning: overwriting stash ‘coverage-report’ 10:14:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:14:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:14:27 + ls -al . 10:14:27 total 636 10:14:27 drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 10:11 . 10:14:27 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 10:09 .. 10:14:27 -rw-rw-r-- 1 jenkins jenkins 134 Oct 24 10:09 .dockerignore 10:14:27 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 10:09 .git 10:14:27 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 10:09 .github 10:14:27 -rw-rw-r-- 1 jenkins jenkins 946 Oct 24 10:09 .gitignore 10:14:27 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 10:09 .golangci.yml 10:14:27 -rw-rw-r-- 1 jenkins jenkins 10866 Oct 24 10:09 Attribution.txt 10:14:27 -rw-rw-r-- 1 jenkins jenkins 3740 Oct 24 10:09 CHANGELOG.md 10:14:27 -rw-rw-r-- 1 jenkins jenkins 1518 Oct 24 10:09 Dockerfile 10:14:27 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 10:09 GOVERNANCE.md 10:14:27 -rw-rw-r-- 1 jenkins jenkins 683 Oct 24 10:09 Jenkinsfile 10:14:27 -rw-rw-r-- 1 jenkins jenkins 11347 Oct 24 10:09 LICENSE 10:14:27 -rw-rw-r-- 1 jenkins jenkins 2196 Oct 24 10:09 Makefile 10:14:27 -rw-rw-r-- 1 jenkins jenkins 625 Oct 24 10:09 OWNERS.md 10:14:27 -rw-rw-r-- 1 jenkins jenkins 28496 Oct 24 10:09 README.md 10:14:27 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 10:09 VERSION 10:14:27 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 10:09 bin 10:14:27 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 10:09 cmd 10:14:27 -rw-r--r-- 1 jenkins jenkins 460049 Oct 24 10:13 coverage.out 10:14:27 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 10:09 examples 10:14:27 -rw-rw-r-- 1 jenkins jenkins 3597 Oct 24 10:09 go.mod 10:14:27 -rw-rw-r-- 1 jenkins jenkins 44718 Oct 24 10:09 go.sum 10:14:27 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 10:09 images 10:14:27 drwxrwxr-x 5 jenkins jenkins 4096 Oct 24 10:09 internal 10:14:27 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 10:09 snap 10:14:27 -rw-rw-r-- 1 jenkins jenkins 193 Oct 24 10:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:14:28 + 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=95524313f5e7cb61c0aa5389b242f309f31c1ce8 --label arch=arm64 --label version=0.0.0 . 10:14:28 Sending build context to Docker daemon 1.22MB 10:14:28 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 10:14:28 Step 2/25 : FROM ${BASE} AS builder 10:14:28 ---> 9a406d0895b8 10:14:28 Step 3/25 : ARG MAKE='make build' 10:14:28 ---> Running in 54bc6cae7904 10:14:29 Removing intermediate container 54bc6cae7904 10:14:29 ---> af05c7b98fbe 10:14:29 Step 4/25 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 10:14:29 ---> Running in b38a23d826f2 10:14:29 Removing intermediate container b38a23d826f2 10:14:29 ---> 223c5f5679c8 10:14:29 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 10:14:29 ---> Running in fb25518ccf31 10:14:29 Removing intermediate container fb25518ccf31 10:14:29 ---> 866ff30213a0 10:14:29 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:14:29 ---> Running in 595e63c58828 10:14:31 Removing intermediate container 595e63c58828 10:14:31 ---> e2fdf60dc411 10:14:31 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:14:31 ---> Running in 4f2d1b102fd9 10:14:32 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:14:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:14:34 OK: 221 MiB in 51 packages 10:14:36 Removing intermediate container 4f2d1b102fd9 10:14:36 ---> ba3650152e4e 10:14:36 Step 8/25 : WORKDIR /app 10:14:37 ---> Running in baaab8f9d360 10:14:37 Removing intermediate container baaab8f9d360 10:14:37 ---> c104b1f12b24 10:14:37 Step 9/25 : COPY go.mod vendor* ./ 10:14:37 ---> d89b5127251b 10:14:37 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:14:37 ---> Running in 8c530dcf521b 10:14:39 Removing intermediate container 8c530dcf521b 10:14:39 ---> 81eeff142aba 10:14:39 Step 11/25 : COPY . . 10:14:40 ---> 8ee9bd4af8df 10:14:40 Step 12/25 : RUN $MAKE 10:14:40 ---> Running in 269ea55a90d9 10:14:41 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.46 -X github.com/edgexfoundry/device-rfid-llrp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rfid-llrp ./cmd 10:17:03 Removing intermediate container 269ea55a90d9 10:17:03 ---> 5dc9fa9f0b05 10:17:03 Step 13/25 : FROM alpine:3.16 10:17:03 3.16: Pulling from library/alpine 10:17:03 9b18e9b68314: Already exists 10:17:03 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 10:17:03 Status: Downloaded newer image for alpine:3.16 10:17:03 ---> a6215f271958 10:17:03 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 10:17:03 ---> Running in c2423ae6daf5 10:17:03 Removing intermediate container c2423ae6daf5 10:17:03 ---> 4916b5dc52c9 10:17:03 Step 15/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 10:17:03 ---> Running in aaa9be9869b7 10:17:03 Removing intermediate container aaa9be9869b7 10:17:03 ---> c6ec1ec06113 10:17:03 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 10:17:03 ---> Running in 1baefb4efac8 10:17:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 10:17:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 10:17:03 (1/6) Installing dumb-init (1.2.5-r1) 10:17:03 (2/6) Installing libgcc (11.2.1_git20220219-r2) 10:17:03 (3/6) Installing libsodium (1.0.18-r0) 10:17:03 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 10:17:03 (5/6) Installing libzmq (4.3.4-r0) 10:17:03 (6/6) Installing zeromq (4.3.4-r0) 10:17:03 Executing busybox-1.35.0-r17.trigger 10:17:03 OK: 8 MiB in 20 packages 10:17:03 Removing intermediate container 1baefb4efac8 10:17:03 ---> 689318add0d7 10:17:03 Step 17/25 : COPY --from=builder /app/LICENSE / 10:17:03 ---> c2141090d32c 10:17:03 Step 18/25 : COPY --from=builder /app/Attribution.txt / 10:17:04 ---> dc1e787a2898 10:17:04 Step 19/25 : COPY --from=builder /app/cmd/ / 10:17:05 ---> c2c2af4fc499 10:17:05 Step 20/25 : EXPOSE 59989 10:17:05 ---> Running in 48ad8f1ea519 10:17:06 Removing intermediate container 48ad8f1ea519 10:17:06 ---> 2f21699d3dcc 10:17:06 Step 21/25 : ENTRYPOINT ["/device-rfid-llrp"] 10:17:06 ---> Running in 202f1c756f36 10:17:06 Removing intermediate container 202f1c756f36 10:17:06 ---> 357ddd3ad76f 10:17:06 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 10:17:06 ---> Running in 6df1bf554b44 10:17:07 Removing intermediate container 6df1bf554b44 10:17:07 ---> c257d40c605f 10:17:07 Step 23/25 : LABEL arch=arm64 10:17:07 ---> Running in ee3b6d446a1c 10:17:07 Removing intermediate container ee3b6d446a1c 10:17:07 ---> 2a84a279fdd1 10:17:07 Step 24/25 : LABEL git_sha=95524313f5e7cb61c0aa5389b242f309f31c1ce8 10:17:07 ---> Running in c0b63ee60aa5 10:17:07 Removing intermediate container c0b63ee60aa5 10:17:07 ---> 298129eb8585 10:17:07 Step 25/25 : LABEL version=0.0.0 10:17:07 ---> Running in 5acd51b9bdc6 10:17:08 Removing intermediate container 5acd51b9bdc6 10:17:08 ---> 4958eb8a054b 10:17:08 [Warning] One or more build-args [ARCH] were not consumed 10:17:08 Successfully built 4958eb8a054b 10:17:08 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 10:17:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:17:08 10:17:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:17:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:17:09 arm64: Pulling from edgex-lftools-log-publisher 10:17:09 8998bd30e6a1: Pulling fs layer 10:17:09 04944245beec: Pulling fs layer 10:17:09 699f458cf7ca: Pulling fs layer 10:17:09 765212b225bb: Pulling fs layer 10:17:09 f23df028b6ca: Pulling fs layer 10:17:09 d65c8cfc05b1: Pulling fs layer 10:17:09 2437ff75d9bd: Pulling fs layer 10:17:09 f23df028b6ca: Waiting 10:17:09 d65c8cfc05b1: Waiting 10:17:09 2437ff75d9bd: Waiting 10:17:09 765212b225bb: Waiting 10:17:09 04944245beec: Verifying Checksum 10:17:09 04944245beec: Download complete 10:17:09 765212b225bb: Download complete 10:17:09 f23df028b6ca: Verifying Checksum 10:17:09 f23df028b6ca: Download complete 10:17:09 d65c8cfc05b1: Download complete 10:17:09 699f458cf7ca: Verifying Checksum 10:17:09 699f458cf7ca: Download complete 10:17:10 8998bd30e6a1: Verifying Checksum 10:17:10 8998bd30e6a1: Download complete 10:17:12 2437ff75d9bd: Verifying Checksum 10:17:12 2437ff75d9bd: Download complete 10:17:14 8998bd30e6a1: Pull complete 10:17:14 04944245beec: Pull complete 10:17:16 699f458cf7ca: Pull complete 10:17:16 765212b225bb: Pull complete 10:17:17 f23df028b6ca: Pull complete 10:17:17 d65c8cfc05b1: Pull complete 10:17:32 2437ff75d9bd: Pull complete 10:17:32 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:17:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:17:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:17:32 prd-ubuntu20.04-docker-arm64-4c-16g-9275 does not seem to be running inside a container 10:17:32 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:17:35 $ docker top fae1afe4f642d68bc94809a8af12e61bf22b01cae57099b8e1909eda803aa7c0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:17:36 ---> job-cost.sh 10:17:36 lf-activate-venv: SKIPPING 10:17:36 INFO: No Stack... 10:17:36 INFO: Retrieving Pricing Info for: v3-standard-4 10:17:37 INFO: Archiving Costs [Pipeline] sh 10:17:38 + cut -d, -f6 10:17:38 + cat /w/workspace/device-rfid-llrp-go/1/archives/cost.csv [Pipeline] lock 10:17:38 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-116-1-stack-cost] 10:17:38 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-116-1-stack-cost] did not exist. Created. 10:17:38 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-116-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:17:39 /w/workspace/device-rfid-llrp-go/1@tmp/durable-01b51f9c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:17:39 + echo total: 0.2199999988079071 [Pipeline] stash 10:17:39 Warning: overwriting stash ‘stack-cost’ 10:17:39 Stashed 1 file(s) [Pipeline] } 10:17:39 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-116-1-stack-cost] [Pipeline] // lock [Pipeline] } 10:17:39 $ docker stop --time=1 fae1afe4f642d68bc94809a8af12e61bf22b01cae57099b8e1909eda803aa7c0 10:17:41 $ docker rm -f fae1afe4f642d68bc94809a8af12e61bf22b01cae57099b8e1909eda803aa7c0 [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 10:17:41 provisioning config files... 10:17:41 copy managed file [device-rfid-llrp-go-codecov-token] to file:/w/workspace/undry_device-rfid-llrp-go_PR-116@tmp/config6275101380949167750tmp [Pipeline] { [Pipeline] sh 10:17:42 + set +x 10:17:42 + curl -s https://codecov.io/bash 10:17:42 + bash -s -- 10:17:42 10:17:42 _____ _ 10:17:42 / ____| | | 10:17:42 | | ___ __| | ___ ___ _____ __ 10:17:42 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:17:42 | |___| (_) | (_| | __/ (_| (_) \ V / 10:17:42 \_____\___/ \__,_|\___|\___\___/ \_/ 10:17:42 Bash-1.0.6 10:17:42 10:17:42 10:17:42 ==> git version 2.25.1 found 10:17:42 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 10:17:42 Release-Date: 2020-01-08 10:17:42 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:17:42 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:17:42 ==> Jenkins CI detected. 10:17:42 current dir:  /w/workspace/undry_device-rfid-llrp-go_PR-116 10:17:42 project root: . 10:17:42 --> token set from env 10:17:42 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:17:42 ==> Running gcov in . (disable via -X gcov) 10:17:42 ==> Python coveragepy not found 10:17:42 ==> Searching for coverage reports in: 10:17:42 + . 10:17:42 -> Found 1 reports 10:17:42 ==> Detecting git/mercurial file structure 10:17:42 ==> Reading reports 10:17:42 + ./coverage.out bytes=460049 10:17:42 ==> Appending adjustments 10:17:42 https://docs.codecov.io/docs/fixing-reports 10:17:42 + Found adjustments 10:17:42 ==> Gzipping contents 10:17:42 52K /tmp/codecov.2NuFZL.gz 10:17:42 ==> Uploading reports 10:17:42 url: https://codecov.io 10:17:42 query: branch=PR-116&commit=95524313f5e7cb61c0aa5389b242f309f31c1ce8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-116%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=116&job=&cmd_args= 10:17:42 -> Pinging Codecov 10:17:42 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-116&commit=95524313f5e7cb61c0aa5389b242f309f31c1ce8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-116%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=116&job=&cmd_args= 10:17:43 -> Uploading to 10:17:43 https://storage.googleapis.com/codecov/v4/raw/2022-10-24/581DD39554BDF9B6E22D074273EAD858/95524313f5e7cb61c0aa5389b242f309f31c1ce8/1ed22a68-da6f-482f-88a1-54b708f20853.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221024T101742Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ce7ad4c5dd324156325272797feccaaa95c555e45e6f61cac65b802385705439 10:17:43 % Total % Received % Xferd Average Speed Time Time Time Current 10:17:43 Dload Upload Total Spent Left Speed 10:17:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51571 0 0 100 51571 0 202k --:--:-- --:--:-- --:--:-- 202k 10:17:43 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/95524313f5e7cb61c0aa5389b242f309f31c1ce8 [Pipeline] } 10:17:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 10:17:45 + [ -d /w/workspace/undry_device-rfid-llrp-go_PR-116/archives ] 10:17:45 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-116/archives 10:17:45 total 16 10:17:45 drwxr-xr-x 3 root root 4096 Oct 24 10:11 . 10:17:45 drwxrwxr-x 12 jenkins jenkins 4096 Oct 24 10:11 .. 10:17:45 drwxr-xr-x 2 root root 4096 Oct 24 10:11 cost 10:17:45 -rw-r--r-- 1 root root 91 Oct 24 10:11 cost.csv 10:17:45 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-rfid-llrp-go_PR-116/archives 10:17:45 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-116/archives 10:17:45 total 16 10:17:45 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 10:11 . 10:17:45 drwxrwxr-x 12 jenkins jenkins 4096 Oct 24 10:11 .. 10:17:45 drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 10:11 cost 10:17:45 -rw-r--r-- 1 jenkins jenkins 91 Oct 24 10:11 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:17:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:17:46 ---> package-listing.sh 10:17:46 ++ facter osfamily 10:17:46 ++ tr '[:upper:]' '[:lower:]' 10:17:46 + OS_FAMILY=debian 10:17:46 + workspace=/w/workspace/undry_device-rfid-llrp-go_PR-116 10:17:46 + START_PACKAGES=/tmp/packages_start.txt 10:17:46 + END_PACKAGES=/tmp/packages_end.txt 10:17:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:17:46 + PACKAGES=/tmp/packages_start.txt 10:17:46 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-116 ']' 10:17:46 + PACKAGES=/tmp/packages_end.txt 10:17:46 + case "${OS_FAMILY}" in 10:17:46 + dpkg -l 10:17:46 + grep '^ii' 10:17:46 + '[' -f /tmp/packages_start.txt ']' 10:17:46 + '[' -f /tmp/packages_end.txt ']' 10:17:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:17:46 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-116 ']' 10:17:46 + mkdir -p /w/workspace/undry_device-rfid-llrp-go_PR-116/archives/ 10:17:46 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-rfid-llrp-go_PR-116/archives/ [Pipeline] echo 10:17:46 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-116/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:17:46 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:17:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:17:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:17:47 prd-ubuntu20.04-docker-8c-8g-9278 does not seem to be running inside a container 10:17:47 $ 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-116/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-116 -v /w/workspace/undry_device-rfid-llrp-go_PR-116:/w/workspace/undry_device-rfid-llrp-go_PR-116:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-116@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-116@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:17:47 $ docker top 0e80094095940daaf0cc48854d20c1aae99cc793c53c7ea8633b8f638b253799 -eo pid,comm [Pipeline] { [Pipeline] sh 10:17:48 + touch /tmp/pre-build-complete [Pipeline] sh 10:17:48 + mkdir -p /var/log/sysstat [Pipeline] sh 10:17:48 + ls /var/log/sa-host 10:17:48 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:17:49 provisioning config files... 10:17:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-116@tmp/config15368353982531360517tmp [Pipeline] { [Pipeline] echo 10:17:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:17:49 ---> create-netrc.sh [Pipeline] } 10:17:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:17:49 ---> python-tools-install.sh [Pipeline] echo 10:17:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:17:50 ---> sudo-logs.sh 10:17:50 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:17:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:17:50 ---> job-cost.sh 10:17:50 lf-activate-venv: SKIPPING 10:17:50 DEBUG: total: 0.2199999988079071 10:17:50 INFO: Retrieving Stack Cost... 10:17:50 INFO: Retrieving Pricing Info for: v3-standard-8 10:17:51 INFO: Archiving Costs [Pipeline] echo 10:17:51 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:17:51 ---> logs-deploy.sh 10:17:51 lf-activate-venv: SKIPPING 10:17:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rfid-llrp-go/PR-116/1 10:17:51 INFO: archiving workspace using pattern(s): 10:17:52 Archives upload complete. 10:17:52 INFO: archiving logs to Nexus