Pull request #117 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d885b34173c7ef942cd16b9daeb5efc4f895380d+b8ba3e221760256c2fe6830bd74ef8a303aa4de5 (1f1cc3099b5fa6c685e324afa3b07dc4d33894ad) 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-ssh292784427311672954.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-ssh11999849232272281219.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/PR-117/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/PR-117/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9263102737234749905.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 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-ssh8261583803664238434.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/PR-117/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/PR-117/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18397992722615918153.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rfid-llrp-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rfid-llrp-go-settings PROJECT: device-rfid-llrp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rfid-llrp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9312 in /w/workspace/undry_device-rfid-llrp-go_PR-117 [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-117 # 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 Merging remotes/origin/main commit b8ba3e221760256c2fe6830bd74ef8a303aa4de5 into PR head commit d885b34173c7ef942cd16b9daeb5efc4f895380d Merge succeeded, producing d885b34173c7ef942cd16b9daeb5efc4f895380d Checking out Revision d885b34173c7ef942cd16b9daeb5efc4f895380d (PR-117) Commit message: "build(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1" First time build. Skipping changelog. > 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/117/head:refs/remotes/origin/PR-117 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d885b34173c7ef942cd16b9daeb5efc4f895380d # 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 b8ba3e221760256c2fe6830bd74ef8a303aa4de5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d885b34173c7ef942cd16b9daeb5efc4f895380d # timeout=10 > git rev-list --no-walk c828d9d88d455f87c5c9565202d4778f9c89373b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-24T14:58:05.897Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-24T14:58:05.948Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-24T14:58:05.965Z] ========================================================= [2022-10-24T14:58:05.965Z] EdgeX Global Pipelines Version Info [2022-10-24T14:58:05.965Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-24T14:58:06.665Z] ------------------- [2022-10-24T14:58:06.665Z] stable info: [2022-10-24T14:58:06.665Z] ------------------- [2022-10-24T14:58:06.665Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-24T14:58:06.665Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-24T14:58:06.665Z] Message: update stable to v1.0.243 [2022-10-24T14:58:07.236Z] ------------------- [2022-10-24T14:58:07.236Z] experimental info: [2022-10-24T14:58:07.236Z] ------------------- [2022-10-24T14:58:07.236Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-24T14:58:07.236Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-24T14:58:07.236Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-24T14:58:07.399Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rfid-llrp-go-settings [Pipeline] echo [2022-10-24T14:58:07.410Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rfid-llrp-go [Pipeline] echo [2022-10-24T14:58:07.420Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-24T14:58:07.428Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-24T14:58:07.435Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-24T14:58:07.443Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-24T14:58:07.451Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-24T14:58:07.459Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-24T14:58:07.467Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-24T14:58:07.475Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-24T14:58:07.482Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-24T14:58:07.496Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rfid-llrp [Pipeline] echo [2022-10-24T14:58:07.507Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-24T14:58:07.516Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-24T14:58:07.524Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-24T14:58:07.532Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-24T14:58:07.545Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-24T14:58:07.553Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-24T14:58:07.561Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-24T14:58:07.569Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-24T14:58:07.577Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-24T14:58:07.585Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-24T14:58:07.593Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-24T14:58:07.601Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-24T14:58:07.608Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-24T14:58:07.616Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-24T14:58:07.630Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-24T14:58:07.644Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-117 [Pipeline] echo [2022-10-24T14:58:07.658Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-117 [Pipeline] echo [2022-10-24T14:58:07.668Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-117 [Pipeline] echo [2022-10-24T14:58:07.679Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d885b34173c7ef942cd16b9daeb5efc4f895380d [Pipeline] echo [2022-10-24T14:58:07.692Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d885b34 [Pipeline] echo [2022-10-24T14:58:07.703Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-24T14:58:07.743Z] provisioning config files... [2022-10-24T14:58:07.757Z] copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-117@tmp/config8605326256343977481tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T14:58:08.058Z] ---> docker-login.sh [2022-10-24T14:58:08.058Z] nexus3.edgexfoundry.org:10001 [2022-10-24T14:58:08.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T14:58:08.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T14:58:08.578Z] Configure a credential helper to remove this warning. See [2022-10-24T14:58:08.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T14:58:08.578Z] [2022-10-24T14:58:08.578Z] Login Succeeded [2022-10-24T14:58:08.578Z] nexus3.edgexfoundry.org:10002 [2022-10-24T14:58:08.578Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T14:58:08.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T14:58:08.578Z] Configure a credential helper to remove this warning. See [2022-10-24T14:58:08.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T14:58:08.578Z] [2022-10-24T14:58:08.578Z] Login Succeeded [2022-10-24T14:58:08.578Z] nexus3.edgexfoundry.org:10003 [2022-10-24T14:58:08.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T14:58:08.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T14:58:08.838Z] Configure a credential helper to remove this warning. See [2022-10-24T14:58:08.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T14:58:08.838Z] [2022-10-24T14:58:08.838Z] Login Succeeded [2022-10-24T14:58:08.838Z] nexus3.edgexfoundry.org:10004 [2022-10-24T14:58:08.838Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T14:58:08.838Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T14:58:08.838Z] Configure a credential helper to remove this warning. See [2022-10-24T14:58:08.838Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T14:58:08.838Z] [2022-10-24T14:58:08.838Z] Login Succeeded [2022-10-24T14:58:08.838Z] docker.io [2022-10-24T14:58:09.098Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T14:58:09.361Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T14:58:09.361Z] Configure a credential helper to remove this warning. See [2022-10-24T14:58:09.361Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T14:58:09.361Z] [2022-10-24T14:58:09.361Z] Login Succeeded [2022-10-24T14:58:09.361Z] ---> docker-login.sh ends [Pipeline] } [2022-10-24T14:58:09.368Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-24T14:58:09.724Z] + git rev-list -1 --merges d885b34173c7ef942cd16b9daeb5efc4f895380d~1..d885b34173c7ef942cd16b9daeb5efc4f895380d [Pipeline] echo [2022-10-24T14:58:09.755Z] -----------> git rev-list -1 --merges d885b34173c7ef942cd16b9daeb5efc4f895380d~1..d885b34173c7ef942cd16b9daeb5efc4f895380d d885b34173c7ef942cd16b9daeb5efc4f895380d [false] [Pipeline] sh [2022-10-24T14:58:10.046Z] + git log --format=format:%s -1 d885b34173c7ef942cd16b9daeb5efc4f895380d [Pipeline] echo [2022-10-24T14:58:10.061Z] ========================================================= [2022-10-24T14:58:10.061Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-24T14:58:10.061Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-24T14:58:10.396Z] + git log --format=format:%s -1 d885b34173c7ef942cd16b9daeb5efc4f895380d [Pipeline] echo [2022-10-24T14:58:10.407Z] [semverPrep] GIT_COMMIT: d885b34173c7ef942cd16b9daeb5efc4f895380d, Commit Message: build(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1 [Pipeline] echo [2022-10-24T14:58:10.416Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-24T14:58:10.760Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-24T14:58:10.761Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-24T14:58:10.761Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-24T14:58:10.761Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-24T14:58:10.761Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-24T14:58:10.761Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-24T14:58:10.761Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T14:58:11.114Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-24T14:58:11.114Z] [2022-10-24T14:58:11.114Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T14:58:11.415Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-24T14:58:11.415Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-24T14:58:11.415Z] b85a868b505f: Pulling fs layer [2022-10-24T14:58:11.415Z] e2be974225ed: Pulling fs layer [2022-10-24T14:58:11.415Z] 339a4e72a1f5: Pulling fs layer [2022-10-24T14:58:11.415Z] 988bab9f4d93: Pulling fs layer [2022-10-24T14:58:11.415Z] 1469e6f7b9e6: Pulling fs layer [2022-10-24T14:58:11.415Z] eaf3925da568: Pulling fs layer [2022-10-24T14:58:11.415Z] bab4dde63d76: Pulling fs layer [2022-10-24T14:58:11.415Z] bde34c3a00c8: Pulling fs layer [2022-10-24T14:58:11.415Z] b352a97aabf1: Pulling fs layer [2022-10-24T14:58:11.415Z] 4872d77fe225: Pulling fs layer [2022-10-24T14:58:11.415Z] 5851b861e8e6: Pulling fs layer [2022-10-24T14:58:11.415Z] 988bab9f4d93: Waiting [2022-10-24T14:58:11.415Z] eaf3925da568: Waiting [2022-10-24T14:58:11.415Z] 1469e6f7b9e6: Waiting [2022-10-24T14:58:11.415Z] 4872d77fe225: Waiting [2022-10-24T14:58:11.415Z] bab4dde63d76: Waiting [2022-10-24T14:58:11.415Z] bde34c3a00c8: Waiting [2022-10-24T14:58:11.415Z] 5851b861e8e6: Waiting [2022-10-24T14:58:11.415Z] b352a97aabf1: Waiting [2022-10-24T14:58:11.415Z] e2be974225ed: Download complete [2022-10-24T14:58:11.415Z] 988bab9f4d93: Download complete [2022-10-24T14:58:11.686Z] 339a4e72a1f5: Verifying Checksum [2022-10-24T14:58:11.686Z] 339a4e72a1f5: Download complete [2022-10-24T14:58:11.686Z] eaf3925da568: Verifying Checksum [2022-10-24T14:58:11.686Z] eaf3925da568: Download complete [2022-10-24T14:58:11.686Z] b85a868b505f: Verifying Checksum [2022-10-24T14:58:11.686Z] b85a868b505f: Download complete [2022-10-24T14:58:11.686Z] bde34c3a00c8: Download complete [2022-10-24T14:58:11.686Z] b352a97aabf1: Verifying Checksum [2022-10-24T14:58:11.686Z] b352a97aabf1: Download complete [2022-10-24T14:58:11.686Z] 4872d77fe225: Verifying Checksum [2022-10-24T14:58:11.686Z] 4872d77fe225: Download complete [2022-10-24T14:58:11.686Z] 5851b861e8e6: Verifying Checksum [2022-10-24T14:58:11.686Z] 5851b861e8e6: Download complete [2022-10-24T14:58:12.619Z] bab4dde63d76: Verifying Checksum [2022-10-24T14:58:12.619Z] bab4dde63d76: Download complete [2022-10-24T14:58:12.619Z] 1469e6f7b9e6: Download complete [2022-10-24T14:58:13.186Z] b85a868b505f: Pull complete [2022-10-24T14:58:13.186Z] e2be974225ed: Pull complete [2022-10-24T14:58:13.754Z] 339a4e72a1f5: Pull complete [2022-10-24T14:58:13.754Z] 988bab9f4d93: Pull complete [2022-10-24T14:58:14.013Z] 1469e6f7b9e6: Pull complete [2022-10-24T14:58:14.013Z] eaf3925da568: Pull complete [2022-10-24T14:58:15.916Z] bab4dde63d76: Pull complete [2022-10-24T14:58:15.916Z] bde34c3a00c8: Pull complete [2022-10-24T14:58:16.177Z] b352a97aabf1: Pull complete [2022-10-24T14:58:16.177Z] 4872d77fe225: Pull complete [2022-10-24T14:58:16.177Z] 5851b861e8e6: Pull complete [2022-10-24T14:58:16.177Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-24T14:58:16.177Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-24T14:58:16.177Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T14:58:16.524Z] prd-ubuntu20.04-docker-8c-8g-9312 does not seem to be running inside a container [2022-10-24T14:58:16.557Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-rfid-llrp-go_PR-117 -v /w/workspace/undry_device-rfid-llrp-go_PR-117:/w/workspace/undry_device-rfid-llrp-go_PR-117:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-117@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-117@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-devops/py-git-semver:0.1.4 cat [2022-10-24T14:58:18.234Z] $ docker top b5e64add1d6f3a3928207834a0165a62f4c2d396c983e00e0243c7d3638cd621 -eo pid,comm [2022-10-24T14:58:18.286Z] 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). [2022-10-24T14:58:18.286Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-24T14:58:18.313Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-24T14:58:18.313Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-24T14:58:18.427Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-24T14:58:18.434Z] $ docker exec b5e64add1d6f3a3928207834a0165a62f4c2d396c983e00e0243c7d3638cd621 ssh-agent [2022-10-24T14:58:18.536Z] SSH_AUTH_SOCK=/tmp/ssh-PCVcKd2C7uzc/agent.31 [2022-10-24T14:58:18.536Z] SSH_AGENT_PID=37 [2022-10-24T14:58:18.545Z] Running ssh-add (command line suppressed) [2022-10-24T14:58:18.656Z] Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-117@tmp/private_key_11554329166455096231.key (/w/workspace/undry_device-rfid-llrp-go_PR-117@tmp/private_key_11554329166455096231.key) [2022-10-24T14:58:18.668Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-24T14:58:18.967Z] + git tag --points-at HEAD [Pipeline] } [2022-10-24T14:58:18.987Z] $ docker exec --env ******** --env ******** b5e64add1d6f3a3928207834a0165a62f4c2d396c983e00e0243c7d3638cd621 ssh-agent -k [2022-10-24T14:58:19.089Z] unset SSH_AUTH_SOCK; [2022-10-24T14:58:19.089Z] unset SSH_AGENT_PID; [2022-10-24T14:58:19.089Z] echo Agent pid 37 killed; [2022-10-24T14:58:19.098Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-24T14:58:19.123Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-24T14:58:19.123Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-24T14:58:19.229Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-24T14:58:19.236Z] $ docker exec b5e64add1d6f3a3928207834a0165a62f4c2d396c983e00e0243c7d3638cd621 ssh-agent [2022-10-24T14:58:19.350Z] SSH_AUTH_SOCK=/tmp/ssh-ltGB6vdqt7rs/agent.70 [2022-10-24T14:58:19.350Z] SSH_AGENT_PID=76 [2022-10-24T14:58:19.354Z] Running ssh-add (command line suppressed) [2022-10-24T14:58:19.471Z] Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-117@tmp/private_key_16898226352437993586.key (/w/workspace/undry_device-rfid-llrp-go_PR-117@tmp/private_key_16898226352437993586.key) [2022-10-24T14:58:19.482Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-24T14:58:19.766Z] + git semver init [2022-10-24T14:58:20.025Z] 2022-10-24 14:58:19,954 [run_init] DEBUG init version:0.0.0 force:False [2022-10-24T14:58:20.025Z] 2022-10-24 14:58:19,955 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-rfid-llrp-go_PR-117/.semver [2022-10-24T14:58:20.025Z] 2022-10-24 14:58:19,956 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rfid-llrp-go.git /w/workspace/undry_device-rfid-llrp-go_PR-117/.semver [2022-10-24T14:58:20.025Z] 2022-10-24 14:58:19,956 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rfid-llrp-go.git', '/w/workspace/undry_device-rfid-llrp-go_PR-117/.semver'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-117, universal_newlines=False, shell=None, istream=None) [2022-10-24T14:58:20.971Z] 2022-10-24 14:58:20,897 [append_file] DEBUG append to file:/w/workspace/undry_device-rfid-llrp-go_PR-117/.git/info/exclude [2022-10-24T14:58:20.971Z] 2022-10-24 14:58:20,898 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-rfid-llrp-go_PR-117/.semver/PR-117 with force:False [2022-10-24T14:58:20.971Z] 2022-10-24 14:58:20,898 [write_file] DEBUG write to file:/w/workspace/undry_device-rfid-llrp-go_PR-117/.semver/PR-117 [2022-10-24T14:58:20.971Z] 2022-10-24 14:58:20,901 [execute] INFO git cat-file --batch-check [2022-10-24T14:58:20.971Z] 2022-10-24 14:58:20,901 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-117/.semver, universal_newlines=False, shell=None, istream=) [2022-10-24T14:58:20.971Z] 2022-10-24 14:58:20,908 [execute] INFO git cat-file --batch [2022-10-24T14:58:20.971Z] 2022-10-24 14:58:20,908 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-117/.semver, universal_newlines=False, shell=None, istream=) [2022-10-24T14:58:20.971Z] 2022-10-24 14:58:20,915 [read_version] DEBUG read version from /w/workspace/undry_device-rfid-llrp-go_PR-117/.semver/PR-117 [2022-10-24T14:58:20.971Z] 0.0.0 [Pipeline] } [2022-10-24T14:58:20.983Z] $ docker exec --env ******** --env ******** b5e64add1d6f3a3928207834a0165a62f4c2d396c983e00e0243c7d3638cd621 ssh-agent -k [2022-10-24T14:58:21.091Z] unset SSH_AUTH_SOCK; [2022-10-24T14:58:21.091Z] unset SSH_AGENT_PID; [2022-10-24T14:58:21.092Z] echo Agent pid 76 killed; [2022-10-24T14:58:21.099Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-24T14:58:21.406Z] + git semver [Pipeline] } [2022-10-24T14:58:21.683Z] $ docker stop --time=1 b5e64add1d6f3a3928207834a0165a62f4c2d396c983e00e0243c7d3638cd621 [2022-10-24T14:58:22.985Z] $ docker rm -f b5e64add1d6f3a3928207834a0165a62f4c2d396c983e00e0243c7d3638cd621 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-24T14:58:23.328Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-24T14:58:23.508Z] Stashed 1 file(s) [Pipeline] echo [2022-10-24T14:58:23.511Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-24T14:58:23.657Z] provisioning config files... [2022-10-24T14:58:23.666Z] copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-117@tmp/config10707663376137160486tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T14:58:23.959Z] ---> docker-login.sh [2022-10-24T14:58:23.959Z] nexus3.edgexfoundry.org:10001 [2022-10-24T14:58:23.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T14:58:23.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T14:58:23.959Z] Configure a credential helper to remove this warning. See [2022-10-24T14:58:23.959Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T14:58:23.959Z] [2022-10-24T14:58:23.959Z] Login Succeeded [2022-10-24T14:58:23.959Z] nexus3.edgexfoundry.org:10002 [2022-10-24T14:58:23.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T14:58:23.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T14:58:23.959Z] Configure a credential helper to remove this warning. See [2022-10-24T14:58:23.959Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T14:58:23.959Z] [2022-10-24T14:58:23.959Z] Login Succeeded [2022-10-24T14:58:23.959Z] nexus3.edgexfoundry.org:10003 [2022-10-24T14:58:24.217Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T14:58:24.217Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T14:58:24.217Z] Configure a credential helper to remove this warning. See [2022-10-24T14:58:24.217Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T14:58:24.217Z] [2022-10-24T14:58:24.217Z] Login Succeeded [2022-10-24T14:58:24.217Z] nexus3.edgexfoundry.org:10004 [2022-10-24T14:58:24.217Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T14:58:24.217Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T14:58:24.217Z] Configure a credential helper to remove this warning. See [2022-10-24T14:58:24.217Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T14:58:24.217Z] [2022-10-24T14:58:24.217Z] Login Succeeded [2022-10-24T14:58:24.217Z] docker.io [2022-10-24T14:58:24.476Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T14:58:24.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T14:58:24.736Z] Configure a credential helper to remove this warning. See [2022-10-24T14:58:24.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T14:58:24.736Z] [2022-10-24T14:58:24.736Z] Login Succeeded [2022-10-24T14:58:24.736Z] ---> docker-login.sh ends [Pipeline] } [2022-10-24T14:58:24.743Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-24T14:58:24.813Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T14:58:24.828Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T14:58:24.835Z] ========================================================= [2022-10-24T14:58:24.835Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-24T14:58:24.835Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T14:58:25.147Z] + 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 . [2022-10-24T14:58:25.147Z] Sending build context to Docker daemon 4.094MB [2022-10-24T14:58:25.147Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T14:58:25.147Z] Step 2/12 : FROM ${BASE} AS builder [2022-10-24T14:58:25.147Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-24T14:58:25.147Z] 213ec9aee27d: Pulling fs layer [2022-10-24T14:58:25.147Z] 4583459ba037: Pulling fs layer [2022-10-24T14:58:25.147Z] 93c1e223e6f2: Pulling fs layer [2022-10-24T14:58:25.147Z] 53926ce57604: Pulling fs layer [2022-10-24T14:58:25.147Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-24T14:58:25.147Z] 30f14e443154: Pulling fs layer [2022-10-24T14:58:25.147Z] 801331c1e519: Pulling fs layer [2022-10-24T14:58:25.147Z] 99cc6dd402b0: Pulling fs layer [2022-10-24T14:58:25.147Z] 7d9ed39f4882: Pulling fs layer [2022-10-24T14:58:25.147Z] 21b2b0c7a3f4: Waiting [2022-10-24T14:58:25.147Z] 801331c1e519: Waiting [2022-10-24T14:58:25.147Z] 99cc6dd402b0: Waiting [2022-10-24T14:58:25.147Z] 30f14e443154: Waiting [2022-10-24T14:58:25.147Z] 7d9ed39f4882: Waiting [2022-10-24T14:58:25.406Z] 93c1e223e6f2: Download complete [2022-10-24T14:58:25.406Z] 4583459ba037: Download complete [2022-10-24T14:58:25.406Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-24T14:58:25.406Z] 21b2b0c7a3f4: Download complete [2022-10-24T14:58:25.406Z] 30f14e443154: Verifying Checksum [2022-10-24T14:58:25.406Z] 30f14e443154: Download complete [2022-10-24T14:58:25.406Z] 213ec9aee27d: Verifying Checksum [2022-10-24T14:58:25.406Z] 213ec9aee27d: Download complete [2022-10-24T14:58:25.406Z] 801331c1e519: Verifying Checksum [2022-10-24T14:58:25.406Z] 801331c1e519: Download complete [2022-10-24T14:58:25.406Z] 213ec9aee27d: Pull complete [2022-10-24T14:58:25.669Z] 4583459ba037: Pull complete [2022-10-24T14:58:25.669Z] 93c1e223e6f2: Pull complete [2022-10-24T14:58:25.928Z] 7d9ed39f4882: Verifying Checksum [2022-10-24T14:58:25.928Z] 7d9ed39f4882: Download complete [2022-10-24T14:58:25.928Z] 99cc6dd402b0: Verifying Checksum [2022-10-24T14:58:25.928Z] 99cc6dd402b0: Download complete [2022-10-24T14:58:26.493Z] 53926ce57604: Verifying Checksum [2022-10-24T14:58:26.493Z] 53926ce57604: Download complete [2022-10-24T14:58:30.673Z] 53926ce57604: Pull complete [2022-10-24T14:58:30.673Z] 21b2b0c7a3f4: Pull complete [2022-10-24T14:58:30.673Z] 30f14e443154: Pull complete [2022-10-24T14:58:30.673Z] 801331c1e519: Pull complete [2022-10-24T14:58:33.197Z] 99cc6dd402b0: Pull complete [2022-10-24T14:58:33.769Z] 7d9ed39f4882: Pull complete [2022-10-24T14:58:33.769Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-24T14:58:33.769Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-24T14:58:33.769Z] ---> 1dedd983c030 [2022-10-24T14:58:33.769Z] Step 3/12 : ARG MAKE='make build' [2022-10-24T14:58:37.063Z] ---> Running in 69b0fd4d85c8 [2022-10-24T14:58:37.063Z] Removing intermediate container 69b0fd4d85c8 [2022-10-24T14:58:37.063Z] ---> f0ac3d6503c1 [2022-10-24T14:58:37.063Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" [2022-10-24T14:58:37.063Z] ---> Running in d768a7f3d3f2 [2022-10-24T14:58:37.322Z] Removing intermediate container d768a7f3d3f2 [2022-10-24T14:58:37.322Z] ---> 61183652d014 [2022-10-24T14:58:37.322Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-10-24T14:58:37.322Z] ---> Running in e25536cb7c9b [2022-10-24T14:58:37.581Z] Removing intermediate container e25536cb7c9b [2022-10-24T14:58:37.581Z] ---> e757b2becba4 [2022-10-24T14:58:37.581Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T14:58:37.839Z] ---> Running in 8308f1b42d01 [2022-10-24T14:58:38.615Z] Still waiting to schedule task [2022-10-24T14:58:38.615Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-10-24T14:58:38.779Z] Removing intermediate container 8308f1b42d01 [2022-10-24T14:58:38.779Z] ---> 8318ef7218d9 [2022-10-24T14:58:38.779Z] Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-24T14:58:38.779Z] ---> Running in e310109bd962 [2022-10-24T14:58:39.037Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-24T14:58:39.974Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-24T14:58:40.234Z] OK: 211 MiB in 51 packages [2022-10-24T14:58:40.802Z] Removing intermediate container e310109bd962 [2022-10-24T14:58:40.802Z] ---> 6e52dc3eff50 [2022-10-24T14:58:40.802Z] Step 8/12 : WORKDIR /app [2022-10-24T14:58:40.802Z] ---> Running in 62223e19e893 [2022-10-24T14:58:41.061Z] Removing intermediate container 62223e19e893 [2022-10-24T14:58:41.061Z] ---> 4ab4d33faf00 [2022-10-24T14:58:41.061Z] Step 9/12 : COPY go.mod vendor* ./ [2022-10-24T14:58:41.061Z] ---> bca0017590cb [2022-10-24T14:58:41.061Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T14:58:41.320Z] ---> Running in 2519e4caef52 [2022-10-24T14:59:03.270Z] Removing intermediate container 2519e4caef52 [2022-10-24T14:59:03.270Z] ---> dc9b19e4badf [2022-10-24T14:59:03.270Z] Step 11/12 : COPY . . [2022-10-24T14:59:03.270Z] ---> f04e7504435d [2022-10-24T14:59:03.270Z] Step 12/12 : RUN $MAKE [2022-10-24T14:59:03.270Z] ---> Running in 65b4b65a34d8 [2022-10-24T14:59:03.270Z] noop [2022-10-24T14:59:03.270Z] Removing intermediate container 65b4b65a34d8 [2022-10-24T14:59:03.270Z] ---> cc38abca4b12 [2022-10-24T14:59:03.270Z] Successfully built cc38abca4b12 [2022-10-24T14:59:03.270Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T14:59:03.583Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-24T14:59:03.583Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T14:59:03.649Z] prd-ubuntu20.04-docker-8c-8g-9312 does not seem to be running inside a container [2022-10-24T14:59:03.684Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-rfid-llrp-go_PR-117 -v /w/workspace/undry_device-rfid-llrp-go_PR-117:/w/workspace/undry_device-rfid-llrp-go_PR-117:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-117@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-117@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-24T14:59:04.125Z] $ docker top 9987cf8fcfa3e5fe32d34aac148c7d3f21b714b661e64a50782ee2c168c8cca7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T14:59:04.470Z] + go version [2022-10-24T14:59:04.470Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-24T14:59:04.484Z] $ docker stop --time=1 9987cf8fcfa3e5fe32d34aac148c7d3f21b714b661e64a50782ee2c168c8cca7 [2022-10-24T14:59:05.779Z] $ docker rm -f 9987cf8fcfa3e5fe32d34aac148c7d3f21b714b661e64a50782ee2c168c8cca7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T14:59:06.161Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-24T14:59:06.161Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T14:59:06.239Z] prd-ubuntu20.04-docker-8c-8g-9312 does not seem to be running inside a container [2022-10-24T14:59:06.273Z] $ 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-117 -v /w/workspace/undry_device-rfid-llrp-go_PR-117:/w/workspace/undry_device-rfid-llrp-go_PR-117:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-117@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-117@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-24T14:59:06.684Z] $ docker top 784aae56f93a3d6295a9037bc5fd308c5b75093526ae1f205719c3f531960084 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T14:59:07.029Z] + git config --global --add safe.directory /w/workspace/undry_device-rfid-llrp-go_PR-117 [Pipeline] fileExists [Pipeline] sh [2022-10-24T14:59:07.324Z] + make test [2022-10-24T14:59:07.324Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-24T14:59:07.584Z] ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] [2022-10-24T14:59:19.790Z] ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] [2022-10-24T14:59:19.790Z] ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] [2022-10-24T14:59:23.977Z] ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 4.160s coverage: 38.5% of statements [2022-10-24T14:59:23.977Z] ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.260s coverage: 52.0% of statements [2022-10-24T14:59:23.977Z] ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.039s coverage: 96.4% of statements [2022-10-24T14:59:33.941Z] 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." [2022-10-24T14:59:33.941Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-24T14:59:36.466Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-24T14:59:36.466Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-24T14:59:36.466Z] ./bin/test-attribution-txt.sh [2022-10-24T14:59:36.466Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [Pipeline] echo [2022-10-24T14:59:36.480Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-24T14:59:36.493Z] $ docker stop --time=1 784aae56f93a3d6295a9037bc5fd308c5b75093526ae1f205719c3f531960084 [2022-10-24T14:59:38.542Z] $ docker rm -f 784aae56f93a3d6295a9037bc5fd308c5b75093526ae1f205719c3f531960084 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-24T14:59:39.012Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-24T14:59:39.102Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-24T14:59:39.600Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-24T14:59:39.881Z] + ls -al . [2022-10-24T14:59:39.881Z] total 640 [2022-10-24T14:59:39.881Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 14:59 . [2022-10-24T14:59:39.881Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 14:58 .. [2022-10-24T14:59:39.881Z] -rw-rw-r-- 1 jenkins jenkins 134 Oct 24 14:58 .dockerignore [2022-10-24T14:59:39.881Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 14:59 .git [2022-10-24T14:59:39.881Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 14:58 .github [2022-10-24T14:59:39.881Z] -rw-rw-r-- 1 jenkins jenkins 946 Oct 24 14:58 .gitignore [2022-10-24T14:59:39.881Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 14:58 .golangci.yml [2022-10-24T14:59:39.881Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 14:58 .semver [2022-10-24T14:59:39.881Z] -rw-rw-r-- 1 jenkins jenkins 10866 Oct 24 14:58 Attribution.txt [2022-10-24T14:59:39.881Z] -rw-rw-r-- 1 jenkins jenkins 3740 Oct 24 14:58 CHANGELOG.md [2022-10-24T14:59:39.881Z] -rw-rw-r-- 1 jenkins jenkins 1518 Oct 24 14:58 Dockerfile [2022-10-24T14:59:39.881Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 14:58 GOVERNANCE.md [2022-10-24T14:59:39.881Z] -rw-rw-r-- 1 jenkins jenkins 683 Oct 24 14:58 Jenkinsfile [2022-10-24T14:59:39.881Z] -rw-rw-r-- 1 jenkins jenkins 11347 Oct 24 14:58 LICENSE [2022-10-24T14:59:39.881Z] -rw-rw-r-- 1 jenkins jenkins 2196 Oct 24 14:58 Makefile [2022-10-24T14:59:39.881Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 24 14:58 OWNERS.md [2022-10-24T14:59:39.881Z] -rw-rw-r-- 1 jenkins jenkins 28496 Oct 24 14:58 README.md [2022-10-24T14:59:39.881Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 14:58 VERSION [2022-10-24T14:59:39.881Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 14:58 bin [2022-10-24T14:59:39.881Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 14:58 cmd [2022-10-24T14:59:39.881Z] -rw-r--r-- 1 jenkins jenkins 460049 Oct 24 14:59 coverage.out [2022-10-24T14:59:39.881Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 14:58 examples [2022-10-24T14:59:39.881Z] -rw-rw-r-- 1 jenkins jenkins 3597 Oct 24 14:58 go.mod [2022-10-24T14:59:39.881Z] -rw-rw-r-- 1 jenkins jenkins 44895 Oct 24 14:58 go.sum [2022-10-24T14:59:39.881Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 14:58 images [2022-10-24T14:59:39.881Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 24 14:58 internal [2022-10-24T14:59:39.881Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 14:58 snap [2022-10-24T14:59:39.881Z] -rw-rw-r-- 1 jenkins jenkins 193 Oct 24 14:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T14:59:40.182Z] + 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=d885b34173c7ef942cd16b9daeb5efc4f895380d --label arch=amd64 --label version=0.0.0 . [2022-10-24T14:59:40.182Z] Sending build context to Docker daemon 4.094MB [2022-10-24T14:59:40.182Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T14:59:40.182Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-24T14:59:40.182Z] ---> cc38abca4b12 [2022-10-24T14:59:40.182Z] Step 3/25 : ARG MAKE='make build' [2022-10-24T14:59:40.442Z] ---> Running in 7ba823b8bbf9 [2022-10-24T14:59:40.701Z] Removing intermediate container 7ba823b8bbf9 [2022-10-24T14:59:40.701Z] ---> 8264a415b79b [2022-10-24T14:59:40.701Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" [2022-10-24T14:59:40.701Z] ---> Running in d851c3f97a93 [2022-10-24T14:59:40.960Z] Removing intermediate container d851c3f97a93 [2022-10-24T14:59:40.960Z] ---> 1e558c175dc2 [2022-10-24T14:59:40.960Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-24T14:59:40.960Z] ---> Running in 27251d76d1c7 [2022-10-24T14:59:41.218Z] Removing intermediate container 27251d76d1c7 [2022-10-24T14:59:41.218Z] ---> faa66808c923 [2022-10-24T14:59:41.218Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T14:59:41.218Z] ---> Running in ea52e799a7d8 [2022-10-24T14:59:41.786Z] Removing intermediate container ea52e799a7d8 [2022-10-24T14:59:41.786Z] ---> a33983d1b806 [2022-10-24T14:59:41.786Z] Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-24T14:59:41.786Z] ---> Running in c211a96d71eb [2022-10-24T14:59:42.045Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-24T14:59:42.983Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-24T14:59:43.242Z] OK: 211 MiB in 51 packages [2022-10-24T14:59:43.824Z] Removing intermediate container c211a96d71eb [2022-10-24T14:59:43.824Z] ---> 176d6985ac9f [2022-10-24T14:59:43.824Z] Step 8/25 : WORKDIR /app [2022-10-24T14:59:43.824Z] ---> Running in 9ef2211a69c6 [2022-10-24T14:59:43.824Z] Removing intermediate container 9ef2211a69c6 [2022-10-24T14:59:43.824Z] ---> 0335c81ce1ea [2022-10-24T14:59:43.824Z] Step 9/25 : COPY go.mod vendor* ./ [2022-10-24T14:59:44.083Z] ---> 50afe392700d [2022-10-24T14:59:44.083Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T14:59:44.083Z] ---> Running in 0778a9f1f440 [2022-10-24T14:59:44.656Z] Removing intermediate container 0778a9f1f440 [2022-10-24T14:59:44.656Z] ---> ba8c41baa59b [2022-10-24T14:59:44.656Z] Step 11/25 : COPY . . [2022-10-24T14:59:45.224Z] ---> 0f0896a72a8e [2022-10-24T14:59:45.225Z] Step 12/25 : RUN $MAKE [2022-10-24T14:59:45.225Z] ---> Running in 5f5778b4a6f5 [2022-10-24T14:59:45.483Z] 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 [2022-10-24T15:00:07.407Z] Removing intermediate container 5f5778b4a6f5 [2022-10-24T15:00:07.407Z] ---> 0d539f5c96bf [2022-10-24T15:00:07.407Z] Step 13/25 : FROM alpine:3.16 [2022-10-24T15:00:08.791Z] 3.16: Pulling from library/alpine [2022-10-24T15:00:08.791Z] 213ec9aee27d: Already exists [2022-10-24T15:00:08.791Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-24T15:00:09.049Z] Status: Downloaded newer image for alpine:3.16 [2022-10-24T15:00:09.049Z] ---> 9c6f07244728 [2022-10-24T15:00:09.049Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-24T15:00:09.049Z] ---> Running in 064dfef7e99e [2022-10-24T15:00:09.307Z] Removing intermediate container 064dfef7e99e [2022-10-24T15:00:09.307Z] ---> eab51d2b58f6 [2022-10-24T15:00:09.307Z] Step 15/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T15:00:09.307Z] ---> Running in 5ce0e977abaa [2022-10-24T15:00:10.242Z] Removing intermediate container 5ce0e977abaa [2022-10-24T15:00:10.242Z] ---> 76a436f283c8 [2022-10-24T15:00:10.242Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-24T15:00:10.242Z] ---> Running in d28f1a53121d [2022-10-24T15:00:10.808Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-24T15:00:11.744Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-24T15:00:11.744Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-24T15:00:12.003Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-24T15:00:12.003Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-24T15:00:12.261Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-24T15:00:12.261Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-24T15:00:12.261Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-24T15:00:12.519Z] Executing busybox-1.35.0-r17.trigger [2022-10-24T15:00:12.519Z] OK: 8 MiB in 20 packages [2022-10-24T15:00:13.087Z] Removing intermediate container d28f1a53121d [2022-10-24T15:00:13.087Z] ---> 33b5e861bbaa [2022-10-24T15:00:13.087Z] Step 17/25 : COPY --from=builder /app/LICENSE / [2022-10-24T15:00:13.346Z] ---> 03c0d6196c16 [2022-10-24T15:00:13.346Z] Step 18/25 : COPY --from=builder /app/Attribution.txt / [2022-10-24T15:00:13.604Z] ---> 26137d0504e0 [2022-10-24T15:00:13.604Z] Step 19/25 : COPY --from=builder /app/cmd/ / [2022-10-24T15:00:14.170Z] ---> d121912e3e22 [2022-10-24T15:00:14.170Z] Step 20/25 : EXPOSE 59989 [2022-10-24T15:00:14.429Z] ---> Running in 8242cc4e6939 [2022-10-24T15:00:14.429Z] Removing intermediate container 8242cc4e6939 [2022-10-24T15:00:14.429Z] ---> 320bb6811875 [2022-10-24T15:00:14.429Z] Step 21/25 : ENTRYPOINT ["/device-rfid-llrp"] [2022-10-24T15:00:14.688Z] ---> Running in ddc0e3c48dec [2022-10-24T15:00:14.688Z] Removing intermediate container ddc0e3c48dec [2022-10-24T15:00:14.688Z] ---> f76c199350fe [2022-10-24T15:00:14.688Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-10-24T15:00:14.947Z] ---> Running in 7cecc9063cc1 [2022-10-24T15:00:14.947Z] Removing intermediate container 7cecc9063cc1 [2022-10-24T15:00:14.947Z] ---> 3ef60b171095 [2022-10-24T15:00:14.947Z] Step 23/25 : LABEL arch=amd64 [2022-10-24T15:00:15.206Z] ---> Running in 8ec3b56b12bc [2022-10-24T15:00:15.206Z] Removing intermediate container 8ec3b56b12bc [2022-10-24T15:00:15.206Z] ---> 4c229dbbaf7f [2022-10-24T15:00:15.206Z] Step 24/25 : LABEL git_sha=d885b34173c7ef942cd16b9daeb5efc4f895380d [2022-10-24T15:00:15.463Z] ---> Running in f03e97c92851 [2022-10-24T15:00:15.463Z] Removing intermediate container f03e97c92851 [2022-10-24T15:00:15.463Z] ---> fa6fa2435c38 [2022-10-24T15:00:15.463Z] Step 25/25 : LABEL version=0.0.0 [2022-10-24T15:00:15.463Z] ---> Running in e69fc6ced753 [2022-10-24T15:00:15.720Z] Removing intermediate container e69fc6ced753 [2022-10-24T15:00:15.720Z] ---> a1c23cdebd24 [2022-10-24T15:00:15.720Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-24T15:00:15.720Z] Successfully built a1c23cdebd24 [2022-10-24T15:00:15.720Z] 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 [2022-10-24T15:00:16.139Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T15:00:16.139Z] [2022-10-24T15:00:16.139Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T15:00:16.443Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T15:00:16.443Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-24T15:00:16.443Z] 5eb5b503b376: Pulling fs layer [2022-10-24T15:00:16.443Z] 5c69ac0246d0: Pulling fs layer [2022-10-24T15:00:16.443Z] ec43610c2a17: Pulling fs layer [2022-10-24T15:00:16.443Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-24T15:00:16.443Z] 33b1e0a273af: Pulling fs layer [2022-10-24T15:00:16.443Z] 5d3b04190fa2: Pulling fs layer [2022-10-24T15:00:16.443Z] 2f39f015ded8: Pulling fs layer [2022-10-24T15:00:16.443Z] 33b1e0a273af: Waiting [2022-10-24T15:00:16.443Z] 5d3b04190fa2: Waiting [2022-10-24T15:00:16.443Z] 3a2ae6a8a46f: Waiting [2022-10-24T15:00:16.443Z] 2f39f015ded8: Waiting [2022-10-24T15:00:16.443Z] 5c69ac0246d0: Verifying Checksum [2022-10-24T15:00:16.443Z] 5c69ac0246d0: Download complete [2022-10-24T15:00:16.443Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-24T15:00:16.443Z] 3a2ae6a8a46f: Download complete [2022-10-24T15:00:16.443Z] 33b1e0a273af: Verifying Checksum [2022-10-24T15:00:16.443Z] 33b1e0a273af: Download complete [2022-10-24T15:00:16.443Z] ec43610c2a17: Verifying Checksum [2022-10-24T15:00:16.443Z] ec43610c2a17: Download complete [2022-10-24T15:00:16.443Z] 5d3b04190fa2: Verifying Checksum [2022-10-24T15:00:16.443Z] 5d3b04190fa2: Download complete [2022-10-24T15:00:16.703Z] 5eb5b503b376: Verifying Checksum [2022-10-24T15:00:16.703Z] 5eb5b503b376: Download complete [2022-10-24T15:00:17.269Z] 2f39f015ded8: Download complete [2022-10-24T15:00:17.834Z] 5eb5b503b376: Pull complete [2022-10-24T15:00:18.093Z] 5c69ac0246d0: Pull complete [2022-10-24T15:00:18.662Z] ec43610c2a17: Pull complete [2022-10-24T15:00:18.662Z] 3a2ae6a8a46f: Pull complete [2022-10-24T15:00:18.662Z] 33b1e0a273af: Pull complete [2022-10-24T15:00:18.920Z] 5d3b04190fa2: Pull complete [2022-10-24T15:00:23.106Z] 2f39f015ded8: Pull complete [2022-10-24T15:00:23.106Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-24T15:00:23.106Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T15:00:23.106Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T15:00:23.189Z] prd-ubuntu20.04-docker-8c-8g-9312 does not seem to be running inside a container [2022-10-24T15:00:23.225Z] $ 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-117 -v /w/workspace/undry_device-rfid-llrp-go_PR-117:/w/workspace/undry_device-rfid-llrp-go_PR-117:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-117@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-117@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-24T15:00:25.713Z] $ docker top a7c1b10039528d810b546c6ebd78e6a2fbd43e6d876a4680bb2a5f26a0f2ce3a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T15:00:26.089Z] ---> job-cost.sh [2022-10-24T15:00:26.090Z] lf-activate-venv: SKIPPING [2022-10-24T15:00:26.090Z] INFO: No Stack... [2022-10-24T15:00:26.348Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-24T15:00:26.915Z] INFO: Archiving Costs [Pipeline] sh [2022-10-24T15:00:27.201Z] + cat /w/workspace/undry_device-rfid-llrp-go_PR-117/archives/cost.csv [2022-10-24T15:00:27.201Z] + cut -d, -f6 [Pipeline] lock [2022-10-24T15:00:27.214Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-117-2-stack-cost] [2022-10-24T15:00:27.225Z] Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-117-2-stack-cost] did not exist. Created. [2022-10-24T15:00:27.225Z] Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-117-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-24T15:00:27.523Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-24T15:00:27.550Z] Stashed 1 file(s) [Pipeline] } [2022-10-24T15:00:27.556Z] Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-117-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-24T15:00:27.576Z] $ docker stop --time=1 a7c1b10039528d810b546c6ebd78e6a2fbd43e6d876a4680bb2a5f26a0f2ce3a [2022-10-24T15:00:28.732Z] $ docker rm -f a7c1b10039528d810b546c6ebd78e6a2fbd43e6d876a4680bb2a5f26a0f2ce3a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-24T15:01:22.987Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9315 in /w/workspace/undry_device-rfid-llrp-go_PR-117 [Pipeline] { [Pipeline] ws [2022-10-24T15:01:23.001Z] Running in /w/workspace/device-rfid-llrp-go/2 [Pipeline] { [Pipeline] checkout [2022-10-24T15:01:23.037Z] Selected Git installation does not exist. Using Default [2022-10-24T15:01:23.037Z] The recommended git tool is: NONE [2022-10-24T15:01:28.718Z] using credential edgex-jenkins-ssh [2022-10-24T15:01:28.735Z] Cloning the remote Git repository [2022-10-24T15:01:28.785Z] Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git [2022-10-24T15:01:28.876Z] > git init /w/workspace/device-rfid-llrp-go/2 # timeout=10 [2022-10-24T15:01:29.046Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git [2022-10-24T15:01:29.047Z] > git --version # timeout=10 [2022-10-24T15:01:29.071Z] > git --version # 'git version 2.25.1' [2022-10-24T15:01:29.074Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-24T15:01:29.137Z] Verifying host key using known hosts file [2022-10-24T15:01:29.380Z] 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. [2022-10-24T15:01:29.395Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-24T15:01:30.629Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 [2022-10-24T15:01:30.669Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-24T15:01:31.641Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 [2022-10-24T15:01:31.682Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git [2022-10-24T15:01:31.684Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-24T15:01:31.690Z] Verifying host key using known hosts file [2022-10-24T15:01:31.697Z] 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. [2022-10-24T15:01:31.709Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/117/head:refs/remotes/origin/PR-117 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-24T15:01:32.280Z] Merging remotes/origin/main commit b8ba3e221760256c2fe6830bd74ef8a303aa4de5 into PR head commit d885b34173c7ef942cd16b9daeb5efc4f895380d [2022-10-24T15:01:32.585Z] Merge succeeded, producing d885b34173c7ef942cd16b9daeb5efc4f895380d [2022-10-24T15:01:32.585Z] Checking out Revision d885b34173c7ef942cd16b9daeb5efc4f895380d (PR-117) [2022-10-24T15:01:33.226Z] Commit message: "build(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1" [2022-10-24T15:01:32.299Z] > git config core.sparsecheckout # timeout=10 [2022-10-24T15:01:32.318Z] > git checkout -f d885b34173c7ef942cd16b9daeb5efc4f895380d # timeout=10 [2022-10-24T15:01:32.443Z] > git remote # timeout=10 [2022-10-24T15:01:32.464Z] > git config --get remote.origin.url # timeout=10 [2022-10-24T15:01:32.498Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-24T15:01:32.504Z] Verifying host key using known hosts file [2022-10-24T15:01:32.508Z] 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. [2022-10-24T15:01:32.520Z] > git merge b8ba3e221760256c2fe6830bd74ef8a303aa4de5 # timeout=10 [2022-10-24T15:01:32.560Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-24T15:01:32.591Z] > git config core.sparsecheckout # timeout=10 [2022-10-24T15:01:32.611Z] > git checkout -f d885b34173c7ef942cd16b9daeb5efc4f895380d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-24T15:01:34.216Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-24T15:01:34.216Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-24T15:01:34.216Z] Dload Upload Total Spent Left Speed [2022-10-24T15:01:34.216Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 189k 0 --:--:-- --:--:-- --:--:-- 189k [Pipeline] sh [2022-10-24T15:01:34.953Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-24T15:01:35.285Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-24T15:01:35.285Z] + sudo tee /etc/docker/daemon.new [2022-10-24T15:01:35.285Z] { [2022-10-24T15:01:35.285Z] "registry-mirrors": [ [2022-10-24T15:01:35.285Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-24T15:01:35.285Z] ], [2022-10-24T15:01:35.285Z] "bip": "10.250.0.254/24", [2022-10-24T15:01:35.285Z] "hosts": [ [2022-10-24T15:01:35.285Z] "tcp://0.0.0.0:5555", [2022-10-24T15:01:35.285Z] "unix:///var/run/docker.sock" [2022-10-24T15:01:35.285Z] ], [2022-10-24T15:01:35.285Z] "mtu": 1458, [2022-10-24T15:01:35.285Z] "selinux-enabled": true, [2022-10-24T15:01:35.285Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-24T15:01:35.285Z] } [Pipeline] sh [2022-10-24T15:01:35.627Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-24T15:01:35.966Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-24T15:01:54.271Z] provisioning config files... [2022-10-24T15:01:54.301Z] copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/device-rfid-llrp-go/2@tmp/config1710784374802132852tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T15:01:54.668Z] ---> docker-login.sh [2022-10-24T15:01:54.669Z] nexus3.edgexfoundry.org:10001 [2022-10-24T15:01:55.261Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T15:01:55.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T15:01:55.261Z] Configure a credential helper to remove this warning. See [2022-10-24T15:01:55.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T15:01:55.261Z] [2022-10-24T15:01:55.261Z] Login Succeeded [2022-10-24T15:01:55.261Z] nexus3.edgexfoundry.org:10002 [2022-10-24T15:01:55.532Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T15:01:55.805Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T15:01:55.805Z] Configure a credential helper to remove this warning. See [2022-10-24T15:01:55.805Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T15:01:55.805Z] [2022-10-24T15:01:55.805Z] Login Succeeded [2022-10-24T15:01:55.805Z] nexus3.edgexfoundry.org:10003 [2022-10-24T15:01:56.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T15:01:56.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T15:01:56.078Z] Configure a credential helper to remove this warning. See [2022-10-24T15:01:56.078Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T15:01:56.078Z] [2022-10-24T15:01:56.078Z] Login Succeeded [2022-10-24T15:01:56.078Z] nexus3.edgexfoundry.org:10004 [2022-10-24T15:01:56.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T15:01:56.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T15:01:56.622Z] Configure a credential helper to remove this warning. See [2022-10-24T15:01:56.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T15:01:56.622Z] [2022-10-24T15:01:56.622Z] Login Succeeded [2022-10-24T15:01:56.622Z] docker.io [2022-10-24T15:01:56.895Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T15:01:57.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T15:01:57.167Z] Configure a credential helper to remove this warning. See [2022-10-24T15:01:57.167Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T15:01:57.167Z] [2022-10-24T15:01:57.167Z] Login Succeeded [2022-10-24T15:01:57.167Z] ---> docker-login.sh ends [Pipeline] } [2022-10-24T15:01:57.183Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-24T15:01:57.362Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T15:01:57.372Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T15:01:57.379Z] ========================================================= [2022-10-24T15:01:57.379Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-24T15:01:57.379Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T15:01:57.729Z] + 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 . [2022-10-24T15:01:58.003Z] Sending build context to Docker daemon 1.22MB [2022-10-24T15:01:58.003Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T15:01:58.003Z] Step 2/12 : FROM ${BASE} AS builder [2022-10-24T15:01:58.987Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-24T15:01:58.987Z] 9b18e9b68314: Pulling fs layer [2022-10-24T15:01:58.987Z] d32db5db7311: Pulling fs layer [2022-10-24T15:01:58.987Z] d0c4b47475fc: Pulling fs layer [2022-10-24T15:01:58.987Z] 5831b945b038: Pulling fs layer [2022-10-24T15:01:58.987Z] 86bbec2aaacd: Pulling fs layer [2022-10-24T15:01:58.987Z] e10730c5d714: Pulling fs layer [2022-10-24T15:01:58.987Z] 5831b945b038: Waiting [2022-10-24T15:01:58.987Z] 86bbec2aaacd: Waiting [2022-10-24T15:01:58.987Z] 5dd5c2283517: Pulling fs layer [2022-10-24T15:01:58.987Z] d5ac0230b979: Pulling fs layer [2022-10-24T15:01:58.987Z] e10730c5d714: Waiting [2022-10-24T15:01:58.987Z] 5dd5c2283517: Waiting [2022-10-24T15:01:58.987Z] d5ac0230b979: Waiting [2022-10-24T15:01:58.987Z] d0c4b47475fc: Verifying Checksum [2022-10-24T15:01:58.987Z] d0c4b47475fc: Download complete [2022-10-24T15:01:58.988Z] d32db5db7311: Download complete [2022-10-24T15:01:59.281Z] 86bbec2aaacd: Verifying Checksum [2022-10-24T15:01:59.281Z] 86bbec2aaacd: Download complete [2022-10-24T15:01:59.281Z] e10730c5d714: Verifying Checksum [2022-10-24T15:01:59.281Z] e10730c5d714: Download complete [2022-10-24T15:01:59.281Z] 9b18e9b68314: Verifying Checksum [2022-10-24T15:01:59.281Z] 9b18e9b68314: Download complete [2022-10-24T15:02:00.267Z] 9b18e9b68314: Pull complete [2022-10-24T15:02:00.539Z] d5ac0230b979: Verifying Checksum [2022-10-24T15:02:00.539Z] d5ac0230b979: Download complete [2022-10-24T15:02:00.810Z] d32db5db7311: Pull complete [2022-10-24T15:02:01.083Z] d0c4b47475fc: Pull complete [2022-10-24T15:02:01.690Z] 5dd5c2283517: Verifying Checksum [2022-10-24T15:02:01.690Z] 5dd5c2283517: Download complete [2022-10-24T15:02:02.282Z] 5831b945b038: Download complete [2022-10-24T15:02:17.381Z] 5831b945b038: Pull complete [2022-10-24T15:02:17.381Z] 86bbec2aaacd: Pull complete [2022-10-24T15:02:17.381Z] e10730c5d714: Pull complete [2022-10-24T15:02:22.774Z] 5dd5c2283517: Pull complete [2022-10-24T15:02:24.737Z] d5ac0230b979: Pull complete [2022-10-24T15:02:24.737Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-24T15:02:24.737Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-24T15:02:24.737Z] ---> 59b3b1a385d4 [2022-10-24T15:02:24.737Z] Step 3/12 : ARG MAKE='make build' [2022-10-24T15:02:26.709Z] ---> Running in 77002fbb990a [2022-10-24T15:02:26.981Z] Removing intermediate container 77002fbb990a [2022-10-24T15:02:26.981Z] ---> 290613df9fca [2022-10-24T15:02:26.981Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" [2022-10-24T15:02:26.981Z] ---> Running in 248028c21357 [2022-10-24T15:02:27.573Z] Removing intermediate container 248028c21357 [2022-10-24T15:02:27.573Z] ---> f76ef00a431c [2022-10-24T15:02:27.573Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-10-24T15:02:27.573Z] ---> Running in 28223829c9ad [2022-10-24T15:02:27.851Z] Removing intermediate container 28223829c9ad [2022-10-24T15:02:27.851Z] ---> a371d3033819 [2022-10-24T15:02:27.851Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T15:02:27.851Z] ---> Running in c0f292ede2b0 [2022-10-24T15:02:29.840Z] Removing intermediate container c0f292ede2b0 [2022-10-24T15:02:29.841Z] ---> 659ef65252ea [2022-10-24T15:02:29.841Z] Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-24T15:02:29.841Z] ---> Running in d3f16360914d [2022-10-24T15:02:30.818Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-24T15:02:31.789Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-24T15:02:32.761Z] OK: 221 MiB in 51 packages [2022-10-24T15:02:33.739Z] Removing intermediate container d3f16360914d [2022-10-24T15:02:33.739Z] ---> a2f1d409ecbd [2022-10-24T15:02:33.739Z] Step 8/12 : WORKDIR /app [2022-10-24T15:02:33.739Z] ---> Running in 5f0d706d9574 [2022-10-24T15:02:34.328Z] Removing intermediate container 5f0d706d9574 [2022-10-24T15:02:34.328Z] ---> c3230687fc2a [2022-10-24T15:02:34.328Z] Step 9/12 : COPY go.mod vendor* ./ [2022-10-24T15:02:34.600Z] ---> e1ce35d699b6 [2022-10-24T15:02:34.600Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T15:02:34.871Z] ---> Running in 796aa8fcb643 [2022-10-24T15:03:31.329Z] Removing intermediate container 796aa8fcb643 [2022-10-24T15:03:31.329Z] ---> df76854707cb [2022-10-24T15:03:31.329Z] Step 11/12 : COPY . . [2022-10-24T15:03:31.329Z] ---> 2766db55146a [2022-10-24T15:03:31.329Z] Step 12/12 : RUN $MAKE [2022-10-24T15:03:31.329Z] ---> Running in db7b7d7099d4 [2022-10-24T15:03:31.329Z] noop [2022-10-24T15:03:31.329Z] Removing intermediate container db7b7d7099d4 [2022-10-24T15:03:31.329Z] ---> 87d25df05c6d [2022-10-24T15:03:31.329Z] Successfully built 87d25df05c6d [2022-10-24T15:03:31.329Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T15:03:31.702Z] + docker inspect -f . ci-base-image-arm64 [2022-10-24T15:03:31.703Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T15:03:31.917Z] prd-ubuntu20.04-docker-arm64-4c-16g-9315 does not seem to be running inside a container [2022-10-24T15:03:32.002Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rfid-llrp-go/2 -v /w/workspace/device-rfid-llrp-go/2:/w/workspace/device-rfid-llrp-go/2:rw,z -v /w/workspace/device-rfid-llrp-go/2@tmp:/w/workspace/device-rfid-llrp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-24T15:03:33.325Z] $ docker top 626154da246f3ee6265397a203e721c8135862169e701b1ddd724e37eccb1502 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T15:03:34.209Z] + go version [2022-10-24T15:03:34.210Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-24T15:03:34.228Z] $ docker stop --time=1 626154da246f3ee6265397a203e721c8135862169e701b1ddd724e37eccb1502 [2022-10-24T15:03:35.914Z] $ docker rm -f 626154da246f3ee6265397a203e721c8135862169e701b1ddd724e37eccb1502 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T15:03:36.477Z] + docker inspect -f . ci-base-image-arm64 [2022-10-24T15:03:36.477Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T15:03:36.662Z] prd-ubuntu20.04-docker-arm64-4c-16g-9315 does not seem to be running inside a container [2022-10-24T15:03:36.733Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rfid-llrp-go/2 -v /w/workspace/device-rfid-llrp-go/2:/w/workspace/device-rfid-llrp-go/2:rw,z -v /w/workspace/device-rfid-llrp-go/2@tmp:/w/workspace/device-rfid-llrp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-10-24T15:03:38.052Z] $ docker top ad21ad07bd8c796b6ed4c1ca8bc340c0019375bd829314b5326075c3dd33393e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T15:03:38.903Z] + git config --global --add safe.directory /w/workspace/device-rfid-llrp-go/2 [Pipeline] fileExists [Pipeline] sh [2022-10-24T15:03:39.245Z] + make test [2022-10-24T15:03:39.514Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-24T15:03:41.467Z] ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] [2022-10-24T15:05:33.183Z] ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] [2022-10-24T15:05:33.183Z] ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] [2022-10-24T15:06:05.433Z] ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 32.911s coverage: 38.5% of statements [2022-10-24T15:06:05.433Z] ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.548s coverage: 52.0% of statements [2022-10-24T15:06:05.433Z] ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.025s coverage: 95.5% of statements [2022-10-24T15:06:05.433Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-24T15:06:05.433Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-24T15:06:45.118Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-24T15:06:45.118Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-24T15:06:45.118Z] ./bin/test-attribution-txt.sh [2022-10-24T15:06:45.118Z] An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add [Pipeline] echo [2022-10-24T15:06:45.135Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-24T15:06:45.145Z] $ docker stop --time=1 ad21ad07bd8c796b6ed4c1ca8bc340c0019375bd829314b5326075c3dd33393e [2022-10-24T15:06:46.996Z] $ docker rm -f ad21ad07bd8c796b6ed4c1ca8bc340c0019375bd829314b5326075c3dd33393e [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-24T15:06:48.011Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-24T15:06:48.035Z] Warning: overwriting stash ‘coverage-report’ [2022-10-24T15:06:48.744Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-24T15:06:49.136Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-24T15:06:49.462Z] + ls -al . [2022-10-24T15:06:49.462Z] total 636 [2022-10-24T15:06:49.462Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 15:03 . [2022-10-24T15:06:49.462Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 15:01 .. [2022-10-24T15:06:49.462Z] -rw-rw-r-- 1 jenkins jenkins 134 Oct 24 15:01 .dockerignore [2022-10-24T15:06:49.462Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 15:01 .git [2022-10-24T15:06:49.462Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 15:01 .github [2022-10-24T15:06:49.462Z] -rw-rw-r-- 1 jenkins jenkins 946 Oct 24 15:01 .gitignore [2022-10-24T15:06:49.462Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 15:01 .golangci.yml [2022-10-24T15:06:49.462Z] -rw-rw-r-- 1 jenkins jenkins 10866 Oct 24 15:01 Attribution.txt [2022-10-24T15:06:49.462Z] -rw-rw-r-- 1 jenkins jenkins 3740 Oct 24 15:01 CHANGELOG.md [2022-10-24T15:06:49.462Z] -rw-rw-r-- 1 jenkins jenkins 1518 Oct 24 15:01 Dockerfile [2022-10-24T15:06:49.462Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 15:01 GOVERNANCE.md [2022-10-24T15:06:49.462Z] -rw-rw-r-- 1 jenkins jenkins 683 Oct 24 15:01 Jenkinsfile [2022-10-24T15:06:49.462Z] -rw-rw-r-- 1 jenkins jenkins 11347 Oct 24 15:01 LICENSE [2022-10-24T15:06:49.462Z] -rw-rw-r-- 1 jenkins jenkins 2196 Oct 24 15:01 Makefile [2022-10-24T15:06:49.462Z] -rw-rw-r-- 1 jenkins jenkins 625 Oct 24 15:01 OWNERS.md [2022-10-24T15:06:49.462Z] -rw-rw-r-- 1 jenkins jenkins 28496 Oct 24 15:01 README.md [2022-10-24T15:06:49.462Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 14:58 VERSION [2022-10-24T15:06:49.462Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 15:01 bin [2022-10-24T15:06:49.462Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 15:01 cmd [2022-10-24T15:06:49.462Z] -rw-r--r-- 1 jenkins jenkins 460049 Oct 24 15:06 coverage.out [2022-10-24T15:06:49.462Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 15:01 examples [2022-10-24T15:06:49.462Z] -rw-rw-r-- 1 jenkins jenkins 3597 Oct 24 15:01 go.mod [2022-10-24T15:06:49.462Z] -rw-rw-r-- 1 jenkins jenkins 44895 Oct 24 15:01 go.sum [2022-10-24T15:06:49.462Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 15:01 images [2022-10-24T15:06:49.462Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 24 15:01 internal [2022-10-24T15:06:49.462Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 15:01 snap [2022-10-24T15:06:49.462Z] -rw-rw-r-- 1 jenkins jenkins 193 Oct 24 15:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T15:06:49.806Z] + 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=d885b34173c7ef942cd16b9daeb5efc4f895380d --label arch=arm64 --label version=0.0.0 . [2022-10-24T15:06:50.078Z] Sending build context to Docker daemon 1.22MB [2022-10-24T15:06:50.078Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T15:06:50.078Z] Step 2/25 : FROM ${BASE} AS builder [2022-10-24T15:06:50.078Z] ---> 87d25df05c6d [2022-10-24T15:06:50.078Z] Step 3/25 : ARG MAKE='make build' [2022-10-24T15:06:50.349Z] ---> Running in 7cfa7c8ae7a6 [2022-10-24T15:06:50.617Z] Removing intermediate container 7cfa7c8ae7a6 [2022-10-24T15:06:50.617Z] ---> ea5e40b606c5 [2022-10-24T15:06:50.617Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" [2022-10-24T15:06:50.617Z] ---> Running in 50f174dabdb9 [2022-10-24T15:06:50.891Z] Removing intermediate container 50f174dabdb9 [2022-10-24T15:06:50.891Z] ---> 05a00059e87b [2022-10-24T15:06:50.891Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-10-24T15:06:51.160Z] ---> Running in 1b3147aadd66 [2022-10-24T15:06:51.428Z] Removing intermediate container 1b3147aadd66 [2022-10-24T15:06:51.428Z] ---> 64774c1c9026 [2022-10-24T15:06:51.428Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T15:06:51.428Z] ---> Running in d89e908095c2 [2022-10-24T15:06:53.389Z] Removing intermediate container d89e908095c2 [2022-10-24T15:06:53.389Z] ---> d023230a4f6e [2022-10-24T15:06:53.389Z] Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-24T15:06:53.389Z] ---> Running in 3da605a48bf2 [2022-10-24T15:06:54.350Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-24T15:06:55.315Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-24T15:06:56.279Z] OK: 221 MiB in 51 packages [2022-10-24T15:06:57.258Z] Removing intermediate container 3da605a48bf2 [2022-10-24T15:06:57.258Z] ---> a0e69c056630 [2022-10-24T15:06:57.258Z] Step 8/25 : WORKDIR /app [2022-10-24T15:06:57.258Z] ---> Running in fc01f3136196 [2022-10-24T15:06:57.527Z] Removing intermediate container fc01f3136196 [2022-10-24T15:06:57.527Z] ---> 2df58ae2d704 [2022-10-24T15:06:57.527Z] Step 9/25 : COPY go.mod vendor* ./ [2022-10-24T15:06:58.112Z] ---> b09b4fc96b4a [2022-10-24T15:06:58.112Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T15:06:58.112Z] ---> Running in ae9a11fb2fd6 [2022-10-24T15:07:00.710Z] Removing intermediate container ae9a11fb2fd6 [2022-10-24T15:07:00.710Z] ---> 270f48bca7e1 [2022-10-24T15:07:00.710Z] Step 11/25 : COPY . . [2022-10-24T15:07:01.674Z] ---> 419fd76342e8 [2022-10-24T15:07:01.674Z] Step 12/25 : RUN $MAKE [2022-10-24T15:07:01.674Z] ---> Running in 6e465a89d3e2 [2022-10-24T15:07:02.640Z] 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 [2022-10-24T15:09:39.510Z] Removing intermediate container 6e465a89d3e2 [2022-10-24T15:09:39.510Z] ---> f9d92984db1c [2022-10-24T15:09:39.510Z] Step 13/25 : FROM alpine:3.16 [2022-10-24T15:09:39.510Z] 3.16: Pulling from library/alpine [2022-10-24T15:09:39.510Z] 9b18e9b68314: Already exists [2022-10-24T15:09:39.510Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-24T15:09:39.510Z] Status: Downloaded newer image for alpine:3.16 [2022-10-24T15:09:39.510Z] ---> a6215f271958 [2022-10-24T15:09:39.511Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-24T15:09:39.511Z] ---> Running in d214c8f5e5be [2022-10-24T15:09:39.511Z] Removing intermediate container d214c8f5e5be [2022-10-24T15:09:39.511Z] ---> 02c21a92cea5 [2022-10-24T15:09:39.511Z] Step 15/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T15:09:39.511Z] ---> Running in ad7a76047ea1 [2022-10-24T15:09:39.511Z] Removing intermediate container ad7a76047ea1 [2022-10-24T15:09:39.511Z] ---> 71a552af7bea [2022-10-24T15:09:39.511Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-24T15:09:39.511Z] ---> Running in 6a324ec27d4b [2022-10-24T15:09:39.511Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-24T15:09:39.777Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-24T15:09:40.731Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-24T15:09:40.996Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-24T15:09:40.996Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-24T15:09:41.260Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-24T15:09:41.260Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-24T15:09:41.260Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-24T15:09:41.524Z] Executing busybox-1.35.0-r17.trigger [2022-10-24T15:09:41.524Z] OK: 8 MiB in 20 packages [2022-10-24T15:09:42.490Z] Removing intermediate container 6a324ec27d4b [2022-10-24T15:09:42.490Z] ---> 349f22208471 [2022-10-24T15:09:42.490Z] Step 17/25 : COPY --from=builder /app/LICENSE / [2022-10-24T15:09:43.078Z] ---> 47ac765b2e1c [2022-10-24T15:09:43.078Z] Step 18/25 : COPY --from=builder /app/Attribution.txt / [2022-10-24T15:09:43.347Z] ---> 168cc3c89ee6 [2022-10-24T15:09:43.347Z] Step 19/25 : COPY --from=builder /app/cmd/ / [2022-10-24T15:09:45.291Z] ---> 2959c9108775 [2022-10-24T15:09:45.291Z] Step 20/25 : EXPOSE 59989 [2022-10-24T15:09:45.291Z] ---> Running in ad58ae85241b [2022-10-24T15:09:45.291Z] Removing intermediate container ad58ae85241b [2022-10-24T15:09:45.291Z] ---> 36394ef92a03 [2022-10-24T15:09:45.291Z] Step 21/25 : ENTRYPOINT ["/device-rfid-llrp"] [2022-10-24T15:09:45.291Z] ---> Running in d70cb0ef8098 [2022-10-24T15:09:45.567Z] Removing intermediate container d70cb0ef8098 [2022-10-24T15:09:45.567Z] ---> 044a90955458 [2022-10-24T15:09:45.567Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-10-24T15:09:45.837Z] ---> Running in 8b9a3f317757 [2022-10-24T15:09:46.104Z] Removing intermediate container 8b9a3f317757 [2022-10-24T15:09:46.104Z] ---> 096f790e999b [2022-10-24T15:09:46.104Z] Step 23/25 : LABEL arch=arm64 [2022-10-24T15:09:46.104Z] ---> Running in 512ac92e5f62 [2022-10-24T15:09:46.371Z] Removing intermediate container 512ac92e5f62 [2022-10-24T15:09:46.371Z] ---> 0360e92b645a [2022-10-24T15:09:46.371Z] Step 24/25 : LABEL git_sha=d885b34173c7ef942cd16b9daeb5efc4f895380d [2022-10-24T15:09:46.371Z] ---> Running in c25fb3c2c5dc [2022-10-24T15:09:46.638Z] Removing intermediate container c25fb3c2c5dc [2022-10-24T15:09:46.638Z] ---> b15d29221d4d [2022-10-24T15:09:46.638Z] Step 25/25 : LABEL version=0.0.0 [2022-10-24T15:09:46.638Z] ---> Running in 0afcdb8b8e51 [2022-10-24T15:09:46.908Z] Removing intermediate container 0afcdb8b8e51 [2022-10-24T15:09:46.908Z] ---> 94fcf3f8017c [2022-10-24T15:09:46.908Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-24T15:09:47.175Z] Successfully built 94fcf3f8017c [2022-10-24T15:09:47.175Z] 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 [2022-10-24T15:09:47.606Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-24T15:09:47.606Z] [2022-10-24T15:09:47.606Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T15:09:47.931Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-24T15:09:47.931Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-24T15:09:47.931Z] 8998bd30e6a1: Pulling fs layer [2022-10-24T15:09:47.931Z] 04944245beec: Pulling fs layer [2022-10-24T15:09:47.931Z] 699f458cf7ca: Pulling fs layer [2022-10-24T15:09:47.931Z] 765212b225bb: Pulling fs layer [2022-10-24T15:09:47.931Z] f23df028b6ca: Pulling fs layer [2022-10-24T15:09:47.931Z] d65c8cfc05b1: Pulling fs layer [2022-10-24T15:09:47.931Z] 2437ff75d9bd: Pulling fs layer [2022-10-24T15:09:47.931Z] 765212b225bb: Waiting [2022-10-24T15:09:47.931Z] f23df028b6ca: Waiting [2022-10-24T15:09:47.931Z] d65c8cfc05b1: Waiting [2022-10-24T15:09:47.931Z] 2437ff75d9bd: Waiting [2022-10-24T15:09:48.201Z] 04944245beec: Verifying Checksum [2022-10-24T15:09:48.201Z] 04944245beec: Download complete [2022-10-24T15:09:48.201Z] 765212b225bb: Download complete [2022-10-24T15:09:48.201Z] f23df028b6ca: Verifying Checksum [2022-10-24T15:09:48.201Z] f23df028b6ca: Download complete [2022-10-24T15:09:48.201Z] d65c8cfc05b1: Verifying Checksum [2022-10-24T15:09:48.201Z] d65c8cfc05b1: Download complete [2022-10-24T15:09:48.474Z] 699f458cf7ca: Verifying Checksum [2022-10-24T15:09:48.474Z] 699f458cf7ca: Download complete [2022-10-24T15:09:48.744Z] 8998bd30e6a1: Verifying Checksum [2022-10-24T15:09:48.744Z] 8998bd30e6a1: Download complete [2022-10-24T15:09:51.322Z] 2437ff75d9bd: Verifying Checksum [2022-10-24T15:09:51.322Z] 2437ff75d9bd: Download complete [2022-10-24T15:09:52.284Z] 8998bd30e6a1: Pull complete [2022-10-24T15:09:52.866Z] 04944245beec: Pull complete [2022-10-24T15:09:54.273Z] 699f458cf7ca: Pull complete [2022-10-24T15:09:54.539Z] 765212b225bb: Pull complete [2022-10-24T15:09:55.120Z] f23df028b6ca: Pull complete [2022-10-24T15:09:55.386Z] d65c8cfc05b1: Pull complete [2022-10-24T15:10:10.393Z] 2437ff75d9bd: Pull complete [2022-10-24T15:10:10.393Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-24T15:10:10.393Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-24T15:10:10.393Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T15:10:10.591Z] prd-ubuntu20.04-docker-arm64-4c-16g-9315 does not seem to be running inside a container [2022-10-24T15:10:10.650Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rfid-llrp-go/2 -v /w/workspace/device-rfid-llrp-go/2:/w/workspace/device-rfid-llrp-go/2:rw,z -v /w/workspace/device-rfid-llrp-go/2@tmp:/w/workspace/device-rfid-llrp-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-24T15:10:13.330Z] $ docker top acdf3875973fc94ea2897f17e5c709353c4cc335a4888536422d6f39b9db7b54 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T15:10:14.160Z] ---> job-cost.sh [2022-10-24T15:10:14.160Z] lf-activate-venv: SKIPPING [2022-10-24T15:10:14.160Z] INFO: No Stack... [2022-10-24T15:10:14.740Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-24T15:10:15.321Z] INFO: Archiving Costs [Pipeline] sh [2022-10-24T15:10:15.955Z] + cat /w/workspace/device-rfid-llrp-go/2/archives/cost.csv [2022-10-24T15:10:15.955Z] + cut -d, -f6 [Pipeline] lock [2022-10-24T15:10:15.986Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-117-2-stack-cost] [2022-10-24T15:10:15.993Z] Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-117-2-stack-cost] did not exist. Created. [2022-10-24T15:10:15.993Z] Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-117-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-24T15:10:16.334Z] /w/workspace/device-rfid-llrp-go/2@tmp/durable-4b41c56d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-24T15:10:16.977Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-24T15:10:16.998Z] Warning: overwriting stash ‘stack-cost’ [2022-10-24T15:10:17.047Z] Stashed 1 file(s) [Pipeline] } [2022-10-24T15:10:17.055Z] Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-117-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-24T15:10:17.064Z] $ docker stop --time=1 acdf3875973fc94ea2897f17e5c709353c4cc335a4888536422d6f39b9db7b54 [2022-10-24T15:10:18.541Z] $ docker rm -f acdf3875973fc94ea2897f17e5c709353c4cc335a4888536422d6f39b9db7b54 [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 [2022-10-24T15:10:18.934Z] provisioning config files... [2022-10-24T15:10:18.941Z] copy managed file [device-rfid-llrp-go-codecov-token] to file:/w/workspace/undry_device-rfid-llrp-go_PR-117@tmp/config5192311673153328766tmp [Pipeline] { [Pipeline] sh [2022-10-24T15:10:19.237Z] + set +x [2022-10-24T15:10:19.238Z] + + curlbash -s -s https://codecov.io/bash -- [2022-10-24T15:10:19.238Z] [2022-10-24T15:10:19.238Z] [2022-10-24T15:10:19.238Z] _____ _ [2022-10-24T15:10:19.238Z] / ____| | | [2022-10-24T15:10:19.238Z] | | ___ __| | ___ ___ _____ __ [2022-10-24T15:10:19.238Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-24T15:10:19.238Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-24T15:10:19.238Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-24T15:10:19.238Z] Bash-1.0.6 [2022-10-24T15:10:19.238Z] [2022-10-24T15:10:19.238Z] [2022-10-24T15:10:19.238Z] ==> git version 2.25.1 found [2022-10-24T15:10:19.238Z] ==> 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 [2022-10-24T15:10:19.238Z] Release-Date: 2020-01-08 [2022-10-24T15:10:19.238Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-24T15:10:19.238Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-24T15:10:19.238Z] ==> Jenkins CI detected. [2022-10-24T15:10:19.238Z] current dir:  /w/workspace/undry_device-rfid-llrp-go_PR-117 [2022-10-24T15:10:19.238Z] project root: . [2022-10-24T15:10:19.238Z] --> token set from env [2022-10-24T15:10:19.238Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-24T15:10:19.238Z] ==> Running gcov in . (disable via -X gcov) [2022-10-24T15:10:19.238Z] ==> Python coveragepy not found [2022-10-24T15:10:19.238Z] ==> Searching for coverage reports in: [2022-10-24T15:10:19.238Z] + . [2022-10-24T15:10:19.238Z] -> Found 1 reports [2022-10-24T15:10:19.238Z] ==> Detecting git/mercurial file structure [2022-10-24T15:10:19.238Z] ==> Reading reports [2022-10-24T15:10:19.238Z] + ./coverage.out bytes=460049 [2022-10-24T15:10:19.238Z] ==> Appending adjustments [2022-10-24T15:10:19.238Z] https://docs.codecov.io/docs/fixing-reports [2022-10-24T15:10:19.496Z] + Found adjustments [2022-10-24T15:10:19.496Z] ==> Gzipping contents [2022-10-24T15:10:19.496Z] 52K /tmp/codecov.PhfD6a.gz [2022-10-24T15:10:19.496Z] ==> Uploading reports [2022-10-24T15:10:19.496Z] url: https://codecov.io [2022-10-24T15:10:19.496Z] query: branch=PR-117&commit=d885b34173c7ef942cd16b9daeb5efc4f895380d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-117%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=117&job=&cmd_args= [2022-10-24T15:10:19.496Z] -> Pinging Codecov [2022-10-24T15:10:19.496Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-117&commit=d885b34173c7ef942cd16b9daeb5efc4f895380d&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-117%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=117&job=&cmd_args= [2022-10-24T15:10:20.063Z] -> Uploading to [2022-10-24T15:10:20.063Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-24/581DD39554BDF9B6E22D074273EAD858/d885b34173c7ef942cd16b9daeb5efc4f895380d/a9d3b2af-c7c9-45ba-919d-329dbe738421.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221024T151019Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=eee492a1317a830792094b408f26fd2a6daaa11d519a79f3f27ec479dce67c06 [2022-10-24T15:10:20.063Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-24T15:10:20.063Z] Dload Upload Total Spent Left Speed [2022-10-24T15:10:20.063Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51601 0 0 100 51601 0 231k --:--:-- --:--:-- --:--:-- 231k [2022-10-24T15:10:20.063Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/d885b34173c7ef942cd16b9daeb5efc4f895380d [Pipeline] } [2022-10-24T15:10:20.071Z] 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 [2022-10-24T15:10:20.722Z] + [ -d /w/workspace/undry_device-rfid-llrp-go_PR-117/archives ] [2022-10-24T15:10:20.722Z] + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-117/archives [2022-10-24T15:10:20.722Z] total 16 [2022-10-24T15:10:20.722Z] drwxr-xr-x 3 root root 4096 Oct 24 15:00 . [2022-10-24T15:10:20.722Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 24 15:00 .. [2022-10-24T15:10:20.722Z] drwxr-xr-x 2 root root 4096 Oct 24 15:00 cost [2022-10-24T15:10:20.722Z] -rw-r--r-- 1 root root 91 Oct 24 15:00 cost.csv [2022-10-24T15:10:20.722Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-rfid-llrp-go_PR-117/archives [2022-10-24T15:10:20.722Z] + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-117/archives [2022-10-24T15:10:20.722Z] total 16 [2022-10-24T15:10:20.722Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 15:00 . [2022-10-24T15:10:20.722Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 24 15:00 .. [2022-10-24T15:10:20.722Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 15:00 cost [2022-10-24T15:10:20.722Z] -rw-r--r-- 1 jenkins jenkins 91 Oct 24 15:00 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-24T15:10:21.012Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T15:10:21.872Z] ---> package-listing.sh [2022-10-24T15:10:21.872Z] ++ facter osfamily [2022-10-24T15:10:21.872Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-24T15:10:22.131Z] + OS_FAMILY=debian [2022-10-24T15:10:22.131Z] + workspace=/w/workspace/undry_device-rfid-llrp-go_PR-117 [2022-10-24T15:10:22.131Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-24T15:10:22.131Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-24T15:10:22.131Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-24T15:10:22.131Z] + PACKAGES=/tmp/packages_start.txt [2022-10-24T15:10:22.131Z] + '[' /w/workspace/undry_device-rfid-llrp-go_PR-117 ']' [2022-10-24T15:10:22.131Z] + PACKAGES=/tmp/packages_end.txt [2022-10-24T15:10:22.131Z] + case "${OS_FAMILY}" in [2022-10-24T15:10:22.131Z] + dpkg -l [2022-10-24T15:10:22.131Z] + grep '^ii' [2022-10-24T15:10:22.131Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-24T15:10:22.131Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-24T15:10:22.131Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-24T15:10:22.131Z] + '[' /w/workspace/undry_device-rfid-llrp-go_PR-117 ']' [2022-10-24T15:10:22.131Z] + mkdir -p /w/workspace/undry_device-rfid-llrp-go_PR-117/archives/ [2022-10-24T15:10:22.131Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-rfid-llrp-go_PR-117/archives/ [Pipeline] echo [2022-10-24T15:10:22.142Z] 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-117/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-24T15:10:22.418Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T15:10:22.977Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T15:10:22.977Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T15:10:23.042Z] prd-ubuntu20.04-docker-8c-8g-9312 does not seem to be running inside a container [2022-10-24T15:10:23.066Z] $ 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-117/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-117 -v /w/workspace/undry_device-rfid-llrp-go_PR-117:/w/workspace/undry_device-rfid-llrp-go_PR-117:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-117@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-117@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-24T15:10:23.291Z] $ docker top 8689dd3ed6740747259e0920237ddf1bd5a11423ef1f48495e9f435863b05b28 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T15:10:23.630Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-24T15:10:23.910Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-24T15:10:24.186Z] + ls /var/log/sa-host [2022-10-24T15:10:24.186Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-24T15:10:24.245Z] provisioning config files... [2022-10-24T15:10:24.252Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-117@tmp/config16477434727223574717tmp [Pipeline] { [Pipeline] echo [2022-10-24T15:10:24.263Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T15:10:24.541Z] ---> create-netrc.sh [Pipeline] } [2022-10-24T15:10:24.546Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-24T15:10:24.858Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-24T15:10:24.863Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T15:10:25.140Z] ---> sudo-logs.sh [2022-10-24T15:10:25.140Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-24T15:10:25.162Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T15:10:25.440Z] ---> job-cost.sh [2022-10-24T15:10:25.440Z] lf-activate-venv: SKIPPING [2022-10-24T15:10:25.440Z] DEBUG: total: 0.2199999988079071 [2022-10-24T15:10:25.440Z] INFO: Retrieving Stack Cost... [2022-10-24T15:10:25.699Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-24T15:10:26.266Z] INFO: Archiving Costs [Pipeline] echo [2022-10-24T15:10:26.276Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T15:10:26.555Z] ---> logs-deploy.sh [2022-10-24T15:10:26.555Z] lf-activate-venv: SKIPPING [2022-10-24T15:10:26.555Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rfid-llrp-go/PR-117/2 [2022-10-24T15:10:26.555Z] INFO: archiving workspace using pattern(s): [2022-10-24T15:10:27.483Z] Archives upload complete. [2022-10-24T15:10:27.483Z] INFO: archiving logs to Nexus