Pull request #109 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4c34f11e704d620f6173803248dedd1465f9bb0d+072a57e35cc109d570a2f4b5b0ca8e97ebd0d8ea (b9ca8a338f9e6a32b6844f353f08b3de79807365) 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-ssh1846567895493922420.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-ssh8077091659771329026.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-109/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-109/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14444783767966205494.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-109/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11848631428427625722.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-ssh17595765115386656689.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-109/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-109/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12658606501408254468.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 on ‘prd-ubuntu20.04-docker-8c-8g-478’ Running on prd-ubuntu20.04-docker-8c-8g-482 in /w/workspace/y_app-rfid-llrp-inventory_PR-109 [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-109 # 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/109/head:refs/remotes/origin/PR-109 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 072a57e35cc109d570a2f4b5b0ca8e97ebd0d8ea into PR head commit 4c34f11e704d620f6173803248dedd1465f9bb0d Merge succeeded, producing 4c34f11e704d620f6173803248dedd1465f9bb0d Checking out Revision 4c34f11e704d620f6173803248dedd1465f9bb0d (PR-109) Commit message: "build: Add option to build Service with NATS Capability" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-21T22:25:59.239Z] 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 4c34f11e704d620f6173803248dedd1465f9bb0d # 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 072a57e35cc109d570a2f4b5b0ca8e97ebd0d8ea # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4c34f11e704d620f6173803248dedd1465f9bb0d # timeout=10 [Pipeline] withCredentials [2022-09-21T22:25:59.404Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-21T22:25:59.503Z] ========================================================= [2022-09-21T22:25:59.503Z] EdgeX Global Pipelines Version Info [2022-09-21T22:25:59.503Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-21T22:26:00.255Z] ------------------- [2022-09-21T22:26:00.255Z] stable info: [2022-09-21T22:26:00.255Z] ------------------- [2022-09-21T22:26:00.255Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-21T22:26:00.255Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-21T22:26:00.255Z] Message: update stable to v1.0.239 [2022-09-21T22:26:00.826Z] ------------------- [2022-09-21T22:26:00.826Z] experimental info: [2022-09-21T22:26:00.826Z] ------------------- [2022-09-21T22:26:00.826Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-21T22:26:00.826Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-21T22:26:00.826Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-21T22:26:01.109Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo [2022-09-21T22:26:01.153Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo [2022-09-21T22:26:01.192Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-21T22:26:01.237Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-21T22:26:01.281Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-21T22:26:01.324Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-21T22:26:01.366Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-21T22:26:01.409Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-21T22:26:01.451Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-21T22:26:01.488Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-21T22:26:01.529Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-21T22:26:01.570Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo [2022-09-21T22:26:01.610Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-21T22:26:01.651Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-21T22:26:01.692Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-21T22:26:01.730Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-21T22:26:01.770Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-21T22:26:01.813Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-21T22:26:01.857Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-21T22:26:01.896Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-21T22:26:01.931Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-09-21T22:26:01.968Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-09-21T22:26:02.004Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-21T22:26:02.043Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-21T22:26:02.080Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-21T22:26:02.124Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-21T22:26:02.165Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-21T22:26:02.207Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-109 [Pipeline] echo [2022-09-21T22:26:02.248Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-109 [Pipeline] echo [2022-09-21T22:26:02.285Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-109 [Pipeline] echo [2022-09-21T22:26:02.325Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4c34f11e704d620f6173803248dedd1465f9bb0d [Pipeline] echo [2022-09-21T22:26:02.366Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4c34f11 [Pipeline] echo [2022-09-21T22:26:02.407Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-21T22:26:02.563Z] provisioning config files... [2022-09-21T22:26:02.577Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-109@tmp/config6014472348922392741tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-21T22:26:02.924Z] ---> docker-login.sh [2022-09-21T22:26:02.924Z] nexus3.edgexfoundry.org:10001 [2022-09-21T22:26:03.184Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T22:26:03.184Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T22:26:03.184Z] Configure a credential helper to remove this warning. See [2022-09-21T22:26:03.184Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T22:26:03.184Z] [2022-09-21T22:26:03.184Z] Login Succeeded [2022-09-21T22:26:03.184Z] nexus3.edgexfoundry.org:10002 [2022-09-21T22:26:03.184Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T22:26:03.184Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T22:26:03.184Z] Configure a credential helper to remove this warning. See [2022-09-21T22:26:03.184Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T22:26:03.184Z] [2022-09-21T22:26:03.184Z] Login Succeeded [2022-09-21T22:26:03.184Z] nexus3.edgexfoundry.org:10003 [2022-09-21T22:26:03.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T22:26:03.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T22:26:03.445Z] Configure a credential helper to remove this warning. See [2022-09-21T22:26:03.445Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T22:26:03.445Z] [2022-09-21T22:26:03.445Z] Login Succeeded [2022-09-21T22:26:03.445Z] nexus3.edgexfoundry.org:10004 [2022-09-21T22:26:03.445Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T22:26:03.445Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T22:26:03.445Z] Configure a credential helper to remove this warning. See [2022-09-21T22:26:03.445Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T22:26:03.445Z] [2022-09-21T22:26:03.445Z] Login Succeeded [2022-09-21T22:26:03.445Z] docker.io [2022-09-21T22:26:03.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T22:26:03.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T22:26:03.968Z] Configure a credential helper to remove this warning. See [2022-09-21T22:26:03.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T22:26:03.968Z] [2022-09-21T22:26:03.968Z] Login Succeeded [2022-09-21T22:26:03.968Z] ---> docker-login.sh ends [Pipeline] } [2022-09-21T22:26:03.994Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-21T22:26:04.618Z] + git rev-list -1 --merges 4c34f11e704d620f6173803248dedd1465f9bb0d~1..4c34f11e704d620f6173803248dedd1465f9bb0d [Pipeline] echo [2022-09-21T22:26:04.663Z] -----------> git rev-list -1 --merges 4c34f11e704d620f6173803248dedd1465f9bb0d~1..4c34f11e704d620f6173803248dedd1465f9bb0d 4c34f11e704d620f6173803248dedd1465f9bb0d [false] [Pipeline] sh [2022-09-21T22:26:04.969Z] + git log --format=format:%s -1 4c34f11e704d620f6173803248dedd1465f9bb0d [Pipeline] echo [2022-09-21T22:26:05.004Z] ========================================================= [2022-09-21T22:26:05.004Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-21T22:26:05.004Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-21T22:26:05.448Z] + git log --format=format:%s -1 4c34f11e704d620f6173803248dedd1465f9bb0d [Pipeline] echo [2022-09-21T22:26:05.483Z] [semverPrep] GIT_COMMIT: 4c34f11e704d620f6173803248dedd1465f9bb0d, Commit Message: build: Add option to build Service with NATS Capability [Pipeline] echo [2022-09-21T22:26:05.512Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-21T22:26:05.884Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-21T22:26:05.884Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-21T22:26:05.884Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-21T22:26:05.884Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-21T22:26:05.884Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-21T22:26:05.884Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-21T22:26:05.884Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T22:26:06.309Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-21T22:26:06.309Z] [2022-09-21T22:26:06.309Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T22:26:06.689Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-21T22:26:06.689Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-21T22:26:06.689Z] b85a868b505f: Pulling fs layer [2022-09-21T22:26:06.689Z] e2be974225ed: Pulling fs layer [2022-09-21T22:26:06.689Z] 339a4e72a1f5: Pulling fs layer [2022-09-21T22:26:06.689Z] 988bab9f4d93: Pulling fs layer [2022-09-21T22:26:06.689Z] 1469e6f7b9e6: Pulling fs layer [2022-09-21T22:26:06.689Z] eaf3925da568: Pulling fs layer [2022-09-21T22:26:06.689Z] bab4dde63d76: Pulling fs layer [2022-09-21T22:26:06.689Z] bde34c3a00c8: Pulling fs layer [2022-09-21T22:26:06.689Z] b352a97aabf1: Pulling fs layer [2022-09-21T22:26:06.689Z] 4872d77fe225: Pulling fs layer [2022-09-21T22:26:06.689Z] 5851b861e8e6: Pulling fs layer [2022-09-21T22:26:06.689Z] 988bab9f4d93: Waiting [2022-09-21T22:26:06.689Z] 1469e6f7b9e6: Waiting [2022-09-21T22:26:06.689Z] eaf3925da568: Waiting [2022-09-21T22:26:06.689Z] bab4dde63d76: Waiting [2022-09-21T22:26:06.689Z] bde34c3a00c8: Waiting [2022-09-21T22:26:06.689Z] b352a97aabf1: Waiting [2022-09-21T22:26:06.689Z] 4872d77fe225: Waiting [2022-09-21T22:26:06.689Z] 5851b861e8e6: Waiting [2022-09-21T22:26:06.689Z] e2be974225ed: Download complete [2022-09-21T22:26:06.689Z] 988bab9f4d93: Download complete [2022-09-21T22:26:06.953Z] 1469e6f7b9e6: Verifying Checksum [2022-09-21T22:26:06.953Z] 1469e6f7b9e6: Download complete [2022-09-21T22:26:06.953Z] 339a4e72a1f5: Verifying Checksum [2022-09-21T22:26:06.953Z] 339a4e72a1f5: Download complete [2022-09-21T22:26:06.953Z] eaf3925da568: Verifying Checksum [2022-09-21T22:26:06.953Z] eaf3925da568: Download complete [2022-09-21T22:26:06.953Z] bde34c3a00c8: Verifying Checksum [2022-09-21T22:26:06.953Z] bde34c3a00c8: Download complete [2022-09-21T22:26:06.953Z] b352a97aabf1: Verifying Checksum [2022-09-21T22:26:06.953Z] b352a97aabf1: Download complete [2022-09-21T22:26:06.953Z] 4872d77fe225: Verifying Checksum [2022-09-21T22:26:06.953Z] 4872d77fe225: Download complete [2022-09-21T22:26:06.953Z] 5851b861e8e6: Verifying Checksum [2022-09-21T22:26:06.953Z] 5851b861e8e6: Download complete [2022-09-21T22:26:07.216Z] b85a868b505f: Verifying Checksum [2022-09-21T22:26:07.216Z] b85a868b505f: Download complete [2022-09-21T22:26:07.475Z] bab4dde63d76: Verifying Checksum [2022-09-21T22:26:07.475Z] bab4dde63d76: Download complete [2022-09-21T22:26:08.425Z] b85a868b505f: Pull complete [2022-09-21T22:26:08.425Z] e2be974225ed: Pull complete [2022-09-21T22:26:09.030Z] 339a4e72a1f5: Pull complete [2022-09-21T22:26:09.030Z] 988bab9f4d93: Pull complete [2022-09-21T22:26:09.289Z] 1469e6f7b9e6: Pull complete [2022-09-21T22:26:09.549Z] eaf3925da568: Pull complete [2022-09-21T22:26:11.531Z] bab4dde63d76: Pull complete [2022-09-21T22:26:11.531Z] bde34c3a00c8: Pull complete [2022-09-21T22:26:11.531Z] b352a97aabf1: Pull complete [2022-09-21T22:26:11.531Z] 4872d77fe225: Pull complete [2022-09-21T22:26:11.823Z] 5851b861e8e6: Pull complete [2022-09-21T22:26:11.823Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-21T22:26:11.823Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-21T22:26:11.823Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-21T22:26:12.047Z] prd-ubuntu20.04-docker-8c-8g-482 does not seem to be running inside a container [2022-09-21T22:26:12.064Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/y_app-rfid-llrp-inventory_PR-109 -v /w/workspace/y_app-rfid-llrp-inventory_PR-109:/w/workspace/y_app-rfid-llrp-inventory_PR-109:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-109@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-109@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-09-21T22:26:13.487Z] $ docker top d56153ab714b3df5dae1add9b08e256751de6e9a0f020788fd1752cdc5b9cb76 -eo pid,comm [2022-09-21T22:26:13.565Z] 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-09-21T22:26:13.565Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-21T22:26:13.680Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-21T22:26:13.680Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-21T22:26:13.814Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-21T22:26:13.802Z] $ docker exec d56153ab714b3df5dae1add9b08e256751de6e9a0f020788fd1752cdc5b9cb76 ssh-agent [2022-09-21T22:26:13.937Z] SSH_AUTH_SOCK=/tmp/ssh-aV4YSgPY06Sr/agent.33 [2022-09-21T22:26:13.937Z] SSH_AGENT_PID=39 [2022-09-21T22:26:13.946Z] Running ssh-add (command line suppressed) [2022-09-21T22:26:14.033Z] Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-109@tmp/private_key_10941345994076210043.key (/w/workspace/y_app-rfid-llrp-inventory_PR-109@tmp/private_key_10941345994076210043.key) [2022-09-21T22:26:14.066Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-21T22:26:14.398Z] + git tag --points-at HEAD [Pipeline] } [2022-09-21T22:26:14.416Z] $ docker exec --env ******** --env ******** d56153ab714b3df5dae1add9b08e256751de6e9a0f020788fd1752cdc5b9cb76 ssh-agent -k [2022-09-21T22:26:14.531Z] unset SSH_AUTH_SOCK; [2022-09-21T22:26:14.532Z] unset SSH_AGENT_PID; [2022-09-21T22:26:14.532Z] echo Agent pid 39 killed; [2022-09-21T22:26:14.561Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-21T22:26:14.632Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-21T22:26:14.632Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-21T22:26:14.744Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-21T22:26:14.733Z] $ docker exec d56153ab714b3df5dae1add9b08e256751de6e9a0f020788fd1752cdc5b9cb76 ssh-agent [2022-09-21T22:26:14.869Z] SSH_AUTH_SOCK=/tmp/ssh-iDTSVVvsF80C/agent.72 [2022-09-21T22:26:14.869Z] SSH_AGENT_PID=78 [2022-09-21T22:26:14.874Z] Running ssh-add (command line suppressed) [2022-09-21T22:26:14.961Z] Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-109@tmp/private_key_1260615413952803693.key (/w/workspace/y_app-rfid-llrp-inventory_PR-109@tmp/private_key_1260615413952803693.key) [2022-09-21T22:26:14.989Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-21T22:26:15.317Z] + git semver init [2022-09-21T22:26:15.582Z] 2022-09-21 22:26:15,485 [run_init] DEBUG init version:0.0.0 force:False [2022-09-21T22:26:15.582Z] 2022-09-21 22:26:15,486 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/y_app-rfid-llrp-inventory_PR-109/.semver [2022-09-21T22:26:15.582Z] 2022-09-21 22:26:15,486 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/y_app-rfid-llrp-inventory_PR-109/.semver [2022-09-21T22:26:15.582Z] 2022-09-21 22:26:15,486 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/y_app-rfid-llrp-inventory_PR-109/.semver'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-109, universal_newlines=False, shell=None, istream=None) [2022-09-21T22:26:16.965Z] 2022-09-21 22:26:16,585 [append_file] DEBUG append to file:/w/workspace/y_app-rfid-llrp-inventory_PR-109/.git/info/exclude [2022-09-21T22:26:16.965Z] 2022-09-21 22:26:16,585 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/y_app-rfid-llrp-inventory_PR-109/.semver/PR-109 with force:False [2022-09-21T22:26:16.965Z] 2022-09-21 22:26:16,585 [write_file] DEBUG write to file:/w/workspace/y_app-rfid-llrp-inventory_PR-109/.semver/PR-109 [2022-09-21T22:26:16.965Z] 2022-09-21 22:26:16,588 [execute] INFO git cat-file --batch-check [2022-09-21T22:26:16.965Z] 2022-09-21 22:26:16,589 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-109/.semver, universal_newlines=False, shell=None, istream=) [2022-09-21T22:26:16.965Z] 2022-09-21 22:26:16,596 [execute] INFO git cat-file --batch [2022-09-21T22:26:16.965Z] 2022-09-21 22:26:16,597 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-109/.semver, universal_newlines=False, shell=None, istream=) [2022-09-21T22:26:16.965Z] 2022-09-21 22:26:16,602 [read_version] DEBUG read version from /w/workspace/y_app-rfid-llrp-inventory_PR-109/.semver/PR-109 [2022-09-21T22:26:16.965Z] 0.0.0 [Pipeline] } [2022-09-21T22:26:16.979Z] $ docker exec --env ******** --env ******** d56153ab714b3df5dae1add9b08e256751de6e9a0f020788fd1752cdc5b9cb76 ssh-agent -k [2022-09-21T22:26:17.076Z] unset SSH_AUTH_SOCK; [2022-09-21T22:26:17.077Z] unset SSH_AGENT_PID; [2022-09-21T22:26:17.078Z] echo Agent pid 78 killed; [2022-09-21T22:26:17.102Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-21T22:26:17.509Z] + git semver [Pipeline] } [2022-09-21T22:26:17.781Z] $ docker stop --time=1 d56153ab714b3df5dae1add9b08e256751de6e9a0f020788fd1752cdc5b9cb76 [2022-09-21T22:26:19.113Z] $ docker rm -f d56153ab714b3df5dae1add9b08e256751de6e9a0f020788fd1752cdc5b9cb76 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-21T22:26:19.535Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-21T22:26:19.772Z] Stashed 1 file(s) [Pipeline] echo [2022-09-21T22:26:19.791Z] [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-09-21T22:26:20.344Z] provisioning config files... [2022-09-21T22:26:20.355Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-109@tmp/config6339415725079304887tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-21T22:26:20.701Z] ---> docker-login.sh [2022-09-21T22:26:20.701Z] nexus3.edgexfoundry.org:10001 [2022-09-21T22:26:20.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T22:26:20.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T22:26:20.701Z] Configure a credential helper to remove this warning. See [2022-09-21T22:26:20.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T22:26:20.701Z] [2022-09-21T22:26:20.701Z] Login Succeeded [2022-09-21T22:26:20.701Z] nexus3.edgexfoundry.org:10002 [2022-09-21T22:26:20.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T22:26:20.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T22:26:20.701Z] Configure a credential helper to remove this warning. See [2022-09-21T22:26:20.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T22:26:20.701Z] [2022-09-21T22:26:20.701Z] Login Succeeded [2022-09-21T22:26:20.701Z] nexus3.edgexfoundry.org:10003 [2022-09-21T22:26:20.961Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T22:26:20.961Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T22:26:20.961Z] Configure a credential helper to remove this warning. See [2022-09-21T22:26:20.961Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T22:26:20.961Z] [2022-09-21T22:26:20.961Z] Login Succeeded [2022-09-21T22:26:20.961Z] nexus3.edgexfoundry.org:10004 [2022-09-21T22:26:20.961Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T22:26:20.961Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T22:26:20.961Z] Configure a credential helper to remove this warning. See [2022-09-21T22:26:20.961Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T22:26:20.961Z] [2022-09-21T22:26:20.961Z] Login Succeeded [2022-09-21T22:26:20.961Z] docker.io [2022-09-21T22:26:21.220Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T22:26:21.480Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T22:26:21.480Z] Configure a credential helper to remove this warning. See [2022-09-21T22:26:21.480Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T22:26:21.480Z] [2022-09-21T22:26:21.480Z] Login Succeeded [2022-09-21T22:26:21.480Z] ---> docker-login.sh ends [Pipeline] } [2022-09-21T22:26:21.507Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-21T22:26:21.693Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-21T22:26:21.728Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-21T22:26:21.759Z] ========================================================= [2022-09-21T22:26:21.759Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-21T22:26:21.759Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T22:26:22.214Z] + 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-09-21T22:26:22.214Z] Sending build context to Docker daemon 12.47MB [2022-09-21T22:26:22.214Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-09-21T22:26:22.214Z] Step 2/14 : FROM ${BASE} AS builder [2022-09-21T22:26:22.214Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-21T22:26:22.214Z] 2408cc74d12b: Pulling fs layer [2022-09-21T22:26:22.214Z] ea60b727a1ce: Pulling fs layer [2022-09-21T22:26:22.214Z] 30c4a7721957: Pulling fs layer [2022-09-21T22:26:22.214Z] 370296b7ddb6: Pulling fs layer [2022-09-21T22:26:22.214Z] 7c6cee850709: Pulling fs layer [2022-09-21T22:26:22.214Z] 370296b7ddb6: Waiting [2022-09-21T22:26:22.214Z] 39a5fcdaea64: Pulling fs layer [2022-09-21T22:26:22.214Z] d94ebbe4e438: Pulling fs layer [2022-09-21T22:26:22.214Z] 7c6cee850709: Waiting [2022-09-21T22:26:22.214Z] bcfd1f05c69d: Pulling fs layer [2022-09-21T22:26:22.214Z] 59ccb84bbe0f: Pulling fs layer [2022-09-21T22:26:22.214Z] 39a5fcdaea64: Waiting [2022-09-21T22:26:22.214Z] bcfd1f05c69d: Waiting [2022-09-21T22:26:22.214Z] 59ccb84bbe0f: Waiting [2022-09-21T22:26:22.214Z] d94ebbe4e438: Waiting [2022-09-21T22:26:22.214Z] 30c4a7721957: Verifying Checksum [2022-09-21T22:26:22.214Z] 30c4a7721957: Download complete [2022-09-21T22:26:22.214Z] ea60b727a1ce: Download complete [2022-09-21T22:26:22.214Z] 7c6cee850709: Verifying Checksum [2022-09-21T22:26:22.214Z] 7c6cee850709: Download complete [2022-09-21T22:26:22.476Z] 39a5fcdaea64: Verifying Checksum [2022-09-21T22:26:22.476Z] 2408cc74d12b: Verifying Checksum [2022-09-21T22:26:22.476Z] 2408cc74d12b: Download complete [2022-09-21T22:26:22.476Z] d94ebbe4e438: Download complete [2022-09-21T22:26:22.476Z] 2408cc74d12b: Pull complete [2022-09-21T22:26:22.747Z] ea60b727a1ce: Pull complete [2022-09-21T22:26:22.747Z] 30c4a7721957: Pull complete [2022-09-21T22:26:23.349Z] 370296b7ddb6: Verifying Checksum [2022-09-21T22:26:23.349Z] 370296b7ddb6: Download complete [2022-09-21T22:26:23.349Z] 59ccb84bbe0f: Verifying Checksum [2022-09-21T22:26:23.349Z] 59ccb84bbe0f: Download complete [2022-09-21T22:26:23.349Z] bcfd1f05c69d: Verifying Checksum [2022-09-21T22:26:23.349Z] bcfd1f05c69d: Download complete [2022-09-21T22:26:27.534Z] 370296b7ddb6: Pull complete [2022-09-21T22:26:27.534Z] 7c6cee850709: Pull complete [2022-09-21T22:26:27.534Z] 39a5fcdaea64: Pull complete [2022-09-21T22:26:27.534Z] d94ebbe4e438: Pull complete [2022-09-21T22:26:30.062Z] bcfd1f05c69d: Pull complete [2022-09-21T22:26:30.629Z] 59ccb84bbe0f: Pull complete [2022-09-21T22:26:30.629Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-21T22:26:30.630Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-21T22:26:30.630Z] ---> a4fb48ad2a94 [2022-09-21T22:26:30.630Z] Step 3/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-09-21T22:26:32.540Z] ---> Running in 61680bf96866 [2022-09-21T22:26:32.540Z] Removing intermediate container 61680bf96866 [2022-09-21T22:26:32.540Z] ---> 140db1bc0c6a [2022-09-21T22:26:32.540Z] Step 4/14 : ARG ALPINE_PKG_EXTRA="" [2022-09-21T22:26:32.540Z] ---> Running in 435187da8199 [2022-09-21T22:26:32.540Z] Removing intermediate container 435187da8199 [2022-09-21T22:26:32.540Z] ---> 66996123af58 [2022-09-21T22:26:32.540Z] Step 5/14 : ARG ADD_BUILD_TAGS="" [2022-09-21T22:26:32.540Z] ---> Running in 62f1b72b70ad [2022-09-21T22:26:32.540Z] Removing intermediate container 62f1b72b70ad [2022-09-21T22:26:32.540Z] ---> b5e05f34b1b4 [2022-09-21T22:26:32.540Z] Step 6/14 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-21T22:26:32.540Z] ---> Running in 41dab685a780 [2022-09-21T22:26:32.798Z] Removing intermediate container 41dab685a780 [2022-09-21T22:26:32.798Z] ---> 7bdc2d8d3931 [2022-09-21T22:26:32.798Z] Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-21T22:26:32.798Z] ---> Running in 7546a37c1747 [2022-09-21T22:26:33.368Z] Removing intermediate container 7546a37c1747 [2022-09-21T22:26:33.368Z] ---> c9ccc23a15e7 [2022-09-21T22:26:33.368Z] Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-21T22:26:33.368Z] ---> Running in 4a9646fc1fd7 [2022-09-21T22:26:33.629Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-21T22:26:34.570Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-21T22:26:34.830Z] OK: 211 MiB in 51 packages [2022-09-21T22:26:35.189Z] Still waiting to schedule task [2022-09-21T22:26:35.189Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-479’ is offline [2022-09-21T22:26:35.403Z] Removing intermediate container 4a9646fc1fd7 [2022-09-21T22:26:35.403Z] ---> 778fb5f0eac5 [2022-09-21T22:26:35.403Z] Step 9/14 : WORKDIR /app [2022-09-21T22:26:35.403Z] ---> Running in 264b6c38118d [2022-09-21T22:26:35.403Z] Removing intermediate container 264b6c38118d [2022-09-21T22:26:35.403Z] ---> aa9e1750bb5e [2022-09-21T22:26:35.403Z] Step 10/14 : COPY go.mod vendor* ./ [2022-09-21T22:26:35.403Z] ---> 35a298d4a875 [2022-09-21T22:26:35.403Z] Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-21T22:26:35.663Z] ---> Running in fc6f06c8194c [2022-09-21T22:26:50.555Z] Removing intermediate container fc6f06c8194c [2022-09-21T22:26:50.555Z] ---> 135bc2f49cd8 [2022-09-21T22:26:50.555Z] Step 12/14 : COPY . . [2022-09-21T22:26:50.818Z] ---> 19f3a379a3fe [2022-09-21T22:26:50.818Z] Step 13/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-21T22:26:50.818Z] ---> Running in 1e8e4aaa529c [2022-09-21T22:26:51.077Z] Removing intermediate container 1e8e4aaa529c [2022-09-21T22:26:51.077Z] ---> f00ebf8b3836 [2022-09-21T22:26:51.077Z] Step 14/14 : RUN $MAKE [2022-09-21T22:26:51.077Z] ---> Running in 4646259ae3b1 [2022-09-21T22:26:51.337Z] noop [2022-09-21T22:26:51.598Z] Removing intermediate container 4646259ae3b1 [2022-09-21T22:26:51.598Z] ---> f4c4affb018e [2022-09-21T22:26:51.598Z] Successfully built f4c4affb018e [2022-09-21T22:26:51.598Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T22:26:52.025Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-21T22:26:52.025Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-21T22:26:52.172Z] prd-ubuntu20.04-docker-8c-8g-482 does not seem to be running inside a container [2022-09-21T22:26:52.208Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/y_app-rfid-llrp-inventory_PR-109 -v /w/workspace/y_app-rfid-llrp-inventory_PR-109:/w/workspace/y_app-rfid-llrp-inventory_PR-109:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-109@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-109@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-21T22:26:52.601Z] $ docker top 2529e17bdcdebe47e2db41555d4343d379ab059e6f5c2f589f746339161dab38 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-21T22:26:52.988Z] + go version [2022-09-21T22:26:52.988Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-21T22:26:53.023Z] $ docker stop --time=1 2529e17bdcdebe47e2db41555d4343d379ab059e6f5c2f589f746339161dab38 [2022-09-21T22:26:54.296Z] $ docker rm -f 2529e17bdcdebe47e2db41555d4343d379ab059e6f5c2f589f746339161dab38 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T22:26:54.998Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-21T22:26:54.998Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-21T22:26:55.138Z] prd-ubuntu20.04-docker-8c-8g-482 does not seem to be running inside a container [2022-09-21T22:26:55.172Z] $ 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-109 -v /w/workspace/y_app-rfid-llrp-inventory_PR-109:/w/workspace/y_app-rfid-llrp-inventory_PR-109:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-109@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-109@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-21T22:26:55.570Z] $ docker top e317b03498c7c5eaf49667bd6c858ab3ad93211fd4727c27a983a6516fffbec2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-21T22:26:55.966Z] + git config --global --add safe.directory /w/workspace/y_app-rfid-llrp-inventory_PR-109 [Pipeline] fileExists [Pipeline] sh [2022-09-21T22:26:56.324Z] + make test [2022-09-21T22:26:56.324Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-21T22:27:08.537Z] ? edgexfoundry/app-rfid-llrp-inventory [no test files] [2022-09-21T22:27:08.537Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.027s coverage: 86.2% of statements [2022-09-21T22:27:08.537Z] ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] [2022-09-21T22:27:09.911Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.555s coverage: 71.9% of statements [2022-09-21T22:27:18.015Z] 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-09-21T22:27:18.015Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-21T22:27:22.197Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-21T22:27:22.197Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-21T22:27:22.197Z] ./bin/test-attribution.sh [2022-09-21T22:27:22.197Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-21T22:27:22.197Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-21T22:27:22.197Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-21T22:27:22.239Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-21T22:27:22.273Z] $ docker stop --time=1 e317b03498c7c5eaf49667bd6c858ab3ad93211fd4727c27a983a6516fffbec2 [2022-09-21T22:27:24.124Z] $ docker rm -f e317b03498c7c5eaf49667bd6c858ab3ad93211fd4727c27a983a6516fffbec2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-21T22:27:24.667Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-21T22:27:24.730Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-09-21T22:27:25.334Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-21T22:27:25.670Z] + ls -al . [2022-09-21T22:27:25.670Z] total 232 [2022-09-21T22:27:25.670Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 21 22:26 . [2022-09-21T22:27:25.670Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 22:25 .. [2022-09-21T22:27:25.670Z] -rw-rw-r-- 1 jenkins jenkins 262 Sep 21 22:25 .dockerignore [2022-09-21T22:27:25.670Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 21 22:27 .git [2022-09-21T22:27:25.670Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 22:25 .github [2022-09-21T22:27:25.670Z] -rw-rw-r-- 1 jenkins jenkins 788 Sep 21 22:25 .gitignore [2022-09-21T22:27:25.670Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 21 22:25 .golangci.yml [2022-09-21T22:27:25.670Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 21 22:26 .semver [2022-09-21T22:27:25.670Z] -rw-rw-r-- 1 jenkins jenkins 9546 Sep 21 22:25 Attribution.txt [2022-09-21T22:27:25.670Z] -rw-rw-r-- 1 jenkins jenkins 2487 Sep 21 22:25 CHANGELOG.md [2022-09-21T22:27:25.670Z] -rw-rw-r-- 1 jenkins jenkins 1993 Sep 21 22:25 Dockerfile [2022-09-21T22:27:25.670Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 21 22:25 GOVERNANCE.md [2022-09-21T22:27:25.670Z] -rw-rw-r-- 1 jenkins jenkins 687 Sep 21 22:25 Jenkinsfile [2022-09-21T22:27:25.670Z] -rw-rw-r-- 1 jenkins jenkins 11347 Sep 21 22:25 LICENSE [2022-09-21T22:27:25.670Z] -rw-rw-r-- 1 jenkins jenkins 3163 Sep 21 22:25 Makefile [2022-09-21T22:27:25.670Z] -rw-rw-r-- 1 jenkins jenkins 617 Sep 21 22:25 OWNERS.md [2022-09-21T22:27:25.670Z] -rw-rw-r-- 1 jenkins jenkins 31023 Sep 21 22:25 README.md [2022-09-21T22:27:25.670Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 21 22:26 VERSION [2022-09-21T22:27:25.670Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 21 22:25 bin [2022-09-21T22:27:25.670Z] -rw-r--r-- 1 jenkins jenkins 41008 Sep 21 22:27 coverage.out [2022-09-21T22:27:25.670Z] -rw-rw-r-- 1 jenkins jenkins 3677 Sep 21 22:25 go.mod [2022-09-21T22:27:25.670Z] -rw-rw-r-- 1 jenkins jenkins 37565 Sep 21 22:25 go.sum [2022-09-21T22:27:25.670Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 21 22:25 images [2022-09-21T22:27:25.670Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 22:25 internal [2022-09-21T22:27:25.670Z] -rw-rw-r-- 1 jenkins jenkins 531 Sep 21 22:25 main.go [2022-09-21T22:27:25.670Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 21 22:25 res [2022-09-21T22:27:25.670Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 22:25 snap [2022-09-21T22:27:25.670Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 22:25 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T22:27:26.067Z] + 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=4c34f11e704d620f6173803248dedd1465f9bb0d --label arch=amd64 --label version=0.0.0 . [2022-09-21T22:27:26.067Z] Sending build context to Docker daemon 12.47MB [2022-09-21T22:27:26.067Z] Step 1/32 : ARG BASE=golang:1.18-alpine3.16 [2022-09-21T22:27:26.067Z] Step 2/32 : FROM ${BASE} AS builder [2022-09-21T22:27:26.067Z] ---> f4c4affb018e [2022-09-21T22:27:26.067Z] Step 3/32 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-09-21T22:27:26.067Z] ---> Running in 019cf66b8ecc [2022-09-21T22:27:26.326Z] Removing intermediate container 019cf66b8ecc [2022-09-21T22:27:26.326Z] ---> 994dcc1b1387 [2022-09-21T22:27:26.326Z] Step 4/32 : ARG ALPINE_PKG_EXTRA="" [2022-09-21T22:27:26.326Z] ---> Running in 819312ce5f50 [2022-09-21T22:27:26.326Z] Removing intermediate container 819312ce5f50 [2022-09-21T22:27:26.326Z] ---> 98212925b249 [2022-09-21T22:27:26.326Z] Step 5/32 : ARG ADD_BUILD_TAGS="" [2022-09-21T22:27:26.326Z] ---> Running in 9b8aa94f5260 [2022-09-21T22:27:26.585Z] Removing intermediate container 9b8aa94f5260 [2022-09-21T22:27:26.585Z] ---> d35ea752b0c8 [2022-09-21T22:27:26.585Z] Step 6/32 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-21T22:27:26.585Z] ---> Running in 8e434ca04d73 [2022-09-21T22:27:26.585Z] Removing intermediate container 8e434ca04d73 [2022-09-21T22:27:26.585Z] ---> c6fc129074ea [2022-09-21T22:27:26.585Z] Step 7/32 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-21T22:27:26.585Z] ---> Running in d481ac5b4314 [2022-09-21T22:27:27.152Z] Removing intermediate container d481ac5b4314 [2022-09-21T22:27:27.152Z] ---> de6f4b10528e [2022-09-21T22:27:27.152Z] Step 8/32 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-21T22:27:27.411Z] ---> Running in 2bc107b2e17c [2022-09-21T22:27:27.670Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-21T22:27:28.610Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-21T22:27:28.610Z] OK: 211 MiB in 51 packages [2022-09-21T22:27:29.179Z] Removing intermediate container 2bc107b2e17c [2022-09-21T22:27:29.179Z] ---> 798a78c94119 [2022-09-21T22:27:29.179Z] Step 9/32 : WORKDIR /app [2022-09-21T22:27:29.179Z] ---> Running in cdee2ab85b93 [2022-09-21T22:27:29.179Z] Removing intermediate container cdee2ab85b93 [2022-09-21T22:27:29.179Z] ---> c76923c3b0ce [2022-09-21T22:27:29.179Z] Step 10/32 : COPY go.mod vendor* ./ [2022-09-21T22:27:29.450Z] ---> 3bc3f8b97487 [2022-09-21T22:27:29.450Z] Step 11/32 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-21T22:27:29.450Z] ---> Running in e93df4dec3bf [2022-09-21T22:27:30.017Z] Removing intermediate container e93df4dec3bf [2022-09-21T22:27:30.017Z] ---> 0f3c7c444e0a [2022-09-21T22:27:30.017Z] Step 12/32 : COPY . . [2022-09-21T22:27:30.276Z] ---> ca12d4d1084d [2022-09-21T22:27:30.276Z] Step 13/32 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-21T22:27:30.535Z] ---> Running in ff50a8b087b4 [2022-09-21T22:27:30.535Z] Removing intermediate container ff50a8b087b4 [2022-09-21T22:27:30.535Z] ---> dc79da2aab8a [2022-09-21T22:27:30.535Z] Step 14/32 : RUN $MAKE [2022-09-21T22:27:30.535Z] ---> Running in f251ca3ce4be [2022-09-21T22:27:30.796Z] 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.30 -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-09-21T22:27:52.716Z] Removing intermediate container f251ca3ce4be [2022-09-21T22:27:52.716Z] ---> e5c950bfbb24 [2022-09-21T22:27:52.716Z] Step 15/32 : FROM alpine:3.14 [2022-09-21T22:27:52.716Z] 3.14: Pulling from library/alpine [2022-09-21T22:27:52.716Z] c7ed990a2339: Pulling fs layer [2022-09-21T22:27:52.716Z] c7ed990a2339: Download complete [2022-09-21T22:27:52.716Z] c7ed990a2339: Pull complete [2022-09-21T22:27:52.716Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-09-21T22:27:52.716Z] Status: Downloaded newer image for alpine:3.14 [2022-09-21T22:27:52.716Z] ---> dd53f409bf0b [2022-09-21T22:27:52.716Z] Step 16/32 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-21T22:27:52.716Z] ---> Running in a0fc60a3934f [2022-09-21T22:27:52.716Z] Removing intermediate container a0fc60a3934f [2022-09-21T22:27:52.716Z] ---> e1610369503f [2022-09-21T22:27:52.716Z] Step 17/32 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} [2022-09-21T22:27:52.716Z] ---> Running in 9da6d7951815 [2022-09-21T22:27:52.716Z] Removing intermediate container 9da6d7951815 [2022-09-21T22:27:52.716Z] ---> d4130252e987 [2022-09-21T22:27:52.716Z] Step 18/32 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-21T22:27:52.716Z] ---> Running in 59e84bf66c7d [2022-09-21T22:27:52.716Z] Removing intermediate container 59e84bf66c7d [2022-09-21T22:27:52.716Z] ---> 740cd8acfa74 [2022-09-21T22:27:52.716Z] Step 19/32 : RUN apk --no-cache add ca-certificates zeromq dumb-init [2022-09-21T22:27:52.716Z] ---> Running in f12a55cf65e4 [2022-09-21T22:27:52.716Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-09-21T22:27:53.654Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-09-21T22:27:53.929Z] (1/7) Installing ca-certificates (20220614-r0) [2022-09-21T22:27:53.929Z] (2/7) Installing dumb-init (1.2.5-r1) [2022-09-21T22:27:53.929Z] (3/7) Installing libgcc (10.3.1_git20210424-r2) [2022-09-21T22:27:54.188Z] (4/7) Installing libsodium (1.0.18-r0) [2022-09-21T22:27:54.188Z] (5/7) Installing libstdc++ (10.3.1_git20210424-r2) [2022-09-21T22:27:54.188Z] (6/7) Installing libzmq (4.3.4-r0) [2022-09-21T22:27:54.447Z] (7/7) Installing zeromq (4.3.4-r0) [2022-09-21T22:27:54.447Z] Executing busybox-1.33.1-r8.trigger [2022-09-21T22:27:54.447Z] Executing ca-certificates-20220614-r0.trigger [2022-09-21T22:27:54.447Z] OK: 9 MiB in 21 packages [2022-09-21T22:27:55.067Z] Removing intermediate container f12a55cf65e4 [2022-09-21T22:27:55.067Z] ---> d4b6e326ef7f [2022-09-21T22:27:55.067Z] Step 20/32 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2022-09-21T22:27:55.328Z] ---> 3155139b4952 [2022-09-21T22:27:55.328Z] Step 21/32 : COPY --from=builder /app/LICENSE /LICENSE [2022-09-21T22:27:55.593Z] ---> 83707e2d7b84 [2022-09-21T22:27:55.593Z] Step 22/32 : COPY --from=builder /app/res/ /res/ [2022-09-21T22:27:55.593Z] ---> 88db77c465bd [2022-09-21T22:27:55.593Z] Step 23/32 : COPY --from=builder /app/static/ /static/ [2022-09-21T22:27:55.869Z] ---> b09b315f4a71 [2022-09-21T22:27:55.869Z] Step 24/32 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory [2022-09-21T22:27:56.127Z] ---> a72b5bc9c186 [2022-09-21T22:27:56.127Z] Step 25/32 : RUN mkdir -p /cache && chown -R 2002:2002 /cache [2022-09-21T22:27:56.385Z] ---> Running in 67173f794816 [2022-09-21T22:27:56.952Z] Removing intermediate container 67173f794816 [2022-09-21T22:27:56.952Z] ---> 40811a2cd4a9 [2022-09-21T22:27:56.952Z] Step 26/32 : VOLUME /cache [2022-09-21T22:27:56.952Z] ---> Running in 65ee2690c5da [2022-09-21T22:27:56.952Z] Removing intermediate container 65ee2690c5da [2022-09-21T22:27:56.952Z] ---> b18d0c709a36 [2022-09-21T22:27:56.952Z] Step 27/32 : EXPOSE 59711 [2022-09-21T22:27:57.210Z] ---> Running in 0d53e2ab1851 [2022-09-21T22:27:57.210Z] Removing intermediate container 0d53e2ab1851 [2022-09-21T22:27:57.210Z] ---> 4c624df28c4f [2022-09-21T22:27:57.210Z] Step 28/32 : ENTRYPOINT ["/app-rfid-llrp-inventory"] [2022-09-21T22:27:57.210Z] ---> Running in 8e272f69c875 [2022-09-21T22:27:57.210Z] Removing intermediate container 8e272f69c875 [2022-09-21T22:27:57.210Z] ---> 7059b9661a10 [2022-09-21T22:27:57.210Z] Step 29/32 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] [2022-09-21T22:27:57.210Z] ---> Running in ee5c228470ce [2022-09-21T22:27:57.471Z] Removing intermediate container ee5c228470ce [2022-09-21T22:27:57.471Z] ---> 1cf71e910bb2 [2022-09-21T22:27:57.471Z] Step 30/32 : LABEL arch=amd64 [2022-09-21T22:27:57.471Z] ---> Running in 54d715668b74 [2022-09-21T22:27:57.471Z] Removing intermediate container 54d715668b74 [2022-09-21T22:27:57.471Z] ---> 8877fc0cd3b7 [2022-09-21T22:27:57.471Z] Step 31/32 : LABEL git_sha=4c34f11e704d620f6173803248dedd1465f9bb0d [2022-09-21T22:27:57.731Z] ---> Running in 965cae41ea19 [2022-09-21T22:27:57.731Z] Removing intermediate container 965cae41ea19 [2022-09-21T22:27:57.731Z] ---> 436e7b437c8b [2022-09-21T22:27:57.731Z] Step 32/32 : LABEL version=0.0.0 [2022-09-21T22:27:57.731Z] ---> Running in 4b0306a55b04 [2022-09-21T22:27:57.731Z] Removing intermediate container 4b0306a55b04 [2022-09-21T22:27:57.731Z] ---> 56b11a5b487e [2022-09-21T22:27:57.731Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-21T22:27:57.731Z] Successfully built 56b11a5b487e [2022-09-21T22:27:57.990Z] 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-09-21T22:27:58.788Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-21T22:27:58.788Z] [2022-09-21T22:27:58.788Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T22:27:59.162Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-21T22:27:59.162Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-21T22:27:59.162Z] 5eb5b503b376: Pulling fs layer [2022-09-21T22:27:59.162Z] 5c69ac0246d0: Pulling fs layer [2022-09-21T22:27:59.162Z] ec43610c2a17: Pulling fs layer [2022-09-21T22:27:59.162Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-21T22:27:59.162Z] 33b1e0a273af: Pulling fs layer [2022-09-21T22:27:59.162Z] 5d3b04190fa2: Pulling fs layer [2022-09-21T22:27:59.162Z] 2f39f015ded8: Pulling fs layer [2022-09-21T22:27:59.162Z] 3a2ae6a8a46f: Waiting [2022-09-21T22:27:59.162Z] 33b1e0a273af: Waiting [2022-09-21T22:27:59.162Z] 5d3b04190fa2: Waiting [2022-09-21T22:27:59.162Z] 5c69ac0246d0: Verifying Checksum [2022-09-21T22:27:59.162Z] 5c69ac0246d0: Download complete [2022-09-21T22:27:59.162Z] 3a2ae6a8a46f: Download complete [2022-09-21T22:27:59.424Z] 33b1e0a273af: Verifying Checksum [2022-09-21T22:27:59.424Z] 33b1e0a273af: Download complete [2022-09-21T22:27:59.424Z] 5d3b04190fa2: Verifying Checksum [2022-09-21T22:27:59.424Z] 5d3b04190fa2: Download complete [2022-09-21T22:27:59.424Z] ec43610c2a17: Verifying Checksum [2022-09-21T22:27:59.424Z] ec43610c2a17: Download complete [2022-09-21T22:27:59.424Z] 5eb5b503b376: Verifying Checksum [2022-09-21T22:27:59.424Z] 5eb5b503b376: Download complete [2022-09-21T22:27:59.992Z] 2f39f015ded8: Verifying Checksum [2022-09-21T22:27:59.992Z] 2f39f015ded8: Download complete [2022-09-21T22:28:00.557Z] 5eb5b503b376: Pull complete [2022-09-21T22:28:00.815Z] 5c69ac0246d0: Pull complete [2022-09-21T22:28:01.073Z] ec43610c2a17: Pull complete [2022-09-21T22:28:01.073Z] 3a2ae6a8a46f: Pull complete [2022-09-21T22:28:01.335Z] 33b1e0a273af: Pull complete [2022-09-21T22:28:01.335Z] 5d3b04190fa2: Pull complete [2022-09-21T22:28:05.521Z] 2f39f015ded8: Pull complete [2022-09-21T22:28:05.521Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-21T22:28:05.521Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-21T22:28:05.521Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-21T22:28:05.739Z] prd-ubuntu20.04-docker-8c-8g-482 does not seem to be running inside a container [2022-09-21T22:28:05.784Z] $ 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-109 -v /w/workspace/y_app-rfid-llrp-inventory_PR-109:/w/workspace/y_app-rfid-llrp-inventory_PR-109:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-109@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-109@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-21T22:28:07.769Z] $ docker top 0ec6b6f24210b7c93c24d9df263c4d597bdf9fc7c23c4243c37c5bb0ea12d777 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-21T22:28:08.206Z] ---> job-cost.sh [2022-09-21T22:28:08.206Z] lf-activate-venv: SKIPPING [2022-09-21T22:28:08.206Z] INFO: No Stack... [2022-09-21T22:28:08.468Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-21T22:28:09.037Z] INFO: Archiving Costs [Pipeline] sh [2022-09-21T22:28:09.363Z] + cat /w/workspace/y_app-rfid-llrp-inventory_PR-109/archives/cost.csv [2022-09-21T22:28:09.363Z] + cut -d, -f6 [Pipeline] lock [2022-09-21T22:28:09.405Z] Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-109-1-stack-cost] [2022-09-21T22:28:09.409Z] Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-109-1-stack-cost] did not exist. Created. [2022-09-21T22:28:09.409Z] Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-109-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-21T22:28:09.793Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-21T22:28:09.842Z] Stashed 1 file(s) [Pipeline] } [2022-09-21T22:28:09.876Z] Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-109-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-21T22:28:09.961Z] $ docker stop --time=1 0ec6b6f24210b7c93c24d9df263c4d597bdf9fc7c23c4243c37c5bb0ea12d777 [2022-09-21T22:28:11.141Z] $ docker rm -f 0ec6b6f24210b7c93c24d9df263c4d597bdf9fc7c23c4243c37c5bb0ea12d777 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-21T22:28:42.352Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-485 in /w/workspace/y_app-rfid-llrp-inventory_PR-109 [Pipeline] { [Pipeline] ws [2022-09-21T22:28:42.395Z] Running in /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] { [Pipeline] checkout [2022-09-21T22:28:42.465Z] The recommended git tool is: git [2022-09-21T22:28:47.730Z] using credential edgex-jenkins-ssh [2022-09-21T22:28:47.748Z] Cloning the remote Git repository [2022-09-21T22:28:47.793Z] Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2022-09-21T22:28:47.871Z] > git init /w/workspace/app-rfid-llrp-inventory/1 # timeout=10 [2022-09-21T22:28:48.026Z] Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2022-09-21T22:28:48.027Z] > git --version # timeout=10 [2022-09-21T22:28:48.048Z] > git --version # 'git version 2.25.1' [2022-09-21T22:28:48.050Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-21T22:28:48.093Z] Verifying host key using known hosts file [2022-09-21T22:28:48.301Z] 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-09-21T22:28:48.315Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-21T22:28:50.459Z] > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 [2022-09-21T22:28:50.487Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-21T22:28:51.889Z] Merging remotes/origin/main commit 072a57e35cc109d570a2f4b5b0ca8e97ebd0d8ea into PR head commit 4c34f11e704d620f6173803248dedd1465f9bb0d [2022-09-21T22:28:52.140Z] Merge succeeded, producing 4c34f11e704d620f6173803248dedd1465f9bb0d [2022-09-21T22:28:52.141Z] Checking out Revision 4c34f11e704d620f6173803248dedd1465f9bb0d (PR-109) [2022-09-21T22:28:52.588Z] Commit message: "build: Add option to build Service with NATS Capability" [2022-09-21T22:28:51.322Z] > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 [2022-09-21T22:28:51.363Z] Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2022-09-21T22:28:51.364Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-21T22:28:51.368Z] Verifying host key using known hosts file [2022-09-21T22:28:51.375Z] 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-09-21T22:28:51.387Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/109/head:refs/remotes/origin/PR-109 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-21T22:28:51.906Z] > git config core.sparsecheckout # timeout=10 [2022-09-21T22:28:51.933Z] > git checkout -f 4c34f11e704d620f6173803248dedd1465f9bb0d # timeout=10 [2022-09-21T22:28:52.033Z] > git remote # timeout=10 [2022-09-21T22:28:52.057Z] > git config --get remote.origin.url # timeout=10 [2022-09-21T22:28:52.071Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-21T22:28:52.076Z] Verifying host key using known hosts file [2022-09-21T22:28:52.082Z] 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-09-21T22:28:52.093Z] > git merge 072a57e35cc109d570a2f4b5b0ca8e97ebd0d8ea # timeout=10 [2022-09-21T22:28:52.119Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-21T22:28:52.144Z] > git config core.sparsecheckout # timeout=10 [2022-09-21T22:28:52.162Z] > git checkout -f 4c34f11e704d620f6173803248dedd1465f9bb0d # timeout=10 [2022-09-21T22:28:52.632Z] > git --version # timeout=10 [2022-09-21T22:28:52.643Z] > git --version # 'git version 2.25.1' [2022-09-21T22:28:52.682Z] fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-21T22:28:53.695Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-21T22:28:53.695Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-21T22:28:53.695Z] Dload Upload Total Spent Left Speed [2022-09-21T22:28:53.695Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 208k 0 --:--:-- --:--:-- --:--:-- 212k [Pipeline] sh [2022-09-21T22:28:54.275Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-21T22:28:54.608Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-21T22:28:54.608Z] + sudo tee /etc/docker/daemon.new [2022-09-21T22:28:54.608Z] { [2022-09-21T22:28:54.608Z] "registry-mirrors": [ [2022-09-21T22:28:54.608Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-21T22:28:54.608Z] ], [2022-09-21T22:28:54.608Z] "bip": "10.250.0.254/24", [2022-09-21T22:28:54.608Z] "hosts": [ [2022-09-21T22:28:54.608Z] "tcp://0.0.0.0:5555", [2022-09-21T22:28:54.608Z] "unix:///var/run/docker.sock" [2022-09-21T22:28:54.608Z] ], [2022-09-21T22:28:54.608Z] "mtu": 1458, [2022-09-21T22:28:54.608Z] "selinux-enabled": true, [2022-09-21T22:28:54.608Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-21T22:28:54.608Z] } [Pipeline] sh [2022-09-21T22:28:54.948Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-21T22:28:55.296Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-21T22:29:13.621Z] provisioning config files... [2022-09-21T22:29:13.646Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/1@tmp/config1550061357281319998tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-21T22:29:14.025Z] ---> docker-login.sh [2022-09-21T22:29:14.025Z] nexus3.edgexfoundry.org:10001 [2022-09-21T22:29:14.294Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T22:29:14.880Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T22:29:14.880Z] Configure a credential helper to remove this warning. See [2022-09-21T22:29:14.880Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T22:29:14.880Z] [2022-09-21T22:29:14.880Z] Login Succeeded [2022-09-21T22:29:14.880Z] nexus3.edgexfoundry.org:10002 [2022-09-21T22:29:14.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T22:29:15.149Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T22:29:15.149Z] Configure a credential helper to remove this warning. See [2022-09-21T22:29:15.149Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T22:29:15.149Z] [2022-09-21T22:29:15.149Z] Login Succeeded [2022-09-21T22:29:15.149Z] nexus3.edgexfoundry.org:10003 [2022-09-21T22:29:15.418Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T22:29:15.418Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T22:29:15.418Z] Configure a credential helper to remove this warning. See [2022-09-21T22:29:15.418Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T22:29:15.418Z] [2022-09-21T22:29:15.418Z] Login Succeeded [2022-09-21T22:29:15.418Z] nexus3.edgexfoundry.org:10004 [2022-09-21T22:29:15.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T22:29:15.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T22:29:15.691Z] Configure a credential helper to remove this warning. See [2022-09-21T22:29:15.691Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T22:29:15.691Z] [2022-09-21T22:29:15.691Z] Login Succeeded [2022-09-21T22:29:15.691Z] docker.io [2022-09-21T22:29:15.961Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-21T22:29:16.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-21T22:29:16.546Z] Configure a credential helper to remove this warning. See [2022-09-21T22:29:16.546Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-21T22:29:16.546Z] [2022-09-21T22:29:16.546Z] Login Succeeded [2022-09-21T22:29:16.546Z] ---> docker-login.sh ends [Pipeline] } [2022-09-21T22:29:16.577Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-21T22:29:16.837Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-21T22:29:16.871Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-21T22:29:16.902Z] ========================================================= [2022-09-21T22:29:16.902Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-21T22:29:16.902Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T22:29:17.389Z] + 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-09-21T22:29:17.655Z] Sending build context to Docker daemon 683kB [2022-09-21T22:29:17.655Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-09-21T22:29:17.655Z] Step 2/14 : FROM ${BASE} AS builder [2022-09-21T22:29:17.655Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-21T22:29:17.655Z] b3c136eddcbf: Pulling fs layer [2022-09-21T22:29:17.655Z] c0a3192eca97: Pulling fs layer [2022-09-21T22:29:17.655Z] a050256f5b6f: Pulling fs layer [2022-09-21T22:29:17.655Z] 656be50a0ddc: Pulling fs layer [2022-09-21T22:29:17.655Z] 2bbca73fdf42: Pulling fs layer [2022-09-21T22:29:17.655Z] 46d945488cbd: Pulling fs layer [2022-09-21T22:29:17.655Z] 8a5474983e97: Pulling fs layer [2022-09-21T22:29:17.655Z] 329c88fbcd65: Pulling fs layer [2022-09-21T22:29:17.655Z] 656be50a0ddc: Waiting [2022-09-21T22:29:17.655Z] 2bbca73fdf42: Waiting [2022-09-21T22:29:17.655Z] 46d945488cbd: Waiting [2022-09-21T22:29:17.655Z] 8a5474983e97: Waiting [2022-09-21T22:29:17.655Z] 329c88fbcd65: Waiting [2022-09-21T22:29:17.926Z] a050256f5b6f: Verifying Checksum [2022-09-21T22:29:17.926Z] a050256f5b6f: Download complete [2022-09-21T22:29:17.926Z] c0a3192eca97: Verifying Checksum [2022-09-21T22:29:17.926Z] c0a3192eca97: Download complete [2022-09-21T22:29:17.926Z] 2bbca73fdf42: Verifying Checksum [2022-09-21T22:29:17.926Z] 2bbca73fdf42: Download complete [2022-09-21T22:29:17.926Z] 46d945488cbd: Verifying Checksum [2022-09-21T22:29:17.926Z] 46d945488cbd: Download complete [2022-09-21T22:29:17.926Z] b3c136eddcbf: Verifying Checksum [2022-09-21T22:29:18.892Z] b3c136eddcbf: Pull complete [2022-09-21T22:29:18.892Z] 329c88fbcd65: Verifying Checksum [2022-09-21T22:29:18.892Z] 329c88fbcd65: Download complete [2022-09-21T22:29:19.160Z] c0a3192eca97: Pull complete [2022-09-21T22:29:19.429Z] a050256f5b6f: Pull complete [2022-09-21T22:29:20.013Z] 8a5474983e97: Verifying Checksum [2022-09-21T22:29:20.013Z] 8a5474983e97: Download complete [2022-09-21T22:29:20.597Z] 656be50a0ddc: Verifying Checksum [2022-09-21T22:29:20.597Z] 656be50a0ddc: Download complete [2022-09-21T22:29:33.051Z] 656be50a0ddc: Pull complete [2022-09-21T22:29:33.051Z] 2bbca73fdf42: Pull complete [2022-09-21T22:29:33.051Z] 46d945488cbd: Pull complete [2022-09-21T22:29:39.715Z] 8a5474983e97: Pull complete [2022-09-21T22:29:41.129Z] 329c88fbcd65: Pull complete [2022-09-21T22:29:41.129Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-21T22:29:41.129Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-21T22:29:41.129Z] ---> ff4287adb874 [2022-09-21T22:29:41.129Z] Step 3/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-09-21T22:29:43.160Z] ---> Running in 5a6bd6b16a36 [2022-09-21T22:29:43.160Z] Removing intermediate container 5a6bd6b16a36 [2022-09-21T22:29:43.160Z] ---> d087340b1e25 [2022-09-21T22:29:43.160Z] Step 4/14 : ARG ALPINE_PKG_EXTRA="" [2022-09-21T22:29:43.160Z] ---> Running in b833749aa19a [2022-09-21T22:29:43.433Z] Removing intermediate container b833749aa19a [2022-09-21T22:29:43.433Z] ---> ac6271adcdcc [2022-09-21T22:29:43.433Z] Step 5/14 : ARG ADD_BUILD_TAGS="" [2022-09-21T22:29:43.702Z] ---> Running in a51b48a9c15c [2022-09-21T22:29:43.968Z] Removing intermediate container a51b48a9c15c [2022-09-21T22:29:43.968Z] ---> 8cfdbb824abd [2022-09-21T22:29:43.968Z] Step 6/14 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-21T22:29:43.968Z] ---> Running in 9e731852d592 [2022-09-21T22:29:44.235Z] Removing intermediate container 9e731852d592 [2022-09-21T22:29:44.235Z] ---> 84ef62b82ddc [2022-09-21T22:29:44.235Z] Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-21T22:29:44.502Z] ---> Running in 8574f3e26bdb [2022-09-21T22:29:46.444Z] Removing intermediate container 8574f3e26bdb [2022-09-21T22:29:46.444Z] ---> 875149eb37ef [2022-09-21T22:29:46.444Z] Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-21T22:29:46.444Z] ---> Running in 9ab5ccad859b [2022-09-21T22:29:47.028Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-21T22:29:47.988Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-21T22:29:48.955Z] OK: 221 MiB in 51 packages [2022-09-21T22:29:49.555Z] Removing intermediate container 9ab5ccad859b [2022-09-21T22:29:49.555Z] ---> 5194c700a83b [2022-09-21T22:29:49.555Z] Step 9/14 : WORKDIR /app [2022-09-21T22:29:49.555Z] ---> Running in eaf760e533bb [2022-09-21T22:29:49.821Z] Removing intermediate container eaf760e533bb [2022-09-21T22:29:49.821Z] ---> 9b948a08cfd9 [2022-09-21T22:29:49.821Z] Step 10/14 : COPY go.mod vendor* ./ [2022-09-21T22:29:50.404Z] ---> 1da7d00d988f [2022-09-21T22:29:50.404Z] Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-21T22:29:50.404Z] ---> Running in be555e8b233c [2022-09-21T22:30:37.238Z] Removing intermediate container be555e8b233c [2022-09-21T22:30:37.238Z] ---> 1ac21534805d [2022-09-21T22:30:37.238Z] Step 12/14 : COPY . . [2022-09-21T22:30:37.238Z] ---> 82df10b662f4 [2022-09-21T22:30:37.238Z] Step 13/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-21T22:30:37.238Z] ---> Running in ec686fdef2f3 [2022-09-21T22:30:37.238Z] Removing intermediate container ec686fdef2f3 [2022-09-21T22:30:37.238Z] ---> 02c6a6ff8a1c [2022-09-21T22:30:37.238Z] Step 14/14 : RUN $MAKE [2022-09-21T22:30:37.238Z] ---> Running in 3d5d7b240037 [2022-09-21T22:30:37.238Z] noop [2022-09-21T22:30:37.238Z] Removing intermediate container 3d5d7b240037 [2022-09-21T22:30:37.238Z] ---> 831e304be9ac [2022-09-21T22:30:37.238Z] Successfully built 831e304be9ac [2022-09-21T22:30:37.238Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T22:30:37.703Z] + docker inspect -f . ci-base-image-arm64 [2022-09-21T22:30:37.703Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-21T22:30:37.942Z] prd-ubuntu20.04-docker-arm64-4c-16g-485 does not seem to be running inside a container [2022-09-21T22:30:38.011Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-21T22:30:39.143Z] $ docker top d391a002a9269c782c1851f3df44c29e0eba5c2e8e40194cefdc6084b05096d5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-21T22:30:40.020Z] + go version [2022-09-21T22:30:40.020Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-21T22:30:40.056Z] $ docker stop --time=1 d391a002a9269c782c1851f3df44c29e0eba5c2e8e40194cefdc6084b05096d5 [2022-09-21T22:30:41.660Z] $ docker rm -f d391a002a9269c782c1851f3df44c29e0eba5c2e8e40194cefdc6084b05096d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T22:30:42.454Z] + docker inspect -f . ci-base-image-arm64 [2022-09-21T22:30:42.454Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-21T22:30:42.700Z] prd-ubuntu20.04-docker-arm64-4c-16g-485 does not seem to be running inside a container [2022-09-21T22:30:42.761Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-21T22:30:43.880Z] $ docker top 8b5167bf450c7dbb1bf3eaf00326984f1903c43b4b910413c7b00c00f16c2b02 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-21T22:30:44.431Z] + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] fileExists [Pipeline] sh [2022-09-21T22:30:45.078Z] + make test [2022-09-21T22:30:45.078Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-21T22:32:21.743Z] ? edgexfoundry/app-rfid-llrp-inventory [no test files] [2022-09-21T22:32:21.743Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.161s coverage: 86.2% of statements [2022-09-21T22:32:21.743Z] ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] [2022-09-21T22:32:21.743Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.731s coverage: 71.9% of statements [2022-09-21T22:32:21.743Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-21T22:32:21.743Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-21T22:32:48.456Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-21T22:32:48.456Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-21T22:32:48.456Z] ./bin/test-attribution.sh [2022-09-21T22:32:48.456Z] An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add [2022-09-21T22:32:48.456Z] An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add [2022-09-21T22:32:48.456Z] An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo [2022-09-21T22:32:48.499Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-21T22:32:48.535Z] $ docker stop --time=1 8b5167bf450c7dbb1bf3eaf00326984f1903c43b4b910413c7b00c00f16c2b02 [2022-09-21T22:32:50.322Z] $ docker rm -f 8b5167bf450c7dbb1bf3eaf00326984f1903c43b4b910413c7b00c00f16c2b02 [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-21T22:32:51.382Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-21T22:32:51.421Z] Warning: overwriting stash ‘coverage-report’ [2022-09-21T22:32:51.895Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-21T22:32:52.496Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-21T22:32:52.844Z] + ls -al . [2022-09-21T22:32:52.845Z] total 228 [2022-09-21T22:32:52.845Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 21 22:30 . [2022-09-21T22:32:52.845Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 22:28 .. [2022-09-21T22:32:52.845Z] -rw-rw-r-- 1 jenkins jenkins 262 Sep 21 22:28 .dockerignore [2022-09-21T22:32:52.845Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 21 22:28 .git [2022-09-21T22:32:52.845Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 22:28 .github [2022-09-21T22:32:52.845Z] -rw-rw-r-- 1 jenkins jenkins 788 Sep 21 22:28 .gitignore [2022-09-21T22:32:52.845Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 21 22:28 .golangci.yml [2022-09-21T22:32:52.845Z] -rw-rw-r-- 1 jenkins jenkins 9546 Sep 21 22:28 Attribution.txt [2022-09-21T22:32:52.845Z] -rw-rw-r-- 1 jenkins jenkins 2487 Sep 21 22:28 CHANGELOG.md [2022-09-21T22:32:52.845Z] -rw-rw-r-- 1 jenkins jenkins 1993 Sep 21 22:28 Dockerfile [2022-09-21T22:32:52.845Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 21 22:28 GOVERNANCE.md [2022-09-21T22:32:52.845Z] -rw-rw-r-- 1 jenkins jenkins 687 Sep 21 22:28 Jenkinsfile [2022-09-21T22:32:52.845Z] -rw-rw-r-- 1 jenkins jenkins 11347 Sep 21 22:28 LICENSE [2022-09-21T22:32:52.845Z] -rw-rw-r-- 1 jenkins jenkins 3163 Sep 21 22:28 Makefile [2022-09-21T22:32:52.845Z] -rw-rw-r-- 1 jenkins jenkins 617 Sep 21 22:28 OWNERS.md [2022-09-21T22:32:52.845Z] -rw-rw-r-- 1 jenkins jenkins 31023 Sep 21 22:28 README.md [2022-09-21T22:32:52.845Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 21 22:26 VERSION [2022-09-21T22:32:52.845Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 21 22:28 bin [2022-09-21T22:32:52.845Z] -rw-r--r-- 1 jenkins jenkins 41008 Sep 21 22:32 coverage.out [2022-09-21T22:32:52.845Z] -rw-rw-r-- 1 jenkins jenkins 3677 Sep 21 22:28 go.mod [2022-09-21T22:32:52.845Z] -rw-rw-r-- 1 jenkins jenkins 37565 Sep 21 22:28 go.sum [2022-09-21T22:32:52.845Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 21 22:28 images [2022-09-21T22:32:52.845Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 22:28 internal [2022-09-21T22:32:52.845Z] -rw-rw-r-- 1 jenkins jenkins 531 Sep 21 22:28 main.go [2022-09-21T22:32:52.845Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 21 22:28 res [2022-09-21T22:32:52.845Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 21 22:28 snap [2022-09-21T22:32:52.845Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 21 22:28 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T22:32:53.278Z] + 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=4c34f11e704d620f6173803248dedd1465f9bb0d --label arch=arm64 --label version=0.0.0 . [2022-09-21T22:32:53.548Z] Sending build context to Docker daemon 683kB [2022-09-21T22:32:53.548Z] Step 1/32 : ARG BASE=golang:1.18-alpine3.16 [2022-09-21T22:32:53.548Z] Step 2/32 : FROM ${BASE} AS builder [2022-09-21T22:32:53.548Z] ---> 831e304be9ac [2022-09-21T22:32:53.548Z] Step 3/32 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-09-21T22:32:53.548Z] ---> Running in 5d4490f3ebc1 [2022-09-21T22:32:53.819Z] Removing intermediate container 5d4490f3ebc1 [2022-09-21T22:32:53.819Z] ---> bb46ecfd0de0 [2022-09-21T22:32:53.819Z] Step 4/32 : ARG ALPINE_PKG_EXTRA="" [2022-09-21T22:32:54.099Z] ---> Running in 122ce706d3c4 [2022-09-21T22:32:54.367Z] Removing intermediate container 122ce706d3c4 [2022-09-21T22:32:54.367Z] ---> 823167514ec3 [2022-09-21T22:32:54.367Z] Step 5/32 : ARG ADD_BUILD_TAGS="" [2022-09-21T22:32:54.367Z] ---> Running in efbf97a9b5fa [2022-09-21T22:32:54.643Z] Removing intermediate container efbf97a9b5fa [2022-09-21T22:32:54.643Z] ---> d15a1c6f79df [2022-09-21T22:32:54.643Z] Step 6/32 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-21T22:32:54.643Z] ---> Running in 0353a667becb [2022-09-21T22:32:55.153Z] Removing intermediate container 0353a667becb [2022-09-21T22:32:55.153Z] ---> 0e4b86af4123 [2022-09-21T22:32:55.153Z] Step 7/32 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-21T22:32:55.153Z] ---> Running in c6abd410173d [2022-09-21T22:32:56.584Z] Removing intermediate container c6abd410173d [2022-09-21T22:32:56.584Z] ---> 8c92f472590a [2022-09-21T22:32:56.584Z] Step 8/32 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-21T22:32:56.584Z] ---> Running in f04873fe5d9e [2022-09-21T22:32:58.003Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-21T22:32:58.585Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-21T22:32:59.551Z] OK: 221 MiB in 51 packages [2022-09-21T22:33:00.529Z] Removing intermediate container f04873fe5d9e [2022-09-21T22:33:00.529Z] ---> 3e1541005387 [2022-09-21T22:33:00.529Z] Step 9/32 : WORKDIR /app [2022-09-21T22:33:00.529Z] ---> Running in b7bb5df49973 [2022-09-21T22:33:01.112Z] Removing intermediate container b7bb5df49973 [2022-09-21T22:33:01.112Z] ---> 9624f025f22f [2022-09-21T22:33:01.112Z] Step 10/32 : COPY go.mod vendor* ./ [2022-09-21T22:33:01.702Z] ---> 0298cc4e25d3 [2022-09-21T22:33:01.702Z] Step 11/32 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-21T22:33:01.702Z] ---> Running in 565005a4a426 [2022-09-21T22:33:03.680Z] Removing intermediate container 565005a4a426 [2022-09-21T22:33:03.680Z] ---> e02e1fec6e2b [2022-09-21T22:33:03.680Z] Step 12/32 : COPY . . [2022-09-21T22:33:04.652Z] ---> d18da610b0d3 [2022-09-21T22:33:04.652Z] Step 13/32 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-09-21T22:33:04.652Z] ---> Running in 49b1731f7081 [2022-09-21T22:33:06.060Z] Removing intermediate container 49b1731f7081 [2022-09-21T22:33:06.060Z] ---> 81573bfbb70d [2022-09-21T22:33:06.060Z] Step 14/32 : RUN $MAKE [2022-09-21T22:33:06.060Z] ---> Running in 6decdf2aec26 [2022-09-21T22:33:07.029Z] 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.30 -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-09-21T22:35:43.794Z] Removing intermediate container 6decdf2aec26 [2022-09-21T22:35:43.794Z] ---> 5cfea50d8ba2 [2022-09-21T22:35:43.794Z] Step 15/32 : FROM alpine:3.14 [2022-09-21T22:35:43.794Z] 3.14: Pulling from library/alpine [2022-09-21T22:35:43.794Z] 90cda3b7c325: Pulling fs layer [2022-09-21T22:35:43.794Z] 90cda3b7c325: Verifying Checksum [2022-09-21T22:35:43.794Z] 90cda3b7c325: Download complete [2022-09-21T22:35:43.794Z] 90cda3b7c325: Pull complete [2022-09-21T22:35:43.794Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-09-21T22:35:43.794Z] Status: Downloaded newer image for alpine:3.14 [2022-09-21T22:35:43.794Z] ---> 376ba31ae3da [2022-09-21T22:35:43.794Z] Step 16/32 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-09-21T22:35:43.794Z] ---> Running in 86f21f0fe630 [2022-09-21T22:35:43.794Z] Removing intermediate container 86f21f0fe630 [2022-09-21T22:35:43.794Z] ---> 9060a5271fe6 [2022-09-21T22:35:43.794Z] Step 17/32 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} [2022-09-21T22:35:43.794Z] ---> Running in fd012235ab8f [2022-09-21T22:35:43.794Z] Removing intermediate container fd012235ab8f [2022-09-21T22:35:43.794Z] ---> 1a5834660278 [2022-09-21T22:35:43.794Z] Step 18/32 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-21T22:35:43.794Z] ---> Running in ea520d7b693a [2022-09-21T22:35:43.794Z] Removing intermediate container ea520d7b693a [2022-09-21T22:35:43.794Z] ---> 12a1d9eaf8ef [2022-09-21T22:35:43.794Z] Step 19/32 : RUN apk --no-cache add ca-certificates zeromq dumb-init [2022-09-21T22:35:43.794Z] ---> Running in 08db1e9e63e8 [2022-09-21T22:35:43.794Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-09-21T22:35:44.065Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-09-21T22:35:45.031Z] (1/7) Installing ca-certificates (20220614-r0) [2022-09-21T22:35:45.031Z] (2/7) Installing dumb-init (1.2.5-r1) [2022-09-21T22:35:45.299Z] (3/7) Installing libgcc (10.3.1_git20210424-r2) [2022-09-21T22:35:45.299Z] (4/7) Installing libsodium (1.0.18-r0) [2022-09-21T22:35:45.299Z] (5/7) Installing libstdc++ (10.3.1_git20210424-r2) [2022-09-21T22:35:45.567Z] (6/7) Installing libzmq (4.3.4-r0) [2022-09-21T22:35:45.567Z] (7/7) Installing zeromq (4.3.4-r0) [2022-09-21T22:35:45.567Z] Executing busybox-1.33.1-r8.trigger [2022-09-21T22:35:45.834Z] Executing ca-certificates-20220614-r0.trigger [2022-09-21T22:35:45.834Z] OK: 9 MiB in 21 packages [2022-09-21T22:35:47.250Z] Removing intermediate container 08db1e9e63e8 [2022-09-21T22:35:47.250Z] ---> 69c09c591986 [2022-09-21T22:35:47.250Z] Step 20/32 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2022-09-21T22:35:47.839Z] ---> 381835085bec [2022-09-21T22:35:47.839Z] Step 21/32 : COPY --from=builder /app/LICENSE /LICENSE [2022-09-21T22:35:48.106Z] ---> c5d0e5e6a9b2 [2022-09-21T22:35:48.106Z] Step 22/32 : COPY --from=builder /app/res/ /res/ [2022-09-21T22:35:48.690Z] ---> a226858ff98b [2022-09-21T22:35:48.690Z] Step 23/32 : COPY --from=builder /app/static/ /static/ [2022-09-21T22:35:49.275Z] ---> aae0c6039549 [2022-09-21T22:35:49.275Z] Step 24/32 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory [2022-09-21T22:35:50.688Z] ---> a0d18ab325dd [2022-09-21T22:35:50.688Z] Step 25/32 : RUN mkdir -p /cache && chown -R 2002:2002 /cache [2022-09-21T22:35:50.688Z] ---> Running in a3e751e7e13f [2022-09-21T22:35:52.097Z] Removing intermediate container a3e751e7e13f [2022-09-21T22:35:52.097Z] ---> c6ba7f12f69b [2022-09-21T22:35:52.097Z] Step 26/32 : VOLUME /cache [2022-09-21T22:35:52.364Z] ---> Running in 30d965ee5f59 [2022-09-21T22:35:52.632Z] Removing intermediate container 30d965ee5f59 [2022-09-21T22:35:52.632Z] ---> f6f4e4741c3d [2022-09-21T22:35:52.632Z] Step 27/32 : EXPOSE 59711 [2022-09-21T22:35:52.632Z] ---> Running in 5ca897cd3e82 [2022-09-21T22:35:52.901Z] Removing intermediate container 5ca897cd3e82 [2022-09-21T22:35:52.901Z] ---> b4eb749cdfc5 [2022-09-21T22:35:52.901Z] Step 28/32 : ENTRYPOINT ["/app-rfid-llrp-inventory"] [2022-09-21T22:35:53.169Z] ---> Running in 3a33c25ae0f5 [2022-09-21T22:35:53.438Z] Removing intermediate container 3a33c25ae0f5 [2022-09-21T22:35:53.438Z] ---> 902bdcec6761 [2022-09-21T22:35:53.438Z] Step 29/32 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] [2022-09-21T22:35:53.438Z] ---> Running in 3b0d75d10588 [2022-09-21T22:35:53.706Z] Removing intermediate container 3b0d75d10588 [2022-09-21T22:35:53.706Z] ---> 972d0149a144 [2022-09-21T22:35:53.706Z] Step 30/32 : LABEL arch=arm64 [2022-09-21T22:35:53.706Z] ---> Running in 43a8b416a8a0 [2022-09-21T22:35:53.978Z] Removing intermediate container 43a8b416a8a0 [2022-09-21T22:35:53.978Z] ---> fa02ab897c78 [2022-09-21T22:35:53.978Z] Step 31/32 : LABEL git_sha=4c34f11e704d620f6173803248dedd1465f9bb0d [2022-09-21T22:35:54.249Z] ---> Running in 0affac6447bb [2022-09-21T22:35:54.517Z] Removing intermediate container 0affac6447bb [2022-09-21T22:35:54.517Z] ---> c1aeb35066d9 [2022-09-21T22:35:54.517Z] Step 32/32 : LABEL version=0.0.0 [2022-09-21T22:35:54.517Z] ---> Running in 0127dc708f84 [2022-09-21T22:35:54.786Z] Removing intermediate container 0127dc708f84 [2022-09-21T22:35:54.786Z] ---> a20eab23f2c8 [2022-09-21T22:35:54.786Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-21T22:35:54.786Z] Successfully built a20eab23f2c8 [2022-09-21T22:35:54.786Z] 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-09-21T22:35:55.712Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-21T22:35:55.712Z] [2022-09-21T22:35:55.712Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T22:35:56.142Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-21T22:35:56.142Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-21T22:35:56.142Z] 8998bd30e6a1: Pulling fs layer [2022-09-21T22:35:56.142Z] 04944245beec: Pulling fs layer [2022-09-21T22:35:56.142Z] 699f458cf7ca: Pulling fs layer [2022-09-21T22:35:56.142Z] 765212b225bb: Pulling fs layer [2022-09-21T22:35:56.142Z] f23df028b6ca: Pulling fs layer [2022-09-21T22:35:56.142Z] d65c8cfc05b1: Pulling fs layer [2022-09-21T22:35:56.142Z] 2437ff75d9bd: Pulling fs layer [2022-09-21T22:35:56.142Z] 765212b225bb: Waiting [2022-09-21T22:35:56.142Z] f23df028b6ca: Waiting [2022-09-21T22:35:56.142Z] d65c8cfc05b1: Waiting [2022-09-21T22:35:56.142Z] 2437ff75d9bd: Waiting [2022-09-21T22:35:56.449Z] 04944245beec: Verifying Checksum [2022-09-21T22:35:56.449Z] 04944245beec: Download complete [2022-09-21T22:35:56.449Z] 765212b225bb: Download complete [2022-09-21T22:35:56.449Z] f23df028b6ca: Verifying Checksum [2022-09-21T22:35:56.449Z] f23df028b6ca: Download complete [2022-09-21T22:35:56.449Z] d65c8cfc05b1: Download complete [2022-09-21T22:35:56.729Z] 699f458cf7ca: Verifying Checksum [2022-09-21T22:35:56.729Z] 699f458cf7ca: Download complete [2022-09-21T22:35:57.005Z] 8998bd30e6a1: Verifying Checksum [2022-09-21T22:35:57.005Z] 8998bd30e6a1: Download complete [2022-09-21T22:35:58.985Z] 2437ff75d9bd: Verifying Checksum [2022-09-21T22:35:58.985Z] 2437ff75d9bd: Download complete [2022-09-21T22:36:01.562Z] 8998bd30e6a1: Pull complete [2022-09-21T22:36:01.562Z] 04944245beec: Pull complete [2022-09-21T22:36:02.967Z] 699f458cf7ca: Pull complete [2022-09-21T22:36:03.233Z] 765212b225bb: Pull complete [2022-09-21T22:36:03.816Z] f23df028b6ca: Pull complete [2022-09-21T22:36:04.083Z] d65c8cfc05b1: Pull complete [2022-09-21T22:36:19.077Z] 2437ff75d9bd: Pull complete [2022-09-21T22:36:19.077Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-21T22:36:19.077Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-21T22:36:19.077Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-21T22:36:19.421Z] prd-ubuntu20.04-docker-arm64-4c-16g-485 does not seem to be running inside a container [2022-09-21T22:36:19.495Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-21T22:36:22.149Z] $ docker top f3dbbbeb7b8a7df5690e8156e257ecf8de7d240ed7d29cb791cb04f9d1e0d804 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-21T22:36:23.064Z] ---> job-cost.sh [2022-09-21T22:36:23.064Z] lf-activate-venv: SKIPPING [2022-09-21T22:36:23.064Z] INFO: No Stack... [2022-09-21T22:36:23.647Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-21T22:36:25.053Z] INFO: Archiving Costs [Pipeline] sh [2022-09-21T22:36:25.721Z] + cat /w/workspace/app-rfid-llrp-inventory/1/archives/cost.csv [2022-09-21T22:36:25.721Z] + cut -d, -f6 [Pipeline] lock [2022-09-21T22:36:25.811Z] Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-109-1-stack-cost] [2022-09-21T22:36:25.817Z] Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-109-1-stack-cost] did not exist. Created. [2022-09-21T22:36:25.817Z] Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-109-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-21T22:36:26.551Z] /w/workspace/app-rfid-llrp-inventory/1@tmp/durable-1feb6cc4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-21T22:36:27.224Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-21T22:36:27.264Z] Warning: overwriting stash ‘stack-cost’ [2022-09-21T22:36:27.311Z] Stashed 1 file(s) [Pipeline] } [2022-09-21T22:36:27.327Z] Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-109-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-21T22:36:27.409Z] $ docker stop --time=1 f3dbbbeb7b8a7df5690e8156e257ecf8de7d240ed7d29cb791cb04f9d1e0d804 [2022-09-21T22:36:28.880Z] $ docker rm -f f3dbbbeb7b8a7df5690e8156e257ecf8de7d240ed7d29cb791cb04f9d1e0d804 [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-09-21T22:36:29.879Z] provisioning config files... [2022-09-21T22:36:29.886Z] copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-109@tmp/config4717137380771624077tmp [Pipeline] { [Pipeline] sh [2022-09-21T22:36:30.224Z] + set +x [2022-09-21T22:36:30.224Z] + curl -s https://codecov.io/bash [2022-09-21T22:36:30.224Z] + bash -s -- [2022-09-21T22:36:30.224Z] [2022-09-21T22:36:30.224Z] _____ _ [2022-09-21T22:36:30.224Z] / ____| | | [2022-09-21T22:36:30.224Z] | | ___ __| | ___ ___ _____ __ [2022-09-21T22:36:30.224Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-09-21T22:36:30.224Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-09-21T22:36:30.224Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-09-21T22:36:30.224Z] Bash-1.0.6 [2022-09-21T22:36:30.224Z] [2022-09-21T22:36:30.224Z] [2022-09-21T22:36:30.224Z] ==> git version 2.25.1 found [2022-09-21T22:36:30.224Z] ==> 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-09-21T22:36:30.224Z] Release-Date: 2020-01-08 [2022-09-21T22:36:30.224Z] 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-09-21T22:36:30.224Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-09-21T22:36:30.224Z] ==> Jenkins CI detected. [2022-09-21T22:36:30.224Z] current dir:  /w/workspace/y_app-rfid-llrp-inventory_PR-109 [2022-09-21T22:36:30.224Z] project root: . [2022-09-21T22:36:30.224Z] --> token set from env [2022-09-21T22:36:30.224Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-09-21T22:36:30.224Z] ==> Running gcov in . (disable via -X gcov) [2022-09-21T22:36:30.224Z] ==> Python coveragepy not found [2022-09-21T22:36:30.224Z] ==> Searching for coverage reports in: [2022-09-21T22:36:30.224Z] + . [2022-09-21T22:36:30.224Z] -> Found 1 reports [2022-09-21T22:36:30.224Z] ==> Detecting git/mercurial file structure [2022-09-21T22:36:30.224Z] ==> Reading reports [2022-09-21T22:36:30.224Z] + ./coverage.out bytes=41008 [2022-09-21T22:36:30.224Z] ==> Appending adjustments [2022-09-21T22:36:30.224Z] https://docs.codecov.io/docs/fixing-reports [2022-09-21T22:36:30.482Z] + Found adjustments [2022-09-21T22:36:30.482Z] ==> Gzipping contents [2022-09-21T22:36:30.482Z] 12K /tmp/codecov.5JfMj6.gz [2022-09-21T22:36:30.482Z] ==> Uploading reports [2022-09-21T22:36:30.482Z] url: https://codecov.io [2022-09-21T22:36:30.482Z] query: branch=PR-109&commit=4c34f11e704d620f6173803248dedd1465f9bb0d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-109%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=109&job=&cmd_args= [2022-09-21T22:36:30.482Z] -> Pinging Codecov [2022-09-21T22:36:30.482Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-109&commit=4c34f11e704d620f6173803248dedd1465f9bb0d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-109%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=109&job=&cmd_args= [2022-09-21T22:36:30.740Z] -> Uploading to [2022-09-21T22:36:30.740Z] https://storage.googleapis.com/codecov/v4/raw/2022-09-21/581DD39554BDF9B6E22D074273EAD858/4c34f11e704d620f6173803248dedd1465f9bb0d/ceebc743-4fdf-4524-8a4b-079118fc789c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220921%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220921T223630Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d22647cf10cafd03e9b3f155bede678d25554f376f302c9aea357c1f79cddedb [2022-09-21T22:36:30.740Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-21T22:36:30.740Z] Dload Upload Total Spent Left Speed [2022-09-21T22:36:30.998Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11466 0 0 100 11466 0 44100 --:--:-- --:--:-- --:--:-- 44100 [2022-09-21T22:36:30.999Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/4c34f11e704d620f6173803248dedd1465f9bb0d [Pipeline] } [2022-09-21T22:36:31.025Z] 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-09-21T22:36:32.828Z] + [ -d /w/workspace/y_app-rfid-llrp-inventory_PR-109/archives ] [2022-09-21T22:36:32.828Z] + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-109/archives [2022-09-21T22:36:32.828Z] total 16 [2022-09-21T22:36:32.828Z] drwxr-xr-x 3 root root 4096 Sep 21 22:28 . [2022-09-21T22:36:32.828Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 21 22:28 .. [2022-09-21T22:36:32.828Z] drwxr-xr-x 2 root root 4096 Sep 21 22:28 cost [2022-09-21T22:36:32.828Z] -rw-r--r-- 1 root root 95 Sep 21 22:28 cost.csv [2022-09-21T22:36:32.828Z] + sudo chown -R jenkins:jenkins /w/workspace/y_app-rfid-llrp-inventory_PR-109/archives [2022-09-21T22:36:32.828Z] + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-109/archives [2022-09-21T22:36:32.828Z] total 16 [2022-09-21T22:36:32.828Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 21 22:28 . [2022-09-21T22:36:32.828Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 21 22:28 .. [2022-09-21T22:36:32.828Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 21 22:28 cost [2022-09-21T22:36:32.828Z] -rw-r--r-- 1 jenkins jenkins 95 Sep 21 22:28 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-21T22:36:33.167Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-21T22:36:34.062Z] ---> package-listing.sh [2022-09-21T22:36:34.062Z] ++ facter osfamily [2022-09-21T22:36:34.062Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-21T22:36:34.323Z] + OS_FAMILY=debian [2022-09-21T22:36:34.323Z] + workspace=/w/workspace/y_app-rfid-llrp-inventory_PR-109 [2022-09-21T22:36:34.323Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-21T22:36:34.323Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-21T22:36:34.323Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-21T22:36:34.323Z] + PACKAGES=/tmp/packages_start.txt [2022-09-21T22:36:34.323Z] + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-109 ']' [2022-09-21T22:36:34.323Z] + PACKAGES=/tmp/packages_end.txt [2022-09-21T22:36:34.323Z] + case "${OS_FAMILY}" in [2022-09-21T22:36:34.323Z] + dpkg -l [2022-09-21T22:36:34.323Z] + grep '^ii' [2022-09-21T22:36:34.323Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-21T22:36:34.323Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-21T22:36:34.323Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-21T22:36:34.323Z] + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-109 ']' [2022-09-21T22:36:34.323Z] + mkdir -p /w/workspace/y_app-rfid-llrp-inventory_PR-109/archives/ [2022-09-21T22:36:34.323Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/y_app-rfid-llrp-inventory_PR-109/archives/ [Pipeline] echo [2022-09-21T22:36:34.361Z] 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-109/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-21T22:36:34.660Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-21T22:36:35.311Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-21T22:36:35.311Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-21T22:36:35.472Z] prd-ubuntu20.04-docker-8c-8g-482 does not seem to be running inside a container [2022-09-21T22:36:35.513Z] $ 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-109/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-109 -v /w/workspace/y_app-rfid-llrp-inventory_PR-109:/w/workspace/y_app-rfid-llrp-inventory_PR-109:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-109@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-109@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-21T22:36:35.706Z] $ docker top 06581406a6332563c41558bc58da1d1f69b2aa40cb12474a060b26d0326305c4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-21T22:36:36.089Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-21T22:36:36.401Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-21T22:36:36.715Z] + ls /var/log/sa-host [2022-09-21T22:36:36.715Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-21T22:36:36.866Z] provisioning config files... [2022-09-21T22:36:36.877Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-109@tmp/config9875229546388787699tmp [Pipeline] { [Pipeline] echo [2022-09-21T22:36:36.924Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-21T22:36:37.236Z] ---> create-netrc.sh [Pipeline] } [2022-09-21T22:36:37.265Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-21T22:36:37.669Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-21T22:36:37.701Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-21T22:36:38.014Z] ---> sudo-logs.sh [2022-09-21T22:36:38.014Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-21T22:36:38.107Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-21T22:36:38.422Z] ---> job-cost.sh [2022-09-21T22:36:38.422Z] lf-activate-venv: SKIPPING [2022-09-21T22:36:38.422Z] DEBUG: total: 0.2199999988079071 [2022-09-21T22:36:38.422Z] INFO: Retrieving Stack Cost... [2022-09-21T22:36:38.993Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-21T22:36:39.560Z] INFO: Archiving Costs [Pipeline] echo [2022-09-21T22:36:39.597Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-21T22:36:39.911Z] ---> logs-deploy.sh [2022-09-21T22:36:39.912Z] lf-activate-venv: SKIPPING [2022-09-21T22:36:39.912Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-109/1 [2022-09-21T22:36:39.912Z] INFO: archiving workspace using pattern(s): [2022-09-21T22:36:40.849Z] Archives upload complete. [2022-09-21T22:36:41.107Z] INFO: archiving logs to Nexus