Pull request #114 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b6e312f2e2fb113173eb646621518d8acda51f6f+2fcd71071cefce79693aa6556d1fb916c9af044d (8db845d49dc7e8840bb67d3f18ef45c858f9f3da) 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-ssh14984315910737273720.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh16051100434421304337.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-114/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/app-rfid-llrp-inventory/branches/PR-114/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh878731998630133614.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-114/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3869505538213473820.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3337786373432820286.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-114/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/app-rfid-llrp-inventory/branches/PR-114/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10886360686561189754.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-rfid-llrp-inventory, 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: app-rfid-llrp-inventory-settings PROJECT: app-rfid-llrp-inventory 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: app-rfid-llrp-inventory 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 Running on prd-ubuntu20.04-docker-8c-8g-7519 in /w/workspace/y_app-rfid-llrp-inventory_PR-114 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git > git init /w/workspace/y_app-rfid-llrp-inventory_PR-114 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.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/app-rfid-llrp-inventory.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/114/head:refs/remotes/origin/PR-114 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2fcd71071cefce79693aa6556d1fb916c9af044d into PR head commit b6e312f2e2fb113173eb646621518d8acda51f6f Merge succeeded, producing b6e312f2e2fb113173eb646621518d8acda51f6f Checking out Revision b6e312f2e2fb113173eb646621518d8acda51f6f (PR-114) Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-10T13:34:31.466Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f b6e312f2e2fb113173eb646621518d8acda51f6f # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 2fcd71071cefce79693aa6556d1fb916c9af044d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b6e312f2e2fb113173eb646621518d8acda51f6f # timeout=10 [Pipeline] withCredentials [2022-10-10T13:34:31.630Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-10T13:34:31.732Z] ========================================================= [2022-10-10T13:34:31.732Z] EdgeX Global Pipelines Version Info [2022-10-10T13:34:31.732Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-10T13:34:32.476Z] ------------------- [2022-10-10T13:34:32.477Z] stable info: [2022-10-10T13:34:32.477Z] ------------------- [2022-10-10T13:34:32.477Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-10T13:34:32.477Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-10T13:34:32.477Z] Message: update stable to v1.0.239 [2022-10-10T13:34:33.046Z] ------------------- [2022-10-10T13:34:33.046Z] experimental info: [2022-10-10T13:34:33.046Z] ------------------- [2022-10-10T13:34:33.046Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-10T13:34:33.046Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-10T13:34:33.046Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-10T13:34:33.334Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo [2022-10-10T13:34:33.384Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo [2022-10-10T13:34:33.428Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-10T13:34:33.469Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-10T13:34:33.514Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-10T13:34:33.557Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-10T13:34:33.600Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-10T13:34:33.643Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-10T13:34:33.683Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-10T13:34:33.726Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-10T13:34:33.768Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-10T13:34:33.813Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo [2022-10-10T13:34:33.853Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-10T13:34:33.896Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-10T13:34:33.939Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-10T13:34:33.985Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-10T13:34:34.039Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-10T13:34:34.084Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-10T13:34:34.126Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-10T13:34:34.176Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-10T13:34:34.219Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-10T13:34:34.269Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-10T13:34:34.312Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-10T13:34:34.353Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-10T13:34:34.394Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-10T13:34:34.436Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-10T13:34:34.477Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-10T13:34:34.521Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-114 [Pipeline] echo [2022-10-10T13:34:34.564Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-114 [Pipeline] echo [2022-10-10T13:34:34.608Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-114 [Pipeline] echo [2022-10-10T13:34:34.650Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b6e312f2e2fb113173eb646621518d8acda51f6f [Pipeline] echo [2022-10-10T13:34:34.693Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b6e312f [Pipeline] echo [2022-10-10T13:34:34.735Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T13:34:34.853Z] provisioning config files... [2022-10-10T13:34:34.868Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-114@tmp/config16462175999274139612tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T13:34:35.214Z] ---> docker-login.sh [2022-10-10T13:34:35.214Z] nexus3.edgexfoundry.org:10001 [2022-10-10T13:34:35.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T13:34:35.740Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T13:34:35.740Z] Configure a credential helper to remove this warning. See [2022-10-10T13:34:35.740Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T13:34:35.740Z] [2022-10-10T13:34:35.740Z] Login Succeeded [2022-10-10T13:34:35.740Z] nexus3.edgexfoundry.org:10002 [2022-10-10T13:34:35.740Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T13:34:36.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T13:34:36.000Z] Configure a credential helper to remove this warning. See [2022-10-10T13:34:36.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T13:34:36.000Z] [2022-10-10T13:34:36.000Z] Login Succeeded [2022-10-10T13:34:36.000Z] nexus3.edgexfoundry.org:10003 [2022-10-10T13:34:36.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T13:34:36.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T13:34:36.000Z] Configure a credential helper to remove this warning. See [2022-10-10T13:34:36.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T13:34:36.000Z] [2022-10-10T13:34:36.000Z] Login Succeeded [2022-10-10T13:34:36.000Z] nexus3.edgexfoundry.org:10004 [2022-10-10T13:34:36.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T13:34:36.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T13:34:36.000Z] Configure a credential helper to remove this warning. See [2022-10-10T13:34:36.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T13:34:36.000Z] [2022-10-10T13:34:36.000Z] Login Succeeded [2022-10-10T13:34:36.000Z] docker.io [2022-10-10T13:34:36.265Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T13:34:36.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T13:34:36.526Z] Configure a credential helper to remove this warning. See [2022-10-10T13:34:36.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T13:34:36.526Z] [2022-10-10T13:34:36.526Z] Login Succeeded [2022-10-10T13:34:36.526Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T13:34:36.555Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-10T13:34:37.196Z] + git rev-list -1 --merges b6e312f2e2fb113173eb646621518d8acda51f6f~1..b6e312f2e2fb113173eb646621518d8acda51f6f [Pipeline] echo [2022-10-10T13:34:37.238Z] -----------> git rev-list -1 --merges b6e312f2e2fb113173eb646621518d8acda51f6f~1..b6e312f2e2fb113173eb646621518d8acda51f6f b6e312f2e2fb113173eb646621518d8acda51f6f [false] [Pipeline] sh [2022-10-10T13:34:37.547Z] + git log --format=format:%s -1 b6e312f2e2fb113173eb646621518d8acda51f6f [Pipeline] echo [2022-10-10T13:34:37.585Z] ========================================================= [2022-10-10T13:34:37.585Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-10T13:34:37.585Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-10T13:34:38.023Z] + git log --format=format:%s -1 b6e312f2e2fb113173eb646621518d8acda51f6f [Pipeline] echo [2022-10-10T13:34:38.055Z] [semverPrep] GIT_COMMIT: b6e312f2e2fb113173eb646621518d8acda51f6f, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2 [Pipeline] echo [2022-10-10T13:34:38.088Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-10T13:34:38.481Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-10T13:34:38.481Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-10T13:34:38.481Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-10T13:34:38.481Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-10T13:34:38.481Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-10T13:34:38.481Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-10T13:34:38.481Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T13:34:38.956Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-10T13:34:38.956Z] [2022-10-10T13:34:38.956Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T13:34:39.341Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-10T13:34:39.341Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-10T13:34:39.341Z] b85a868b505f: Pulling fs layer [2022-10-10T13:34:39.341Z] e2be974225ed: Pulling fs layer [2022-10-10T13:34:39.341Z] 339a4e72a1f5: Pulling fs layer [2022-10-10T13:34:39.341Z] 988bab9f4d93: Pulling fs layer [2022-10-10T13:34:39.341Z] 1469e6f7b9e6: Pulling fs layer [2022-10-10T13:34:39.341Z] eaf3925da568: Pulling fs layer [2022-10-10T13:34:39.341Z] bab4dde63d76: Pulling fs layer [2022-10-10T13:34:39.341Z] bde34c3a00c8: Pulling fs layer [2022-10-10T13:34:39.341Z] b352a97aabf1: Pulling fs layer [2022-10-10T13:34:39.341Z] 4872d77fe225: Pulling fs layer [2022-10-10T13:34:39.341Z] 5851b861e8e6: Pulling fs layer [2022-10-10T13:34:39.341Z] 4872d77fe225: Waiting [2022-10-10T13:34:39.341Z] 988bab9f4d93: Waiting [2022-10-10T13:34:39.341Z] 1469e6f7b9e6: Waiting [2022-10-10T13:34:39.341Z] eaf3925da568: Waiting [2022-10-10T13:34:39.341Z] bab4dde63d76: Waiting [2022-10-10T13:34:39.341Z] bde34c3a00c8: Waiting [2022-10-10T13:34:39.341Z] b352a97aabf1: Waiting [2022-10-10T13:34:39.341Z] 5851b861e8e6: Waiting [2022-10-10T13:34:39.341Z] e2be974225ed: Verifying Checksum [2022-10-10T13:34:39.341Z] e2be974225ed: Download complete [2022-10-10T13:34:39.341Z] 988bab9f4d93: Verifying Checksum [2022-10-10T13:34:39.341Z] 988bab9f4d93: Download complete [2022-10-10T13:34:39.602Z] 1469e6f7b9e6: Verifying Checksum [2022-10-10T13:34:39.602Z] 1469e6f7b9e6: Download complete [2022-10-10T13:34:39.602Z] 339a4e72a1f5: Verifying Checksum [2022-10-10T13:34:39.602Z] 339a4e72a1f5: Download complete [2022-10-10T13:34:39.602Z] eaf3925da568: Verifying Checksum [2022-10-10T13:34:39.602Z] eaf3925da568: Download complete [2022-10-10T13:34:39.602Z] bde34c3a00c8: Download complete [2022-10-10T13:34:39.602Z] b352a97aabf1: Verifying Checksum [2022-10-10T13:34:39.602Z] b352a97aabf1: Download complete [2022-10-10T13:34:39.602Z] 4872d77fe225: Download complete [2022-10-10T13:34:39.602Z] 5851b861e8e6: Verifying Checksum [2022-10-10T13:34:39.602Z] 5851b861e8e6: Download complete [2022-10-10T13:34:39.602Z] b85a868b505f: Verifying Checksum [2022-10-10T13:34:39.602Z] b85a868b505f: Download complete [2022-10-10T13:34:39.861Z] bab4dde63d76: Verifying Checksum [2022-10-10T13:34:39.861Z] bab4dde63d76: Download complete [2022-10-10T13:34:41.243Z] b85a868b505f: Pull complete [2022-10-10T13:34:41.243Z] e2be974225ed: Pull complete [2022-10-10T13:34:41.812Z] 339a4e72a1f5: Pull complete [2022-10-10T13:34:41.812Z] 988bab9f4d93: Pull complete [2022-10-10T13:34:42.074Z] 1469e6f7b9e6: Pull complete [2022-10-10T13:34:42.332Z] eaf3925da568: Pull complete [2022-10-10T13:34:44.250Z] bab4dde63d76: Pull complete [2022-10-10T13:34:44.250Z] bde34c3a00c8: Pull complete [2022-10-10T13:34:44.516Z] b352a97aabf1: Pull complete [2022-10-10T13:34:44.516Z] 4872d77fe225: Pull complete [2022-10-10T13:34:44.516Z] 5851b861e8e6: Pull complete [2022-10-10T13:34:44.516Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-10T13:34:44.516Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-10T13:34:44.516Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T13:34:44.735Z] prd-ubuntu20.04-docker-8c-8g-7519 does not seem to be running inside a container [2022-10-10T13:34:44.777Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/y_app-rfid-llrp-inventory_PR-114 -v /w/workspace/y_app-rfid-llrp-inventory_PR-114:/w/workspace/y_app-rfid-llrp-inventory_PR-114:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-114@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-114@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-10T13:34:48.552Z] $ docker top 004af33fa636f481c58b4c2310aba1a4746f6f59c4abc125cbc47d28671fae2c -eo pid,comm [2022-10-10T13:34:48.600Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-10-10T13:34:48.600Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-10T13:34:48.731Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-10T13:34:48.731Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-10T13:34:48.873Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-10T13:34:48.880Z] $ docker exec 004af33fa636f481c58b4c2310aba1a4746f6f59c4abc125cbc47d28671fae2c ssh-agent [2022-10-10T13:34:48.994Z] SSH_AUTH_SOCK=/tmp/ssh-cXQERXD1VZ1T/agent.32 [2022-10-10T13:34:48.994Z] SSH_AGENT_PID=38 [2022-10-10T13:34:49.000Z] Running ssh-add (command line suppressed) [2022-10-10T13:34:49.123Z] Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-114@tmp/private_key_10885097251432895372.key (/w/workspace/y_app-rfid-llrp-inventory_PR-114@tmp/private_key_10885097251432895372.key) [2022-10-10T13:34:49.135Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-10T13:34:49.466Z] + git tag --points-at HEAD [Pipeline] } [2022-10-10T13:34:49.497Z] $ docker exec --env ******** --env ******** 004af33fa636f481c58b4c2310aba1a4746f6f59c4abc125cbc47d28671fae2c ssh-agent -k [2022-10-10T13:34:49.597Z] unset SSH_AUTH_SOCK; [2022-10-10T13:34:49.598Z] unset SSH_AGENT_PID; [2022-10-10T13:34:49.598Z] echo Agent pid 38 killed; [2022-10-10T13:34:49.605Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-10T13:34:49.698Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-10T13:34:49.698Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-10T13:34:49.811Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-10T13:34:49.817Z] $ docker exec 004af33fa636f481c58b4c2310aba1a4746f6f59c4abc125cbc47d28671fae2c ssh-agent [2022-10-10T13:34:49.932Z] SSH_AUTH_SOCK=/tmp/ssh-49BacdA8NGsA/agent.70 [2022-10-10T13:34:49.932Z] SSH_AGENT_PID=76 [2022-10-10T13:34:49.937Z] Running ssh-add (command line suppressed) [2022-10-10T13:34:50.044Z] Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-114@tmp/private_key_1255814847282631573.key (/w/workspace/y_app-rfid-llrp-inventory_PR-114@tmp/private_key_1255814847282631573.key) [2022-10-10T13:34:50.055Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-10T13:34:50.387Z] + git semver init [2022-10-10T13:34:50.647Z] 2022-10-10 13:34:50,583 [run_init] DEBUG init version:0.0.0 force:False [2022-10-10T13:34:50.647Z] 2022-10-10 13:34:50,584 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/y_app-rfid-llrp-inventory_PR-114/.semver [2022-10-10T13:34:50.647Z] 2022-10-10 13:34:50,584 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/y_app-rfid-llrp-inventory_PR-114/.semver [2022-10-10T13:34:50.647Z] 2022-10-10 13:34:50,585 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/y_app-rfid-llrp-inventory_PR-114/.semver'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-114, universal_newlines=False, shell=None, istream=None) [2022-10-10T13:34:52.030Z] 2022-10-10 13:34:51,868 [append_file] DEBUG append to file:/w/workspace/y_app-rfid-llrp-inventory_PR-114/.git/info/exclude [2022-10-10T13:34:52.030Z] 2022-10-10 13:34:51,869 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/y_app-rfid-llrp-inventory_PR-114/.semver/PR-114 with force:False [2022-10-10T13:34:52.030Z] 2022-10-10 13:34:51,869 [write_file] DEBUG write to file:/w/workspace/y_app-rfid-llrp-inventory_PR-114/.semver/PR-114 [2022-10-10T13:34:52.030Z] 2022-10-10 13:34:51,873 [execute] INFO git cat-file --batch-check [2022-10-10T13:34:52.030Z] 2022-10-10 13:34:51,873 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-114/.semver, universal_newlines=False, shell=None, istream=) [2022-10-10T13:34:52.030Z] 2022-10-10 13:34:51,879 [execute] INFO git cat-file --batch [2022-10-10T13:34:52.030Z] 2022-10-10 13:34:51,879 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-114/.semver, universal_newlines=False, shell=None, istream=) [2022-10-10T13:34:52.030Z] 2022-10-10 13:34:51,884 [read_version] DEBUG read version from /w/workspace/y_app-rfid-llrp-inventory_PR-114/.semver/PR-114 [2022-10-10T13:34:52.030Z] 0.0.0 [Pipeline] } [2022-10-10T13:34:52.060Z] $ docker exec --env ******** --env ******** 004af33fa636f481c58b4c2310aba1a4746f6f59c4abc125cbc47d28671fae2c ssh-agent -k [2022-10-10T13:34:52.166Z] unset SSH_AUTH_SOCK; [2022-10-10T13:34:52.166Z] unset SSH_AGENT_PID; [2022-10-10T13:34:52.166Z] echo Agent pid 76 killed; [2022-10-10T13:34:52.174Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-10T13:34:52.586Z] + git semver [Pipeline] } [2022-10-10T13:34:52.875Z] $ docker stop --time=1 004af33fa636f481c58b4c2310aba1a4746f6f59c4abc125cbc47d28671fae2c [2022-10-10T13:34:54.227Z] $ docker rm -f 004af33fa636f481c58b4c2310aba1a4746f6f59c4abc125cbc47d28671fae2c [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-10T13:34:54.635Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-10T13:34:54.892Z] Stashed 1 file(s) [Pipeline] echo [2022-10-10T13:34:54.911Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T13:34:55.533Z] provisioning config files... [2022-10-10T13:34:55.543Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-114@tmp/config6811633975791372729tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T13:34:55.877Z] ---> docker-login.sh [2022-10-10T13:34:55.877Z] nexus3.edgexfoundry.org:10001 [2022-10-10T13:34:55.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T13:34:55.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T13:34:55.877Z] Configure a credential helper to remove this warning. See [2022-10-10T13:34:55.877Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T13:34:55.877Z] [2022-10-10T13:34:55.877Z] Login Succeeded [2022-10-10T13:34:55.877Z] nexus3.edgexfoundry.org:10002 [2022-10-10T13:34:55.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T13:34:55.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T13:34:55.877Z] Configure a credential helper to remove this warning. See [2022-10-10T13:34:55.877Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T13:34:55.877Z] [2022-10-10T13:34:55.877Z] Login Succeeded [2022-10-10T13:34:55.877Z] nexus3.edgexfoundry.org:10003 [2022-10-10T13:34:56.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T13:34:56.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T13:34:56.138Z] Configure a credential helper to remove this warning. See [2022-10-10T13:34:56.138Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T13:34:56.138Z] [2022-10-10T13:34:56.138Z] Login Succeeded [2022-10-10T13:34:56.138Z] nexus3.edgexfoundry.org:10004 [2022-10-10T13:34:56.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T13:34:56.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T13:34:56.138Z] Configure a credential helper to remove this warning. See [2022-10-10T13:34:56.138Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T13:34:56.138Z] [2022-10-10T13:34:56.138Z] Login Succeeded [2022-10-10T13:34:56.138Z] docker.io [2022-10-10T13:34:56.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T13:34:56.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T13:34:56.707Z] Configure a credential helper to remove this warning. See [2022-10-10T13:34:56.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T13:34:56.707Z] [2022-10-10T13:34:56.707Z] Login Succeeded [2022-10-10T13:34:56.707Z] ---> docker-login.sh ends [Pipeline] } [2022-10-10T13:34:56.739Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-10T13:34:56.946Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T13:34:56.987Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T13:34:57.023Z] ========================================================= [2022-10-10T13:34:57.023Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-10T13:34:57.023Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T13:34:57.497Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-10T13:34:57.497Z] Sending build context to Docker daemon 12.5MB [2022-10-10T13:34:57.497Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T13:34:57.497Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-10T13:34:57.497Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-10T13:34:57.497Z] 2408cc74d12b: Pulling fs layer [2022-10-10T13:34:57.497Z] ea60b727a1ce: Pulling fs layer [2022-10-10T13:34:57.497Z] 30c4a7721957: Pulling fs layer [2022-10-10T13:34:57.497Z] 370296b7ddb6: Pulling fs layer [2022-10-10T13:34:57.497Z] 7c6cee850709: Pulling fs layer [2022-10-10T13:34:57.497Z] aa9baa53a306: Pulling fs layer [2022-10-10T13:34:57.497Z] 8b309c321861: Pulling fs layer [2022-10-10T13:34:57.497Z] d8d76fd02f46: Pulling fs layer [2022-10-10T13:34:57.497Z] fa31f396de31: Pulling fs layer [2022-10-10T13:34:57.497Z] 370296b7ddb6: Waiting [2022-10-10T13:34:57.497Z] 7c6cee850709: Waiting [2022-10-10T13:34:57.497Z] aa9baa53a306: Waiting [2022-10-10T13:34:57.497Z] 8b309c321861: Waiting [2022-10-10T13:34:57.497Z] d8d76fd02f46: Waiting [2022-10-10T13:34:57.759Z] 30c4a7721957: Verifying Checksum [2022-10-10T13:34:57.759Z] 30c4a7721957: Download complete [2022-10-10T13:34:57.759Z] ea60b727a1ce: Verifying Checksum [2022-10-10T13:34:57.759Z] ea60b727a1ce: Download complete [2022-10-10T13:34:57.759Z] 7c6cee850709: Verifying Checksum [2022-10-10T13:34:57.759Z] 7c6cee850709: Download complete [2022-10-10T13:34:57.759Z] aa9baa53a306: Verifying Checksum [2022-10-10T13:34:57.759Z] aa9baa53a306: Download complete [2022-10-10T13:34:57.759Z] 2408cc74d12b: Verifying Checksum [2022-10-10T13:34:57.759Z] 2408cc74d12b: Download complete [2022-10-10T13:34:57.759Z] 8b309c321861: Verifying Checksum [2022-10-10T13:34:57.759Z] 8b309c321861: Download complete [2022-10-10T13:34:57.759Z] 2408cc74d12b: Pull complete [2022-10-10T13:34:58.026Z] ea60b727a1ce: Pull complete [2022-10-10T13:34:58.026Z] 30c4a7721957: Pull complete [2022-10-10T13:34:58.286Z] fa31f396de31: Verifying Checksum [2022-10-10T13:34:58.286Z] fa31f396de31: Download complete [2022-10-10T13:34:58.286Z] d8d76fd02f46: Verifying Checksum [2022-10-10T13:34:58.286Z] d8d76fd02f46: Download complete [2022-10-10T13:34:58.543Z] 370296b7ddb6: Verifying Checksum [2022-10-10T13:34:58.543Z] 370296b7ddb6: Download complete [2022-10-10T13:35:02.722Z] 370296b7ddb6: Pull complete [2022-10-10T13:35:02.723Z] 7c6cee850709: Pull complete [2022-10-10T13:35:02.723Z] aa9baa53a306: Pull complete [2022-10-10T13:35:02.723Z] 8b309c321861: Pull complete [2022-10-10T13:35:04.620Z] d8d76fd02f46: Pull complete [2022-10-10T13:35:05.579Z] fa31f396de31: Pull complete [2022-10-10T13:35:05.579Z] Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a [2022-10-10T13:35:05.579Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-10T13:35:05.579Z] ---> cef68f9685f8 [2022-10-10T13:35:05.579Z] Step 3/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-10-10T13:35:10.348Z] Still waiting to schedule task [2022-10-10T13:35:10.348Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-10-10T13:35:12.184Z] ---> Running in b06f2a0293a7 [2022-10-10T13:35:12.184Z] Removing intermediate container b06f2a0293a7 [2022-10-10T13:35:12.184Z] ---> c531f6e15d41 [2022-10-10T13:35:12.184Z] Step 4/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T13:35:12.184Z] ---> Running in c7f916f6cf38 [2022-10-10T13:35:12.184Z] Removing intermediate container c7f916f6cf38 [2022-10-10T13:35:12.184Z] ---> 9d2c783c31fc [2022-10-10T13:35:12.184Z] Step 5/14 : ARG ADD_BUILD_TAGS="" [2022-10-10T13:35:12.184Z] ---> Running in c037c974ca8e [2022-10-10T13:35:12.184Z] Removing intermediate container c037c974ca8e [2022-10-10T13:35:12.184Z] ---> 5d3c6432c2a6 [2022-10-10T13:35:12.184Z] Step 6/14 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-10T13:35:12.184Z] ---> Running in 04ca9b6e2f3d [2022-10-10T13:35:12.443Z] Removing intermediate container 04ca9b6e2f3d [2022-10-10T13:35:12.443Z] ---> 29beb208873b [2022-10-10T13:35:12.443Z] Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T13:35:12.703Z] ---> Running in 7e09bf88cde7 [2022-10-10T13:35:14.652Z] Removing intermediate container 7e09bf88cde7 [2022-10-10T13:35:14.652Z] ---> 5b4ea9cabba4 [2022-10-10T13:35:14.652Z] Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T13:35:14.652Z] ---> Running in cc727c9602b3 [2022-10-10T13:35:14.912Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-10T13:35:15.848Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-10T13:35:16.108Z] OK: 211 MiB in 51 packages [2022-10-10T13:35:16.675Z] Removing intermediate container cc727c9602b3 [2022-10-10T13:35:16.675Z] ---> 2286243a9b96 [2022-10-10T13:35:16.675Z] Step 9/14 : WORKDIR /app [2022-10-10T13:35:16.675Z] ---> Running in bf1a95b9ef89 [2022-10-10T13:35:16.676Z] Removing intermediate container bf1a95b9ef89 [2022-10-10T13:35:16.676Z] ---> f5a2d5a11d7f [2022-10-10T13:35:16.676Z] Step 10/14 : COPY go.mod vendor* ./ [2022-10-10T13:35:16.935Z] ---> 39a6b30ebf4b [2022-10-10T13:35:16.936Z] Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T13:35:16.936Z] ---> Running in 801a6475f256 [2022-10-10T13:35:55.788Z] Removing intermediate container 801a6475f256 [2022-10-10T13:35:55.788Z] ---> 515e6f663128 [2022-10-10T13:35:55.788Z] Step 12/14 : COPY . . [2022-10-10T13:35:55.788Z] ---> b8c3a4fb5830 [2022-10-10T13:35:55.788Z] Step 13/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T13:35:55.788Z] ---> Running in 55f78d0f1896 [2022-10-10T13:35:55.788Z] Removing intermediate container 55f78d0f1896 [2022-10-10T13:35:55.788Z] ---> f92d3c2573e6 [2022-10-10T13:35:55.788Z] Step 14/14 : RUN $MAKE [2022-10-10T13:35:55.788Z] ---> Running in 7863a60d2052 [2022-10-10T13:35:55.788Z] noop [2022-10-10T13:35:55.788Z] Removing intermediate container 7863a60d2052 [2022-10-10T13:35:55.788Z] ---> 7ee170a39fdc [2022-10-10T13:35:55.788Z] Successfully built 7ee170a39fdc [2022-10-10T13:35:55.788Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T13:35:56.238Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-10T13:35:56.238Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T13:35:56.384Z] prd-ubuntu20.04-docker-8c-8g-7519 does not seem to be running inside a container [2022-10-10T13:35:56.427Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/y_app-rfid-llrp-inventory_PR-114 -v /w/workspace/y_app-rfid-llrp-inventory_PR-114:/w/workspace/y_app-rfid-llrp-inventory_PR-114:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-114@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-114@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-10T13:35:56.834Z] $ docker top 12fb831edb61e2790cb0cbd0aa1eee1722da769fa3e7cc745fd8bd955a78e4a0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T13:35:57.225Z] + go version [2022-10-10T13:35:57.225Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-10-10T13:35:57.264Z] $ docker stop --time=1 12fb831edb61e2790cb0cbd0aa1eee1722da769fa3e7cc745fd8bd955a78e4a0 [2022-10-10T13:35:58.563Z] $ docker rm -f 12fb831edb61e2790cb0cbd0aa1eee1722da769fa3e7cc745fd8bd955a78e4a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T13:35:59.270Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-10T13:35:59.270Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T13:35:59.410Z] prd-ubuntu20.04-docker-8c-8g-7519 does not seem to be running inside a container [2022-10-10T13:35:59.447Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/y_app-rfid-llrp-inventory_PR-114 -v /w/workspace/y_app-rfid-llrp-inventory_PR-114:/w/workspace/y_app-rfid-llrp-inventory_PR-114:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-114@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-114@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-10T13:35:59.814Z] $ docker top 76c0c03a39d907335c87aa477484287297f3ca5b201d274c2d0bd05c20d43858 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T13:36:00.230Z] + git config --global --add safe.directory /w/workspace/y_app-rfid-llrp-inventory_PR-114 [Pipeline] fileExists [Pipeline] sh [2022-10-10T13:36:00.587Z] + make test [2022-10-10T13:36:00.587Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-10T13:36:12.786Z] ? edgexfoundry/app-rfid-llrp-inventory [no test files] [2022-10-10T13:36:12.786Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.060s coverage: 86.2% of statements [2022-10-10T13:36:12.786Z] ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] [2022-10-10T13:36:13.724Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.551s coverage: 71.9% of statements [2022-10-10T13:36:21.840Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-10T13:36:21.840Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-10T13:36:25.122Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-10T13:36:25.122Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-10T13:36:25.122Z] ./bin/test-attribution.sh [Pipeline] echo [2022-10-10T13:36:25.157Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-10T13:36:25.188Z] $ docker stop --time=1 76c0c03a39d907335c87aa477484287297f3ca5b201d274c2d0bd05c20d43858 [2022-10-10T13:36:28.714Z] $ docker rm -f 76c0c03a39d907335c87aa477484287297f3ca5b201d274c2d0bd05c20d43858 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-10T13:36:29.203Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-10T13:36:29.325Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-10T13:36:30.064Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-10T13:36:30.395Z] + ls -al . [2022-10-10T13:36:30.395Z] total 232 [2022-10-10T13:36:30.395Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 10 13:36 . [2022-10-10T13:36:30.395Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 13:34 .. [2022-10-10T13:36:30.395Z] -rw-rw-r-- 1 jenkins jenkins 262 Oct 10 13:34 .dockerignore [2022-10-10T13:36:30.395Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 13:36 .git [2022-10-10T13:36:30.395Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 13:34 .github [2022-10-10T13:36:30.395Z] -rw-rw-r-- 1 jenkins jenkins 788 Oct 10 13:34 .gitignore [2022-10-10T13:36:30.395Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 13:34 .golangci.yml [2022-10-10T13:36:30.395Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 13:34 .semver [2022-10-10T13:36:30.395Z] -rw-rw-r-- 1 jenkins jenkins 9922 Oct 10 13:34 Attribution.txt [2022-10-10T13:36:30.395Z] -rw-rw-r-- 1 jenkins jenkins 2487 Oct 10 13:34 CHANGELOG.md [2022-10-10T13:36:30.395Z] -rw-rw-r-- 1 jenkins jenkins 1993 Oct 10 13:34 Dockerfile [2022-10-10T13:36:30.395Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 13:34 GOVERNANCE.md [2022-10-10T13:36:30.395Z] -rw-rw-r-- 1 jenkins jenkins 687 Oct 10 13:34 Jenkinsfile [2022-10-10T13:36:30.395Z] -rw-rw-r-- 1 jenkins jenkins 11347 Oct 10 13:34 LICENSE [2022-10-10T13:36:30.395Z] -rw-rw-r-- 1 jenkins jenkins 3163 Oct 10 13:34 Makefile [2022-10-10T13:36:30.395Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 10 13:34 OWNERS.md [2022-10-10T13:36:30.395Z] -rw-rw-r-- 1 jenkins jenkins 31023 Oct 10 13:34 README.md [2022-10-10T13:36:30.395Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 13:34 VERSION [2022-10-10T13:36:30.395Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 13:34 bin [2022-10-10T13:36:30.395Z] -rw-r--r-- 1 jenkins jenkins 41008 Oct 10 13:36 coverage.out [2022-10-10T13:36:30.395Z] -rw-rw-r-- 1 jenkins jenkins 3657 Oct 10 13:34 go.mod [2022-10-10T13:36:30.395Z] -rw-rw-r-- 1 jenkins jenkins 38018 Oct 10 13:34 go.sum [2022-10-10T13:36:30.395Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 13:34 images [2022-10-10T13:36:30.395Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 13:34 internal [2022-10-10T13:36:30.395Z] -rw-rw-r-- 1 jenkins jenkins 531 Oct 10 13:34 main.go [2022-10-10T13:36:30.395Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 13:34 res [2022-10-10T13:36:30.395Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 13:34 snap [2022-10-10T13:36:30.395Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 13:34 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T13:36:30.808Z] + docker build -t app-rfid-llrp-inventory -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=b6e312f2e2fb113173eb646621518d8acda51f6f --label arch=amd64 --label version=0.0.0 . [2022-10-10T13:36:30.808Z] Sending build context to Docker daemon 12.5MB [2022-10-10T13:36:30.808Z] Step 1/32 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T13:36:30.808Z] Step 2/32 : FROM ${BASE} AS builder [2022-10-10T13:36:30.808Z] ---> 7ee170a39fdc [2022-10-10T13:36:30.808Z] Step 3/32 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-10-10T13:36:31.068Z] ---> Running in 3175e23972c3 [2022-10-10T13:36:31.068Z] Removing intermediate container 3175e23972c3 [2022-10-10T13:36:31.068Z] ---> c17d9a77117b [2022-10-10T13:36:31.068Z] Step 4/32 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T13:36:31.068Z] ---> Running in fb9c5494a63d [2022-10-10T13:36:31.068Z] Removing intermediate container fb9c5494a63d [2022-10-10T13:36:31.068Z] ---> f1a67b2ab5d8 [2022-10-10T13:36:31.068Z] Step 5/32 : ARG ADD_BUILD_TAGS="" [2022-10-10T13:36:31.329Z] ---> Running in 7b80a8714434 [2022-10-10T13:36:31.329Z] Removing intermediate container 7b80a8714434 [2022-10-10T13:36:31.329Z] ---> 1ef15679f3dd [2022-10-10T13:36:31.329Z] Step 6/32 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-10T13:36:31.329Z] ---> Running in b822097c6b34 [2022-10-10T13:36:31.329Z] Removing intermediate container b822097c6b34 [2022-10-10T13:36:31.329Z] ---> 9dfca24ef916 [2022-10-10T13:36:31.329Z] Step 7/32 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T13:36:31.329Z] ---> Running in b5376b9838d7 [2022-10-10T13:36:31.896Z] Removing intermediate container b5376b9838d7 [2022-10-10T13:36:31.896Z] ---> 70b38f022a62 [2022-10-10T13:36:31.896Z] Step 8/32 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T13:36:31.896Z] ---> Running in 9e6b252da16a [2022-10-10T13:36:32.466Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-10T13:36:33.035Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-10T13:36:33.605Z] OK: 211 MiB in 51 packages [2022-10-10T13:36:33.865Z] Removing intermediate container 9e6b252da16a [2022-10-10T13:36:33.865Z] ---> 8d736056469d [2022-10-10T13:36:33.865Z] Step 9/32 : WORKDIR /app [2022-10-10T13:36:33.865Z] ---> Running in ce56733141e4 [2022-10-10T13:36:33.865Z] Removing intermediate container ce56733141e4 [2022-10-10T13:36:33.865Z] ---> 81a003dcd864 [2022-10-10T13:36:33.865Z] Step 10/32 : COPY go.mod vendor* ./ [2022-10-10T13:36:34.125Z] ---> 765ecd0d9d9e [2022-10-10T13:36:34.125Z] Step 11/32 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T13:36:34.125Z] ---> Running in d825a2bbaad5 [2022-10-10T13:36:35.112Z] Removing intermediate container d825a2bbaad5 [2022-10-10T13:36:35.112Z] ---> c3807b54e437 [2022-10-10T13:36:35.112Z] Step 12/32 : COPY . . [2022-10-10T13:36:35.804Z] ---> 15bcd578fac7 [2022-10-10T13:36:35.804Z] Step 13/32 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T13:36:35.804Z] ---> Running in a29c79fb575d [2022-10-10T13:36:36.063Z] Removing intermediate container a29c79fb575d [2022-10-10T13:36:36.063Z] ---> 35aba2a93a1e [2022-10-10T13:36:36.063Z] Step 14/32 : RUN $MAKE [2022-10-10T13:36:36.322Z] ---> Running in 2a4e9441f206 [2022-10-10T13:36:36.891Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.3.0-dev.47 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0 -X edgexfoundry/app-rfid-llrp-inventory.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o app-rfid-llrp-inventory [2022-10-10T13:36:43.705Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7520 in /w/workspace/y_app-rfid-llrp-inventory_PR-114 [Pipeline] { [Pipeline] ws [2022-10-10T13:36:43.747Z] Running in /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] { [Pipeline] checkout [2022-10-10T13:36:43.824Z] The recommended git tool is: git [2022-10-10T13:36:48.898Z] using credential edgex-jenkins-ssh [2022-10-10T13:36:48.914Z] Cloning the remote Git repository [2022-10-10T13:36:48.957Z] Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2022-10-10T13:36:49.031Z] > git init /w/workspace/app-rfid-llrp-inventory/1 # timeout=10 [2022-10-10T13:36:49.171Z] Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2022-10-10T13:36:49.172Z] > git --version # timeout=10 [2022-10-10T13:36:49.193Z] > git --version # 'git version 2.25.1' [2022-10-10T13:36:49.195Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-10T13:36:49.243Z] Verifying host key using known hosts file [2022-10-10T13:36:49.456Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-10T13:36:49.471Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-10T13:36:51.562Z] > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 [2022-10-10T13:36:51.591Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-10T13:36:52.379Z] > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 [2022-10-10T13:36:52.413Z] Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2022-10-10T13:36:52.413Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-10T13:36:52.418Z] Verifying host key using known hosts file [2022-10-10T13:36:52.424Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-10T13:36:52.436Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/114/head:refs/remotes/origin/PR-114 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-10T13:36:52.923Z] Merging remotes/origin/main commit 2fcd71071cefce79693aa6556d1fb916c9af044d into PR head commit b6e312f2e2fb113173eb646621518d8acda51f6f [2022-10-10T13:36:53.155Z] Merge succeeded, producing b6e312f2e2fb113173eb646621518d8acda51f6f [2022-10-10T13:36:53.155Z] Checking out Revision b6e312f2e2fb113173eb646621518d8acda51f6f (PR-114) [2022-10-10T13:36:53.649Z] Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v2" [2022-10-10T13:36:53.698Z] > git --version # timeout=10 [2022-10-10T13:36:53.710Z] > git --version # 'git version 2.25.1' [2022-10-10T13:36:53.736Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-10-10T13:36:52.936Z] > git config core.sparsecheckout # timeout=10 [2022-10-10T13:36:52.955Z] > git checkout -f b6e312f2e2fb113173eb646621518d8acda51f6f # timeout=10 [2022-10-10T13:36:53.046Z] > git remote # timeout=10 [2022-10-10T13:36:53.065Z] > git config --get remote.origin.url # timeout=10 [2022-10-10T13:36:53.088Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-10T13:36:53.093Z] Verifying host key using known hosts file [2022-10-10T13:36:53.099Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-10T13:36:53.111Z] > git merge 2fcd71071cefce79693aa6556d1fb916c9af044d # timeout=10 [2022-10-10T13:36:53.135Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-10T13:36:53.157Z] > git config core.sparsecheckout # timeout=10 [2022-10-10T13:36:53.174Z] > git checkout -f b6e312f2e2fb113173eb646621518d8acda51f6f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-10T13:36:54.843Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-10T13:36:54.843Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-10T13:36:54.843Z] Dload Upload Total Spent Left Speed [2022-10-10T13:36:54.843Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 99228 0 --:--:-- --:--:-- --:--:-- 97k [Pipeline] sh [2022-10-10T13:36:55.405Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-10T13:36:55.747Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-10T13:36:55.747Z] + sudo tee /etc/docker/daemon.new [2022-10-10T13:36:55.747Z] { [2022-10-10T13:36:55.747Z] "registry-mirrors": [ [2022-10-10T13:36:55.747Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-10T13:36:55.747Z] ], [2022-10-10T13:36:55.747Z] "bip": "10.250.0.254/24", [2022-10-10T13:36:55.747Z] "hosts": [ [2022-10-10T13:36:55.747Z] "tcp://0.0.0.0:5555", [2022-10-10T13:36:55.747Z] "unix:///var/run/docker.sock" [2022-10-10T13:36:55.747Z] ], [2022-10-10T13:36:55.747Z] "mtu": 1458, [2022-10-10T13:36:55.747Z] "selinux-enabled": true, [2022-10-10T13:36:55.747Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-10T13:36:55.747Z] } [Pipeline] sh [2022-10-10T13:36:56.087Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-10T13:36:56.435Z] + sudo service docker restart [2022-10-10T13:37:03.421Z] Removing intermediate container 2a4e9441f206 [2022-10-10T13:37:03.421Z] ---> 0de7a094ff4b [2022-10-10T13:37:03.421Z] Step 15/32 : FROM alpine:3.14 [2022-10-10T13:37:03.421Z] 3.14: Pulling from library/alpine [2022-10-10T13:37:03.421Z] c7ed990a2339: Pulling fs layer [2022-10-10T13:37:03.421Z] c7ed990a2339: Verifying Checksum [2022-10-10T13:37:03.421Z] c7ed990a2339: Download complete [2022-10-10T13:37:03.421Z] c7ed990a2339: Pull complete [2022-10-10T13:37:03.421Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-10-10T13:37:03.421Z] Status: Downloaded newer image for alpine:3.14 [2022-10-10T13:37:03.421Z] ---> dd53f409bf0b [2022-10-10T13:37:03.421Z] Step 16/32 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-10T13:37:03.421Z] ---> Running in 4eaf136cda5d [2022-10-10T13:37:03.421Z] Removing intermediate container 4eaf136cda5d [2022-10-10T13:37:03.421Z] ---> 989dd0fa489d [2022-10-10T13:37:03.421Z] Step 17/32 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} [2022-10-10T13:37:03.421Z] ---> Running in 432ef8369d00 [2022-10-10T13:37:03.421Z] Removing intermediate container 432ef8369d00 [2022-10-10T13:37:03.421Z] ---> 58d86e198bb2 [2022-10-10T13:37:03.421Z] Step 18/32 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T13:37:03.421Z] ---> Running in 3e7956bfcae5 [2022-10-10T13:37:03.421Z] Removing intermediate container 3e7956bfcae5 [2022-10-10T13:37:03.421Z] ---> 192976a8370d [2022-10-10T13:37:03.421Z] Step 19/32 : RUN apk --no-cache add ca-certificates zeromq dumb-init [2022-10-10T13:37:03.421Z] ---> Running in 23d20ece6360 [2022-10-10T13:37:03.421Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-10-10T13:37:03.421Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-10-10T13:37:03.680Z] (1/7) Installing ca-certificates (20220614-r0) [2022-10-10T13:37:03.680Z] (2/7) Installing dumb-init (1.2.5-r1) [2022-10-10T13:37:03.680Z] (3/7) Installing libgcc (10.3.1_git20210424-r2) [2022-10-10T13:37:03.939Z] (4/7) Installing libsodium (1.0.18-r0) [2022-10-10T13:37:03.939Z] (5/7) Installing libstdc++ (10.3.1_git20210424-r2) [2022-10-10T13:37:03.939Z] (6/7) Installing libzmq (4.3.4-r0) [2022-10-10T13:37:04.198Z] (7/7) Installing zeromq (4.3.4-r0) [2022-10-10T13:37:04.198Z] Executing busybox-1.33.1-r8.trigger [2022-10-10T13:37:04.198Z] Executing ca-certificates-20220614-r0.trigger [2022-10-10T13:37:04.198Z] OK: 9 MiB in 21 packages [2022-10-10T13:37:04.767Z] Removing intermediate container 23d20ece6360 [2022-10-10T13:37:04.767Z] ---> eeee20f3da04 [2022-10-10T13:37:04.767Z] Step 20/32 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2022-10-10T13:37:05.337Z] ---> 6ac831e9ff68 [2022-10-10T13:37:05.337Z] Step 21/32 : COPY --from=builder /app/LICENSE /LICENSE [2022-10-10T13:37:05.597Z] ---> b998b0805d32 [2022-10-10T13:37:05.597Z] Step 22/32 : COPY --from=builder /app/res/ /res/ [2022-10-10T13:37:05.597Z] ---> 30284a0bc914 [2022-10-10T13:37:05.597Z] Step 23/32 : COPY --from=builder /app/static/ /static/ [2022-10-10T13:37:05.855Z] ---> 605121c90392 [2022-10-10T13:37:05.855Z] Step 24/32 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory [2022-10-10T13:37:06.789Z] ---> 6ead3c8c3333 [2022-10-10T13:37:06.789Z] Step 25/32 : RUN mkdir -p /cache && chown -R 2002:2002 /cache [2022-10-10T13:37:06.789Z] ---> Running in 23244aa5eedc [2022-10-10T13:37:07.355Z] Removing intermediate container 23244aa5eedc [2022-10-10T13:37:07.355Z] ---> 3b35ed99fefd [2022-10-10T13:37:07.355Z] Step 26/32 : VOLUME /cache [2022-10-10T13:37:07.355Z] ---> Running in ed9f88b4d7ef [2022-10-10T13:37:07.615Z] Removing intermediate container ed9f88b4d7ef [2022-10-10T13:37:07.615Z] ---> 01c548b90d37 [2022-10-10T13:37:07.615Z] Step 27/32 : EXPOSE 59711 [2022-10-10T13:37:07.615Z] ---> Running in 27fb46d259f6 [2022-10-10T13:37:07.615Z] Removing intermediate container 27fb46d259f6 [2022-10-10T13:37:07.615Z] ---> 6119359cbb90 [2022-10-10T13:37:07.615Z] Step 28/32 : ENTRYPOINT ["/app-rfid-llrp-inventory"] [2022-10-10T13:37:07.615Z] ---> Running in 76f07febca88 [2022-10-10T13:37:07.615Z] Removing intermediate container 76f07febca88 [2022-10-10T13:37:07.615Z] ---> d175a745560d [2022-10-10T13:37:07.615Z] Step 29/32 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] [2022-10-10T13:37:07.615Z] ---> Running in b50b9eaab1b2 [2022-10-10T13:37:07.873Z] Removing intermediate container b50b9eaab1b2 [2022-10-10T13:37:07.873Z] ---> c821577e61ec [2022-10-10T13:37:07.873Z] Step 30/32 : LABEL arch=amd64 [2022-10-10T13:37:07.873Z] ---> Running in 781cf3b46f22 [2022-10-10T13:37:07.873Z] Removing intermediate container 781cf3b46f22 [2022-10-10T13:37:07.873Z] ---> a21179669f82 [2022-10-10T13:37:07.873Z] Step 31/32 : LABEL git_sha=b6e312f2e2fb113173eb646621518d8acda51f6f [2022-10-10T13:37:07.873Z] ---> Running in 6ac9b8d8daf9 [2022-10-10T13:37:07.873Z] Removing intermediate container 6ac9b8d8daf9 [2022-10-10T13:37:07.873Z] ---> 33ef2c992ec6 [2022-10-10T13:37:07.873Z] Step 32/32 : LABEL version=0.0.0 [2022-10-10T13:37:08.130Z] ---> Running in 3c033b30b74a [2022-10-10T13:37:08.130Z] Removing intermediate container 3c033b30b74a [2022-10-10T13:37:08.130Z] ---> 65637d4a0755 [2022-10-10T13:37:08.130Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-10T13:37:08.130Z] Successfully built 65637d4a0755 [2022-10-10T13:37:08.130Z] Successfully tagged app-rfid-llrp-inventory:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T13:37:08.934Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T13:37:08.934Z] [2022-10-10T13:37:08.934Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T13:37:09.313Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T13:37:09.313Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-10T13:37:09.313Z] 5eb5b503b376: Pulling fs layer [2022-10-10T13:37:09.313Z] 5c69ac0246d0: Pulling fs layer [2022-10-10T13:37:09.313Z] ec43610c2a17: Pulling fs layer [2022-10-10T13:37:09.313Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-10T13:37:09.313Z] 33b1e0a273af: Pulling fs layer [2022-10-10T13:37:09.313Z] 5d3b04190fa2: Pulling fs layer [2022-10-10T13:37:09.313Z] 2f39f015ded8: Pulling fs layer [2022-10-10T13:37:09.313Z] 33b1e0a273af: Waiting [2022-10-10T13:37:09.313Z] 5d3b04190fa2: Waiting [2022-10-10T13:37:09.313Z] 2f39f015ded8: Waiting [2022-10-10T13:37:09.313Z] 3a2ae6a8a46f: Waiting [2022-10-10T13:37:09.313Z] 5c69ac0246d0: Download complete [2022-10-10T13:37:09.313Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-10T13:37:09.313Z] 3a2ae6a8a46f: Download complete [2022-10-10T13:37:09.573Z] 33b1e0a273af: Verifying Checksum [2022-10-10T13:37:09.573Z] 33b1e0a273af: Download complete [2022-10-10T13:37:09.573Z] 5d3b04190fa2: Verifying Checksum [2022-10-10T13:37:09.573Z] 5d3b04190fa2: Download complete [2022-10-10T13:37:09.573Z] ec43610c2a17: Verifying Checksum [2022-10-10T13:37:09.573Z] ec43610c2a17: Download complete [2022-10-10T13:37:09.573Z] 5eb5b503b376: Download complete [2022-10-10T13:37:10.507Z] 2f39f015ded8: Verifying Checksum [2022-10-10T13:37:10.507Z] 2f39f015ded8: Download complete [2022-10-10T13:37:11.072Z] 5eb5b503b376: Pull complete [2022-10-10T13:37:11.072Z] 5c69ac0246d0: Pull complete [2022-10-10T13:37:11.640Z] ec43610c2a17: Pull complete [2022-10-10T13:37:11.640Z] 3a2ae6a8a46f: Pull complete [2022-10-10T13:37:11.897Z] 33b1e0a273af: Pull complete [2022-10-10T13:37:11.897Z] 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T13:37:14.738Z] provisioning config files... [2022-10-10T13:37:14.766Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/1@tmp/config3470271328924034514tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T13:37:15.154Z] ---> docker-login.sh [2022-10-10T13:37:15.154Z] nexus3.edgexfoundry.org:10001 [2022-10-10T13:37:15.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T13:37:15.742Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T13:37:15.742Z] Configure a credential helper to remove this warning. See [2022-10-10T13:37:15.742Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T13:37:15.742Z] [2022-10-10T13:37:15.742Z] Login Succeeded [2022-10-10T13:37:15.742Z] nexus3.edgexfoundry.org:10002 [2022-10-10T13:37:16.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T13:37:16.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T13:37:16.011Z] Configure a credential helper to remove this warning. See [2022-10-10T13:37:16.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T13:37:16.011Z] [2022-10-10T13:37:16.011Z] Login Succeeded [2022-10-10T13:37:16.011Z] nexus3.edgexfoundry.org:10003 [2022-10-10T13:37:16.083Z] 2f39f015ded8: Pull complete [2022-10-10T13:37:16.083Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-10T13:37:16.083Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T13:37:16.083Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T13:37:16.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T13:37:16.314Z] prd-ubuntu20.04-docker-8c-8g-7519 does not seem to be running inside a container [2022-10-10T13:37:16.346Z] $ 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/y_app-rfid-llrp-inventory_PR-114 -v /w/workspace/y_app-rfid-llrp-inventory_PR-114:/w/workspace/y_app-rfid-llrp-inventory_PR-114:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-114@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-114@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-10-10T13:37:16.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T13:37:16.549Z] Configure a credential helper to remove this warning. See [2022-10-10T13:37:16.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T13:37:16.549Z] [2022-10-10T13:37:16.549Z] Login Succeeded [2022-10-10T13:37:16.549Z] nexus3.edgexfoundry.org:10004 [2022-10-10T13:37:16.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T13:37:16.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T13:37:16.821Z] Configure a credential helper to remove this warning. See [2022-10-10T13:37:16.821Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T13:37:16.821Z] [2022-10-10T13:37:16.821Z] Login Succeeded [2022-10-10T13:37:16.821Z] docker.io [2022-10-10T13:37:17.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-10T13:37:17.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-10T13:37:17.355Z] Configure a credential helper to remove this warning. See [2022-10-10T13:37:17.355Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-10T13:37:17.355Z] [2022-10-10T13:37:17.355Z] Login Succeeded [2022-10-10T13:37:17.355Z] ---> docker-login.sh ends [2022-10-10T13:37:21.497Z] $ docker top befc0f9d0ee2b96e5d920537366c2bd6eadea33470325eba86438693b8d2c69f -eo pid,comm [Pipeline] { [Pipeline] } [2022-10-10T13:37:21.674Z] Deleting 1 temporary files [Pipeline] libraryResource [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-10T13:37:22.045Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [2022-10-10T13:37:22.064Z] ---> job-cost.sh [2022-10-10T13:37:22.064Z] lf-activate-venv: SKIPPING [2022-10-10T13:37:22.064Z] INFO: No Stack... [Pipeline] echo [2022-10-10T13:37:22.083Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-10T13:37:22.130Z] ========================================================= [2022-10-10T13:37:22.130Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-10T13:37:22.130Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T13:37:22.624Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-10T13:37:22.637Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-10T13:37:22.891Z] Sending build context to Docker daemon 683.5kB [2022-10-10T13:37:22.891Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T13:37:22.891Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-10T13:37:22.891Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-10T13:37:22.891Z] b3c136eddcbf: Pulling fs layer [2022-10-10T13:37:22.891Z] c0a3192eca97: Pulling fs layer [2022-10-10T13:37:22.891Z] a050256f5b6f: Pulling fs layer [2022-10-10T13:37:22.891Z] 656be50a0ddc: Pulling fs layer [2022-10-10T13:37:22.891Z] 2bbca73fdf42: Pulling fs layer [2022-10-10T13:37:22.891Z] f607e4fc86c3: Pulling fs layer [2022-10-10T13:37:22.891Z] 4d572c569a2c: Pulling fs layer [2022-10-10T13:37:22.891Z] fcf976331f73: Pulling fs layer [2022-10-10T13:37:22.891Z] f607e4fc86c3: Waiting [2022-10-10T13:37:22.891Z] 4d572c569a2c: Waiting [2022-10-10T13:37:22.891Z] fcf976331f73: Waiting [2022-10-10T13:37:22.891Z] 2bbca73fdf42: Waiting [2022-10-10T13:37:23.180Z] a050256f5b6f: Verifying Checksum [2022-10-10T13:37:23.180Z] a050256f5b6f: Download complete [2022-10-10T13:37:23.180Z] c0a3192eca97: Download complete [2022-10-10T13:37:23.180Z] 2bbca73fdf42: Verifying Checksum [2022-10-10T13:37:23.180Z] 2bbca73fdf42: Download complete [2022-10-10T13:37:23.180Z] f607e4fc86c3: Verifying Checksum [2022-10-10T13:37:23.180Z] f607e4fc86c3: Download complete [2022-10-10T13:37:23.180Z] b3c136eddcbf: Verifying Checksum [2022-10-10T13:37:23.180Z] b3c136eddcbf: Download complete [2022-10-10T13:37:23.205Z] INFO: Archiving Costs [Pipeline] sh [2022-10-10T13:37:23.516Z] + cat /w/workspace/y_app-rfid-llrp-inventory_PR-114/archives/cost.csv [2022-10-10T13:37:23.516Z] + cut -d, -f6 [Pipeline] lock [2022-10-10T13:37:23.560Z] Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-114-1-stack-cost] [2022-10-10T13:37:23.565Z] Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-114-1-stack-cost] did not exist. Created. [2022-10-10T13:37:23.565Z] Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-114-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-10T13:37:23.960Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-10T13:37:24.013Z] Stashed 1 file(s) [Pipeline] } [2022-10-10T13:37:24.042Z] Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-114-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-10T13:37:24.129Z] $ docker stop --time=1 befc0f9d0ee2b96e5d920537366c2bd6eadea33470325eba86438693b8d2c69f [2022-10-10T13:37:24.165Z] b3c136eddcbf: Pull complete [2022-10-10T13:37:24.439Z] fcf976331f73: Verifying Checksum [2022-10-10T13:37:24.439Z] fcf976331f73: Download complete [2022-10-10T13:37:24.711Z] c0a3192eca97: Pull complete [2022-10-10T13:37:24.982Z] a050256f5b6f: Pull complete [2022-10-10T13:37:25.301Z] $ docker rm -f befc0f9d0ee2b96e5d920537366c2bd6eadea33470325eba86438693b8d2c69f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2022-10-10T13:37:25.574Z] 4d572c569a2c: Verifying Checksum [2022-10-10T13:37:25.574Z] 4d572c569a2c: Download complete [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-10T13:37:26.158Z] 656be50a0ddc: Verifying Checksum [2022-10-10T13:37:26.159Z] 656be50a0ddc: Download complete [2022-10-10T13:37:38.495Z] 656be50a0ddc: Pull complete [2022-10-10T13:37:38.495Z] 2bbca73fdf42: Pull complete [2022-10-10T13:37:38.496Z] f607e4fc86c3: Pull complete [2022-10-10T13:37:45.272Z] 4d572c569a2c: Pull complete [2022-10-10T13:37:46.236Z] fcf976331f73: Pull complete [2022-10-10T13:37:46.236Z] Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 [2022-10-10T13:37:46.237Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-10T13:37:46.237Z] ---> 3970a7415f9e [2022-10-10T13:37:46.237Z] Step 3/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-10-10T13:37:48.189Z] ---> Running in 5eb82998b8cd [2022-10-10T13:37:48.189Z] Removing intermediate container 5eb82998b8cd [2022-10-10T13:37:48.189Z] ---> 79de414aa117 [2022-10-10T13:37:48.189Z] Step 4/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T13:37:48.457Z] ---> Running in 16f655a2fe3b [2022-10-10T13:37:48.726Z] Removing intermediate container 16f655a2fe3b [2022-10-10T13:37:48.726Z] ---> 7f343ea59299 [2022-10-10T13:37:48.726Z] Step 5/14 : ARG ADD_BUILD_TAGS="" [2022-10-10T13:37:48.726Z] ---> Running in c59226d29278 [2022-10-10T13:37:48.995Z] Removing intermediate container c59226d29278 [2022-10-10T13:37:48.995Z] ---> c6b255297b34 [2022-10-10T13:37:48.995Z] Step 6/14 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-10T13:37:48.995Z] ---> Running in 6bab50bc623f [2022-10-10T13:37:49.263Z] Removing intermediate container 6bab50bc623f [2022-10-10T13:37:49.263Z] ---> df709804623f [2022-10-10T13:37:49.263Z] Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T13:37:49.533Z] ---> Running in f1f4794d4827 [2022-10-10T13:37:51.482Z] Removing intermediate container f1f4794d4827 [2022-10-10T13:37:51.482Z] ---> b58089bdbd7c [2022-10-10T13:37:51.482Z] Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T13:37:51.482Z] ---> Running in 5da799d53c34 [2022-10-10T13:37:52.446Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-10T13:37:53.028Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-10T13:37:53.985Z] OK: 221 MiB in 51 packages [2022-10-10T13:37:54.963Z] Removing intermediate container 5da799d53c34 [2022-10-10T13:37:54.963Z] ---> c06d35715a4a [2022-10-10T13:37:54.963Z] Step 9/14 : WORKDIR /app [2022-10-10T13:37:54.963Z] ---> Running in d770ee6351d2 [2022-10-10T13:37:55.232Z] Removing intermediate container d770ee6351d2 [2022-10-10T13:37:55.232Z] ---> 4e557da01259 [2022-10-10T13:37:55.232Z] Step 10/14 : COPY go.mod vendor* ./ [2022-10-10T13:37:55.826Z] ---> da07c778c569 [2022-10-10T13:37:55.826Z] Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T13:37:55.826Z] ---> Running in 52f02a933327 [2022-10-10T13:38:42.698Z] Removing intermediate container 52f02a933327 [2022-10-10T13:38:42.698Z] ---> 373515d27931 [2022-10-10T13:38:42.698Z] Step 12/14 : COPY . . [2022-10-10T13:38:42.965Z] ---> 6ec27fc72a04 [2022-10-10T13:38:42.965Z] Step 13/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T13:38:43.233Z] ---> Running in 1235bfc91b01 [2022-10-10T13:38:43.501Z] Removing intermediate container 1235bfc91b01 [2022-10-10T13:38:43.501Z] ---> 5772212edbdb [2022-10-10T13:38:43.501Z] Step 14/14 : RUN $MAKE [2022-10-10T13:38:43.501Z] ---> Running in 2543de4f1390 [2022-10-10T13:38:44.465Z] noop [2022-10-10T13:38:45.052Z] Removing intermediate container 2543de4f1390 [2022-10-10T13:38:45.052Z] ---> e3af16db0ae7 [2022-10-10T13:38:45.052Z] Successfully built e3af16db0ae7 [2022-10-10T13:38:45.052Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T13:38:45.517Z] + docker inspect -f . ci-base-image-arm64 [2022-10-10T13:38:45.518Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T13:38:45.779Z] prd-ubuntu20.04-docker-arm64-4c-16g-7520 does not seem to be running inside a container [2022-10-10T13:38:45.850Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/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-10-10T13:38:47.003Z] $ docker top abd6a9cb1778cb1c05721f66ef4395f8420a6ec78ccb50014b6892f810b6d950 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T13:38:47.863Z] + go version [2022-10-10T13:38:47.863Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-10-10T13:38:47.904Z] $ docker stop --time=1 abd6a9cb1778cb1c05721f66ef4395f8420a6ec78ccb50014b6892f810b6d950 [2022-10-10T13:38:49.509Z] $ docker rm -f abd6a9cb1778cb1c05721f66ef4395f8420a6ec78ccb50014b6892f810b6d950 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T13:38:50.337Z] + docker inspect -f . ci-base-image-arm64 [2022-10-10T13:38:50.337Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T13:38:50.580Z] prd-ubuntu20.04-docker-arm64-4c-16g-7520 does not seem to be running inside a container [2022-10-10T13:38:50.648Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/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-10-10T13:38:52.525Z] $ docker top 98a6522e8ce2555c7febcf89982c7d7b19c240c78883d24944208fb03df886fc -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T13:38:53.071Z] + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] fileExists [Pipeline] sh [2022-10-10T13:38:53.447Z] + make test [2022-10-10T13:38:53.447Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-10T13:40:15.053Z] ? edgexfoundry/app-rfid-llrp-inventory [no test files] [2022-10-10T13:40:18.392Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.142s coverage: 86.2% of statements [2022-10-10T13:40:18.392Z] ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] [2022-10-10T13:40:23.753Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.706s coverage: 71.9% of statements [2022-10-10T13:40:24.019Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-10T13:40:24.019Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-10T13:40:46.094Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-10T13:40:46.094Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-10T13:40:46.094Z] ./bin/test-attribution.sh [Pipeline] echo [2022-10-10T13:40:46.135Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-10T13:40:46.175Z] $ docker stop --time=1 98a6522e8ce2555c7febcf89982c7d7b19c240c78883d24944208fb03df886fc [2022-10-10T13:40:47.881Z] $ docker rm -f 98a6522e8ce2555c7febcf89982c7d7b19c240c78883d24944208fb03df886fc [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-10T13:40:48.809Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-10T13:40:48.844Z] Warning: overwriting stash ‘coverage-report’ [2022-10-10T13:40:49.229Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-10T13:40:49.779Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-10T13:40:50.110Z] + ls -al . [2022-10-10T13:40:50.110Z] total 228 [2022-10-10T13:40:50.110Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 10 13:38 . [2022-10-10T13:40:50.110Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 13:36 .. [2022-10-10T13:40:50.110Z] -rw-rw-r-- 1 jenkins jenkins 262 Oct 10 13:36 .dockerignore [2022-10-10T13:40:50.110Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 13:36 .git [2022-10-10T13:40:50.110Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 13:36 .github [2022-10-10T13:40:50.110Z] -rw-rw-r-- 1 jenkins jenkins 788 Oct 10 13:36 .gitignore [2022-10-10T13:40:50.110Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 13:36 .golangci.yml [2022-10-10T13:40:50.110Z] -rw-rw-r-- 1 jenkins jenkins 9922 Oct 10 13:36 Attribution.txt [2022-10-10T13:40:50.110Z] -rw-rw-r-- 1 jenkins jenkins 2487 Oct 10 13:36 CHANGELOG.md [2022-10-10T13:40:50.110Z] -rw-rw-r-- 1 jenkins jenkins 1993 Oct 10 13:36 Dockerfile [2022-10-10T13:40:50.110Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 13:36 GOVERNANCE.md [2022-10-10T13:40:50.110Z] -rw-rw-r-- 1 jenkins jenkins 687 Oct 10 13:36 Jenkinsfile [2022-10-10T13:40:50.110Z] -rw-rw-r-- 1 jenkins jenkins 11347 Oct 10 13:36 LICENSE [2022-10-10T13:40:50.110Z] -rw-rw-r-- 1 jenkins jenkins 3163 Oct 10 13:36 Makefile [2022-10-10T13:40:50.110Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 10 13:36 OWNERS.md [2022-10-10T13:40:50.110Z] -rw-rw-r-- 1 jenkins jenkins 31023 Oct 10 13:36 README.md [2022-10-10T13:40:50.110Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 13:34 VERSION [2022-10-10T13:40:50.110Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 13:36 bin [2022-10-10T13:40:50.110Z] -rw-r--r-- 1 jenkins jenkins 41008 Oct 10 13:40 coverage.out [2022-10-10T13:40:50.110Z] -rw-rw-r-- 1 jenkins jenkins 3657 Oct 10 13:36 go.mod [2022-10-10T13:40:50.110Z] -rw-rw-r-- 1 jenkins jenkins 38018 Oct 10 13:36 go.sum [2022-10-10T13:40:50.110Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 13:36 images [2022-10-10T13:40:50.110Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 13:36 internal [2022-10-10T13:40:50.110Z] -rw-rw-r-- 1 jenkins jenkins 531 Oct 10 13:36 main.go [2022-10-10T13:40:50.110Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 13:36 res [2022-10-10T13:40:50.110Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 13:36 snap [2022-10-10T13:40:50.110Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 13:36 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T13:40:50.519Z] + docker build -t app-rfid-llrp-inventory-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=b6e312f2e2fb113173eb646621518d8acda51f6f --label arch=arm64 --label version=0.0.0 . [2022-10-10T13:40:50.785Z] Sending build context to Docker daemon 683.5kB [2022-10-10T13:40:50.785Z] Step 1/32 : ARG BASE=golang:1.18-alpine3.16 [2022-10-10T13:40:50.785Z] Step 2/32 : FROM ${BASE} AS builder [2022-10-10T13:40:50.785Z] ---> e3af16db0ae7 [2022-10-10T13:40:50.785Z] Step 3/32 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-10-10T13:40:50.785Z] ---> Running in bb17569d6f0f [2022-10-10T13:40:51.057Z] Removing intermediate container bb17569d6f0f [2022-10-10T13:40:51.057Z] ---> 3e42e0e89b99 [2022-10-10T13:40:51.057Z] Step 4/32 : ARG ALPINE_PKG_EXTRA="" [2022-10-10T13:40:51.322Z] ---> Running in fbe1bf9f593f [2022-10-10T13:40:51.589Z] Removing intermediate container fbe1bf9f593f [2022-10-10T13:40:51.589Z] ---> 111c73f1bfd6 [2022-10-10T13:40:51.589Z] Step 5/32 : ARG ADD_BUILD_TAGS="" [2022-10-10T13:40:51.589Z] ---> Running in 676417525aba [2022-10-10T13:40:51.863Z] Removing intermediate container 676417525aba [2022-10-10T13:40:51.863Z] ---> df2b9cadbe52 [2022-10-10T13:40:51.863Z] Step 6/32 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-10T13:40:51.863Z] ---> Running in de842fac2cb6 [2022-10-10T13:40:52.136Z] Removing intermediate container de842fac2cb6 [2022-10-10T13:40:52.136Z] ---> ee26e7e8c7b6 [2022-10-10T13:40:52.136Z] Step 7/32 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T13:40:52.136Z] ---> Running in ad4013ced136 [2022-10-10T13:40:54.088Z] Removing intermediate container ad4013ced136 [2022-10-10T13:40:54.088Z] ---> fa30bef54735 [2022-10-10T13:40:54.088Z] Step 8/32 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-10T13:40:54.088Z] ---> Running in 04c42bf4353a [2022-10-10T13:40:54.674Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-10T13:40:55.638Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-10T13:40:56.604Z] OK: 221 MiB in 51 packages [2022-10-10T13:40:57.189Z] Removing intermediate container 04c42bf4353a [2022-10-10T13:40:57.189Z] ---> 07bd6f795448 [2022-10-10T13:40:57.189Z] Step 9/32 : WORKDIR /app [2022-10-10T13:40:57.189Z] ---> Running in b40e11953345 [2022-10-10T13:40:57.456Z] Removing intermediate container b40e11953345 [2022-10-10T13:40:57.456Z] ---> 8ce51edcca92 [2022-10-10T13:40:57.456Z] Step 10/32 : COPY go.mod vendor* ./ [2022-10-10T13:40:58.038Z] ---> 2d7c2d13584d [2022-10-10T13:40:58.038Z] Step 11/32 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-10T13:40:58.038Z] ---> Running in 81879be3fc0d [2022-10-10T13:40:59.980Z] Removing intermediate container 81879be3fc0d [2022-10-10T13:40:59.980Z] ---> 582e205fe42c [2022-10-10T13:40:59.980Z] Step 12/32 : COPY . . [2022-10-10T13:41:00.568Z] ---> 873fc2041f83 [2022-10-10T13:41:00.568Z] Step 13/32 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-10T13:41:00.568Z] ---> Running in 339538bdf471 [2022-10-10T13:41:00.835Z] Removing intermediate container 339538bdf471 [2022-10-10T13:41:00.835Z] ---> 4acca3bd0054 [2022-10-10T13:41:00.835Z] Step 14/32 : RUN $MAKE [2022-10-10T13:41:00.835Z] ---> Running in 8088fc479ca1 [2022-10-10T13:41:01.797Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.3.0-dev.47 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0 -X edgexfoundry/app-rfid-llrp-inventory.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o app-rfid-llrp-inventory [2022-10-10T13:43:38.559Z] Removing intermediate container 8088fc479ca1 [2022-10-10T13:43:38.560Z] ---> e1128e8b34c1 [2022-10-10T13:43:38.560Z] Step 15/32 : FROM alpine:3.14 [2022-10-10T13:43:38.560Z] 3.14: Pulling from library/alpine [2022-10-10T13:43:38.560Z] 90cda3b7c325: Pulling fs layer [2022-10-10T13:43:38.560Z] 90cda3b7c325: Download complete [2022-10-10T13:43:38.560Z] 90cda3b7c325: Pull complete [2022-10-10T13:43:38.560Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-10-10T13:43:38.560Z] Status: Downloaded newer image for alpine:3.14 [2022-10-10T13:43:38.560Z] ---> 376ba31ae3da [2022-10-10T13:43:38.560Z] Step 16/32 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-10T13:43:38.560Z] ---> Running in 39a549012d35 [2022-10-10T13:43:38.560Z] Removing intermediate container 39a549012d35 [2022-10-10T13:43:38.560Z] ---> f5f45a4af42d [2022-10-10T13:43:38.560Z] Step 17/32 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} [2022-10-10T13:43:38.560Z] ---> Running in 6e62c712ba82 [2022-10-10T13:43:38.560Z] Removing intermediate container 6e62c712ba82 [2022-10-10T13:43:38.560Z] ---> cc9a92b6df77 [2022-10-10T13:43:38.560Z] Step 18/32 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-10T13:43:38.560Z] ---> Running in 7bcf64c89d83 [2022-10-10T13:43:38.560Z] Removing intermediate container 7bcf64c89d83 [2022-10-10T13:43:38.560Z] ---> 3673dc30f757 [2022-10-10T13:43:38.560Z] Step 19/32 : RUN apk --no-cache add ca-certificates zeromq dumb-init [2022-10-10T13:43:38.560Z] ---> Running in 767c176159ba [2022-10-10T13:43:38.560Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-10-10T13:43:38.560Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-10-10T13:43:38.560Z] (1/7) Installing ca-certificates (20220614-r0) [2022-10-10T13:43:38.560Z] (2/7) Installing dumb-init (1.2.5-r1) [2022-10-10T13:43:38.560Z] (3/7) Installing libgcc (10.3.1_git20210424-r2) [2022-10-10T13:43:38.560Z] (4/7) Installing libsodium (1.0.18-r0) [2022-10-10T13:43:38.560Z] (5/7) Installing libstdc++ (10.3.1_git20210424-r2) [2022-10-10T13:43:38.560Z] (6/7) Installing libzmq (4.3.4-r0) [2022-10-10T13:43:38.560Z] (7/7) Installing zeromq (4.3.4-r0) [2022-10-10T13:43:38.560Z] Executing busybox-1.33.1-r8.trigger [2022-10-10T13:43:38.560Z] Executing ca-certificates-20220614-r0.trigger [2022-10-10T13:43:38.560Z] OK: 9 MiB in 21 packages [2022-10-10T13:43:38.560Z] Removing intermediate container 767c176159ba [2022-10-10T13:43:38.560Z] ---> 777f3f853374 [2022-10-10T13:43:38.560Z] Step 20/32 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2022-10-10T13:43:38.560Z] ---> 37d383fb4cad [2022-10-10T13:43:38.560Z] Step 21/32 : COPY --from=builder /app/LICENSE /LICENSE [2022-10-10T13:43:38.560Z] ---> b4e9496df962 [2022-10-10T13:43:38.560Z] Step 22/32 : COPY --from=builder /app/res/ /res/ [2022-10-10T13:43:38.560Z] ---> 45120c7b4133 [2022-10-10T13:43:38.560Z] Step 23/32 : COPY --from=builder /app/static/ /static/ [2022-10-10T13:43:38.560Z] ---> e0d4902cc2f0 [2022-10-10T13:43:38.560Z] Step 24/32 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory [2022-10-10T13:43:39.520Z] ---> db113501dccb [2022-10-10T13:43:39.520Z] Step 25/32 : RUN mkdir -p /cache && chown -R 2002:2002 /cache [2022-10-10T13:43:39.790Z] ---> Running in caf92fc2acaa [2022-10-10T13:43:41.210Z] Removing intermediate container caf92fc2acaa [2022-10-10T13:43:41.211Z] ---> 64be4e69b6cc [2022-10-10T13:43:41.211Z] Step 26/32 : VOLUME /cache [2022-10-10T13:43:41.211Z] ---> Running in ac0ec3a386c4 [2022-10-10T13:43:41.480Z] Removing intermediate container ac0ec3a386c4 [2022-10-10T13:43:41.480Z] ---> 3a334e9511e2 [2022-10-10T13:43:41.480Z] Step 27/32 : EXPOSE 59711 [2022-10-10T13:43:41.748Z] ---> Running in b1888909e932 [2022-10-10T13:43:42.015Z] Removing intermediate container b1888909e932 [2022-10-10T13:43:42.015Z] ---> 8358dc7cb0ca [2022-10-10T13:43:42.015Z] Step 28/32 : ENTRYPOINT ["/app-rfid-llrp-inventory"] [2022-10-10T13:43:42.015Z] ---> Running in a66d74a72cf9 [2022-10-10T13:43:42.281Z] Removing intermediate container a66d74a72cf9 [2022-10-10T13:43:42.281Z] ---> f8303e3f7328 [2022-10-10T13:43:42.281Z] Step 29/32 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] [2022-10-10T13:43:42.281Z] ---> Running in 34d81e7e91fa [2022-10-10T13:43:42.556Z] Removing intermediate container 34d81e7e91fa [2022-10-10T13:43:42.556Z] ---> 7233a9924b80 [2022-10-10T13:43:42.556Z] Step 30/32 : LABEL arch=arm64 [2022-10-10T13:43:42.556Z] ---> Running in 45257b928ed4 [2022-10-10T13:43:42.824Z] Removing intermediate container 45257b928ed4 [2022-10-10T13:43:42.824Z] ---> 1045056034a8 [2022-10-10T13:43:42.824Z] Step 31/32 : LABEL git_sha=b6e312f2e2fb113173eb646621518d8acda51f6f [2022-10-10T13:43:43.091Z] ---> Running in ec65bcda814b [2022-10-10T13:43:43.359Z] Removing intermediate container ec65bcda814b [2022-10-10T13:43:43.359Z] ---> 582702cb5b12 [2022-10-10T13:43:43.359Z] Step 32/32 : LABEL version=0.0.0 [2022-10-10T13:43:43.359Z] ---> Running in 6d893ba8f74a [2022-10-10T13:43:43.624Z] Removing intermediate container 6d893ba8f74a [2022-10-10T13:43:43.624Z] ---> e6d698cdd7dd [2022-10-10T13:43:43.624Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-10T13:43:43.624Z] Successfully built e6d698cdd7dd [2022-10-10T13:43:43.624Z] Successfully tagged app-rfid-llrp-inventory-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T13:43:44.472Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-10T13:43:44.472Z] [2022-10-10T13:43:44.472Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T13:43:44.867Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-10T13:43:44.867Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-10T13:43:44.867Z] 8998bd30e6a1: Pulling fs layer [2022-10-10T13:43:44.867Z] 04944245beec: Pulling fs layer [2022-10-10T13:43:44.867Z] 699f458cf7ca: Pulling fs layer [2022-10-10T13:43:44.867Z] 765212b225bb: Pulling fs layer [2022-10-10T13:43:44.867Z] f23df028b6ca: Pulling fs layer [2022-10-10T13:43:44.867Z] d65c8cfc05b1: Pulling fs layer [2022-10-10T13:43:44.867Z] 2437ff75d9bd: Pulling fs layer [2022-10-10T13:43:44.867Z] f23df028b6ca: Waiting [2022-10-10T13:43:44.867Z] 2437ff75d9bd: Waiting [2022-10-10T13:43:44.867Z] 765212b225bb: Waiting [2022-10-10T13:43:44.867Z] d65c8cfc05b1: Waiting [2022-10-10T13:43:45.136Z] 04944245beec: Verifying Checksum [2022-10-10T13:43:45.136Z] 04944245beec: Download complete [2022-10-10T13:43:45.136Z] 765212b225bb: Verifying Checksum [2022-10-10T13:43:45.136Z] 765212b225bb: Download complete [2022-10-10T13:43:45.136Z] f23df028b6ca: Verifying Checksum [2022-10-10T13:43:45.136Z] f23df028b6ca: Download complete [2022-10-10T13:43:45.136Z] d65c8cfc05b1: Verifying Checksum [2022-10-10T13:43:45.136Z] d65c8cfc05b1: Download complete [2022-10-10T13:43:45.136Z] 699f458cf7ca: Verifying Checksum [2022-10-10T13:43:45.136Z] 699f458cf7ca: Download complete [2022-10-10T13:43:45.721Z] 8998bd30e6a1: Download complete [2022-10-10T13:43:47.670Z] 2437ff75d9bd: Verifying Checksum [2022-10-10T13:43:47.670Z] 2437ff75d9bd: Download complete [2022-10-10T13:43:50.244Z] 8998bd30e6a1: Pull complete [2022-10-10T13:43:50.510Z] 04944245beec: Pull complete [2022-10-10T13:43:51.916Z] 699f458cf7ca: Pull complete [2022-10-10T13:43:51.916Z] 765212b225bb: Pull complete [2022-10-10T13:43:52.873Z] f23df028b6ca: Pull complete [2022-10-10T13:43:52.873Z] d65c8cfc05b1: Pull complete [2022-10-10T13:44:07.855Z] 2437ff75d9bd: Pull complete [2022-10-10T13:44:07.855Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-10T13:44:07.855Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-10T13:44:07.855Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T13:44:08.172Z] prd-ubuntu20.04-docker-arm64-4c-16g-7520 does not seem to be running inside a container [2022-10-10T13:44:08.246Z] $ 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/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/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-10-10T13:44:10.592Z] $ docker top c04d6627afca167adde7a9191c16c79b3651391d973bc404bac1ad068eba3596 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-10T13:44:11.491Z] ---> job-cost.sh [2022-10-10T13:44:11.491Z] lf-activate-venv: SKIPPING [2022-10-10T13:44:11.491Z] INFO: No Stack... [2022-10-10T13:44:11.757Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-10T13:44:12.711Z] INFO: Archiving Costs [Pipeline] sh [2022-10-10T13:44:13.055Z] + cat /w/workspace/app-rfid-llrp-inventory/1/archives/cost.csv+ [2022-10-10T13:44:13.055Z] cut -d, -f6 [Pipeline] lock [2022-10-10T13:44:13.375Z] Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-114-1-stack-cost] [2022-10-10T13:44:13.380Z] Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-114-1-stack-cost] did not exist. Created. [2022-10-10T13:44:13.381Z] Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-114-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-10T13:44:14.115Z] /w/workspace/app-rfid-llrp-inventory/1@tmp/durable-dfe94fdb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-10T13:44:14.777Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-10T13:44:14.817Z] Warning: overwriting stash ‘stack-cost’ [2022-10-10T13:44:14.857Z] Stashed 1 file(s) [Pipeline] } [2022-10-10T13:44:14.871Z] Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-114-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-10T13:44:14.962Z] $ docker stop --time=1 c04d6627afca167adde7a9191c16c79b3651391d973bc404bac1ad068eba3596 [2022-10-10T13:44:16.495Z] $ docker rm -f c04d6627afca167adde7a9191c16c79b3651391d973bc404bac1ad068eba3596 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-10-10T13:44:17.382Z] provisioning config files... [2022-10-10T13:44:17.389Z] copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-114@tmp/config9263370663411747812tmp [Pipeline] { [Pipeline] sh [2022-10-10T13:44:17.728Z] + set +x [2022-10-10T13:44:17.728Z] + bash -s -- [2022-10-10T13:44:17.728Z] + curl -s https://codecov.io/bash [2022-10-10T13:44:17.728Z] [2022-10-10T13:44:17.728Z] _____ _ [2022-10-10T13:44:17.728Z] / ____| | | [2022-10-10T13:44:17.728Z] | | ___ __| | ___ ___ _____ __ [2022-10-10T13:44:17.728Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-10T13:44:17.728Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-10T13:44:17.728Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-10T13:44:17.728Z] Bash-1.0.6 [2022-10-10T13:44:17.728Z] [2022-10-10T13:44:17.728Z] [2022-10-10T13:44:17.728Z] ==> git version 2.25.1 found [2022-10-10T13:44:17.728Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-10-10T13:44:17.728Z] Release-Date: 2020-01-08 [2022-10-10T13:44:17.728Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-10T13:44:17.728Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-10T13:44:17.728Z] ==> Jenkins CI detected. [2022-10-10T13:44:17.728Z] current dir:  /w/workspace/y_app-rfid-llrp-inventory_PR-114 [2022-10-10T13:44:17.728Z] project root: . [2022-10-10T13:44:17.728Z] --> token set from env [2022-10-10T13:44:17.728Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-10T13:44:17.728Z] ==> Running gcov in . (disable via -X gcov) [2022-10-10T13:44:17.728Z] ==> Python coveragepy not found [2022-10-10T13:44:17.728Z] ==> Searching for coverage reports in: [2022-10-10T13:44:17.728Z] + . [2022-10-10T13:44:17.728Z] -> Found 1 reports [2022-10-10T13:44:17.728Z] ==> Detecting git/mercurial file structure [2022-10-10T13:44:17.728Z] ==> Reading reports [2022-10-10T13:44:17.988Z] + ./coverage.out bytes=41008 [2022-10-10T13:44:17.988Z] ==> Appending adjustments [2022-10-10T13:44:17.988Z] https://docs.codecov.io/docs/fixing-reports [2022-10-10T13:44:17.988Z] + Found adjustments [2022-10-10T13:44:17.988Z] ==> Gzipping contents [2022-10-10T13:44:17.988Z] 12K /tmp/codecov.uwfXVx.gz [2022-10-10T13:44:17.988Z] ==> Uploading reports [2022-10-10T13:44:17.988Z] url: https://codecov.io [2022-10-10T13:44:17.988Z] query: branch=PR-114&commit=b6e312f2e2fb113173eb646621518d8acda51f6f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-114%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=114&job=&cmd_args= [2022-10-10T13:44:17.988Z] -> Pinging Codecov [2022-10-10T13:44:17.988Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-114&commit=b6e312f2e2fb113173eb646621518d8acda51f6f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-114%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=114&job=&cmd_args= [2022-10-10T13:44:18.247Z] -> Uploading to [2022-10-10T13:44:18.247Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-10/581DD39554BDF9B6E22D074273EAD858/b6e312f2e2fb113173eb646621518d8acda51f6f/cfef2b60-b439-43df-a81f-70c06ef6a056.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221010%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221010T134418Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0776819be6a6e8423c32c9ee8bc92b9d6abd365852ddab0f33e1f8f1de69a1d1 [2022-10-10T13:44:18.247Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-10T13:44:18.247Z] Dload Upload Total Spent Left Speed [2022-10-10T13:44:18.508Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11457 0 0 100 11457 0 44753 --:--:-- --:--:-- --:--:-- 44753 [2022-10-10T13:44:18.508Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/b6e312f2e2fb113173eb646621518d8acda51f6f [Pipeline] } [2022-10-10T13:44:18.539Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-10-10T13:44:20.255Z] + [ -d /w/workspace/y_app-rfid-llrp-inventory_PR-114/archives ] [2022-10-10T13:44:20.255Z] + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-114/archives [2022-10-10T13:44:20.255Z] total 16 [2022-10-10T13:44:20.255Z] drwxr-xr-x 3 root root 4096 Oct 10 13:37 . [2022-10-10T13:44:20.255Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 10 13:37 .. [2022-10-10T13:44:20.255Z] drwxr-xr-x 2 root root 4096 Oct 10 13:37 cost [2022-10-10T13:44:20.255Z] -rw-r--r-- 1 root root 95 Oct 10 13:37 cost.csv [2022-10-10T13:44:20.255Z] + sudo chown -R jenkins:jenkins /w/workspace/y_app-rfid-llrp-inventory_PR-114/archives [2022-10-10T13:44:20.255Z] + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-114/archives [2022-10-10T13:44:20.255Z] total 16 [2022-10-10T13:44:20.255Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 13:37 . [2022-10-10T13:44:20.255Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 10 13:37 .. [2022-10-10T13:44:20.255Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 10 13:37 cost [2022-10-10T13:44:20.255Z] -rw-r--r-- 1 jenkins jenkins 95 Oct 10 13:37 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-10T13:44:20.582Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T13:44:21.463Z] ---> package-listing.sh [2022-10-10T13:44:21.463Z] ++ facter osfamily [2022-10-10T13:44:21.463Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-10T13:44:21.721Z] + OS_FAMILY=debian [2022-10-10T13:44:21.721Z] + workspace=/w/workspace/y_app-rfid-llrp-inventory_PR-114 [2022-10-10T13:44:21.721Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-10T13:44:21.721Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-10T13:44:21.721Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-10T13:44:21.721Z] + PACKAGES=/tmp/packages_start.txt [2022-10-10T13:44:21.721Z] + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-114 ']' [2022-10-10T13:44:21.721Z] + PACKAGES=/tmp/packages_end.txt [2022-10-10T13:44:21.721Z] + case "${OS_FAMILY}" in [2022-10-10T13:44:21.721Z] + dpkg -l [2022-10-10T13:44:21.721Z] + grep '^ii' [2022-10-10T13:44:21.721Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-10T13:44:21.721Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-10T13:44:21.721Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-10T13:44:21.721Z] + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-114 ']' [2022-10-10T13:44:21.721Z] + mkdir -p /w/workspace/y_app-rfid-llrp-inventory_PR-114/archives/ [2022-10-10T13:44:21.721Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/y_app-rfid-llrp-inventory_PR-114/archives/ [Pipeline] echo [2022-10-10T13:44:21.752Z] 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/y_app-rfid-llrp-inventory_PR-114/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-10T13:44:22.040Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-10T13:44:22.663Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-10T13:44:22.664Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-10T13:44:22.808Z] prd-ubuntu20.04-docker-8c-8g-7519 does not seem to be running inside a container [2022-10-10T13:44:22.840Z] $ 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/y_app-rfid-llrp-inventory_PR-114/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/y_app-rfid-llrp-inventory_PR-114 -v /w/workspace/y_app-rfid-llrp-inventory_PR-114:/w/workspace/y_app-rfid-llrp-inventory_PR-114:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-114@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-114@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-10T13:44:23.038Z] $ docker top 42cc51b6a9c35c4961e49617b515b4076d0e1460340f01089ed7407371f6cea7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-10T13:44:23.427Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-10T13:44:23.737Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-10T13:44:24.042Z] + ls /var/log/sa-host [2022-10-10T13:44:24.042Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-10T13:44:24.239Z] provisioning config files... [2022-10-10T13:44:24.249Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-114@tmp/config12669322132587559726tmp [Pipeline] { [Pipeline] echo [2022-10-10T13:44:24.293Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T13:44:24.605Z] ---> create-netrc.sh [Pipeline] } [2022-10-10T13:44:24.633Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-10T13:44:25.029Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-10T13:44:25.059Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T13:44:25.367Z] ---> sudo-logs.sh [2022-10-10T13:44:25.367Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-10T13:44:25.445Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T13:44:25.753Z] ---> job-cost.sh [2022-10-10T13:44:25.753Z] lf-activate-venv: SKIPPING [2022-10-10T13:44:25.753Z] DEBUG: total: 0.2199999988079071 [2022-10-10T13:44:25.753Z] INFO: Retrieving Stack Cost... [2022-10-10T13:44:26.320Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-10T13:44:26.579Z] INFO: Archiving Costs [Pipeline] echo [2022-10-10T13:44:26.611Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-10T13:44:26.917Z] ---> logs-deploy.sh [2022-10-10T13:44:26.917Z] lf-activate-venv: SKIPPING [2022-10-10T13:44:26.917Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-114/1 [2022-10-10T13:44:26.917Z] INFO: archiving workspace using pattern(s): [2022-10-10T13:44:27.853Z] Archives upload complete. [2022-10-10T13:44:28.113Z] INFO: archiving logs to Nexus