Pull request #99 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c5248f0b66c8ed49feb8b773e2a745a2607fc3ca+a486f61cebd70a79af9a3b2a3d782718b04949c5 (7fc1cf7f48e53c3e49983650381392d3ccf2e93e) 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-ssh11362645769954288852.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3431197933641507005.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/PR-99/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/PR-99/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12634899721148715542.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/PR-99/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh327632835144707410.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 # timeout=10 Commit message: "Merge pull request #405 from ernestojeda/fix-go-1.18-errors" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16420455363663397916.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/PR-99/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/PR-99/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9661019842194314564.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 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 ‘prd-ubuntu20.04-docker-8c-8g-19785’ Running on prd-ubuntu20.04-docker-8c-8g-19788 in /w/workspace/oundry_device-rfid-llrp-go_PR-99 [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/oundry_device-rfid-llrp-go_PR-99 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit a486f61cebd70a79af9a3b2a3d782718b04949c5 into PR head commit c5248f0b66c8ed49feb8b773e2a745a2607fc3ca Merge succeeded, producing c5248f0b66c8ed49feb8b773e2a745a2607fc3ca Checking out Revision c5248f0b66c8ed49feb8b773e2a745a2607fc3ca (PR-99) > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/99/head:refs/remotes/origin/PR-99 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c5248f0b66c8ed49feb8b773e2a745a2607fc3ca # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge a486f61cebd70a79af9a3b2a3d782718b04949c5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c5248f0b66c8ed49feb8b773e2a745a2607fc3ca # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-12T23:06:16.984Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-12T23:06:17.155Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-12T23:06:17.247Z] ========================================================= [2022-07-12T23:06:17.248Z] EdgeX Global Pipelines Version Info [2022-07-12T23:06:17.248Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-07-12T23:06:18.052Z] ------------------- [2022-07-12T23:06:18.052Z] stable info: [2022-07-12T23:06:18.052Z] ------------------- [2022-07-12T23:06:18.052Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-12T23:06:18.052Z] Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [2022-07-12T23:06:18.052Z] Message: update stable to v1.0.237 [2022-07-12T23:06:18.625Z] ------------------- [2022-07-12T23:06:18.625Z] experimental info: [2022-07-12T23:06:18.625Z] ------------------- [2022-07-12T23:06:18.625Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-07-12T23:06:18.625Z] Commit SHA: 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [2022-07-12T23:06:18.625Z] Message: update experimental to v1.0.237 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-12T23:06:18.922Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rfid-llrp-go-settings [Pipeline] echo [2022-07-12T23:06:18.967Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rfid-llrp-go [Pipeline] echo [2022-07-12T23:06:19.009Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-12T23:06:19.054Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-12T23:06:19.096Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-12T23:06:19.138Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-12T23:06:19.183Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-12T23:06:19.220Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-12T23:06:19.258Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-12T23:06:19.304Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-12T23:06:19.341Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-12T23:06:19.383Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rfid-llrp [Pipeline] echo [2022-07-12T23:06:19.427Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-12T23:06:19.470Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-12T23:06:19.505Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-12T23:06:19.538Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-12T23:06:19.586Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-12T23:06:19.629Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-12T23:06:19.671Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-12T23:06:19.714Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-12T23:06:19.753Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-12T23:06:19.800Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-12T23:06:19.836Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-12T23:06:19.872Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-12T23:06:19.912Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-12T23:06:19.956Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-12T23:06:19.999Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-12T23:06:20.040Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-99 [Pipeline] echo [2022-07-12T23:06:20.075Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-99 [Pipeline] echo [2022-07-12T23:06:20.119Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-99 [Pipeline] echo [2022-07-12T23:06:20.154Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c5248f0b66c8ed49feb8b773e2a745a2607fc3ca [Pipeline] echo [2022-07-12T23:06:20.195Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c5248f0 [Pipeline] echo [2022-07-12T23:06:20.239Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T23:06:20.353Z] provisioning config files... [2022-07-12T23:06:20.371Z] copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/oundry_device-rfid-llrp-go_PR-99@tmp/config2750771850881494353tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T23:06:20.712Z] ---> docker-login.sh [2022-07-12T23:06:20.712Z] nexus3.edgexfoundry.org:10001 [2022-07-12T23:06:20.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T23:06:20.973Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T23:06:20.973Z] Configure a credential helper to remove this warning. See [2022-07-12T23:06:20.973Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T23:06:20.973Z] [2022-07-12T23:06:20.973Z] Login Succeeded [2022-07-12T23:06:20.973Z] nexus3.edgexfoundry.org:10002 [2022-07-12T23:06:20.973Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T23:06:21.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T23:06:21.236Z] Configure a credential helper to remove this warning. See [2022-07-12T23:06:21.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T23:06:21.236Z] [2022-07-12T23:06:21.236Z] Login Succeeded [2022-07-12T23:06:21.236Z] nexus3.edgexfoundry.org:10003 [2022-07-12T23:06:21.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T23:06:21.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T23:06:21.236Z] Configure a credential helper to remove this warning. See [2022-07-12T23:06:21.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T23:06:21.236Z] [2022-07-12T23:06:21.236Z] Login Succeeded [2022-07-12T23:06:21.236Z] nexus3.edgexfoundry.org:10004 [2022-07-12T23:06:22.818Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T23:06:22.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T23:06:22.818Z] Configure a credential helper to remove this warning. See [2022-07-12T23:06:22.818Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T23:06:22.818Z] [2022-07-12T23:06:22.818Z] Login Succeeded [2022-07-12T23:06:22.818Z] docker.io [2022-07-12T23:06:22.818Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T23:06:22.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T23:06:22.818Z] Configure a credential helper to remove this warning. See [2022-07-12T23:06:22.818Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T23:06:22.818Z] [2022-07-12T23:06:22.818Z] Login Succeeded [2022-07-12T23:06:22.818Z] ---> docker-login.sh ends [Pipeline] } [2022-07-12T23:06:22.843Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-12T23:06:23.473Z] + git rev-list -1 --merges c5248f0b66c8ed49feb8b773e2a745a2607fc3ca~1..c5248f0b66c8ed49feb8b773e2a745a2607fc3ca [Pipeline] echo [2022-07-12T23:06:23.513Z] -----------> git rev-list -1 --merges c5248f0b66c8ed49feb8b773e2a745a2607fc3ca~1..c5248f0b66c8ed49feb8b773e2a745a2607fc3ca c5248f0b66c8ed49feb8b773e2a745a2607fc3ca [false] [Pipeline] sh [2022-07-12T23:06:23.831Z] + git log --format=format:%s -1 c5248f0b66c8ed49feb8b773e2a745a2607fc3ca [Pipeline] echo [2022-07-12T23:06:23.871Z] ========================================================= [2022-07-12T23:06:23.871Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-12T23:06:23.871Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-12T23:06:24.308Z] + git log --format=format:%s -1 c5248f0b66c8ed49feb8b773e2a745a2607fc3ca [Pipeline] echo [2022-07-12T23:06:24.342Z] [semverPrep] GIT_COMMIT: c5248f0b66c8ed49feb8b773e2a745a2607fc3ca, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-07-12T23:06:24.378Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-12T23:06:24.754Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-12T23:06:24.754Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-12T23:06:24.754Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-12T23:06:24.754Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-12T23:06:24.754Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-12T23:06:24.754Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-12T23:06:24.754Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T23:06:25.196Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T23:06:25.196Z] [2022-07-12T23:06:25.196Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T23:06:25.581Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T23:06:25.582Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-12T23:06:25.582Z] b85a868b505f: Pulling fs layer [2022-07-12T23:06:25.582Z] e2be974225ed: Pulling fs layer [2022-07-12T23:06:25.582Z] 339a4e72a1f5: Pulling fs layer [2022-07-12T23:06:25.582Z] 988bab9f4d93: Pulling fs layer [2022-07-12T23:06:25.582Z] 1469e6f7b9e6: Pulling fs layer [2022-07-12T23:06:25.582Z] eaf3925da568: Pulling fs layer [2022-07-12T23:06:25.582Z] 1469e6f7b9e6: Waiting [2022-07-12T23:06:25.582Z] bab4dde63d76: Pulling fs layer [2022-07-12T23:06:25.582Z] eaf3925da568: Waiting [2022-07-12T23:06:25.582Z] bde34c3a00c8: Pulling fs layer [2022-07-12T23:06:25.582Z] bab4dde63d76: Waiting [2022-07-12T23:06:25.582Z] b352a97aabf1: Pulling fs layer [2022-07-12T23:06:25.582Z] bde34c3a00c8: Waiting [2022-07-12T23:06:25.582Z] 4872d77fe225: Pulling fs layer [2022-07-12T23:06:25.582Z] b352a97aabf1: Waiting [2022-07-12T23:06:25.582Z] 5851b861e8e6: Pulling fs layer [2022-07-12T23:06:25.582Z] 4872d77fe225: Waiting [2022-07-12T23:06:25.582Z] 5851b861e8e6: Waiting [2022-07-12T23:06:25.582Z] e2be974225ed: Download complete [2022-07-12T23:06:25.582Z] 988bab9f4d93: Verifying Checksum [2022-07-12T23:06:25.582Z] 988bab9f4d93: Download complete [2022-07-12T23:06:25.850Z] 1469e6f7b9e6: Verifying Checksum [2022-07-12T23:06:25.850Z] 1469e6f7b9e6: Download complete [2022-07-12T23:06:25.850Z] eaf3925da568: Verifying Checksum [2022-07-12T23:06:25.850Z] eaf3925da568: Download complete [2022-07-12T23:06:25.850Z] 339a4e72a1f5: Verifying Checksum [2022-07-12T23:06:25.850Z] 339a4e72a1f5: Download complete [2022-07-12T23:06:25.850Z] bde34c3a00c8: Verifying Checksum [2022-07-12T23:06:25.850Z] bde34c3a00c8: Download complete [2022-07-12T23:06:25.850Z] b352a97aabf1: Verifying Checksum [2022-07-12T23:06:25.850Z] b352a97aabf1: Download complete [2022-07-12T23:06:25.850Z] 4872d77fe225: Download complete [2022-07-12T23:06:25.850Z] 5851b861e8e6: Verifying Checksum [2022-07-12T23:06:25.850Z] 5851b861e8e6: Download complete [2022-07-12T23:06:26.113Z] b85a868b505f: Verifying Checksum [2022-07-12T23:06:26.113Z] b85a868b505f: Download complete [2022-07-12T23:06:26.374Z] bab4dde63d76: Verifying Checksum [2022-07-12T23:06:26.374Z] bab4dde63d76: Download complete [2022-07-12T23:06:27.762Z] b85a868b505f: Pull complete [2022-07-12T23:06:27.762Z] e2be974225ed: Pull complete [2022-07-12T23:06:28.023Z] 339a4e72a1f5: Pull complete [2022-07-12T23:06:28.283Z] 988bab9f4d93: Pull complete [2022-07-12T23:06:28.550Z] 1469e6f7b9e6: Pull complete [2022-07-12T23:06:28.550Z] eaf3925da568: Pull complete [2022-07-12T23:06:31.100Z] bab4dde63d76: Pull complete [2022-07-12T23:06:31.100Z] bde34c3a00c8: Pull complete [2022-07-12T23:06:31.100Z] b352a97aabf1: Pull complete [2022-07-12T23:06:31.100Z] 4872d77fe225: Pull complete [2022-07-12T23:06:31.100Z] 5851b861e8e6: Pull complete [2022-07-12T23:06:31.100Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-12T23:06:31.100Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-12T23:06:31.100Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T23:06:31.326Z] prd-ubuntu20.04-docker-8c-8g-19788 does not seem to be running inside a container [2022-07-12T23:06:31.357Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-rfid-llrp-go_PR-99 -v /w/workspace/oundry_device-rfid-llrp-go_PR-99:/w/workspace/oundry_device-rfid-llrp-go_PR-99:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-99@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-99@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-07-12T23:06:32.587Z] $ docker top 9b2e42f299cf867c0de13925a60bfb7796ed9d1ee848b14d55e8f3b4032fa585 -eo pid,comm [2022-07-12T23:06:32.672Z] 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-07-12T23:06:32.672Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-12T23:06:32.792Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-12T23:06:32.792Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-12T23:06:32.935Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-12T23:06:32.934Z] $ docker exec 9b2e42f299cf867c0de13925a60bfb7796ed9d1ee848b14d55e8f3b4032fa585 ssh-agent [2022-07-12T23:06:33.077Z] SSH_AUTH_SOCK=/tmp/ssh-WCGvMQELt5ae/agent.33 [2022-07-12T23:06:33.077Z] SSH_AGENT_PID=39 [2022-07-12T23:06:33.085Z] Running ssh-add (command line suppressed) [2022-07-12T23:06:33.210Z] Identity added: /w/workspace/oundry_device-rfid-llrp-go_PR-99@tmp/private_key_3824666905117209538.key (/w/workspace/oundry_device-rfid-llrp-go_PR-99@tmp/private_key_3824666905117209538.key) [2022-07-12T23:06:33.230Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-12T23:06:33.562Z] + git tag --points-at HEAD [Pipeline] } [2022-07-12T23:06:33.583Z] $ docker exec --env ******** --env ******** 9b2e42f299cf867c0de13925a60bfb7796ed9d1ee848b14d55e8f3b4032fa585 ssh-agent -k [2022-07-12T23:06:33.695Z] unset SSH_AUTH_SOCK; [2022-07-12T23:06:33.695Z] unset SSH_AGENT_PID; [2022-07-12T23:06:33.696Z] echo Agent pid 39 killed; [2022-07-12T23:06:33.718Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-12T23:06:33.798Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-12T23:06:33.798Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-12T23:06:33.932Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-12T23:06:33.931Z] $ docker exec 9b2e42f299cf867c0de13925a60bfb7796ed9d1ee848b14d55e8f3b4032fa585 ssh-agent [2022-07-12T23:06:34.070Z] SSH_AUTH_SOCK=/tmp/ssh-FUi2KqX9TaFt/agent.72 [2022-07-12T23:06:34.070Z] SSH_AGENT_PID=78 [2022-07-12T23:06:34.076Z] Running ssh-add (command line suppressed) [2022-07-12T23:06:34.191Z] Identity added: /w/workspace/oundry_device-rfid-llrp-go_PR-99@tmp/private_key_3432342571087015732.key (/w/workspace/oundry_device-rfid-llrp-go_PR-99@tmp/private_key_3432342571087015732.key) [2022-07-12T23:06:34.213Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-12T23:06:34.543Z] + git semver init [2022-07-12T23:06:34.804Z] 2022-07-12 23:06:34,757 [run_init] DEBUG init version:0.0.0 force:False [2022-07-12T23:06:34.804Z] 2022-07-12 23:06:34,758 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-rfid-llrp-go_PR-99/.semver [2022-07-12T23:06:34.804Z] 2022-07-12 23:06:34,758 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rfid-llrp-go.git /w/workspace/oundry_device-rfid-llrp-go_PR-99/.semver [2022-07-12T23:06:34.804Z] 2022-07-12 23:06:34,759 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rfid-llrp-go.git', '/w/workspace/oundry_device-rfid-llrp-go_PR-99/.semver'], cwd=/w/workspace/oundry_device-rfid-llrp-go_PR-99, universal_newlines=False, shell=None, istream=None) [2022-07-12T23:06:35.750Z] 2022-07-12 23:06:35,517 [append_file] DEBUG append to file:/w/workspace/oundry_device-rfid-llrp-go_PR-99/.git/info/exclude [2022-07-12T23:06:35.750Z] 2022-07-12 23:06:35,517 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-rfid-llrp-go_PR-99/.semver/PR-99 with force:False [2022-07-12T23:06:35.750Z] 2022-07-12 23:06:35,517 [write_file] DEBUG write to file:/w/workspace/oundry_device-rfid-llrp-go_PR-99/.semver/PR-99 [2022-07-12T23:06:35.750Z] 2022-07-12 23:06:35,522 [execute] INFO git cat-file --batch-check [2022-07-12T23:06:35.750Z] 2022-07-12 23:06:35,522 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-rfid-llrp-go_PR-99/.semver, universal_newlines=False, shell=None, istream=) [2022-07-12T23:06:35.750Z] 2022-07-12 23:06:35,530 [execute] INFO git cat-file --batch [2022-07-12T23:06:35.750Z] 2022-07-12 23:06:35,530 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-rfid-llrp-go_PR-99/.semver, universal_newlines=False, shell=None, istream=) [2022-07-12T23:06:35.750Z] 2022-07-12 23:06:35,537 [read_version] DEBUG read version from /w/workspace/oundry_device-rfid-llrp-go_PR-99/.semver/PR-99 [2022-07-12T23:06:35.750Z] 0.0.0 [Pipeline] } [2022-07-12T23:06:35.774Z] $ docker exec --env ******** --env ******** 9b2e42f299cf867c0de13925a60bfb7796ed9d1ee848b14d55e8f3b4032fa585 ssh-agent -k [2022-07-12T23:06:35.892Z] unset SSH_AUTH_SOCK; [2022-07-12T23:06:35.892Z] unset SSH_AGENT_PID; [2022-07-12T23:06:35.893Z] echo Agent pid 78 killed; [2022-07-12T23:06:35.913Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-12T23:06:36.339Z] + git semver [Pipeline] } [2022-07-12T23:06:36.619Z] $ docker stop --time=1 9b2e42f299cf867c0de13925a60bfb7796ed9d1ee848b14d55e8f3b4032fa585 [2022-07-12T23:06:37.946Z] $ docker rm -f 9b2e42f299cf867c0de13925a60bfb7796ed9d1ee848b14d55e8f3b4032fa585 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-12T23:06:38.373Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-12T23:06:38.732Z] Stashed 1 file(s) [Pipeline] echo [2022-07-12T23:06:38.751Z] [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-07-12T23:06:39.313Z] provisioning config files... [2022-07-12T23:06:39.326Z] copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/oundry_device-rfid-llrp-go_PR-99@tmp/config2073685678337228789tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T23:06:39.677Z] ---> docker-login.sh [2022-07-12T23:06:39.677Z] nexus3.edgexfoundry.org:10001 [2022-07-12T23:06:39.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T23:06:39.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T23:06:39.677Z] Configure a credential helper to remove this warning. See [2022-07-12T23:06:39.677Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T23:06:39.677Z] [2022-07-12T23:06:39.677Z] Login Succeeded [2022-07-12T23:06:39.677Z] nexus3.edgexfoundry.org:10002 [2022-07-12T23:06:39.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T23:06:39.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T23:06:39.939Z] Configure a credential helper to remove this warning. See [2022-07-12T23:06:39.939Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T23:06:39.939Z] [2022-07-12T23:06:39.939Z] Login Succeeded [2022-07-12T23:06:39.939Z] nexus3.edgexfoundry.org:10003 [2022-07-12T23:06:39.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T23:06:39.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T23:06:39.939Z] Configure a credential helper to remove this warning. See [2022-07-12T23:06:39.939Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T23:06:39.939Z] [2022-07-12T23:06:39.939Z] Login Succeeded [2022-07-12T23:06:39.939Z] nexus3.edgexfoundry.org:10004 [2022-07-12T23:06:40.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T23:06:40.211Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T23:06:40.211Z] Configure a credential helper to remove this warning. See [2022-07-12T23:06:40.211Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T23:06:40.211Z] [2022-07-12T23:06:40.211Z] Login Succeeded [2022-07-12T23:06:40.211Z] docker.io [2022-07-12T23:06:40.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T23:06:40.470Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T23:06:40.470Z] Configure a credential helper to remove this warning. See [2022-07-12T23:06:40.470Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T23:06:40.470Z] [2022-07-12T23:06:40.470Z] Login Succeeded [2022-07-12T23:06:40.470Z] ---> docker-login.sh ends [Pipeline] } [2022-07-12T23:06:40.498Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-12T23:06:40.677Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T23:06:40.711Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T23:06:40.735Z] ========================================================= [2022-07-12T23:06:40.735Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-12T23:06:40.735Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T23:06:41.188Z] + 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-07-12T23:06:41.188Z] Sending build context to Docker daemon 4.041MB [2022-07-12T23:06:41.188Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-07-12T23:06:41.188Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-12T23:06:41.188Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-12T23:06:41.188Z] 2408cc74d12b: Pulling fs layer [2022-07-12T23:06:41.188Z] ea60b727a1ce: Pulling fs layer [2022-07-12T23:06:41.188Z] 30c4a7721957: Pulling fs layer [2022-07-12T23:06:41.188Z] 370296b7ddb6: Pulling fs layer [2022-07-12T23:06:41.188Z] 7c6cee850709: Pulling fs layer [2022-07-12T23:06:41.188Z] 39a5fcdaea64: Pulling fs layer [2022-07-12T23:06:41.188Z] d94ebbe4e438: Pulling fs layer [2022-07-12T23:06:41.188Z] bcfd1f05c69d: Pulling fs layer [2022-07-12T23:06:41.188Z] 59ccb84bbe0f: Pulling fs layer [2022-07-12T23:06:41.188Z] 370296b7ddb6: Waiting [2022-07-12T23:06:41.188Z] 7c6cee850709: Waiting [2022-07-12T23:06:41.188Z] 39a5fcdaea64: Waiting [2022-07-12T23:06:41.188Z] d94ebbe4e438: Waiting [2022-07-12T23:06:41.188Z] bcfd1f05c69d: Waiting [2022-07-12T23:06:41.188Z] 59ccb84bbe0f: Waiting [2022-07-12T23:06:41.188Z] 30c4a7721957: Verifying Checksum [2022-07-12T23:06:41.188Z] 30c4a7721957: Download complete [2022-07-12T23:06:41.188Z] ea60b727a1ce: Download complete [2022-07-12T23:06:41.188Z] 7c6cee850709: Verifying Checksum [2022-07-12T23:06:41.188Z] 7c6cee850709: Download complete [2022-07-12T23:06:41.188Z] 39a5fcdaea64: Download complete [2022-07-12T23:06:41.452Z] 2408cc74d12b: Verifying Checksum [2022-07-12T23:06:41.452Z] d94ebbe4e438: Download complete [2022-07-12T23:06:41.452Z] 2408cc74d12b: Pull complete [2022-07-12T23:06:41.714Z] ea60b727a1ce: Pull complete [2022-07-12T23:06:41.714Z] 30c4a7721957: Pull complete [2022-07-12T23:06:41.714Z] 59ccb84bbe0f: Verifying Checksum [2022-07-12T23:06:41.714Z] 59ccb84bbe0f: Download complete [2022-07-12T23:06:41.976Z] bcfd1f05c69d: Verifying Checksum [2022-07-12T23:06:41.976Z] bcfd1f05c69d: Download complete [2022-07-12T23:06:41.976Z] 370296b7ddb6: Download complete [2022-07-12T23:06:47.250Z] 370296b7ddb6: Pull complete [2022-07-12T23:06:47.250Z] 7c6cee850709: Pull complete [2022-07-12T23:06:47.250Z] 39a5fcdaea64: Pull complete [2022-07-12T23:06:47.250Z] d94ebbe4e438: Pull complete [2022-07-12T23:06:49.161Z] bcfd1f05c69d: Pull complete [2022-07-12T23:06:49.733Z] 59ccb84bbe0f: Pull complete [2022-07-12T23:06:49.733Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-12T23:06:49.733Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-12T23:06:49.733Z] ---> a4fb48ad2a94 [2022-07-12T23:06:49.733Z] Step 3/12 : ARG MAKE='make build' [2022-07-12T23:06:51.119Z] ---> Running in eaba7aff4396 [2022-07-12T23:06:51.119Z] Removing intermediate container eaba7aff4396 [2022-07-12T23:06:51.119Z] ---> 6e68f7288188 [2022-07-12T23:06:51.119Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" [2022-07-12T23:06:51.119Z] ---> Running in 3b2ad13121a7 [2022-07-12T23:06:51.119Z] Removing intermediate container 3b2ad13121a7 [2022-07-12T23:06:51.119Z] ---> 0710f59da5b3 [2022-07-12T23:06:51.119Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-12T23:06:51.379Z] ---> Running in 98952a0326ba [2022-07-12T23:06:51.379Z] Removing intermediate container 98952a0326ba [2022-07-12T23:06:51.379Z] ---> 288c5198aab3 [2022-07-12T23:06:51.379Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T23:06:51.379Z] ---> Running in 7fefe31b36f1 [2022-07-12T23:06:51.949Z] Removing intermediate container 7fefe31b36f1 [2022-07-12T23:06:51.949Z] ---> c6de5b0b0bc3 [2022-07-12T23:06:51.949Z] Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-12T23:06:51.949Z] ---> Running in 1535bc7b5299 [2022-07-12T23:06:52.210Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-12T23:06:53.152Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-12T23:06:53.424Z] OK: 211 MiB in 51 packages [2022-07-12T23:06:53.686Z] Removing intermediate container 1535bc7b5299 [2022-07-12T23:06:53.686Z] ---> 98dbaea62f0e [2022-07-12T23:06:53.686Z] Step 8/12 : WORKDIR /app [2022-07-12T23:06:53.686Z] ---> Running in b064da568784 [2022-07-12T23:06:53.947Z] Removing intermediate container b064da568784 [2022-07-12T23:06:53.947Z] ---> b66313d65a18 [2022-07-12T23:06:53.947Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-12T23:06:53.947Z] ---> 48cc519ebcff [2022-07-12T23:06:53.947Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-12T23:06:53.947Z] ---> Running in cc8480ec5191 [2022-07-12T23:06:54.144Z] Still waiting to schedule task [2022-07-12T23:06:54.145Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-19786’ [2022-07-12T23:07:08.889Z] Removing intermediate container cc8480ec5191 [2022-07-12T23:07:08.889Z] ---> c45eca9d074c [2022-07-12T23:07:08.889Z] Step 11/12 : COPY . . [2022-07-12T23:07:08.889Z] ---> bb91cc352833 [2022-07-12T23:07:08.889Z] Step 12/12 : RUN $MAKE [2022-07-12T23:07:08.889Z] ---> Running in 380508f20644 [2022-07-12T23:07:08.889Z] noop [2022-07-12T23:07:08.889Z] Removing intermediate container 380508f20644 [2022-07-12T23:07:08.889Z] ---> 24f5d5226a75 [2022-07-12T23:07:08.889Z] Successfully built 24f5d5226a75 [2022-07-12T23:07:08.889Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T23:07:09.343Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-12T23:07:09.343Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T23:07:09.496Z] prd-ubuntu20.04-docker-8c-8g-19788 does not seem to be running inside a container [2022-07-12T23:07:09.532Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-rfid-llrp-go_PR-99 -v /w/workspace/oundry_device-rfid-llrp-go_PR-99:/w/workspace/oundry_device-rfid-llrp-go_PR-99:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-99@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-99@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-12T23:07:09.945Z] $ docker top 1c02a21542acb82ed977e040ec94629562562a9503263d39cf9d5ecc530d65da -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T23:07:10.353Z] + go version [2022-07-12T23:07:10.353Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-12T23:07:10.387Z] $ docker stop --time=1 1c02a21542acb82ed977e040ec94629562562a9503263d39cf9d5ecc530d65da [2022-07-12T23:07:11.709Z] $ docker rm -f 1c02a21542acb82ed977e040ec94629562562a9503263d39cf9d5ecc530d65da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T23:07:12.396Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-12T23:07:12.396Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T23:07:12.553Z] prd-ubuntu20.04-docker-8c-8g-19788 does not seem to be running inside a container [2022-07-12T23:07:12.596Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/oundry_device-rfid-llrp-go_PR-99 -v /w/workspace/oundry_device-rfid-llrp-go_PR-99:/w/workspace/oundry_device-rfid-llrp-go_PR-99:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-99@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-99@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-07-12T23:07:12.966Z] $ docker top e4605fb59acb3f1ec0edfa2f356de0707d9cb17e3460a1a32aff44ea3e3ad1da -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T23:07:13.365Z] + git config --global --add safe.directory /w/workspace/oundry_device-rfid-llrp-go_PR-99 [Pipeline] fileExists [Pipeline] sh [2022-07-12T23:07:13.723Z] + make test [2022-07-12T23:07:13.723Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-12T23:07:13.982Z] ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] [2022-07-12T23:07:23.971Z] ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] [2022-07-12T23:07:23.971Z] ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] [2022-07-12T23:07:29.260Z] ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 3.995s coverage: 39.3% of statements [2022-07-12T23:07:29.260Z] ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.263s coverage: 51.9% of statements [2022-07-12T23:07:29.260Z] ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.014s coverage: 96.4% of statements [2022-07-12T23:07:37.680Z] 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-07-12T23:07:37.680Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-12T23:07:40.982Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-12T23:07:40.982Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-12T23:07:40.982Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-12T23:07:41.273Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-12T23:07:41.303Z] $ docker stop --time=1 e4605fb59acb3f1ec0edfa2f356de0707d9cb17e3460a1a32aff44ea3e3ad1da [2022-07-12T23:07:42.999Z] $ docker rm -f e4605fb59acb3f1ec0edfa2f356de0707d9cb17e3460a1a32aff44ea3e3ad1da [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-12T23:07:43.535Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-12T23:07:43.673Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-12T23:07:44.259Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-12T23:07:44.573Z] + ls -al . [2022-07-12T23:07:44.573Z] total 632 [2022-07-12T23:07:44.573Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 12 23:07 . [2022-07-12T23:07:44.573Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 23:06 .. [2022-07-12T23:07:44.573Z] -rw-rw-r-- 1 jenkins jenkins 134 Jul 12 23:06 .dockerignore [2022-07-12T23:07:44.573Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 23:07 .git [2022-07-12T23:07:44.573Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 23:06 .github [2022-07-12T23:07:44.573Z] -rw-rw-r-- 1 jenkins jenkins 946 Jul 12 23:06 .gitignore [2022-07-12T23:07:44.573Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 12 23:06 .golangci.yml [2022-07-12T23:07:44.573Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 23:06 .semver [2022-07-12T23:07:44.573Z] -rw-rw-r-- 1 jenkins jenkins 10362 Jul 12 23:06 Attribution.txt [2022-07-12T23:07:44.573Z] -rw-rw-r-- 1 jenkins jenkins 3740 Jul 12 23:06 CHANGELOG.md [2022-07-12T23:07:44.573Z] -rw-rw-r-- 1 jenkins jenkins 1518 Jul 12 23:06 Dockerfile [2022-07-12T23:07:44.573Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 23:06 GOVERNANCE.md [2022-07-12T23:07:44.573Z] -rw-rw-r-- 1 jenkins jenkins 683 Jul 12 23:06 Jenkinsfile [2022-07-12T23:07:44.573Z] -rw-rw-r-- 1 jenkins jenkins 11347 Jul 12 23:06 LICENSE [2022-07-12T23:07:44.573Z] -rw-rw-r-- 1 jenkins jenkins 2196 Jul 12 23:06 Makefile [2022-07-12T23:07:44.573Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 12 23:06 OWNERS.md [2022-07-12T23:07:44.573Z] -rw-rw-r-- 1 jenkins jenkins 28496 Jul 12 23:06 README.md [2022-07-12T23:07:44.573Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 12 23:06 VERSION [2022-07-12T23:07:44.573Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 23:06 bin [2022-07-12T23:07:44.573Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 23:06 cmd [2022-07-12T23:07:44.573Z] -rw-r--r-- 1 jenkins jenkins 460394 Jul 12 23:07 coverage.out [2022-07-12T23:07:44.573Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 23:06 examples [2022-07-12T23:07:44.573Z] -rw-rw-r-- 1 jenkins jenkins 3355 Jul 12 23:06 go.mod [2022-07-12T23:07:44.573Z] -rw-rw-r-- 1 jenkins jenkins 35188 Jul 12 23:06 go.sum [2022-07-12T23:07:44.573Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 23:06 images [2022-07-12T23:07:44.573Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 12 23:06 internal [2022-07-12T23:07:44.573Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 23:06 snap [2022-07-12T23:07:44.573Z] -rw-rw-r-- 1 jenkins jenkins 193 Jul 12 23:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T23:07:44.977Z] + 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=c5248f0b66c8ed49feb8b773e2a745a2607fc3ca --label arch=amd64 --label version=0.0.0 . [2022-07-12T23:07:44.977Z] Sending build context to Docker daemon 4.041MB [2022-07-12T23:07:44.977Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-07-12T23:07:44.977Z] Step 2/25 : FROM ${BASE} AS builder [2022-07-12T23:07:44.977Z] ---> 24f5d5226a75 [2022-07-12T23:07:44.977Z] Step 3/25 : ARG MAKE='make build' [2022-07-12T23:07:44.977Z] ---> Running in f6194a936cae [2022-07-12T23:07:45.239Z] Removing intermediate container f6194a936cae [2022-07-12T23:07:45.239Z] ---> 5061d9e2de00 [2022-07-12T23:07:45.239Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" [2022-07-12T23:07:45.239Z] ---> Running in 2a71d8a479b7 [2022-07-12T23:07:45.239Z] Removing intermediate container 2a71d8a479b7 [2022-07-12T23:07:45.239Z] ---> 4b7c41859eb8 [2022-07-12T23:07:45.239Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-07-12T23:07:45.239Z] ---> Running in ff456e14e035 [2022-07-12T23:07:45.239Z] Removing intermediate container ff456e14e035 [2022-07-12T23:07:45.239Z] ---> d32c2c2d4e46 [2022-07-12T23:07:45.239Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T23:07:45.501Z] ---> Running in 2a2dd7d43485 [2022-07-12T23:07:46.070Z] Removing intermediate container 2a2dd7d43485 [2022-07-12T23:07:46.070Z] ---> 583be7a21441 [2022-07-12T23:07:46.070Z] Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-12T23:07:46.070Z] ---> Running in c73c7f81850b [2022-07-12T23:07:46.330Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-12T23:07:47.270Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-12T23:07:47.530Z] OK: 211 MiB in 51 packages [2022-07-12T23:07:47.795Z] Removing intermediate container c73c7f81850b [2022-07-12T23:07:47.795Z] ---> d0e7d1e10b20 [2022-07-12T23:07:47.795Z] Step 8/25 : WORKDIR /app [2022-07-12T23:07:47.795Z] ---> Running in d6b720b2250a [2022-07-12T23:07:47.795Z] Removing intermediate container d6b720b2250a [2022-07-12T23:07:47.795Z] ---> b7d2dda70c7a [2022-07-12T23:07:47.795Z] Step 9/25 : COPY go.mod vendor* ./ [2022-07-12T23:07:48.060Z] ---> 41b60f3854dc [2022-07-12T23:07:48.060Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-12T23:07:48.060Z] ---> Running in 82788906f86d [2022-07-12T23:07:48.644Z] Removing intermediate container 82788906f86d [2022-07-12T23:07:48.644Z] ---> b0574a1b43a8 [2022-07-12T23:07:48.644Z] Step 11/25 : COPY . . [2022-07-12T23:07:48.908Z] ---> cd4258b98891 [2022-07-12T23:07:48.908Z] Step 12/25 : RUN $MAKE [2022-07-12T23:07:48.908Z] ---> Running in 80608094684a [2022-07-12T23:07:49.171Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.1-dev.12 -X github.com/edgexfoundry/device-rfid-llrp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rfid-llrp ./cmd [2022-07-12T23:08:11.187Z] Removing intermediate container 80608094684a [2022-07-12T23:08:11.187Z] ---> 96d44df3267e [2022-07-12T23:08:11.187Z] Step 13/25 : FROM alpine:3.16 [2022-07-12T23:08:11.187Z] 3.16: Pulling from library/alpine [2022-07-12T23:08:11.187Z] 2408cc74d12b: Already exists [2022-07-12T23:08:11.187Z] Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c [2022-07-12T23:08:11.187Z] Status: Downloaded newer image for alpine:3.16 [2022-07-12T23:08:11.187Z] ---> e66264b98777 [2022-07-12T23:08:11.187Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-12T23:08:11.187Z] ---> Running in 67958f48d777 [2022-07-12T23:08:11.187Z] Removing intermediate container 67958f48d777 [2022-07-12T23:08:11.187Z] ---> 4f9198c85edc [2022-07-12T23:08:11.187Z] Step 15/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T23:08:11.187Z] ---> Running in 23f59c2e2347 [2022-07-12T23:08:11.187Z] Removing intermediate container 23f59c2e2347 [2022-07-12T23:08:11.187Z] ---> 9775f49c258a [2022-07-12T23:08:11.187Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-12T23:08:11.187Z] ---> Running in c1ce4e110213 [2022-07-12T23:08:11.451Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-12T23:08:12.394Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-12T23:08:12.656Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-12T23:08:12.656Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-07-12T23:08:12.923Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-12T23:08:12.923Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-12T23:08:12.923Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-12T23:08:13.183Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-12T23:08:13.183Z] Executing busybox-1.35.0-r13.trigger [2022-07-12T23:08:13.183Z] OK: 8 MiB in 20 packages [2022-07-12T23:08:13.448Z] Removing intermediate container c1ce4e110213 [2022-07-12T23:08:13.448Z] ---> 1098742f462a [2022-07-12T23:08:13.448Z] Step 17/25 : COPY --from=builder /app/LICENSE / [2022-07-12T23:08:13.710Z] ---> a1b1cac5e70e [2022-07-12T23:08:13.710Z] Step 18/25 : COPY --from=builder /app/Attribution.txt / [2022-07-12T23:08:13.710Z] ---> 96fe48d19900 [2022-07-12T23:08:13.710Z] Step 19/25 : COPY --from=builder /app/cmd/ / [2022-07-12T23:08:14.281Z] ---> cdc116af301e [2022-07-12T23:08:14.281Z] Step 20/25 : EXPOSE 59989 [2022-07-12T23:08:14.281Z] ---> Running in 0d97e892532b [2022-07-12T23:08:14.545Z] Removing intermediate container 0d97e892532b [2022-07-12T23:08:14.545Z] ---> 8007892f4ead [2022-07-12T23:08:14.545Z] Step 21/25 : ENTRYPOINT ["/device-rfid-llrp"] [2022-07-12T23:08:14.545Z] ---> Running in 6ada28edb687 [2022-07-12T23:08:14.545Z] Removing intermediate container 6ada28edb687 [2022-07-12T23:08:14.545Z] ---> ae3f9e448715 [2022-07-12T23:08:14.545Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-07-12T23:08:14.545Z] ---> Running in 2fab2c9ce38c [2022-07-12T23:08:14.545Z] Removing intermediate container 2fab2c9ce38c [2022-07-12T23:08:14.545Z] ---> 51f33e322dee [2022-07-12T23:08:14.545Z] Step 23/25 : LABEL arch=amd64 [2022-07-12T23:08:14.803Z] ---> Running in b783a61c9836 [2022-07-12T23:08:14.803Z] Removing intermediate container b783a61c9836 [2022-07-12T23:08:14.803Z] ---> a89ffcc7f23a [2022-07-12T23:08:14.803Z] Step 24/25 : LABEL git_sha=c5248f0b66c8ed49feb8b773e2a745a2607fc3ca [2022-07-12T23:08:14.803Z] ---> Running in 063419cbc6f1 [2022-07-12T23:08:14.803Z] Removing intermediate container 063419cbc6f1 [2022-07-12T23:08:14.803Z] ---> 577169a24ce8 [2022-07-12T23:08:14.803Z] Step 25/25 : LABEL version=0.0.0 [2022-07-12T23:08:14.803Z] ---> Running in b6cfd54f2420 [2022-07-12T23:08:15.063Z] Removing intermediate container b6cfd54f2420 [2022-07-12T23:08:15.063Z] ---> e1a321021ae3 [2022-07-12T23:08:15.063Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-12T23:08:15.063Z] Successfully built e1a321021ae3 [2022-07-12T23:08:15.063Z] 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-07-12T23:08:15.901Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T23:08:15.901Z] [2022-07-12T23:08:15.901Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T23:08:16.287Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T23:08:16.287Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-12T23:08:16.287Z] 5eb5b503b376: Pulling fs layer [2022-07-12T23:08:16.287Z] 5c69ac0246d0: Pulling fs layer [2022-07-12T23:08:16.287Z] ec43610c2a17: Pulling fs layer [2022-07-12T23:08:16.287Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-12T23:08:16.287Z] 33b1e0a273af: Pulling fs layer [2022-07-12T23:08:16.287Z] 5d3b04190fa2: Pulling fs layer [2022-07-12T23:08:16.287Z] 2f39f015ded8: Pulling fs layer [2022-07-12T23:08:16.287Z] 33b1e0a273af: Waiting [2022-07-12T23:08:16.287Z] 3a2ae6a8a46f: Waiting [2022-07-12T23:08:16.287Z] 5d3b04190fa2: Waiting [2022-07-12T23:08:16.287Z] 2f39f015ded8: Waiting [2022-07-12T23:08:16.287Z] 5c69ac0246d0: Verifying Checksum [2022-07-12T23:08:16.287Z] 5c69ac0246d0: Download complete [2022-07-12T23:08:16.287Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-12T23:08:16.287Z] 3a2ae6a8a46f: Download complete [2022-07-12T23:08:16.551Z] 33b1e0a273af: Verifying Checksum [2022-07-12T23:08:16.551Z] 33b1e0a273af: Download complete [2022-07-12T23:08:16.551Z] 5d3b04190fa2: Verifying Checksum [2022-07-12T23:08:16.551Z] 5d3b04190fa2: Download complete [2022-07-12T23:08:16.551Z] ec43610c2a17: Verifying Checksum [2022-07-12T23:08:16.551Z] ec43610c2a17: Download complete [2022-07-12T23:08:16.551Z] 5eb5b503b376: Verifying Checksum [2022-07-12T23:08:16.551Z] 5eb5b503b376: Download complete [2022-07-12T23:08:17.490Z] 2f39f015ded8: Download complete [2022-07-12T23:08:18.061Z] 5eb5b503b376: Pull complete [2022-07-12T23:08:18.061Z] 5c69ac0246d0: Pull complete [2022-07-12T23:08:18.630Z] ec43610c2a17: Pull complete [2022-07-12T23:08:18.630Z] 3a2ae6a8a46f: Pull complete [2022-07-12T23:08:18.892Z] 33b1e0a273af: Pull complete [2022-07-12T23:08:18.892Z] 5d3b04190fa2: Pull complete [2022-07-12T23:08:23.088Z] 2f39f015ded8: Pull complete [2022-07-12T23:08:23.088Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-12T23:08:23.088Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T23:08:23.088Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T23:08:23.307Z] prd-ubuntu20.04-docker-8c-8g-19788 does not seem to be running inside a container [2022-07-12T23:08:23.343Z] $ 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/oundry_device-rfid-llrp-go_PR-99 -v /w/workspace/oundry_device-rfid-llrp-go_PR-99:/w/workspace/oundry_device-rfid-llrp-go_PR-99:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-99@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-99@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-12T23:08:24.715Z] $ docker top 1e7eefa7eb69ed07617fee815bb3ef60fd240172dd0b279c52d39da3a1b8e460 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T23:08:25.168Z] ---> job-cost.sh [2022-07-12T23:08:25.168Z] lf-activate-venv: SKIPPING [2022-07-12T23:08:25.168Z] INFO: No Stack... [2022-07-12T23:08:25.428Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-12T23:08:25.999Z] INFO: Archiving Costs [Pipeline] sh [2022-07-12T23:08:26.316Z] + cat /w/workspace/oundry_device-rfid-llrp-go_PR-99/archives/cost.csv [2022-07-12T23:08:26.316Z] + cut -d, -f6 [Pipeline] lock [2022-07-12T23:08:26.357Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-99-1-stack-cost] [2022-07-12T23:08:26.362Z] Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-99-1-stack-cost] did not exist. Created. [2022-07-12T23:08:26.362Z] Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-99-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-12T23:08:26.748Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-12T23:08:26.798Z] Stashed 1 file(s) [Pipeline] } [2022-07-12T23:08:26.823Z] Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-99-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-12T23:08:26.898Z] $ docker stop --time=1 1e7eefa7eb69ed07617fee815bb3ef60fd240172dd0b279c52d39da3a1b8e460 [2022-07-12T23:08:28.063Z] $ docker rm -f 1e7eefa7eb69ed07617fee815bb3ef60fd240172dd0b279c52d39da3a1b8e460 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-12T23:09:50.115Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-19790 in /w/workspace/oundry_device-rfid-llrp-go_PR-99 [Pipeline] { [Pipeline] ws [2022-07-12T23:09:50.160Z] Running in /w/workspace/device-rfid-llrp-go/1 [Pipeline] { [Pipeline] checkout [2022-07-12T23:09:50.240Z] Selected Git installation does not exist. Using Default [2022-07-12T23:09:50.240Z] The recommended git tool is: NONE [2022-07-12T23:09:56.026Z] using credential edgex-jenkins-ssh [2022-07-12T23:09:56.046Z] Cloning the remote Git repository [2022-07-12T23:09:56.114Z] Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git [2022-07-12T23:09:56.232Z] > git init /w/workspace/device-rfid-llrp-go/1 # timeout=10 [2022-07-12T23:09:56.327Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git [2022-07-12T23:09:56.328Z] > git --version # timeout=10 [2022-07-12T23:09:56.348Z] > git --version # 'git version 2.25.1' [2022-07-12T23:09:56.351Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-12T23:09:56.443Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-12T23:09:57.488Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 [2022-07-12T23:09:57.519Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-07-12T23:09:57.550Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 [2022-07-12T23:09:57.643Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git [2022-07-12T23:09:57.644Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-12T23:09:57.680Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/99/head:refs/remotes/origin/PR-99 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-07-12T23:09:58.209Z] Merging remotes/origin/main commit a486f61cebd70a79af9a3b2a3d782718b04949c5 into PR head commit c5248f0b66c8ed49feb8b773e2a745a2607fc3ca [2022-07-12T23:09:58.531Z] Merge succeeded, producing c5248f0b66c8ed49feb8b773e2a745a2607fc3ca [2022-07-12T23:09:58.531Z] Checking out Revision c5248f0b66c8ed49feb8b773e2a745a2607fc3ca (PR-99) [2022-07-12T23:09:58.234Z] > git config core.sparsecheckout # timeout=10 [2022-07-12T23:09:58.252Z] > git checkout -f c5248f0b66c8ed49feb8b773e2a745a2607fc3ca # timeout=10 [2022-07-12T23:09:58.396Z] > git remote # timeout=10 [2022-07-12T23:09:58.420Z] > git config --get remote.origin.url # timeout=10 [2022-07-12T23:09:58.470Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-07-12T23:09:58.485Z] > git merge a486f61cebd70a79af9a3b2a3d782718b04949c5 # timeout=10 [2022-07-12T23:09:58.513Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-07-12T23:09:58.542Z] > git config core.sparsecheckout # timeout=10 [2022-07-12T23:09:58.557Z] > git checkout -f c5248f0b66c8ed49feb8b773e2a745a2607fc3ca # timeout=10 [2022-07-12T23:10:03.189Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" [2022-07-12T23:10:03.306Z] > git --version # timeout=10 [2022-07-12T23:10:03.328Z] > git --version # 'git version 2.25.1' [2022-07-12T23:10:03.348Z] fatal: bad object 2e0fbb9e3182d57c6b22477550a42c2d133d03c8 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-12T23:10:04.466Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-12T23:10:04.466Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-12T23:10:04.466Z] Dload Upload Total Spent Left Speed [2022-07-12T23:10:04.466Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12276 100 12276 0 0 214k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh [2022-07-12T23:10:05.372Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-12T23:10:05.823Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-12T23:10:05.823Z] + sudo tee /etc/docker/daemon.new [2022-07-12T23:10:05.823Z] { [2022-07-12T23:10:05.823Z] "registry-mirrors": [ [2022-07-12T23:10:05.823Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-12T23:10:05.823Z] ], [2022-07-12T23:10:05.823Z] "bip": "10.250.0.254/24", [2022-07-12T23:10:05.823Z] "hosts": [ [2022-07-12T23:10:05.823Z] "tcp://0.0.0.0:5555", [2022-07-12T23:10:05.823Z] "unix:///var/run/docker.sock" [2022-07-12T23:10:05.823Z] ], [2022-07-12T23:10:05.823Z] "mtu": 1458, [2022-07-12T23:10:05.823Z] "selinux-enabled": true, [2022-07-12T23:10:05.823Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-12T23:10:05.823Z] } [Pipeline] sh [2022-07-12T23:10:06.247Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-12T23:10:06.959Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T23:10:25.413Z] provisioning config files... [2022-07-12T23:10:25.440Z] copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/device-rfid-llrp-go/1@tmp/config957676059916376369tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T23:10:25.844Z] ---> docker-login.sh [2022-07-12T23:10:25.844Z] nexus3.edgexfoundry.org:10001 [2022-07-12T23:10:26.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T23:10:26.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T23:10:26.718Z] Configure a credential helper to remove this warning. See [2022-07-12T23:10:26.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T23:10:26.718Z] [2022-07-12T23:10:26.718Z] Login Succeeded [2022-07-12T23:10:26.718Z] nexus3.edgexfoundry.org:10002 [2022-07-12T23:10:26.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T23:10:27.272Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T23:10:27.272Z] Configure a credential helper to remove this warning. See [2022-07-12T23:10:27.272Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T23:10:27.272Z] [2022-07-12T23:10:27.272Z] Login Succeeded [2022-07-12T23:10:27.272Z] nexus3.edgexfoundry.org:10003 [2022-07-12T23:10:27.548Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T23:10:27.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T23:10:27.821Z] Configure a credential helper to remove this warning. See [2022-07-12T23:10:27.821Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T23:10:27.821Z] [2022-07-12T23:10:27.821Z] Login Succeeded [2022-07-12T23:10:27.821Z] nexus3.edgexfoundry.org:10004 [2022-07-12T23:10:28.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T23:10:28.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T23:10:28.095Z] Configure a credential helper to remove this warning. See [2022-07-12T23:10:28.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T23:10:28.095Z] [2022-07-12T23:10:28.095Z] Login Succeeded [2022-07-12T23:10:28.095Z] docker.io [2022-07-12T23:10:28.695Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-12T23:10:28.969Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-12T23:10:28.969Z] Configure a credential helper to remove this warning. See [2022-07-12T23:10:28.969Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-12T23:10:28.969Z] [2022-07-12T23:10:28.969Z] Login Succeeded [2022-07-12T23:10:28.969Z] ---> docker-login.sh ends [Pipeline] } [2022-07-12T23:10:28.996Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-12T23:10:29.405Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T23:10:29.442Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-12T23:10:29.475Z] ========================================================= [2022-07-12T23:10:29.475Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-12T23:10:29.475Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T23:10:29.981Z] + 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-07-12T23:10:30.255Z] Sending build context to Docker daemon 1.229MB [2022-07-12T23:10:30.255Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-07-12T23:10:30.255Z] Step 2/12 : FROM ${BASE} AS builder [2022-07-12T23:10:30.540Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-12T23:10:30.540Z] b3c136eddcbf: Pulling fs layer [2022-07-12T23:10:30.540Z] c0a3192eca97: Pulling fs layer [2022-07-12T23:10:30.540Z] a050256f5b6f: Pulling fs layer [2022-07-12T23:10:30.540Z] 656be50a0ddc: Pulling fs layer [2022-07-12T23:10:30.540Z] 2bbca73fdf42: Pulling fs layer [2022-07-12T23:10:30.540Z] 46d945488cbd: Pulling fs layer [2022-07-12T23:10:30.540Z] 8a5474983e97: Pulling fs layer [2022-07-12T23:10:30.540Z] 329c88fbcd65: Pulling fs layer [2022-07-12T23:10:30.540Z] 46d945488cbd: Waiting [2022-07-12T23:10:30.540Z] 656be50a0ddc: Waiting [2022-07-12T23:10:30.540Z] 8a5474983e97: Waiting [2022-07-12T23:10:30.540Z] 2bbca73fdf42: Waiting [2022-07-12T23:10:30.540Z] 329c88fbcd65: Waiting [2022-07-12T23:10:30.540Z] a050256f5b6f: Verifying Checksum [2022-07-12T23:10:30.540Z] a050256f5b6f: Download complete [2022-07-12T23:10:30.540Z] c0a3192eca97: Verifying Checksum [2022-07-12T23:10:30.540Z] c0a3192eca97: Download complete [2022-07-12T23:10:30.540Z] 2bbca73fdf42: Verifying Checksum [2022-07-12T23:10:30.540Z] 2bbca73fdf42: Download complete [2022-07-12T23:10:30.540Z] 46d945488cbd: Download complete [2022-07-12T23:10:30.540Z] b3c136eddcbf: Verifying Checksum [2022-07-12T23:10:30.540Z] b3c136eddcbf: Download complete [2022-07-12T23:10:31.547Z] b3c136eddcbf: Pull complete [2022-07-12T23:10:31.826Z] 329c88fbcd65: Verifying Checksum [2022-07-12T23:10:31.826Z] 329c88fbcd65: Download complete [2022-07-12T23:10:32.105Z] c0a3192eca97: Pull complete [2022-07-12T23:10:32.716Z] a050256f5b6f: Pull complete [2022-07-12T23:10:32.995Z] 8a5474983e97: Verifying Checksum [2022-07-12T23:10:32.995Z] 8a5474983e97: Download complete [2022-07-12T23:10:33.599Z] 656be50a0ddc: Verifying Checksum [2022-07-12T23:10:33.599Z] 656be50a0ddc: Download complete [2022-07-12T23:10:48.709Z] 656be50a0ddc: Pull complete [2022-07-12T23:10:48.709Z] 2bbca73fdf42: Pull complete [2022-07-12T23:10:48.709Z] 46d945488cbd: Pull complete [2022-07-12T23:10:52.112Z] 8a5474983e97: Pull complete [2022-07-12T23:10:54.088Z] 329c88fbcd65: Pull complete [2022-07-12T23:10:54.088Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-12T23:10:54.088Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-12T23:10:54.088Z] ---> ff4287adb874 [2022-07-12T23:10:54.088Z] Step 3/12 : ARG MAKE='make build' [2022-07-12T23:10:56.078Z] ---> Running in a75c379c9c26 [2022-07-12T23:10:56.352Z] Removing intermediate container a75c379c9c26 [2022-07-12T23:10:56.352Z] ---> b0f481468d08 [2022-07-12T23:10:56.352Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" [2022-07-12T23:10:56.352Z] ---> Running in 42a7ba40ff2d [2022-07-12T23:10:56.632Z] Removing intermediate container 42a7ba40ff2d [2022-07-12T23:10:56.632Z] ---> 75a6b7b7beeb [2022-07-12T23:10:56.632Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-07-12T23:10:56.912Z] ---> Running in 8714d99bc262 [2022-07-12T23:10:57.188Z] Removing intermediate container 8714d99bc262 [2022-07-12T23:10:57.188Z] ---> b669b991ea4d [2022-07-12T23:10:57.188Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T23:10:57.188Z] ---> Running in 89fd74d2128d [2022-07-12T23:10:59.182Z] Removing intermediate container 89fd74d2128d [2022-07-12T23:10:59.182Z] ---> 221eb4f31038 [2022-07-12T23:10:59.182Z] Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-12T23:10:59.182Z] ---> Running in 9150f27f52ff [2022-07-12T23:11:00.190Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-12T23:11:01.174Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-12T23:11:02.158Z] OK: 221 MiB in 51 packages [2022-07-12T23:11:02.765Z] Removing intermediate container 9150f27f52ff [2022-07-12T23:11:02.765Z] ---> 7bf6244defdb [2022-07-12T23:11:02.765Z] Step 8/12 : WORKDIR /app [2022-07-12T23:11:03.045Z] ---> Running in 0e8c268b2e16 [2022-07-12T23:11:03.329Z] Removing intermediate container 0e8c268b2e16 [2022-07-12T23:11:03.329Z] ---> 281d95629023 [2022-07-12T23:11:03.329Z] Step 9/12 : COPY go.mod vendor* ./ [2022-07-12T23:11:03.941Z] ---> 5c94d71affb6 [2022-07-12T23:11:03.941Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-12T23:11:03.941Z] ---> Running in 22491aa4591b [2022-07-12T23:11:50.994Z] Removing intermediate container 22491aa4591b [2022-07-12T23:11:50.994Z] ---> 0938490d10c2 [2022-07-12T23:11:50.994Z] Step 11/12 : COPY . . [2022-07-12T23:11:50.994Z] ---> 63ea928485d6 [2022-07-12T23:11:50.994Z] Step 12/12 : RUN $MAKE [2022-07-12T23:11:50.994Z] ---> Running in 98e27dfb6ed4 [2022-07-12T23:11:51.990Z] noop [2022-07-12T23:11:52.588Z] Removing intermediate container 98e27dfb6ed4 [2022-07-12T23:11:52.588Z] ---> 693b754043f5 [2022-07-12T23:11:52.588Z] Successfully built 693b754043f5 [2022-07-12T23:11:52.588Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T23:11:53.109Z] + docker inspect -f . ci-base-image-arm64 [2022-07-12T23:11:53.109Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T23:11:53.440Z] prd-ubuntu20.04-docker-arm64-4c-16g-19790 does not seem to be running inside a container [2022-07-12T23:11:53.533Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rfid-llrp-go/1 -v /w/workspace/device-rfid-llrp-go/1:/w/workspace/device-rfid-llrp-go/1:rw,z -v /w/workspace/device-rfid-llrp-go/1@tmp:/w/workspace/device-rfid-llrp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-12T23:11:54.877Z] $ docker top 9841ad6713469043ecd198e1ffa88b94de15e79af51bf361d5033ada432fc934 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T23:11:55.878Z] + go version [2022-07-12T23:11:55.878Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-12T23:11:55.917Z] $ docker stop --time=1 9841ad6713469043ecd198e1ffa88b94de15e79af51bf361d5033ada432fc934 [2022-07-12T23:11:57.588Z] $ docker rm -f 9841ad6713469043ecd198e1ffa88b94de15e79af51bf361d5033ada432fc934 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T23:11:58.516Z] + docker inspect -f . ci-base-image-arm64 [2022-07-12T23:11:58.516Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T23:11:58.853Z] prd-ubuntu20.04-docker-arm64-4c-16g-19790 does not seem to be running inside a container [2022-07-12T23:11:58.944Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-rfid-llrp-go/1 -v /w/workspace/device-rfid-llrp-go/1:/w/workspace/device-rfid-llrp-go/1:rw,z -v /w/workspace/device-rfid-llrp-go/1@tmp:/w/workspace/device-rfid-llrp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-12T23:12:00.329Z] $ docker top 7b36e28733db468c6d6a4ed8246c706b079eeec62c9e02b124c0f9b9a95f5555 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T23:12:01.320Z] + git config --global --add safe.directory /w/workspace/device-rfid-llrp-go/1 [Pipeline] fileExists [Pipeline] sh [2022-07-12T23:12:02.062Z] + make test [2022-07-12T23:12:02.062Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-07-12T23:12:04.051Z] ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] [2022-07-12T23:13:40.968Z] ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] [2022-07-12T23:13:40.968Z] ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] [2022-07-12T23:14:07.794Z] ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 24.727s coverage: 39.3% of statements [2022-07-12T23:14:07.794Z] ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.500s coverage: 52.0% of statements [2022-07-12T23:14:07.794Z] ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.053s coverage: 95.5% of statements [2022-07-12T23:14:07.794Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-07-12T23:14:07.794Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-07-12T23:14:34.642Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-12T23:14:34.642Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-12T23:14:34.642Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-12T23:14:34.680Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-12T23:14:34.715Z] $ docker stop --time=1 7b36e28733db468c6d6a4ed8246c706b079eeec62c9e02b124c0f9b9a95f5555 [2022-07-12T23:14:36.528Z] $ docker rm -f 7b36e28733db468c6d6a4ed8246c706b079eeec62c9e02b124c0f9b9a95f5555 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-12T23:14:37.655Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-12T23:14:37.691Z] Warning: overwriting stash ‘coverage-report’ [2022-07-12T23:14:38.607Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-12T23:14:39.255Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-12T23:14:39.629Z] + ls -al . [2022-07-12T23:14:39.629Z] total 628 [2022-07-12T23:14:39.629Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 12 23:12 . [2022-07-12T23:14:39.629Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 23:09 .. [2022-07-12T23:14:39.629Z] -rw-rw-r-- 1 jenkins jenkins 134 Jul 12 23:09 .dockerignore [2022-07-12T23:14:39.629Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 23:10 .git [2022-07-12T23:14:39.629Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 23:09 .github [2022-07-12T23:14:39.629Z] -rw-rw-r-- 1 jenkins jenkins 946 Jul 12 23:09 .gitignore [2022-07-12T23:14:39.629Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 12 23:09 .golangci.yml [2022-07-12T23:14:39.629Z] -rw-rw-r-- 1 jenkins jenkins 10362 Jul 12 23:09 Attribution.txt [2022-07-12T23:14:39.629Z] -rw-rw-r-- 1 jenkins jenkins 3740 Jul 12 23:09 CHANGELOG.md [2022-07-12T23:14:39.629Z] -rw-rw-r-- 1 jenkins jenkins 1518 Jul 12 23:09 Dockerfile [2022-07-12T23:14:39.629Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 23:09 GOVERNANCE.md [2022-07-12T23:14:39.629Z] -rw-rw-r-- 1 jenkins jenkins 683 Jul 12 23:09 Jenkinsfile [2022-07-12T23:14:39.629Z] -rw-rw-r-- 1 jenkins jenkins 11347 Jul 12 23:09 LICENSE [2022-07-12T23:14:39.629Z] -rw-rw-r-- 1 jenkins jenkins 2196 Jul 12 23:09 Makefile [2022-07-12T23:14:39.629Z] -rw-rw-r-- 1 jenkins jenkins 625 Jul 12 23:09 OWNERS.md [2022-07-12T23:14:39.629Z] -rw-rw-r-- 1 jenkins jenkins 28496 Jul 12 23:09 README.md [2022-07-12T23:14:39.629Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 12 23:06 VERSION [2022-07-12T23:14:39.629Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 23:09 bin [2022-07-12T23:14:39.629Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 23:09 cmd [2022-07-12T23:14:39.630Z] -rw-r--r-- 1 jenkins jenkins 460394 Jul 12 23:14 coverage.out [2022-07-12T23:14:39.630Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 23:09 examples [2022-07-12T23:14:39.630Z] -rw-rw-r-- 1 jenkins jenkins 3355 Jul 12 23:09 go.mod [2022-07-12T23:14:39.630Z] -rw-rw-r-- 1 jenkins jenkins 35188 Jul 12 23:09 go.sum [2022-07-12T23:14:39.630Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 23:09 images [2022-07-12T23:14:39.630Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 12 23:09 internal [2022-07-12T23:14:39.630Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 23:09 snap [2022-07-12T23:14:39.630Z] -rw-rw-r-- 1 jenkins jenkins 193 Jul 12 23:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T23:14:40.081Z] + 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=c5248f0b66c8ed49feb8b773e2a745a2607fc3ca --label arch=arm64 --label version=0.0.0 . [2022-07-12T23:14:40.364Z] Sending build context to Docker daemon 1.229MB [2022-07-12T23:14:40.364Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-07-12T23:14:40.364Z] Step 2/25 : FROM ${BASE} AS builder [2022-07-12T23:14:40.364Z] ---> 693b754043f5 [2022-07-12T23:14:40.364Z] Step 3/25 : ARG MAKE='make build' [2022-07-12T23:14:40.643Z] ---> Running in 86121c846e8a [2022-07-12T23:14:40.916Z] Removing intermediate container 86121c846e8a [2022-07-12T23:14:40.916Z] ---> 9186892fdeef [2022-07-12T23:14:40.916Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" [2022-07-12T23:14:40.916Z] ---> Running in 0dea7faf6797 [2022-07-12T23:14:41.526Z] Removing intermediate container 0dea7faf6797 [2022-07-12T23:14:41.526Z] ---> c3808ab33c64 [2022-07-12T23:14:41.526Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-07-12T23:14:41.526Z] ---> Running in 117e6caf4241 [2022-07-12T23:14:41.806Z] Removing intermediate container 117e6caf4241 [2022-07-12T23:14:41.806Z] ---> bde75269d1f3 [2022-07-12T23:14:41.806Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T23:14:41.806Z] ---> Running in 3804acdb557d [2022-07-12T23:14:43.789Z] Removing intermediate container 3804acdb557d [2022-07-12T23:14:43.789Z] ---> ece81ad5b6b4 [2022-07-12T23:14:43.789Z] Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-12T23:14:43.789Z] ---> Running in 30b011679d19 [2022-07-12T23:14:44.877Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-12T23:14:45.857Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-12T23:14:46.839Z] OK: 221 MiB in 51 packages [2022-07-12T23:14:47.824Z] Removing intermediate container 30b011679d19 [2022-07-12T23:14:47.824Z] ---> 81f4359d96bd [2022-07-12T23:14:47.824Z] Step 8/25 : WORKDIR /app [2022-07-12T23:14:47.824Z] ---> Running in 9cdfdf98b22b [2022-07-12T23:14:48.098Z] Removing intermediate container 9cdfdf98b22b [2022-07-12T23:14:48.098Z] ---> 5b3de5211570 [2022-07-12T23:14:48.098Z] Step 9/25 : COPY go.mod vendor* ./ [2022-07-12T23:14:48.698Z] ---> 101aa8fc6d87 [2022-07-12T23:14:48.698Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-12T23:14:48.698Z] ---> Running in fedf4819028a [2022-07-12T23:14:50.682Z] Removing intermediate container fedf4819028a [2022-07-12T23:14:50.682Z] ---> f52591143ff5 [2022-07-12T23:14:50.682Z] Step 11/25 : COPY . . [2022-07-12T23:14:51.279Z] ---> 85f307de6ccd [2022-07-12T23:14:51.279Z] Step 12/25 : RUN $MAKE [2022-07-12T23:14:51.552Z] ---> Running in d5c4cdc86ea1 [2022-07-12T23:14:52.533Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.1-dev.12 -X github.com/edgexfoundry/device-rfid-llrp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rfid-llrp ./cmd [2022-07-12T23:17:14.446Z] Removing intermediate container d5c4cdc86ea1 [2022-07-12T23:17:14.446Z] ---> 6b88d18c0a83 [2022-07-12T23:17:14.446Z] Step 13/25 : FROM alpine:3.16 [2022-07-12T23:17:14.446Z] 3.16: Pulling from library/alpine [2022-07-12T23:17:14.446Z] b3c136eddcbf: Already exists [2022-07-12T23:17:14.446Z] Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c [2022-07-12T23:17:14.446Z] Status: Downloaded newer image for alpine:3.16 [2022-07-12T23:17:14.446Z] ---> 6e30ab57aeee [2022-07-12T23:17:14.446Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-07-12T23:17:14.446Z] ---> Running in 4c0e033d8258 [2022-07-12T23:17:14.446Z] Removing intermediate container 4c0e033d8258 [2022-07-12T23:17:14.446Z] ---> fcd2d218ded4 [2022-07-12T23:17:14.446Z] Step 15/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-12T23:17:14.446Z] ---> Running in 5447709d6134 [2022-07-12T23:17:14.446Z] Removing intermediate container 5447709d6134 [2022-07-12T23:17:14.446Z] ---> ae6415ab7b5f [2022-07-12T23:17:14.446Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-07-12T23:17:14.446Z] ---> Running in a844dca33505 [2022-07-12T23:17:14.446Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-07-12T23:17:14.446Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-07-12T23:17:14.446Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-07-12T23:17:14.446Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-07-12T23:17:14.446Z] (3/6) Installing libsodium (1.0.18-r0) [2022-07-12T23:17:14.446Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-07-12T23:17:14.446Z] (5/6) Installing libzmq (4.3.4-r0) [2022-07-12T23:17:14.446Z] (6/6) Installing zeromq (4.3.4-r0) [2022-07-12T23:17:14.446Z] Executing busybox-1.35.0-r13.trigger [2022-07-12T23:17:14.446Z] OK: 8 MiB in 20 packages [2022-07-12T23:17:14.446Z] Removing intermediate container a844dca33505 [2022-07-12T23:17:14.446Z] ---> 4e2b84a21161 [2022-07-12T23:17:14.446Z] Step 17/25 : COPY --from=builder /app/LICENSE / [2022-07-12T23:17:14.719Z] ---> 3cafe06a1dfa [2022-07-12T23:17:14.719Z] Step 18/25 : COPY --from=builder /app/Attribution.txt / [2022-07-12T23:17:15.316Z] ---> bd16d69ab7c3 [2022-07-12T23:17:15.316Z] Step 19/25 : COPY --from=builder /app/cmd/ / [2022-07-12T23:17:16.751Z] ---> 5ce1d312a0bc [2022-07-12T23:17:16.751Z] Step 20/25 : EXPOSE 59989 [2022-07-12T23:17:16.751Z] ---> Running in 53345351a224 [2022-07-12T23:17:17.025Z] Removing intermediate container 53345351a224 [2022-07-12T23:17:17.025Z] ---> 4df289dada46 [2022-07-12T23:17:17.025Z] Step 21/25 : ENTRYPOINT ["/device-rfid-llrp"] [2022-07-12T23:17:17.025Z] ---> Running in 044c60db47b0 [2022-07-12T23:17:17.300Z] Removing intermediate container 044c60db47b0 [2022-07-12T23:17:17.300Z] ---> b46805a6b72f [2022-07-12T23:17:17.300Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-07-12T23:17:17.575Z] ---> Running in 689e27789fe8 [2022-07-12T23:17:17.849Z] Removing intermediate container 689e27789fe8 [2022-07-12T23:17:17.849Z] ---> 18985beee9ee [2022-07-12T23:17:17.849Z] Step 23/25 : LABEL arch=arm64 [2022-07-12T23:17:17.849Z] ---> Running in c8233a5a3efc [2022-07-12T23:17:18.122Z] Removing intermediate container c8233a5a3efc [2022-07-12T23:17:18.122Z] ---> 878f8ad25619 [2022-07-12T23:17:18.122Z] Step 24/25 : LABEL git_sha=c5248f0b66c8ed49feb8b773e2a745a2607fc3ca [2022-07-12T23:17:18.122Z] ---> Running in b3fe6f8e8403 [2022-07-12T23:17:18.718Z] Removing intermediate container b3fe6f8e8403 [2022-07-12T23:17:18.718Z] ---> 39f1f7dd6c5c [2022-07-12T23:17:18.718Z] Step 25/25 : LABEL version=0.0.0 [2022-07-12T23:17:18.718Z] ---> Running in b42d73731045 [2022-07-12T23:17:18.992Z] Removing intermediate container b42d73731045 [2022-07-12T23:17:18.992Z] ---> c0303f40809b [2022-07-12T23:17:18.992Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-12T23:17:18.992Z] Successfully built c0303f40809b [2022-07-12T23:17:18.992Z] 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-07-12T23:17:19.801Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-12T23:17:19.801Z] [2022-07-12T23:17:19.801Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T23:17:20.210Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-12T23:17:20.486Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-12T23:17:20.486Z] 8998bd30e6a1: Pulling fs layer [2022-07-12T23:17:20.486Z] 04944245beec: Pulling fs layer [2022-07-12T23:17:20.486Z] 699f458cf7ca: Pulling fs layer [2022-07-12T23:17:20.486Z] 765212b225bb: Pulling fs layer [2022-07-12T23:17:20.486Z] f23df028b6ca: Pulling fs layer [2022-07-12T23:17:20.486Z] d65c8cfc05b1: Pulling fs layer [2022-07-12T23:17:20.486Z] 2437ff75d9bd: Pulling fs layer [2022-07-12T23:17:20.486Z] 765212b225bb: Waiting [2022-07-12T23:17:20.486Z] f23df028b6ca: Waiting [2022-07-12T23:17:20.486Z] 2437ff75d9bd: Waiting [2022-07-12T23:17:20.486Z] d65c8cfc05b1: Waiting [2022-07-12T23:17:20.486Z] 04944245beec: Verifying Checksum [2022-07-12T23:17:20.486Z] 04944245beec: Download complete [2022-07-12T23:17:20.486Z] 765212b225bb: Verifying Checksum [2022-07-12T23:17:20.486Z] 765212b225bb: Download complete [2022-07-12T23:17:20.486Z] f23df028b6ca: Verifying Checksum [2022-07-12T23:17:20.486Z] f23df028b6ca: Download complete [2022-07-12T23:17:20.486Z] d65c8cfc05b1: Verifying Checksum [2022-07-12T23:17:20.486Z] d65c8cfc05b1: Download complete [2022-07-12T23:17:20.761Z] 699f458cf7ca: Verifying Checksum [2022-07-12T23:17:20.761Z] 699f458cf7ca: Download complete [2022-07-12T23:17:21.036Z] 8998bd30e6a1: Verifying Checksum [2022-07-12T23:17:21.036Z] 8998bd30e6a1: Download complete [2022-07-12T23:17:23.659Z] 2437ff75d9bd: Verifying Checksum [2022-07-12T23:17:23.659Z] 2437ff75d9bd: Download complete [2022-07-12T23:17:25.089Z] 8998bd30e6a1: Pull complete [2022-07-12T23:17:25.686Z] 04944245beec: Pull complete [2022-07-12T23:17:27.135Z] 699f458cf7ca: Pull complete [2022-07-12T23:17:27.408Z] 765212b225bb: Pull complete [2022-07-12T23:17:28.005Z] f23df028b6ca: Pull complete [2022-07-12T23:17:28.278Z] d65c8cfc05b1: Pull complete [2022-07-12T23:17:43.383Z] 2437ff75d9bd: Pull complete [2022-07-12T23:17:43.383Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-12T23:17:43.383Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-12T23:17:43.383Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T23:17:43.770Z] prd-ubuntu20.04-docker-arm64-4c-16g-19790 does not seem to be running inside a container [2022-07-12T23:17:43.849Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rfid-llrp-go/1 -v /w/workspace/device-rfid-llrp-go/1:/w/workspace/device-rfid-llrp-go/1:rw,z -v /w/workspace/device-rfid-llrp-go/1@tmp:/w/workspace/device-rfid-llrp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-12T23:17:46.400Z] $ docker top b9e3a562b6e7a0ef906a9da2c59f0eb2d3e78ef0b71e02adac944234060834c0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-12T23:17:47.381Z] ---> job-cost.sh [2022-07-12T23:17:47.381Z] lf-activate-venv: SKIPPING [2022-07-12T23:17:47.381Z] INFO: No Stack... [2022-07-12T23:17:47.978Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-12T23:17:48.583Z] INFO: Archiving Costs [Pipeline] sh [2022-07-12T23:17:49.261Z] + cut -d, -f6 [2022-07-12T23:17:49.261Z] + cat /w/workspace/device-rfid-llrp-go/1/archives/cost.csv [Pipeline] lock [2022-07-12T23:17:49.339Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-99-1-stack-cost] [2022-07-12T23:17:49.343Z] Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-99-1-stack-cost] did not exist. Created. [2022-07-12T23:17:49.343Z] Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-99-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-12T23:17:50.085Z] /w/workspace/device-rfid-llrp-go/1@tmp/durable-9c2604b5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-12T23:17:50.786Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-12T23:17:50.826Z] Warning: overwriting stash ‘stack-cost’ [2022-07-12T23:17:50.881Z] Stashed 1 file(s) [Pipeline] } [2022-07-12T23:17:50.895Z] Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-99-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-12T23:17:50.965Z] $ docker stop --time=1 b9e3a562b6e7a0ef906a9da2c59f0eb2d3e78ef0b71e02adac944234060834c0 [2022-07-12T23:17:52.486Z] $ docker rm -f b9e3a562b6e7a0ef906a9da2c59f0eb2d3e78ef0b71e02adac944234060834c0 [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-07-12T23:17:53.452Z] provisioning config files... [2022-07-12T23:17:53.461Z] copy managed file [device-rfid-llrp-go-codecov-token] to file:/w/workspace/oundry_device-rfid-llrp-go_PR-99@tmp/config8804416064766510932tmp [Pipeline] { [Pipeline] sh [2022-07-12T23:17:53.794Z] + set +x [2022-07-12T23:17:53.794Z] + curl -s https://codecov.io/bash [2022-07-12T23:17:53.794Z] + bash -s -- [2022-07-12T23:17:53.794Z] [2022-07-12T23:17:53.794Z] _____ _ [2022-07-12T23:17:53.794Z] / ____| | | [2022-07-12T23:17:53.794Z] | | ___ __| | ___ ___ _____ __ [2022-07-12T23:17:53.794Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-07-12T23:17:53.794Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-07-12T23:17:53.794Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-07-12T23:17:53.794Z] Bash-1.0.6 [2022-07-12T23:17:53.794Z] [2022-07-12T23:17:53.794Z] [2022-07-12T23:17:53.794Z] ==> git version 2.25.1 found [2022-07-12T23:17:53.794Z] ==> 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-07-12T23:17:53.794Z] Release-Date: 2020-01-08 [2022-07-12T23:17:53.794Z] 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-07-12T23:17:53.794Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-07-12T23:17:53.794Z] ==> Jenkins CI detected. [2022-07-12T23:17:53.794Z] current dir:  /w/workspace/oundry_device-rfid-llrp-go_PR-99 [2022-07-12T23:17:53.794Z] project root: . [2022-07-12T23:17:53.794Z] --> token set from env [2022-07-12T23:17:53.794Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-07-12T23:17:53.794Z] ==> Running gcov in . (disable via -X gcov) [2022-07-12T23:17:53.794Z] ==> Python coveragepy not found [2022-07-12T23:17:53.794Z] ==> Searching for coverage reports in: [2022-07-12T23:17:53.794Z] + . [2022-07-12T23:17:53.794Z] -> Found 1 reports [2022-07-12T23:17:53.794Z] ==> Detecting git/mercurial file structure [2022-07-12T23:17:53.794Z] ==> Reading reports [2022-07-12T23:17:53.794Z] + ./coverage.out bytes=460394 [2022-07-12T23:17:53.794Z] ==> Appending adjustments [2022-07-12T23:17:53.794Z] https://docs.codecov.io/docs/fixing-reports [2022-07-12T23:17:54.054Z] + Found adjustments [2022-07-12T23:17:54.054Z] ==> Gzipping contents [2022-07-12T23:17:54.054Z] 52K /tmp/codecov.ve2j1B.gz [2022-07-12T23:17:54.054Z] ==> Uploading reports [2022-07-12T23:17:54.054Z] url: https://codecov.io [2022-07-12T23:17:54.054Z] query: branch=PR-99&commit=c5248f0b66c8ed49feb8b773e2a745a2607fc3ca&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-99%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=99&job=&cmd_args= [2022-07-12T23:17:54.054Z] -> Pinging Codecov [2022-07-12T23:17:54.054Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-99&commit=c5248f0b66c8ed49feb8b773e2a745a2607fc3ca&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-99%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=99&job=&cmd_args= [2022-07-12T23:17:54.624Z] -> Uploading to [2022-07-12T23:17:54.624Z] https://storage.googleapis.com/codecov/v4/raw/2022-07-12/581DD39554BDF9B6E22D074273EAD858/c5248f0b66c8ed49feb8b773e2a745a2607fc3ca/cbea15c5-49fe-4357-8b68-76a1debf1250.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220712%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220712T231754Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=898f18bcabd7fad0b52cbfda3fc33f86e9945b293ccbf1c0ff92a3199da4db54 [2022-07-12T23:17:54.624Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-12T23:17:54.624Z] Dload Upload Total Spent Left Speed [2022-07-12T23:17:54.624Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51871 0 0 100 51871 0 249k --:--:-- --:--:-- --:--:-- 248k 100 51871 0 0 100 51871 0 213k --:--:-- --:--:-- --:--:-- 212k [2022-07-12T23:17:54.624Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/c5248f0b66c8ed49feb8b773e2a745a2607fc3ca [Pipeline] } [2022-07-12T23:17:54.652Z] 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-07-12T23:17:56.297Z] + [ -d /w/workspace/oundry_device-rfid-llrp-go_PR-99/archives ] [2022-07-12T23:17:56.297Z] + ls -al /w/workspace/oundry_device-rfid-llrp-go_PR-99/archives [2022-07-12T23:17:56.297Z] total 16 [2022-07-12T23:17:56.297Z] drwxr-xr-x 3 root root 4096 Jul 12 23:08 . [2022-07-12T23:17:56.297Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 12 23:08 .. [2022-07-12T23:17:56.297Z] drwxr-xr-x 2 root root 4096 Jul 12 23:08 cost [2022-07-12T23:17:56.297Z] -rw-r--r-- 1 root root 89 Jul 12 23:08 cost.csv [2022-07-12T23:17:56.297Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-rfid-llrp-go_PR-99/archives [2022-07-12T23:17:56.297Z] + ls -al /w/workspace/oundry_device-rfid-llrp-go_PR-99/archives [2022-07-12T23:17:56.297Z] total 16 [2022-07-12T23:17:56.297Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 23:08 . [2022-07-12T23:17:56.297Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 12 23:08 .. [2022-07-12T23:17:56.297Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 12 23:08 cost [2022-07-12T23:17:56.297Z] -rw-r--r-- 1 jenkins jenkins 89 Jul 12 23:08 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-12T23:17:56.625Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T23:17:57.521Z] ---> package-listing.sh [2022-07-12T23:17:57.521Z] ++ facter osfamily [2022-07-12T23:17:57.521Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-12T23:17:57.782Z] + OS_FAMILY=debian [2022-07-12T23:17:57.782Z] + workspace=/w/workspace/oundry_device-rfid-llrp-go_PR-99 [2022-07-12T23:17:57.782Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-12T23:17:57.782Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-12T23:17:57.782Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-12T23:17:57.782Z] + PACKAGES=/tmp/packages_start.txt [2022-07-12T23:17:57.782Z] + '[' /w/workspace/oundry_device-rfid-llrp-go_PR-99 ']' [2022-07-12T23:17:57.782Z] + PACKAGES=/tmp/packages_end.txt [2022-07-12T23:17:57.782Z] + case "${OS_FAMILY}" in [2022-07-12T23:17:57.782Z] + dpkg -l [2022-07-12T23:17:57.782Z] + grep '^ii' [2022-07-12T23:17:57.782Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-12T23:17:57.782Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-12T23:17:57.782Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-12T23:17:57.782Z] + '[' /w/workspace/oundry_device-rfid-llrp-go_PR-99 ']' [2022-07-12T23:17:57.782Z] + mkdir -p /w/workspace/oundry_device-rfid-llrp-go_PR-99/archives/ [2022-07-12T23:17:57.782Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-rfid-llrp-go_PR-99/archives/ [Pipeline] echo [2022-07-12T23:17:57.816Z] 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/oundry_device-rfid-llrp-go_PR-99/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-12T23:17:58.110Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-12T23:17:58.735Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-12T23:17:58.735Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-12T23:17:58.882Z] prd-ubuntu20.04-docker-8c-8g-19788 does not seem to be running inside a container [2022-07-12T23:17:58.923Z] $ 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/oundry_device-rfid-llrp-go_PR-99/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-rfid-llrp-go_PR-99 -v /w/workspace/oundry_device-rfid-llrp-go_PR-99:/w/workspace/oundry_device-rfid-llrp-go_PR-99:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-99@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-99@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-07-12T23:17:59.134Z] $ docker top 96c516f3f5d5641720b23be2014386b9eb4b71a0bfbc050f8497417accf00549 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-12T23:17:59.532Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-12T23:17:59.850Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-12T23:18:00.167Z] + ls /var/log/sa-host [2022-07-12T23:18:00.167Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-12T23:18:00.290Z] provisioning config files... [2022-07-12T23:18:00.300Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-rfid-llrp-go_PR-99@tmp/config7642540504839036760tmp [Pipeline] { [Pipeline] echo [2022-07-12T23:18:00.356Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T23:18:00.670Z] ---> create-netrc.sh [Pipeline] } [2022-07-12T23:18:00.695Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-12T23:18:01.125Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-12T23:18:01.160Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T23:18:01.468Z] ---> sudo-logs.sh [2022-07-12T23:18:01.468Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-12T23:18:01.549Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T23:18:01.870Z] ---> job-cost.sh [2022-07-12T23:18:01.870Z] lf-activate-venv: SKIPPING [2022-07-12T23:18:01.870Z] DEBUG: total: 0.2199999988079071 [2022-07-12T23:18:01.870Z] INFO: Retrieving Stack Cost... [2022-07-12T23:18:02.442Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-12T23:18:02.704Z] INFO: Archiving Costs [Pipeline] echo [2022-07-12T23:18:02.737Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-12T23:18:03.049Z] ---> logs-deploy.sh [2022-07-12T23:18:03.049Z] lf-activate-venv: SKIPPING [2022-07-12T23:18:03.049Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rfid-llrp-go/PR-99/1 [2022-07-12T23:18:03.049Z] INFO: archiving workspace using pattern(s): [2022-07-12T23:18:03.990Z] Archives upload complete. [2022-07-12T23:18:03.990Z] INFO: archiving logs to Nexus