Pull request #117 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4c819182f510ef76da49475910846652e6cc32a4+617f1cb135f5f4038bf61bfc09ef59633cb6ae18 (738d79346f6f5ebd5a65d0a8b956a60e5a0b76db) 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-ssh18305517750839801764.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh16954567158338489716.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-117/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-117/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3572046327488253215.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-117/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10169044672268650127.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2598491238073565112.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-117/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-117/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18252762970814300301.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project: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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9302 in /w/workspace/y_app-rfid-llrp-inventory_PR-117 [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-117 # 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 Merging remotes/origin/main commit 617f1cb135f5f4038bf61bfc09ef59633cb6ae18 into PR head commit 4c819182f510ef76da49475910846652e6cc32a4 Merge succeeded, producing 4c819182f510ef76da49475910846652e6cc32a4 Checking out Revision 4c819182f510ef76da49475910846652e6cc32a4 (PR-117) > 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/117/head:refs/remotes/origin/PR-117 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4c819182f510ef76da49475910846652e6cc32a4 # 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 617f1cb135f5f4038bf61bfc09ef59633cb6ae18 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4c819182f510ef76da49475910846652e6cc32a4 # timeout=10 Commit message: "build(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-24T13:13:32.602Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-24T13:13:32.789Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-24T13:13:32.896Z] ========================================================= [2022-10-24T13:13:32.896Z] EdgeX Global Pipelines Version Info [2022-10-24T13:13:32.896Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-24T13:13:33.638Z] ------------------- [2022-10-24T13:13:33.638Z] stable info: [2022-10-24T13:13:33.638Z] ------------------- [2022-10-24T13:13:33.638Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-24T13:13:33.638Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-24T13:13:33.638Z] Message: update stable to v1.0.243 [2022-10-24T13:13:34.207Z] ------------------- [2022-10-24T13:13:34.207Z] experimental info: [2022-10-24T13:13:34.207Z] ------------------- [2022-10-24T13:13:34.207Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-24T13:13:34.207Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-24T13:13:34.207Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-24T13:13:34.512Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo [2022-10-24T13:13:34.560Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo [2022-10-24T13:13:34.603Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-24T13:13:34.644Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-24T13:13:34.679Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-24T13:13:34.714Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-24T13:13:34.750Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-24T13:13:34.788Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-24T13:13:34.826Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-24T13:13:34.863Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-24T13:13:34.900Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-24T13:13:34.937Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo [2022-10-24T13:13:34.976Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-24T13:13:35.016Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-24T13:13:35.063Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-24T13:13:35.104Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-24T13:13:35.143Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-24T13:13:35.180Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-24T13:13:35.218Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-24T13:13:35.256Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-24T13:13:35.300Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-24T13:13:35.340Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-24T13:13:35.377Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-24T13:13:35.419Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-24T13:13:35.460Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-24T13:13:35.507Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-24T13:13:35.555Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-24T13:13:35.594Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-117 [Pipeline] echo [2022-10-24T13:13:35.633Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-117 [Pipeline] echo [2022-10-24T13:13:35.675Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-117 [Pipeline] echo [2022-10-24T13:13:35.716Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4c819182f510ef76da49475910846652e6cc32a4 [Pipeline] echo [2022-10-24T13:13:35.756Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4c81918 [Pipeline] echo [2022-10-24T13:13:35.793Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-24T13:13:35.900Z] provisioning config files... [2022-10-24T13:13:35.915Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-117@tmp/config3495411581300205026tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T13:13:36.257Z] ---> docker-login.sh [2022-10-24T13:13:36.257Z] nexus3.edgexfoundry.org:10001 [2022-10-24T13:13:36.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T13:13:36.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T13:13:36.517Z] Configure a credential helper to remove this warning. See [2022-10-24T13:13:36.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T13:13:36.517Z] [2022-10-24T13:13:36.517Z] Login Succeeded [2022-10-24T13:13:36.517Z] nexus3.edgexfoundry.org:10002 [2022-10-24T13:13:36.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T13:13:36.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T13:13:36.779Z] Configure a credential helper to remove this warning. See [2022-10-24T13:13:36.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T13:13:36.779Z] [2022-10-24T13:13:36.779Z] Login Succeeded [2022-10-24T13:13:36.779Z] nexus3.edgexfoundry.org:10003 [2022-10-24T13:13:36.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T13:13:36.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T13:13:36.779Z] Configure a credential helper to remove this warning. See [2022-10-24T13:13:36.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T13:13:36.779Z] [2022-10-24T13:13:36.779Z] Login Succeeded [2022-10-24T13:13:36.779Z] nexus3.edgexfoundry.org:10004 [2022-10-24T13:13:37.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T13:13:37.039Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T13:13:37.039Z] Configure a credential helper to remove this warning. See [2022-10-24T13:13:37.039Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T13:13:37.039Z] [2022-10-24T13:13:37.039Z] Login Succeeded [2022-10-24T13:13:37.039Z] docker.io [2022-10-24T13:13:37.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T13:13:37.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T13:13:37.300Z] Configure a credential helper to remove this warning. See [2022-10-24T13:13:37.300Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T13:13:37.300Z] [2022-10-24T13:13:37.300Z] Login Succeeded [2022-10-24T13:13:37.300Z] ---> docker-login.sh ends [Pipeline] } [2022-10-24T13:13:37.329Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-24T13:13:37.985Z] + git rev-list -1 --merges 4c819182f510ef76da49475910846652e6cc32a4~1..4c819182f510ef76da49475910846652e6cc32a4 [Pipeline] echo [2022-10-24T13:13:38.029Z] -----------> git rev-list -1 --merges 4c819182f510ef76da49475910846652e6cc32a4~1..4c819182f510ef76da49475910846652e6cc32a4 4c819182f510ef76da49475910846652e6cc32a4 [false] [Pipeline] sh [2022-10-24T13:13:38.339Z] + git log --format=format:%s -1 4c819182f510ef76da49475910846652e6cc32a4 [Pipeline] echo [2022-10-24T13:13:38.377Z] ========================================================= [2022-10-24T13:13:38.377Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-24T13:13:38.377Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-24T13:13:38.811Z] + git log --format=format:%s -1 4c819182f510ef76da49475910846652e6cc32a4 [Pipeline] echo [2022-10-24T13:13:38.847Z] [semverPrep] GIT_COMMIT: 4c819182f510ef76da49475910846652e6cc32a4, Commit Message: build(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1 [Pipeline] echo [2022-10-24T13:13:38.878Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-24T13:13:39.263Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-24T13:13:39.263Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-24T13:13:39.263Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-24T13:13:39.263Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-24T13:13:39.263Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-24T13:13:39.263Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-24T13:13:39.263Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T13:13:39.686Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-24T13:13:39.686Z] [2022-10-24T13:13:39.686Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T13:13:40.054Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-24T13:13:40.054Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-24T13:13:40.054Z] b85a868b505f: Pulling fs layer [2022-10-24T13:13:40.054Z] e2be974225ed: Pulling fs layer [2022-10-24T13:13:40.054Z] 339a4e72a1f5: Pulling fs layer [2022-10-24T13:13:40.054Z] 988bab9f4d93: Pulling fs layer [2022-10-24T13:13:40.054Z] 1469e6f7b9e6: Pulling fs layer [2022-10-24T13:13:40.054Z] eaf3925da568: Pulling fs layer [2022-10-24T13:13:40.054Z] bab4dde63d76: Pulling fs layer [2022-10-24T13:13:40.054Z] bde34c3a00c8: Pulling fs layer [2022-10-24T13:13:40.054Z] b352a97aabf1: Pulling fs layer [2022-10-24T13:13:40.054Z] 4872d77fe225: Pulling fs layer [2022-10-24T13:13:40.054Z] 5851b861e8e6: Pulling fs layer [2022-10-24T13:13:40.054Z] 1469e6f7b9e6: Waiting [2022-10-24T13:13:40.054Z] eaf3925da568: Waiting [2022-10-24T13:13:40.054Z] bab4dde63d76: Waiting [2022-10-24T13:13:40.054Z] bde34c3a00c8: Waiting [2022-10-24T13:13:40.054Z] b352a97aabf1: Waiting [2022-10-24T13:13:40.054Z] 4872d77fe225: Waiting [2022-10-24T13:13:40.054Z] 5851b861e8e6: Waiting [2022-10-24T13:13:40.054Z] 988bab9f4d93: Waiting [2022-10-24T13:13:40.054Z] e2be974225ed: Verifying Checksum [2022-10-24T13:13:40.054Z] e2be974225ed: Download complete [2022-10-24T13:13:40.313Z] 988bab9f4d93: Verifying Checksum [2022-10-24T13:13:40.313Z] 988bab9f4d93: Download complete [2022-10-24T13:13:40.313Z] 1469e6f7b9e6: Verifying Checksum [2022-10-24T13:13:40.313Z] 1469e6f7b9e6: Download complete [2022-10-24T13:13:40.313Z] eaf3925da568: Verifying Checksum [2022-10-24T13:13:40.313Z] eaf3925da568: Download complete [2022-10-24T13:13:40.313Z] 339a4e72a1f5: Download complete [2022-10-24T13:13:40.313Z] b352a97aabf1: Verifying Checksum [2022-10-24T13:13:40.313Z] b352a97aabf1: Download complete [2022-10-24T13:13:40.574Z] 4872d77fe225: Verifying Checksum [2022-10-24T13:13:40.574Z] 4872d77fe225: Download complete [2022-10-24T13:13:40.574Z] 5851b861e8e6: Verifying Checksum [2022-10-24T13:13:40.574Z] 5851b861e8e6: Download complete [2022-10-24T13:13:40.574Z] b85a868b505f: Verifying Checksum [2022-10-24T13:13:40.574Z] b85a868b505f: Download complete [2022-10-24T13:13:40.833Z] bab4dde63d76: Verifying Checksum [2022-10-24T13:13:40.833Z] bab4dde63d76: Download complete [2022-10-24T13:13:41.775Z] b85a868b505f: Pull complete [2022-10-24T13:13:42.034Z] e2be974225ed: Pull complete [2022-10-24T13:13:42.293Z] 339a4e72a1f5: Pull complete [2022-10-24T13:13:42.552Z] 988bab9f4d93: Pull complete [2022-10-24T13:13:42.811Z] 1469e6f7b9e6: Pull complete [2022-10-24T13:13:42.811Z] eaf3925da568: Pull complete [2022-10-24T13:13:44.715Z] bab4dde63d76: Pull complete [2022-10-24T13:13:44.715Z] bde34c3a00c8: Pull complete [2022-10-24T13:13:44.715Z] b352a97aabf1: Pull complete [2022-10-24T13:13:44.715Z] 4872d77fe225: Pull complete [2022-10-24T13:13:44.715Z] 5851b861e8e6: Pull complete [2022-10-24T13:13:44.975Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-24T13:13:44.975Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-24T13:13:44.975Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T13:13:45.193Z] prd-ubuntu20.04-docker-8c-8g-9302 does not seem to be running inside a container [2022-10-24T13:13:45.229Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/y_app-rfid-llrp-inventory_PR-117 -v /w/workspace/y_app-rfid-llrp-inventory_PR-117:/w/workspace/y_app-rfid-llrp-inventory_PR-117:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-117@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-117@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-24T13:13:47.927Z] $ docker top 641d1a1b55430e00f6cc5ebae587f8908489b4961585bc0c7d41cf3a00c5bb0f -eo pid,comm [2022-10-24T13:13:47.984Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-10-24T13:13:47.984Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-24T13:13:48.149Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-24T13:13:48.149Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-24T13:13:48.267Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-24T13:13:48.273Z] $ docker exec 641d1a1b55430e00f6cc5ebae587f8908489b4961585bc0c7d41cf3a00c5bb0f ssh-agent [2022-10-24T13:13:48.364Z] SSH_AUTH_SOCK=/tmp/ssh-hDyETtZw0gQQ/agent.31 [2022-10-24T13:13:48.364Z] SSH_AGENT_PID=37 [2022-10-24T13:13:48.370Z] Running ssh-add (command line suppressed) [2022-10-24T13:13:48.478Z] Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-117@tmp/private_key_10642777064050477932.key (/w/workspace/y_app-rfid-llrp-inventory_PR-117@tmp/private_key_10642777064050477932.key) [2022-10-24T13:13:48.488Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-24T13:13:48.823Z] + git tag --points-at HEAD [Pipeline] } [2022-10-24T13:13:48.853Z] $ docker exec --env ******** --env ******** 641d1a1b55430e00f6cc5ebae587f8908489b4961585bc0c7d41cf3a00c5bb0f ssh-agent -k [2022-10-24T13:13:48.969Z] unset SSH_AUTH_SOCK; [2022-10-24T13:13:48.969Z] unset SSH_AGENT_PID; [2022-10-24T13:13:48.970Z] echo Agent pid 37 killed; [2022-10-24T13:13:48.978Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-24T13:13:49.066Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-24T13:13:49.066Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-24T13:13:49.175Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-24T13:13:49.181Z] $ docker exec 641d1a1b55430e00f6cc5ebae587f8908489b4961585bc0c7d41cf3a00c5bb0f ssh-agent [2022-10-24T13:13:49.290Z] SSH_AUTH_SOCK=/tmp/ssh-N7c4s2omw4uf/agent.69 [2022-10-24T13:13:49.290Z] SSH_AGENT_PID=75 [2022-10-24T13:13:49.296Z] Running ssh-add (command line suppressed) [2022-10-24T13:13:49.414Z] Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-117@tmp/private_key_15644992539042832345.key (/w/workspace/y_app-rfid-llrp-inventory_PR-117@tmp/private_key_15644992539042832345.key) [2022-10-24T13:13:49.424Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-24T13:13:49.755Z] + git semver init [2022-10-24T13:13:50.018Z] 2022-10-24 13:13:49,935 [run_init] DEBUG init version:0.0.0 force:False [2022-10-24T13:13:50.018Z] 2022-10-24 13:13:49,936 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/y_app-rfid-llrp-inventory_PR-117/.semver [2022-10-24T13:13:50.018Z] 2022-10-24 13:13:49,937 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/y_app-rfid-llrp-inventory_PR-117/.semver [2022-10-24T13:13:50.018Z] 2022-10-24 13:13:49,937 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/y_app-rfid-llrp-inventory_PR-117/.semver'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-117, universal_newlines=False, shell=None, istream=None) [2022-10-24T13:13:51.401Z] 2022-10-24 13:13:51,128 [append_file] DEBUG append to file:/w/workspace/y_app-rfid-llrp-inventory_PR-117/.git/info/exclude [2022-10-24T13:13:51.401Z] 2022-10-24 13:13:51,129 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/y_app-rfid-llrp-inventory_PR-117/.semver/PR-117 with force:False [2022-10-24T13:13:51.401Z] 2022-10-24 13:13:51,129 [write_file] DEBUG write to file:/w/workspace/y_app-rfid-llrp-inventory_PR-117/.semver/PR-117 [2022-10-24T13:13:51.401Z] 2022-10-24 13:13:51,133 [execute] INFO git cat-file --batch-check [2022-10-24T13:13:51.401Z] 2022-10-24 13:13:51,134 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-117/.semver, universal_newlines=False, shell=None, istream=) [2022-10-24T13:13:51.401Z] 2022-10-24 13:13:51,140 [execute] INFO git cat-file --batch [2022-10-24T13:13:51.401Z] 2022-10-24 13:13:51,140 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-117/.semver, universal_newlines=False, shell=None, istream=) [2022-10-24T13:13:51.401Z] 2022-10-24 13:13:51,145 [read_version] DEBUG read version from /w/workspace/y_app-rfid-llrp-inventory_PR-117/.semver/PR-117 [2022-10-24T13:13:51.401Z] 0.0.0 [Pipeline] } [2022-10-24T13:13:51.434Z] $ docker exec --env ******** --env ******** 641d1a1b55430e00f6cc5ebae587f8908489b4961585bc0c7d41cf3a00c5bb0f ssh-agent -k [2022-10-24T13:13:51.522Z] unset SSH_AUTH_SOCK; [2022-10-24T13:13:51.523Z] unset SSH_AGENT_PID; [2022-10-24T13:13:51.524Z] echo Agent pid 75 killed; [2022-10-24T13:13:51.529Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-24T13:13:52.035Z] + git semver [Pipeline] } [2022-10-24T13:13:52.320Z] $ docker stop --time=1 641d1a1b55430e00f6cc5ebae587f8908489b4961585bc0c7d41cf3a00c5bb0f [2022-10-24T13:13:53.623Z] $ docker rm -f 641d1a1b55430e00f6cc5ebae587f8908489b4961585bc0c7d41cf3a00c5bb0f [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-24T13:13:54.010Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-24T13:13:54.248Z] Stashed 1 file(s) [Pipeline] echo [2022-10-24T13:13:54.294Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-24T13:13:54.884Z] provisioning config files... [2022-10-24T13:13:54.892Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-117@tmp/config17605807642550237697tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T13:13:55.232Z] ---> docker-login.sh [2022-10-24T13:13:55.232Z] nexus3.edgexfoundry.org:10001 [2022-10-24T13:13:55.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T13:13:55.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T13:13:55.232Z] Configure a credential helper to remove this warning. See [2022-10-24T13:13:55.232Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T13:13:55.232Z] [2022-10-24T13:13:55.232Z] Login Succeeded [2022-10-24T13:13:55.232Z] nexus3.edgexfoundry.org:10002 [2022-10-24T13:13:55.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T13:13:55.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T13:13:55.233Z] Configure a credential helper to remove this warning. See [2022-10-24T13:13:55.233Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T13:13:55.233Z] [2022-10-24T13:13:55.233Z] Login Succeeded [2022-10-24T13:13:55.233Z] nexus3.edgexfoundry.org:10003 [2022-10-24T13:13:55.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T13:13:55.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T13:13:55.491Z] Configure a credential helper to remove this warning. See [2022-10-24T13:13:55.491Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T13:13:55.491Z] [2022-10-24T13:13:55.491Z] Login Succeeded [2022-10-24T13:13:55.491Z] nexus3.edgexfoundry.org:10004 [2022-10-24T13:13:55.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T13:13:55.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T13:13:55.491Z] Configure a credential helper to remove this warning. See [2022-10-24T13:13:55.491Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T13:13:55.491Z] [2022-10-24T13:13:55.491Z] Login Succeeded [2022-10-24T13:13:55.491Z] docker.io [2022-10-24T13:13:55.750Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T13:13:56.009Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T13:13:56.009Z] Configure a credential helper to remove this warning. See [2022-10-24T13:13:56.009Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T13:13:56.009Z] [2022-10-24T13:13:56.009Z] Login Succeeded [2022-10-24T13:13:56.009Z] ---> docker-login.sh ends [Pipeline] } [2022-10-24T13:13:56.041Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-24T13:13:56.235Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T13:13:56.270Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T13:13:56.301Z] ========================================================= [2022-10-24T13:13:56.301Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-24T13:13:56.301Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T13:13:56.774Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-24T13:13:56.775Z] Sending build context to Docker daemon 12.5MB [2022-10-24T13:13:56.775Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T13:13:56.775Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-24T13:13:56.775Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-24T13:13:56.775Z] 213ec9aee27d: Pulling fs layer [2022-10-24T13:13:56.775Z] 4583459ba037: Pulling fs layer [2022-10-24T13:13:56.775Z] 93c1e223e6f2: Pulling fs layer [2022-10-24T13:13:56.775Z] 53926ce57604: Pulling fs layer [2022-10-24T13:13:56.775Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-24T13:13:56.775Z] 30f14e443154: Pulling fs layer [2022-10-24T13:13:56.775Z] 801331c1e519: Pulling fs layer [2022-10-24T13:13:56.775Z] 99cc6dd402b0: Pulling fs layer [2022-10-24T13:13:56.775Z] 7d9ed39f4882: Pulling fs layer [2022-10-24T13:13:56.775Z] 30f14e443154: Waiting [2022-10-24T13:13:56.775Z] 53926ce57604: Waiting [2022-10-24T13:13:56.775Z] 21b2b0c7a3f4: Waiting [2022-10-24T13:13:56.775Z] 99cc6dd402b0: Waiting [2022-10-24T13:13:56.775Z] 7d9ed39f4882: Waiting [2022-10-24T13:13:56.775Z] 801331c1e519: Waiting [2022-10-24T13:13:56.775Z] 93c1e223e6f2: Verifying Checksum [2022-10-24T13:13:56.775Z] 93c1e223e6f2: Download complete [2022-10-24T13:13:57.038Z] 4583459ba037: Download complete [2022-10-24T13:13:57.038Z] 21b2b0c7a3f4: Download complete [2022-10-24T13:13:57.038Z] 30f14e443154: Download complete [2022-10-24T13:13:57.038Z] 213ec9aee27d: Verifying Checksum [2022-10-24T13:13:57.038Z] 213ec9aee27d: Download complete [2022-10-24T13:13:57.038Z] 801331c1e519: Verifying Checksum [2022-10-24T13:13:57.038Z] 801331c1e519: Download complete [2022-10-24T13:13:57.038Z] 213ec9aee27d: Pull complete [2022-10-24T13:13:57.316Z] 4583459ba037: Pull complete [2022-10-24T13:13:57.316Z] 93c1e223e6f2: Pull complete [2022-10-24T13:13:57.588Z] 7d9ed39f4882: Verifying Checksum [2022-10-24T13:13:57.588Z] 7d9ed39f4882: Download complete [2022-10-24T13:13:57.849Z] 53926ce57604: Verifying Checksum [2022-10-24T13:13:57.849Z] 53926ce57604: Download complete [2022-10-24T13:13:57.849Z] 99cc6dd402b0: Verifying Checksum [2022-10-24T13:13:57.849Z] 99cc6dd402b0: Download complete [2022-10-24T13:14:02.032Z] 53926ce57604: Pull complete [2022-10-24T13:14:02.032Z] 21b2b0c7a3f4: Pull complete [2022-10-24T13:14:02.032Z] 30f14e443154: Pull complete [2022-10-24T13:14:02.032Z] 801331c1e519: Pull complete [2022-10-24T13:14:04.570Z] 99cc6dd402b0: Pull complete [2022-10-24T13:14:04.829Z] 7d9ed39f4882: Pull complete [2022-10-24T13:14:04.829Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-24T13:14:04.829Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-24T13:14:04.829Z] ---> 1dedd983c030 [2022-10-24T13:14:04.829Z] Step 3/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-10-24T13:14:09.026Z] ---> Running in 827fa716ddc0 [2022-10-24T13:14:09.026Z] Removing intermediate container 827fa716ddc0 [2022-10-24T13:14:09.026Z] ---> 761633c05907 [2022-10-24T13:14:09.026Z] Step 4/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-24T13:14:09.026Z] ---> Running in aefc33eb7ff5 [2022-10-24T13:14:09.026Z] Removing intermediate container aefc33eb7ff5 [2022-10-24T13:14:09.026Z] ---> 9494fc68675d [2022-10-24T13:14:09.026Z] Step 5/14 : ARG ADD_BUILD_TAGS="" [2022-10-24T13:14:09.026Z] ---> Running in a694d1f7d692 [2022-10-24T13:14:09.026Z] Removing intermediate container a694d1f7d692 [2022-10-24T13:14:09.026Z] ---> 560840ad84d3 [2022-10-24T13:14:09.026Z] Step 6/14 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-24T13:14:09.026Z] ---> Running in eac413c2335a [2022-10-24T13:14:09.026Z] Removing intermediate container eac413c2335a [2022-10-24T13:14:09.026Z] ---> 310d9f3e1152 [2022-10-24T13:14:09.026Z] Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T13:14:09.026Z] ---> Running in fdffa485cbc2 [2022-10-24T13:14:09.592Z] Removing intermediate container fdffa485cbc2 [2022-10-24T13:14:09.592Z] ---> d89efc9b1bf8 [2022-10-24T13:14:09.592Z] Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-24T13:14:09.592Z] ---> Running in 489d13c3854f [2022-10-24T13:14:09.711Z] Still waiting to schedule task [2022-10-24T13:14:09.712Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9303’ [2022-10-24T13:14:09.851Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-24T13:14:10.789Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-24T13:14:11.048Z] OK: 211 MiB in 51 packages [2022-10-24T13:14:11.307Z] Removing intermediate container 489d13c3854f [2022-10-24T13:14:11.307Z] ---> de386ae891d4 [2022-10-24T13:14:11.307Z] Step 9/14 : WORKDIR /app [2022-10-24T13:14:11.307Z] ---> Running in fa40a35eb584 [2022-10-24T13:14:11.307Z] Removing intermediate container fa40a35eb584 [2022-10-24T13:14:11.307Z] ---> d5e384478e1e [2022-10-24T13:14:11.307Z] Step 10/14 : COPY go.mod vendor* ./ [2022-10-24T13:14:11.566Z] ---> 321c15edcf9e [2022-10-24T13:14:11.566Z] Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T13:14:11.566Z] ---> Running in 11aeadda5dfe [2022-10-24T13:14:33.506Z] Removing intermediate container 11aeadda5dfe [2022-10-24T13:14:33.506Z] ---> 52a53e985a0d [2022-10-24T13:14:33.506Z] Step 12/14 : COPY . . [2022-10-24T13:14:33.506Z] ---> 43017ea190b7 [2022-10-24T13:14:33.506Z] Step 13/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-24T13:14:33.506Z] ---> Running in 2659686a8450 [2022-10-24T13:14:33.506Z] Removing intermediate container 2659686a8450 [2022-10-24T13:14:33.506Z] ---> 90b26aeba336 [2022-10-24T13:14:33.506Z] Step 14/14 : RUN $MAKE [2022-10-24T13:14:33.506Z] ---> Running in 4301dd4861a7 [2022-10-24T13:14:33.506Z] noop [2022-10-24T13:14:33.506Z] Removing intermediate container 4301dd4861a7 [2022-10-24T13:14:33.506Z] ---> 92ad266339d3 [2022-10-24T13:14:33.506Z] Successfully built 92ad266339d3 [2022-10-24T13:14:33.506Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T13:14:34.063Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-24T13:14:34.063Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T13:14:34.218Z] prd-ubuntu20.04-docker-8c-8g-9302 does not seem to be running inside a container [2022-10-24T13:14:34.253Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/y_app-rfid-llrp-inventory_PR-117 -v /w/workspace/y_app-rfid-llrp-inventory_PR-117:/w/workspace/y_app-rfid-llrp-inventory_PR-117:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-117@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-117@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-24T13:14:34.607Z] $ docker top f8986a49eb3ec8c571c2c1610baebfe25894d6d4d574d48dd59f49420020abe7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T13:14:34.998Z] + go version [2022-10-24T13:14:34.998Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-24T13:14:35.029Z] $ docker stop --time=1 f8986a49eb3ec8c571c2c1610baebfe25894d6d4d574d48dd59f49420020abe7 [2022-10-24T13:14:36.279Z] $ docker rm -f f8986a49eb3ec8c571c2c1610baebfe25894d6d4d574d48dd59f49420020abe7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T13:14:36.998Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-24T13:14:36.998Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T13:14:37.138Z] prd-ubuntu20.04-docker-8c-8g-9302 does not seem to be running inside a container [2022-10-24T13:14:37.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-117 -v /w/workspace/y_app-rfid-llrp-inventory_PR-117:/w/workspace/y_app-rfid-llrp-inventory_PR-117:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-117@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-117@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-24T13:14:37.483Z] $ docker top 4b2c95e0e5a168ad0e3ffdc5a36a4d4fbfcf54237271007dcab31ec653c8bdc2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T13:14:37.880Z] + git config --global --add safe.directory /w/workspace/y_app-rfid-llrp-inventory_PR-117 [Pipeline] fileExists [Pipeline] sh [2022-10-24T13:14:38.243Z] + make test [2022-10-24T13:14:38.243Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-24T13:14:48.207Z] ? edgexfoundry/app-rfid-llrp-inventory [no test files] [2022-10-24T13:14:48.207Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.044s coverage: 86.2% of statements [2022-10-24T13:14:48.207Z] ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] [2022-10-24T13:14:50.111Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.548s coverage: 71.9% of statements [2022-10-24T13:14:56.669Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-24T13:14:56.669Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-24T13:14:59.951Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-24T13:14:59.951Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-24T13:14:59.951Z] ./bin/test-attribution.sh [Pipeline] echo [2022-10-24T13:15:00.021Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-24T13:15:00.051Z] $ docker stop --time=1 4b2c95e0e5a168ad0e3ffdc5a36a4d4fbfcf54237271007dcab31ec653c8bdc2 [2022-10-24T13:15:02.984Z] $ docker rm -f 4b2c95e0e5a168ad0e3ffdc5a36a4d4fbfcf54237271007dcab31ec653c8bdc2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-24T13:15:03.553Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-24T13:15:03.639Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-24T13:15:04.302Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-24T13:15:04.611Z] + ls -al . [2022-10-24T13:15:04.611Z] total 232 [2022-10-24T13:15:04.611Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 13:14 . [2022-10-24T13:15:04.611Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 13:13 .. [2022-10-24T13:15:04.611Z] -rw-rw-r-- 1 jenkins jenkins 262 Oct 24 13:13 .dockerignore [2022-10-24T13:15:04.611Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 13:14 .git [2022-10-24T13:15:04.611Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 13:13 .github [2022-10-24T13:15:04.611Z] -rw-rw-r-- 1 jenkins jenkins 788 Oct 24 13:13 .gitignore [2022-10-24T13:15:04.611Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 13:13 .golangci.yml [2022-10-24T13:15:04.611Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 13:13 .semver [2022-10-24T13:15:04.611Z] -rw-rw-r-- 1 jenkins jenkins 9922 Oct 24 13:13 Attribution.txt [2022-10-24T13:15:04.611Z] -rw-rw-r-- 1 jenkins jenkins 2487 Oct 24 13:13 CHANGELOG.md [2022-10-24T13:15:04.611Z] -rw-rw-r-- 1 jenkins jenkins 1993 Oct 24 13:13 Dockerfile [2022-10-24T13:15:04.611Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 13:13 GOVERNANCE.md [2022-10-24T13:15:04.611Z] -rw-rw-r-- 1 jenkins jenkins 687 Oct 24 13:13 Jenkinsfile [2022-10-24T13:15:04.611Z] -rw-rw-r-- 1 jenkins jenkins 11347 Oct 24 13:13 LICENSE [2022-10-24T13:15:04.611Z] -rw-rw-r-- 1 jenkins jenkins 3163 Oct 24 13:13 Makefile [2022-10-24T13:15:04.611Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 24 13:13 OWNERS.md [2022-10-24T13:15:04.611Z] -rw-rw-r-- 1 jenkins jenkins 31023 Oct 24 13:13 README.md [2022-10-24T13:15:04.611Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 13:13 VERSION [2022-10-24T13:15:04.611Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 13:13 bin [2022-10-24T13:15:04.611Z] -rw-r--r-- 1 jenkins jenkins 41008 Oct 24 13:14 coverage.out [2022-10-24T13:15:04.611Z] -rw-rw-r-- 1 jenkins jenkins 3657 Oct 24 13:13 go.mod [2022-10-24T13:15:04.611Z] -rw-rw-r-- 1 jenkins jenkins 38195 Oct 24 13:13 go.sum [2022-10-24T13:15:04.611Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 13:13 images [2022-10-24T13:15:04.611Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 13:13 internal [2022-10-24T13:15:04.611Z] -rw-rw-r-- 1 jenkins jenkins 531 Oct 24 13:13 main.go [2022-10-24T13:15:04.611Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 13:13 res [2022-10-24T13:15:04.611Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 13:13 snap [2022-10-24T13:15:04.611Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 13:13 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T13:15:05.006Z] + 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=4c819182f510ef76da49475910846652e6cc32a4 --label arch=amd64 --label version=0.0.0 . [2022-10-24T13:15:05.006Z] Sending build context to Docker daemon 12.5MB [2022-10-24T13:15:05.006Z] Step 1/32 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T13:15:05.006Z] Step 2/32 : FROM ${BASE} AS builder [2022-10-24T13:15:05.006Z] ---> 92ad266339d3 [2022-10-24T13:15:05.006Z] Step 3/32 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-10-24T13:15:05.006Z] ---> Running in c5c20bb37bf6 [2022-10-24T13:15:05.265Z] Removing intermediate container c5c20bb37bf6 [2022-10-24T13:15:05.265Z] ---> 335416e6061d [2022-10-24T13:15:05.265Z] Step 4/32 : ARG ALPINE_PKG_EXTRA="" [2022-10-24T13:15:05.265Z] ---> Running in 6547600cfc61 [2022-10-24T13:15:05.265Z] Removing intermediate container 6547600cfc61 [2022-10-24T13:15:05.265Z] ---> b937c4bd0d03 [2022-10-24T13:15:05.265Z] Step 5/32 : ARG ADD_BUILD_TAGS="" [2022-10-24T13:15:05.265Z] ---> Running in 2c01484a23af [2022-10-24T13:15:05.265Z] Removing intermediate container 2c01484a23af [2022-10-24T13:15:05.265Z] ---> 773a77612a92 [2022-10-24T13:15:05.265Z] Step 6/32 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-24T13:15:05.265Z] ---> Running in c22a1895127c [2022-10-24T13:15:05.523Z] Removing intermediate container c22a1895127c [2022-10-24T13:15:05.523Z] ---> 6a33b2916332 [2022-10-24T13:15:05.523Z] Step 7/32 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T13:15:05.523Z] ---> Running in 90922c77fcee [2022-10-24T13:15:06.089Z] Removing intermediate container 90922c77fcee [2022-10-24T13:15:06.089Z] ---> 4c0d2c4c6eb1 [2022-10-24T13:15:06.089Z] Step 8/32 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-24T13:15:06.089Z] ---> Running in 4adeacfe6570 [2022-10-24T13:15:06.347Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-24T13:15:07.283Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-24T13:15:07.542Z] OK: 211 MiB in 51 packages [2022-10-24T13:15:07.799Z] Removing intermediate container 4adeacfe6570 [2022-10-24T13:15:07.799Z] ---> 5d2014665eb9 [2022-10-24T13:15:07.799Z] Step 9/32 : WORKDIR /app [2022-10-24T13:15:08.061Z] ---> Running in 61b9ad07ec76 [2022-10-24T13:15:08.061Z] Removing intermediate container 61b9ad07ec76 [2022-10-24T13:15:08.061Z] ---> 04ad2d7954c6 [2022-10-24T13:15:08.061Z] Step 10/32 : COPY go.mod vendor* ./ [2022-10-24T13:15:08.061Z] ---> 56d26be929d7 [2022-10-24T13:15:08.061Z] Step 11/32 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T13:15:08.061Z] ---> Running in 098b9a75a877 [2022-10-24T13:15:09.152Z] Removing intermediate container 098b9a75a877 [2022-10-24T13:15:09.152Z] ---> 55d71dcf3981 [2022-10-24T13:15:09.152Z] Step 12/32 : COPY . . [2022-10-24T13:15:09.411Z] ---> 588bb0afe391 [2022-10-24T13:15:09.411Z] Step 13/32 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-24T13:15:09.411Z] ---> Running in 88df960b35ae [2022-10-24T13:15:09.411Z] Removing intermediate container 88df960b35ae [2022-10-24T13:15:09.411Z] ---> 6c2855538e2d [2022-10-24T13:15:09.411Z] Step 14/32 : RUN $MAKE [2022-10-24T13:15:09.411Z] ---> Running in 8b9f3cc6349d [2022-10-24T13:15:09.669Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.3.0-dev.47 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0 -X edgexfoundry/app-rfid-llrp-inventory.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o app-rfid-llrp-inventory [2022-10-24T13:15:31.585Z] Removing intermediate container 8b9f3cc6349d [2022-10-24T13:15:31.585Z] ---> e18e1b35fcb7 [2022-10-24T13:15:31.585Z] Step 15/32 : FROM alpine:3.14 [2022-10-24T13:15:31.585Z] 3.14: Pulling from library/alpine [2022-10-24T13:15:31.585Z] c7ed990a2339: Pulling fs layer [2022-10-24T13:15:31.585Z] c7ed990a2339: Verifying Checksum [2022-10-24T13:15:31.585Z] c7ed990a2339: Download complete [2022-10-24T13:15:31.844Z] c7ed990a2339: Pull complete [2022-10-24T13:15:31.844Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-10-24T13:15:31.844Z] Status: Downloaded newer image for alpine:3.14 [2022-10-24T13:15:31.844Z] ---> dd53f409bf0b [2022-10-24T13:15:31.844Z] Step 16/32 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-24T13:15:31.844Z] ---> Running in 56164c5a8314 [2022-10-24T13:15:32.104Z] Removing intermediate container 56164c5a8314 [2022-10-24T13:15:32.104Z] ---> 297b82f3b29e [2022-10-24T13:15:32.105Z] Step 17/32 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} [2022-10-24T13:15:32.105Z] ---> Running in 629c318b7a23 [2022-10-24T13:15:32.105Z] Removing intermediate container 629c318b7a23 [2022-10-24T13:15:32.105Z] ---> 112d3034abf4 [2022-10-24T13:15:32.105Z] Step 18/32 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T13:15:32.105Z] ---> Running in cafabee4a7fc [2022-10-24T13:15:32.671Z] Removing intermediate container cafabee4a7fc [2022-10-24T13:15:32.671Z] ---> 382b20e53315 [2022-10-24T13:15:32.671Z] Step 19/32 : RUN apk --no-cache add ca-certificates zeromq dumb-init [2022-10-24T13:15:32.671Z] ---> Running in d29d5218dc24 [2022-10-24T13:15:32.930Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-10-24T13:15:33.865Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-10-24T13:15:34.124Z] (1/7) Installing ca-certificates (20220614-r0) [2022-10-24T13:15:34.124Z] (2/7) Installing dumb-init (1.2.5-r1) [2022-10-24T13:15:34.124Z] (3/7) Installing libgcc (10.3.1_git20210424-r2) [2022-10-24T13:15:34.382Z] (4/7) Installing libsodium (1.0.18-r0) [2022-10-24T13:15:34.382Z] (5/7) Installing libstdc++ (10.3.1_git20210424-r2) [2022-10-24T13:15:34.382Z] (6/7) Installing libzmq (4.3.4-r0) [2022-10-24T13:15:34.640Z] (7/7) Installing zeromq (4.3.4-r0) [2022-10-24T13:15:34.641Z] Executing busybox-1.33.1-r8.trigger [2022-10-24T13:15:34.641Z] Executing ca-certificates-20220614-r0.trigger [2022-10-24T13:15:34.641Z] OK: 9 MiB in 21 packages [2022-10-24T13:15:35.208Z] Removing intermediate container d29d5218dc24 [2022-10-24T13:15:35.208Z] ---> d5a2bfb47717 [2022-10-24T13:15:35.208Z] Step 20/32 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2022-10-24T13:15:35.468Z] ---> 2ecc6cb31d90 [2022-10-24T13:15:35.468Z] Step 21/32 : COPY --from=builder /app/LICENSE /LICENSE [2022-10-24T13:15:35.468Z] ---> 01af5d7ff5a1 [2022-10-24T13:15:35.468Z] Step 22/32 : COPY --from=builder /app/res/ /res/ [2022-10-24T13:15:35.726Z] ---> 91d210c2f047 [2022-10-24T13:15:35.726Z] Step 23/32 : COPY --from=builder /app/static/ /static/ [2022-10-24T13:15:35.726Z] ---> 466b644206ac [2022-10-24T13:15:35.726Z] Step 24/32 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory [2022-10-24T13:15:36.730Z] ---> 1c0d424565c1 [2022-10-24T13:15:36.730Z] Step 25/32 : RUN mkdir -p /cache && chown -R 2002:2002 /cache [2022-10-24T13:15:36.730Z] ---> Running in ac3d53499488 [2022-10-24T13:15:36.989Z] Removing intermediate container ac3d53499488 [2022-10-24T13:15:36.989Z] ---> fc6c80c0f327 [2022-10-24T13:15:36.989Z] Step 26/32 : VOLUME /cache [2022-10-24T13:15:36.989Z] ---> Running in 526a452f7d22 [2022-10-24T13:15:37.248Z] Removing intermediate container 526a452f7d22 [2022-10-24T13:15:37.248Z] ---> 38f76fc677c6 [2022-10-24T13:15:37.248Z] Step 27/32 : EXPOSE 59711 [2022-10-24T13:15:37.248Z] ---> Running in 0ef19d7cbfe0 [2022-10-24T13:15:37.248Z] Removing intermediate container 0ef19d7cbfe0 [2022-10-24T13:15:37.248Z] ---> 2485fcfefec0 [2022-10-24T13:15:37.248Z] Step 28/32 : ENTRYPOINT ["/app-rfid-llrp-inventory"] [2022-10-24T13:15:37.248Z] ---> Running in 2e85302c9031 [2022-10-24T13:15:37.506Z] Removing intermediate container 2e85302c9031 [2022-10-24T13:15:37.506Z] ---> 6a5a812d47b8 [2022-10-24T13:15:37.506Z] Step 29/32 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] [2022-10-24T13:15:37.506Z] ---> Running in 849500372ac2 [2022-10-24T13:15:37.506Z] Removing intermediate container 849500372ac2 [2022-10-24T13:15:37.506Z] ---> 3835af78de4a [2022-10-24T13:15:37.506Z] Step 30/32 : LABEL arch=amd64 [2022-10-24T13:15:37.506Z] ---> Running in c5fbaa8000f0 [2022-10-24T13:15:37.506Z] Removing intermediate container c5fbaa8000f0 [2022-10-24T13:15:37.506Z] ---> fd924ea42114 [2022-10-24T13:15:37.506Z] Step 31/32 : LABEL git_sha=4c819182f510ef76da49475910846652e6cc32a4 [2022-10-24T13:15:37.506Z] ---> Running in daacbcb6739a [2022-10-24T13:15:37.764Z] Removing intermediate container daacbcb6739a [2022-10-24T13:15:37.764Z] ---> 230ed833657d [2022-10-24T13:15:37.764Z] Step 32/32 : LABEL version=0.0.0 [2022-10-24T13:15:37.764Z] ---> Running in 441d52f61632 [2022-10-24T13:15:37.764Z] Removing intermediate container 441d52f61632 [2022-10-24T13:15:37.764Z] ---> 60749e3e2d8d [2022-10-24T13:15:37.764Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-24T13:15:37.764Z] Successfully built 60749e3e2d8d [2022-10-24T13:15:37.764Z] Successfully tagged app-rfid-llrp-inventory:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T13:15:38.588Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T13:15:38.588Z] [2022-10-24T13:15:38.588Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T13:15:38.951Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T13:15:38.951Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-24T13:15:38.951Z] 5eb5b503b376: Pulling fs layer [2022-10-24T13:15:38.951Z] 5c69ac0246d0: Pulling fs layer [2022-10-24T13:15:38.951Z] ec43610c2a17: Pulling fs layer [2022-10-24T13:15:38.951Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-24T13:15:38.951Z] 33b1e0a273af: Pulling fs layer [2022-10-24T13:15:38.951Z] 5d3b04190fa2: Pulling fs layer [2022-10-24T13:15:38.951Z] 2f39f015ded8: Pulling fs layer [2022-10-24T13:15:38.951Z] 3a2ae6a8a46f: Waiting [2022-10-24T13:15:38.951Z] 33b1e0a273af: Waiting [2022-10-24T13:15:38.951Z] 5d3b04190fa2: Waiting [2022-10-24T13:15:38.951Z] 2f39f015ded8: Waiting [2022-10-24T13:15:38.951Z] 5c69ac0246d0: Verifying Checksum [2022-10-24T13:15:38.951Z] 5c69ac0246d0: Download complete [2022-10-24T13:15:38.951Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-24T13:15:38.951Z] 3a2ae6a8a46f: Download complete [2022-10-24T13:15:38.951Z] 33b1e0a273af: Verifying Checksum [2022-10-24T13:15:38.951Z] 33b1e0a273af: Download complete [2022-10-24T13:15:38.951Z] 5d3b04190fa2: Verifying Checksum [2022-10-24T13:15:38.951Z] 5d3b04190fa2: Download complete [2022-10-24T13:15:39.225Z] ec43610c2a17: Verifying Checksum [2022-10-24T13:15:39.225Z] ec43610c2a17: Download complete [2022-10-24T13:15:39.225Z] 5eb5b503b376: Download complete [2022-10-24T13:15:39.791Z] 2f39f015ded8: Download complete [2022-10-24T13:15:40.356Z] 5eb5b503b376: Pull complete [2022-10-24T13:15:40.613Z] 5c69ac0246d0: Pull complete [2022-10-24T13:15:40.870Z] ec43610c2a17: Pull complete [2022-10-24T13:15:40.870Z] 3a2ae6a8a46f: Pull complete [2022-10-24T13:15:41.128Z] 33b1e0a273af: Pull complete [2022-10-24T13:15:41.386Z] 5d3b04190fa2: Pull complete [2022-10-24T13:15:45.561Z] 2f39f015ded8: Pull complete [2022-10-24T13:15:45.561Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-24T13:15:45.561Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T13:15:45.561Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T13:15:45.777Z] prd-ubuntu20.04-docker-8c-8g-9302 does not seem to be running inside a container [2022-10-24T13:15:45.805Z] $ 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-117 -v /w/workspace/y_app-rfid-llrp-inventory_PR-117:/w/workspace/y_app-rfid-llrp-inventory_PR-117:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-117@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-117@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-24T13:15:49.361Z] $ docker top 7bf6454b985821bb1ca8950e242fe4d31b43e3ae04860f41805ce0ff0004e641 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T13:15:49.806Z] ---> job-cost.sh [2022-10-24T13:15:49.806Z] lf-activate-venv: SKIPPING [2022-10-24T13:15:49.806Z] INFO: No Stack... [2022-10-24T13:15:50.065Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-24T13:15:50.323Z] INFO: Archiving Costs [Pipeline] sh [2022-10-24T13:15:50.633Z] + cat /w/workspace/y_app-rfid-llrp-inventory_PR-117/archives/cost.csv [2022-10-24T13:15:50.633Z] + cut -d, -f6 [Pipeline] lock [2022-10-24T13:15:50.673Z] Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-117-1-stack-cost] [2022-10-24T13:15:50.678Z] Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-117-1-stack-cost] did not exist. Created. [2022-10-24T13:15:50.678Z] Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-117-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-24T13:15:51.077Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-24T13:15:51.186Z] Stashed 1 file(s) [Pipeline] } [2022-10-24T13:15:51.212Z] Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-117-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-24T13:15:51.304Z] $ docker stop --time=1 7bf6454b985821bb1ca8950e242fe4d31b43e3ae04860f41805ce0ff0004e641 [2022-10-24T13:15:52.508Z] $ docker rm -f 7bf6454b985821bb1ca8950e242fe4d31b43e3ae04860f41805ce0ff0004e641 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-24T13:16:49.486Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9304 in /w/workspace/y_app-rfid-llrp-inventory_PR-117 [Pipeline] { [Pipeline] ws [2022-10-24T13:16:49.528Z] Running in /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] { [Pipeline] checkout [2022-10-24T13:16:49.606Z] The recommended git tool is: git [2022-10-24T13:16:55.046Z] using credential edgex-jenkins-ssh [2022-10-24T13:16:55.066Z] Cloning the remote Git repository [2022-10-24T13:16:55.119Z] Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2022-10-24T13:16:55.213Z] > git init /w/workspace/app-rfid-llrp-inventory/1 # timeout=10 [2022-10-24T13:16:55.367Z] Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2022-10-24T13:16:55.369Z] > git --version # timeout=10 [2022-10-24T13:16:55.393Z] > git --version # 'git version 2.25.1' [2022-10-24T13:16:55.396Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-24T13:16:55.447Z] Verifying host key using known hosts file [2022-10-24T13:16:55.654Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-24T13:16:55.666Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-24T13:16:57.802Z] > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 [2022-10-24T13:16:57.828Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-24T13:16:59.256Z] Merging remotes/origin/main commit 617f1cb135f5f4038bf61bfc09ef59633cb6ae18 into PR head commit 4c819182f510ef76da49475910846652e6cc32a4 [2022-10-24T13:16:59.529Z] Merge succeeded, producing 4c819182f510ef76da49475910846652e6cc32a4 [2022-10-24T13:16:59.530Z] Checking out Revision 4c819182f510ef76da49475910846652e6cc32a4 (PR-117) [2022-10-24T13:16:58.664Z] > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 [2022-10-24T13:16:58.707Z] Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2022-10-24T13:16:58.708Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-24T13:16:58.714Z] Verifying host key using known hosts file [2022-10-24T13:16:58.721Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-24T13:16:58.731Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/117/head:refs/remotes/origin/PR-117 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-10-24T13:16:59.279Z] > git config core.sparsecheckout # timeout=10 [2022-10-24T13:16:59.299Z] > git checkout -f 4c819182f510ef76da49475910846652e6cc32a4 # timeout=10 [2022-10-24T13:16:59.403Z] > git remote # timeout=10 [2022-10-24T13:16:59.428Z] > git config --get remote.origin.url # timeout=10 [2022-10-24T13:16:59.454Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-24T13:16:59.461Z] Verifying host key using known hosts file [2022-10-24T13:16:59.465Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-24T13:16:59.476Z] > git merge 617f1cb135f5f4038bf61bfc09ef59633cb6ae18 # timeout=10 [2022-10-24T13:16:59.506Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-10-24T13:16:59.539Z] > git config core.sparsecheckout # timeout=10 [2022-10-24T13:16:59.557Z] > git checkout -f 4c819182f510ef76da49475910846652e6cc32a4 # timeout=10 [2022-10-24T13:17:00.041Z] Commit message: "build(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1" [2022-10-24T13:17:00.094Z] > git --version # timeout=10 [2022-10-24T13:17:00.104Z] > git --version # 'git version 2.25.1' [2022-10-24T13:17:00.133Z] fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-24T13:17:01.268Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-24T13:17:01.268Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-24T13:17:01.268Z] Dload Upload Total Spent Left Speed [2022-10-24T13:17:01.268Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 227k 0 --:--:-- --:--:-- --:--:-- 227k [Pipeline] sh [2022-10-24T13:17:01.935Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-24T13:17:02.287Z] + sudo tee /etc/docker/daemon.new [2022-10-24T13:17:02.287Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-24T13:17:02.287Z] { [2022-10-24T13:17:02.287Z] "registry-mirrors": [ [2022-10-24T13:17:02.287Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-24T13:17:02.287Z] ], [2022-10-24T13:17:02.287Z] "bip": "10.250.0.254/24", [2022-10-24T13:17:02.287Z] "hosts": [ [2022-10-24T13:17:02.287Z] "tcp://0.0.0.0:5555", [2022-10-24T13:17:02.287Z] "unix:///var/run/docker.sock" [2022-10-24T13:17:02.287Z] ], [2022-10-24T13:17:02.287Z] "mtu": 1458, [2022-10-24T13:17:02.287Z] "selinux-enabled": true, [2022-10-24T13:17:02.287Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-24T13:17:02.287Z] } [Pipeline] sh [2022-10-24T13:17:02.641Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-24T13:17:02.989Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-24T13:17:21.339Z] provisioning config files... [2022-10-24T13:17:21.368Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/1@tmp/config4797039600894216278tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T13:17:21.771Z] ---> docker-login.sh [2022-10-24T13:17:21.771Z] nexus3.edgexfoundry.org:10001 [2022-10-24T13:17:22.365Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T13:17:22.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T13:17:22.365Z] Configure a credential helper to remove this warning. See [2022-10-24T13:17:22.365Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T13:17:22.365Z] [2022-10-24T13:17:22.365Z] Login Succeeded [2022-10-24T13:17:22.365Z] nexus3.edgexfoundry.org:10002 [2022-10-24T13:17:22.638Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T13:17:22.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T13:17:22.911Z] Configure a credential helper to remove this warning. See [2022-10-24T13:17:22.911Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T13:17:22.911Z] [2022-10-24T13:17:22.911Z] Login Succeeded [2022-10-24T13:17:22.911Z] nexus3.edgexfoundry.org:10003 [2022-10-24T13:17:23.184Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T13:17:23.184Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T13:17:23.184Z] Configure a credential helper to remove this warning. See [2022-10-24T13:17:23.184Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T13:17:23.184Z] [2022-10-24T13:17:23.184Z] Login Succeeded [2022-10-24T13:17:23.184Z] nexus3.edgexfoundry.org:10004 [2022-10-24T13:17:23.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T13:17:23.728Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T13:17:23.728Z] Configure a credential helper to remove this warning. See [2022-10-24T13:17:23.728Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T13:17:23.728Z] [2022-10-24T13:17:23.728Z] Login Succeeded [2022-10-24T13:17:23.728Z] docker.io [2022-10-24T13:17:24.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-24T13:17:24.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-24T13:17:24.271Z] Configure a credential helper to remove this warning. See [2022-10-24T13:17:24.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-24T13:17:24.271Z] [2022-10-24T13:17:24.271Z] Login Succeeded [2022-10-24T13:17:24.271Z] ---> docker-login.sh ends [Pipeline] } [2022-10-24T13:17:24.300Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-24T13:17:24.597Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T13:17:24.635Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-24T13:17:24.670Z] ========================================================= [2022-10-24T13:17:24.670Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-24T13:17:24.670Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T13:17:25.187Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-24T13:17:25.461Z] Sending build context to Docker daemon 683.5kB [2022-10-24T13:17:25.461Z] Step 1/14 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T13:17:25.461Z] Step 2/14 : FROM ${BASE} AS builder [2022-10-24T13:17:25.739Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-24T13:17:25.739Z] 9b18e9b68314: Pulling fs layer [2022-10-24T13:17:25.739Z] d32db5db7311: Pulling fs layer [2022-10-24T13:17:25.739Z] d0c4b47475fc: Pulling fs layer [2022-10-24T13:17:25.739Z] 5831b945b038: Pulling fs layer [2022-10-24T13:17:25.739Z] 86bbec2aaacd: Pulling fs layer [2022-10-24T13:17:25.739Z] e10730c5d714: Pulling fs layer [2022-10-24T13:17:25.739Z] 5dd5c2283517: Pulling fs layer [2022-10-24T13:17:25.739Z] d5ac0230b979: Pulling fs layer [2022-10-24T13:17:25.739Z] 86bbec2aaacd: Waiting [2022-10-24T13:17:25.739Z] e10730c5d714: Waiting [2022-10-24T13:17:25.739Z] 5dd5c2283517: Waiting [2022-10-24T13:17:25.739Z] d5ac0230b979: Waiting [2022-10-24T13:17:25.739Z] 5831b945b038: Waiting [2022-10-24T13:17:25.739Z] d0c4b47475fc: Verifying Checksum [2022-10-24T13:17:25.739Z] d0c4b47475fc: Download complete [2022-10-24T13:17:25.739Z] d32db5db7311: Verifying Checksum [2022-10-24T13:17:25.739Z] d32db5db7311: Download complete [2022-10-24T13:17:25.739Z] 86bbec2aaacd: Download complete [2022-10-24T13:17:25.739Z] e10730c5d714: Download complete [2022-10-24T13:17:25.739Z] 9b18e9b68314: Verifying Checksum [2022-10-24T13:17:25.739Z] 9b18e9b68314: Download complete [2022-10-24T13:17:26.718Z] 9b18e9b68314: Pull complete [2022-10-24T13:17:26.718Z] d5ac0230b979: Verifying Checksum [2022-10-24T13:17:26.718Z] d5ac0230b979: Download complete [2022-10-24T13:17:27.316Z] d32db5db7311: Pull complete [2022-10-24T13:17:27.589Z] d0c4b47475fc: Pull complete [2022-10-24T13:17:28.177Z] 5dd5c2283517: Verifying Checksum [2022-10-24T13:17:28.177Z] 5dd5c2283517: Download complete [2022-10-24T13:17:28.768Z] 5831b945b038: Verifying Checksum [2022-10-24T13:17:28.768Z] 5831b945b038: Download complete [2022-10-24T13:17:41.110Z] 5831b945b038: Pull complete [2022-10-24T13:17:41.110Z] 86bbec2aaacd: Pull complete [2022-10-24T13:17:41.110Z] e10730c5d714: Pull complete [2022-10-24T13:17:47.815Z] 5dd5c2283517: Pull complete [2022-10-24T13:17:49.802Z] d5ac0230b979: Pull complete [2022-10-24T13:17:49.802Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-24T13:17:49.802Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-24T13:17:49.802Z] ---> 59b3b1a385d4 [2022-10-24T13:17:49.802Z] Step 3/14 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-10-24T13:17:51.758Z] ---> Running in 73751cf77d6e [2022-10-24T13:17:51.758Z] Removing intermediate container 73751cf77d6e [2022-10-24T13:17:51.758Z] ---> 96ec62d4902d [2022-10-24T13:17:51.758Z] Step 4/14 : ARG ALPINE_PKG_EXTRA="" [2022-10-24T13:17:51.758Z] ---> Running in a3177f9d3487 [2022-10-24T13:17:52.029Z] Removing intermediate container a3177f9d3487 [2022-10-24T13:17:52.029Z] ---> d53001f85d58 [2022-10-24T13:17:52.029Z] Step 5/14 : ARG ADD_BUILD_TAGS="" [2022-10-24T13:17:52.310Z] ---> Running in 44898b092de5 [2022-10-24T13:17:52.578Z] Removing intermediate container 44898b092de5 [2022-10-24T13:17:52.578Z] ---> 4ab32483b91b [2022-10-24T13:17:52.578Z] Step 6/14 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-24T13:17:52.578Z] ---> Running in 3976622021bf [2022-10-24T13:17:53.167Z] Removing intermediate container 3976622021bf [2022-10-24T13:17:53.167Z] ---> 37e98d63ddec [2022-10-24T13:17:53.167Z] Step 7/14 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T13:17:53.167Z] ---> Running in a27259c807cc [2022-10-24T13:17:55.124Z] Removing intermediate container a27259c807cc [2022-10-24T13:17:55.124Z] ---> be7904dd373a [2022-10-24T13:17:55.124Z] Step 8/14 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-24T13:17:55.124Z] ---> Running in d95a3262aa5d [2022-10-24T13:17:55.710Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-24T13:17:56.674Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-24T13:17:57.648Z] OK: 221 MiB in 51 packages [2022-10-24T13:17:58.618Z] Removing intermediate container d95a3262aa5d [2022-10-24T13:17:58.618Z] ---> c6ee8f54741e [2022-10-24T13:17:58.618Z] Step 9/14 : WORKDIR /app [2022-10-24T13:17:58.618Z] ---> Running in a5339ae728fb [2022-10-24T13:17:58.887Z] Removing intermediate container a5339ae728fb [2022-10-24T13:17:58.887Z] ---> d3a66d684c21 [2022-10-24T13:17:58.887Z] Step 10/14 : COPY go.mod vendor* ./ [2022-10-24T13:17:59.477Z] ---> f7d096287618 [2022-10-24T13:17:59.477Z] Step 11/14 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T13:17:59.746Z] ---> Running in ed1d7724565f [2022-10-24T13:18:56.199Z] Removing intermediate container ed1d7724565f [2022-10-24T13:18:56.199Z] ---> ef4d25dc1d33 [2022-10-24T13:18:56.199Z] Step 12/14 : COPY . . [2022-10-24T13:18:56.199Z] ---> cb8d43286a91 [2022-10-24T13:18:56.199Z] Step 13/14 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-24T13:18:56.199Z] ---> Running in 26a36352d0b9 [2022-10-24T13:18:56.199Z] Removing intermediate container 26a36352d0b9 [2022-10-24T13:18:56.199Z] ---> 49d75989d5f8 [2022-10-24T13:18:56.199Z] Step 14/14 : RUN $MAKE [2022-10-24T13:18:56.199Z] ---> Running in 4f126507438f [2022-10-24T13:18:56.199Z] noop [2022-10-24T13:18:56.199Z] Removing intermediate container 4f126507438f [2022-10-24T13:18:56.199Z] ---> 528f6cfca9e3 [2022-10-24T13:18:56.199Z] Successfully built 528f6cfca9e3 [2022-10-24T13:18:56.199Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T13:18:56.693Z] + docker inspect -f . ci-base-image-arm64 [2022-10-24T13:18:56.694Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T13:18:56.959Z] prd-ubuntu20.04-docker-arm64-4c-16g-9304 does not seem to be running inside a container [2022-10-24T13:18:57.034Z] $ 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 ******** ci-base-image-arm64 cat [2022-10-24T13:18:59.740Z] $ docker top 0c72bc18e2fa81e0a42593fde5c99cf062d7a5e1383e8c2bce867dcff9012658 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T13:19:00.661Z] + go version [2022-10-24T13:19:00.661Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-24T13:19:00.695Z] $ docker stop --time=1 0c72bc18e2fa81e0a42593fde5c99cf062d7a5e1383e8c2bce867dcff9012658 [2022-10-24T13:19:02.357Z] $ docker rm -f 0c72bc18e2fa81e0a42593fde5c99cf062d7a5e1383e8c2bce867dcff9012658 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T13:19:03.304Z] + docker inspect -f . ci-base-image-arm64 [2022-10-24T13:19:03.304Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T13:19:03.560Z] prd-ubuntu20.04-docker-arm64-4c-16g-9304 does not seem to be running inside a container [2022-10-24T13:19:03.626Z] $ 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 ******** ci-base-image-arm64 cat [2022-10-24T13:19:04.802Z] $ docker top 52bd96f488faf443641d45c8798390dbd6ed000cf012f7b947ecabf4199f7313 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T13:19:05.697Z] + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] fileExists [Pipeline] sh [2022-10-24T13:19:06.093Z] + make test [2022-10-24T13:19:06.366Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-24T13:20:43.035Z] ? edgexfoundry/app-rfid-llrp-inventory [no test files] [2022-10-24T13:20:43.035Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.142s coverage: 86.2% of statements [2022-10-24T13:20:43.035Z] ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] [2022-10-24T13:20:43.307Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.712s coverage: 71.9% of statements [2022-10-24T13:20:43.892Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-24T13:20:43.892Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-24T13:21:11.301Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-24T13:21:11.301Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-24T13:21:11.301Z] ./bin/test-attribution.sh [Pipeline] echo [2022-10-24T13:21:11.335Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-24T13:21:11.367Z] $ docker stop --time=1 52bd96f488faf443641d45c8798390dbd6ed000cf012f7b947ecabf4199f7313 [2022-10-24T13:21:13.128Z] $ docker rm -f 52bd96f488faf443641d45c8798390dbd6ed000cf012f7b947ecabf4199f7313 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-24T13:21:14.179Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-24T13:21:14.212Z] Warning: overwriting stash ‘coverage-report’ [2022-10-24T13:21:14.699Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-24T13:21:15.310Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-24T13:21:15.668Z] + ls -al . [2022-10-24T13:21:15.668Z] total 228 [2022-10-24T13:21:15.668Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 13:19 . [2022-10-24T13:21:15.668Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 13:16 .. [2022-10-24T13:21:15.668Z] -rw-rw-r-- 1 jenkins jenkins 262 Oct 24 13:16 .dockerignore [2022-10-24T13:21:15.668Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 13:16 .git [2022-10-24T13:21:15.668Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 13:16 .github [2022-10-24T13:21:15.668Z] -rw-rw-r-- 1 jenkins jenkins 788 Oct 24 13:16 .gitignore [2022-10-24T13:21:15.668Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 13:16 .golangci.yml [2022-10-24T13:21:15.668Z] -rw-rw-r-- 1 jenkins jenkins 9922 Oct 24 13:16 Attribution.txt [2022-10-24T13:21:15.668Z] -rw-rw-r-- 1 jenkins jenkins 2487 Oct 24 13:16 CHANGELOG.md [2022-10-24T13:21:15.668Z] -rw-rw-r-- 1 jenkins jenkins 1993 Oct 24 13:16 Dockerfile [2022-10-24T13:21:15.668Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 13:16 GOVERNANCE.md [2022-10-24T13:21:15.668Z] -rw-rw-r-- 1 jenkins jenkins 687 Oct 24 13:16 Jenkinsfile [2022-10-24T13:21:15.668Z] -rw-rw-r-- 1 jenkins jenkins 11347 Oct 24 13:16 LICENSE [2022-10-24T13:21:15.668Z] -rw-rw-r-- 1 jenkins jenkins 3163 Oct 24 13:16 Makefile [2022-10-24T13:21:15.668Z] -rw-rw-r-- 1 jenkins jenkins 617 Oct 24 13:16 OWNERS.md [2022-10-24T13:21:15.668Z] -rw-rw-r-- 1 jenkins jenkins 31023 Oct 24 13:16 README.md [2022-10-24T13:21:15.668Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 13:13 VERSION [2022-10-24T13:21:15.668Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 13:16 bin [2022-10-24T13:21:15.668Z] -rw-r--r-- 1 jenkins jenkins 41008 Oct 24 13:20 coverage.out [2022-10-24T13:21:15.668Z] -rw-rw-r-- 1 jenkins jenkins 3657 Oct 24 13:16 go.mod [2022-10-24T13:21:15.668Z] -rw-rw-r-- 1 jenkins jenkins 38195 Oct 24 13:16 go.sum [2022-10-24T13:21:15.669Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 13:16 images [2022-10-24T13:21:15.669Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 13:16 internal [2022-10-24T13:21:15.669Z] -rw-rw-r-- 1 jenkins jenkins 531 Oct 24 13:16 main.go [2022-10-24T13:21:15.669Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 13:16 res [2022-10-24T13:21:15.669Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 13:16 snap [2022-10-24T13:21:15.669Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 13:16 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T13:21:16.087Z] + 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=4c819182f510ef76da49475910846652e6cc32a4 --label arch=arm64 --label version=0.0.0 . [2022-10-24T13:21:16.357Z] Sending build context to Docker daemon 683.5kB [2022-10-24T13:21:16.357Z] Step 1/32 : ARG BASE=golang:1.18-alpine3.16 [2022-10-24T13:21:16.357Z] Step 2/32 : FROM ${BASE} AS builder [2022-10-24T13:21:16.357Z] ---> 528f6cfca9e3 [2022-10-24T13:21:16.357Z] Step 3/32 : ARG ALPINE_PKG_BASE="make git gcc libc-dev libsodium-dev zeromq-dev" [2022-10-24T13:21:16.624Z] ---> Running in 9a7737aa1452 [2022-10-24T13:21:16.892Z] Removing intermediate container 9a7737aa1452 [2022-10-24T13:21:16.892Z] ---> 39db210c0b6c [2022-10-24T13:21:16.892Z] Step 4/32 : ARG ALPINE_PKG_EXTRA="" [2022-10-24T13:21:16.892Z] ---> Running in 62cf41f26480 [2022-10-24T13:21:17.160Z] Removing intermediate container 62cf41f26480 [2022-10-24T13:21:17.160Z] ---> 907c9bdd58fa [2022-10-24T13:21:17.160Z] Step 5/32 : ARG ADD_BUILD_TAGS="" [2022-10-24T13:21:17.428Z] ---> Running in 2bba0764f877 [2022-10-24T13:21:17.702Z] Removing intermediate container 2bba0764f877 [2022-10-24T13:21:17.702Z] ---> e46c0eadd6ec [2022-10-24T13:21:17.702Z] Step 6/32 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-24T13:21:17.702Z] ---> Running in 093b1c3fb703 [2022-10-24T13:21:17.973Z] Removing intermediate container 093b1c3fb703 [2022-10-24T13:21:17.973Z] ---> 67c5bf312859 [2022-10-24T13:21:17.973Z] Step 7/32 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T13:21:18.242Z] ---> Running in 2685341473ab [2022-10-24T13:21:20.196Z] Removing intermediate container 2685341473ab [2022-10-24T13:21:20.196Z] ---> fe5fde827609 [2022-10-24T13:21:20.196Z] Step 8/32 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-24T13:21:20.196Z] ---> Running in 61714da049f7 [2022-10-24T13:21:21.166Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-24T13:21:22.133Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-24T13:21:23.101Z] OK: 221 MiB in 51 packages [2022-10-24T13:21:25.050Z] Removing intermediate container 61714da049f7 [2022-10-24T13:21:25.050Z] ---> 958e196b6391 [2022-10-24T13:21:25.050Z] Step 9/32 : WORKDIR /app [2022-10-24T13:21:25.050Z] ---> Running in 9885e1aa8bbb [2022-10-24T13:21:25.319Z] Removing intermediate container 9885e1aa8bbb [2022-10-24T13:21:25.319Z] ---> 8b7aad428c88 [2022-10-24T13:21:25.319Z] Step 10/32 : COPY go.mod vendor* ./ [2022-10-24T13:21:26.284Z] ---> 6aa2a71763e7 [2022-10-24T13:21:26.284Z] Step 11/32 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-24T13:21:26.284Z] ---> Running in f762f06fa3f2 [2022-10-24T13:21:28.872Z] Removing intermediate container f762f06fa3f2 [2022-10-24T13:21:28.872Z] ---> 5f653f7fe287 [2022-10-24T13:21:28.872Z] Step 12/32 : COPY . . [2022-10-24T13:21:29.140Z] ---> 711dff5462d6 [2022-10-24T13:21:29.140Z] Step 13/32 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-24T13:21:29.140Z] ---> Running in 35c95052afac [2022-10-24T13:21:29.728Z] Removing intermediate container 35c95052afac [2022-10-24T13:21:29.728Z] ---> 89589e57be05 [2022-10-24T13:21:29.728Z] Step 14/32 : RUN $MAKE [2022-10-24T13:21:29.728Z] ---> Running in 2c04f957bbe1 [2022-10-24T13:21:30.692Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.SDKVersion=v2.3.0-dev.47 -X github.com/edgexfoundry/app-functions-sdk-go/v2/internal.ApplicationVersion=0.0.0 -X edgexfoundry/app-rfid-llrp-inventory.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o app-rfid-llrp-inventory [2022-10-24T13:23:52.417Z] Removing intermediate container 2c04f957bbe1 [2022-10-24T13:23:52.417Z] ---> 2b44e19fd8ba [2022-10-24T13:23:52.417Z] Step 15/32 : FROM alpine:3.14 [2022-10-24T13:23:52.417Z] 3.14: Pulling from library/alpine [2022-10-24T13:23:52.417Z] 90cda3b7c325: Pulling fs layer [2022-10-24T13:23:52.417Z] 90cda3b7c325: Verifying Checksum [2022-10-24T13:23:52.417Z] 90cda3b7c325: Download complete [2022-10-24T13:23:52.417Z] 90cda3b7c325: Pull complete [2022-10-24T13:23:52.417Z] Digest: sha256:1ab24b3b99320975cca71716a7475a65d263d0b6b604d9d14ce08f7a3f67595c [2022-10-24T13:23:52.417Z] Status: Downloaded newer image for alpine:3.14 [2022-10-24T13:23:52.417Z] ---> 376ba31ae3da [2022-10-24T13:23:52.417Z] Step 16/32 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-24T13:23:52.417Z] ---> Running in b533fe13ccb0 [2022-10-24T13:23:52.417Z] Removing intermediate container b533fe13ccb0 [2022-10-24T13:23:52.417Z] ---> e100b9ed67e4 [2022-10-24T13:23:52.417Z] Step 17/32 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} [2022-10-24T13:23:52.417Z] ---> Running in 7833d2e4cd6f [2022-10-24T13:23:52.417Z] Removing intermediate container 7833d2e4cd6f [2022-10-24T13:23:52.417Z] ---> f519e2341ab5 [2022-10-24T13:23:52.417Z] Step 18/32 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-24T13:23:52.417Z] ---> Running in 2e8f9be3fbdf [2022-10-24T13:23:53.002Z] Removing intermediate container 2e8f9be3fbdf [2022-10-24T13:23:53.002Z] ---> 6d94c1401aa8 [2022-10-24T13:23:53.002Z] Step 19/32 : RUN apk --no-cache add ca-certificates zeromq dumb-init [2022-10-24T13:23:53.002Z] ---> Running in 3f3b5777ce0b [2022-10-24T13:23:53.960Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-10-24T13:23:54.918Z] fetch https://dl-4.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-10-24T13:23:55.875Z] (1/7) Installing ca-certificates (20220614-r0) [2022-10-24T13:23:55.875Z] (2/7) Installing dumb-init (1.2.5-r1) [2022-10-24T13:23:55.875Z] (3/7) Installing libgcc (10.3.1_git20210424-r2) [2022-10-24T13:23:56.141Z] (4/7) Installing libsodium (1.0.18-r0) [2022-10-24T13:23:56.141Z] (5/7) Installing libstdc++ (10.3.1_git20210424-r2) [2022-10-24T13:23:56.407Z] (6/7) Installing libzmq (4.3.4-r0) [2022-10-24T13:23:56.407Z] (7/7) Installing zeromq (4.3.4-r0) [2022-10-24T13:23:56.407Z] Executing busybox-1.33.1-r8.trigger [2022-10-24T13:23:56.407Z] Executing ca-certificates-20220614-r0.trigger [2022-10-24T13:23:56.674Z] OK: 9 MiB in 21 packages [2022-10-24T13:23:58.083Z] Removing intermediate container 3f3b5777ce0b [2022-10-24T13:23:58.083Z] ---> 528a6087b776 [2022-10-24T13:23:58.083Z] Step 20/32 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2022-10-24T13:23:58.350Z] ---> c1814923be36 [2022-10-24T13:23:58.350Z] Step 21/32 : COPY --from=builder /app/LICENSE /LICENSE [2022-10-24T13:23:58.934Z] ---> e0a40d714bce [2022-10-24T13:23:58.934Z] Step 22/32 : COPY --from=builder /app/res/ /res/ [2022-10-24T13:23:59.519Z] ---> 9f5bc551e9f0 [2022-10-24T13:23:59.519Z] Step 23/32 : COPY --from=builder /app/static/ /static/ [2022-10-24T13:23:59.787Z] ---> 7ad64f64ae79 [2022-10-24T13:23:59.787Z] Step 24/32 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory [2022-10-24T13:24:01.199Z] ---> ee77fb3a6352 [2022-10-24T13:24:01.199Z] Step 25/32 : RUN mkdir -p /cache && chown -R 2002:2002 /cache [2022-10-24T13:24:01.199Z] ---> Running in 44889a8834f2 [2022-10-24T13:24:03.152Z] Removing intermediate container 44889a8834f2 [2022-10-24T13:24:03.152Z] ---> 101ca5046361 [2022-10-24T13:24:03.152Z] Step 26/32 : VOLUME /cache [2022-10-24T13:24:03.152Z] ---> Running in 514a64c5ff99 [2022-10-24T13:24:03.152Z] Removing intermediate container 514a64c5ff99 [2022-10-24T13:24:03.152Z] ---> 9fa4d3c21cb5 [2022-10-24T13:24:03.152Z] Step 27/32 : EXPOSE 59711 [2022-10-24T13:24:03.152Z] ---> Running in c5e44ade6257 [2022-10-24T13:24:03.419Z] Removing intermediate container c5e44ade6257 [2022-10-24T13:24:03.419Z] ---> 1842db6d1631 [2022-10-24T13:24:03.419Z] Step 28/32 : ENTRYPOINT ["/app-rfid-llrp-inventory"] [2022-10-24T13:24:03.684Z] ---> Running in 4089cebd64aa [2022-10-24T13:24:03.950Z] Removing intermediate container 4089cebd64aa [2022-10-24T13:24:03.950Z] ---> 3ea73e61a592 [2022-10-24T13:24:03.950Z] Step 29/32 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry", "-confdir=/res"] [2022-10-24T13:24:03.950Z] ---> Running in aeab8c5e7757 [2022-10-24T13:24:04.216Z] Removing intermediate container aeab8c5e7757 [2022-10-24T13:24:04.216Z] ---> e41db354b1cd [2022-10-24T13:24:04.216Z] Step 30/32 : LABEL arch=arm64 [2022-10-24T13:24:04.216Z] ---> Running in 73cd9954a15d [2022-10-24T13:24:04.485Z] Removing intermediate container 73cd9954a15d [2022-10-24T13:24:04.485Z] ---> 9e7b950214a2 [2022-10-24T13:24:04.485Z] Step 31/32 : LABEL git_sha=4c819182f510ef76da49475910846652e6cc32a4 [2022-10-24T13:24:04.762Z] ---> Running in d469742c6228 [2022-10-24T13:24:05.029Z] Removing intermediate container d469742c6228 [2022-10-24T13:24:05.029Z] ---> 1904b4bed6b9 [2022-10-24T13:24:05.029Z] Step 32/32 : LABEL version=0.0.0 [2022-10-24T13:24:05.029Z] ---> Running in a74d5cf8ac58 [2022-10-24T13:24:05.296Z] Removing intermediate container a74d5cf8ac58 [2022-10-24T13:24:05.296Z] ---> 6d543293d08c [2022-10-24T13:24:05.296Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-24T13:24:05.296Z] Successfully built 6d543293d08c [2022-10-24T13:24:05.296Z] Successfully tagged app-rfid-llrp-inventory-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T13:24:06.252Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-24T13:24:06.252Z] [2022-10-24T13:24:06.252Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T13:24:06.666Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-24T13:24:06.666Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-24T13:24:06.666Z] 8998bd30e6a1: Pulling fs layer [2022-10-24T13:24:06.666Z] 04944245beec: Pulling fs layer [2022-10-24T13:24:06.666Z] 699f458cf7ca: Pulling fs layer [2022-10-24T13:24:06.666Z] 765212b225bb: Pulling fs layer [2022-10-24T13:24:06.666Z] f23df028b6ca: Pulling fs layer [2022-10-24T13:24:06.666Z] d65c8cfc05b1: Pulling fs layer [2022-10-24T13:24:06.666Z] 2437ff75d9bd: Pulling fs layer [2022-10-24T13:24:06.666Z] f23df028b6ca: Waiting [2022-10-24T13:24:06.666Z] d65c8cfc05b1: Waiting [2022-10-24T13:24:06.666Z] 2437ff75d9bd: Waiting [2022-10-24T13:24:06.666Z] 765212b225bb: Waiting [2022-10-24T13:24:06.933Z] 04944245beec: Verifying Checksum [2022-10-24T13:24:06.933Z] 04944245beec: Download complete [2022-10-24T13:24:06.933Z] 765212b225bb: Verifying Checksum [2022-10-24T13:24:06.933Z] 765212b225bb: Download complete [2022-10-24T13:24:06.933Z] f23df028b6ca: Verifying Checksum [2022-10-24T13:24:06.933Z] f23df028b6ca: Download complete [2022-10-24T13:24:06.933Z] d65c8cfc05b1: Verifying Checksum [2022-10-24T13:24:06.933Z] d65c8cfc05b1: Download complete [2022-10-24T13:24:06.933Z] 699f458cf7ca: Download complete [2022-10-24T13:24:07.522Z] 8998bd30e6a1: Verifying Checksum [2022-10-24T13:24:07.522Z] 8998bd30e6a1: Download complete [2022-10-24T13:24:09.465Z] 2437ff75d9bd: Download complete [2022-10-24T13:24:11.413Z] 8998bd30e6a1: Pull complete [2022-10-24T13:24:11.996Z] 04944245beec: Pull complete [2022-10-24T13:24:13.404Z] 699f458cf7ca: Pull complete [2022-10-24T13:24:13.404Z] 765212b225bb: Pull complete [2022-10-24T13:24:14.362Z] f23df028b6ca: Pull complete [2022-10-24T13:24:14.362Z] d65c8cfc05b1: Pull complete [2022-10-24T13:24:29.353Z] 2437ff75d9bd: Pull complete [2022-10-24T13:24:29.353Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-24T13:24:29.353Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-24T13:24:29.353Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T13:24:29.647Z] prd-ubuntu20.04-docker-arm64-4c-16g-9304 does not seem to be running inside a container [2022-10-24T13:24:29.699Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-10-24T13:24:32.060Z] $ docker top bab12aecb283190c363f4fd5d34d40cf443f3ce3e47160985c0e5032643ba0b4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-24T13:24:32.625Z] ---> job-cost.sh [2022-10-24T13:24:32.892Z] lf-activate-venv: SKIPPING [2022-10-24T13:24:32.892Z] INFO: No Stack... [2022-10-24T13:24:33.157Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-24T13:24:34.116Z] INFO: Archiving Costs [Pipeline] sh [2022-10-24T13:24:34.460Z] + cat /w/workspace/app-rfid-llrp-inventory/1/archives/cost.csv [2022-10-24T13:24:34.460Z] + cut -d, -f6 [Pipeline] lock [2022-10-24T13:24:34.814Z] Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-117-1-stack-cost] [2022-10-24T13:24:34.819Z] Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-117-1-stack-cost] did not exist. Created. [2022-10-24T13:24:34.819Z] Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-117-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-24T13:24:35.234Z] /w/workspace/app-rfid-llrp-inventory/1@tmp/durable-001ee4c4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-24T13:24:36.221Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-24T13:24:36.257Z] Warning: overwriting stash ‘stack-cost’ [2022-10-24T13:24:36.297Z] Stashed 1 file(s) [Pipeline] } [2022-10-24T13:24:36.312Z] Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-117-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-24T13:24:36.391Z] $ docker stop --time=1 bab12aecb283190c363f4fd5d34d40cf443f3ce3e47160985c0e5032643ba0b4 [2022-10-24T13:24:37.891Z] $ docker rm -f bab12aecb283190c363f4fd5d34d40cf443f3ce3e47160985c0e5032643ba0b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-10-24T13:24:38.950Z] provisioning config files... [2022-10-24T13:24:38.956Z] copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-117@tmp/config8091284229550864450tmp [Pipeline] { [Pipeline] sh [2022-10-24T13:24:39.288Z] + set +x [2022-10-24T13:24:39.288Z] + curl -s https://codecov.io/bash [2022-10-24T13:24:39.288Z] + bash -s -- [2022-10-24T13:24:39.289Z] [2022-10-24T13:24:39.289Z] _____ _ [2022-10-24T13:24:39.289Z] / ____| | | [2022-10-24T13:24:39.289Z] | | ___ __| | ___ ___ _____ __ [2022-10-24T13:24:39.289Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-24T13:24:39.289Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-24T13:24:39.289Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-24T13:24:39.289Z] Bash-1.0.6 [2022-10-24T13:24:39.289Z] [2022-10-24T13:24:39.289Z] [2022-10-24T13:24:39.289Z] ==> git version 2.25.1 found [2022-10-24T13:24:39.289Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-10-24T13:24:39.289Z] Release-Date: 2020-01-08 [2022-10-24T13:24:39.289Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-24T13:24:39.289Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-24T13:24:39.289Z] ==> Jenkins CI detected. [2022-10-24T13:24:39.289Z] current dir:  /w/workspace/y_app-rfid-llrp-inventory_PR-117 [2022-10-24T13:24:39.289Z] project root: . [2022-10-24T13:24:39.289Z] --> token set from env [2022-10-24T13:24:39.289Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-24T13:24:39.289Z] ==> Running gcov in . (disable via -X gcov) [2022-10-24T13:24:39.289Z] ==> Python coveragepy not found [2022-10-24T13:24:39.289Z] ==> Searching for coverage reports in: [2022-10-24T13:24:39.289Z] + . [2022-10-24T13:24:39.289Z] -> Found 1 reports [2022-10-24T13:24:39.289Z] ==> Detecting git/mercurial file structure [2022-10-24T13:24:39.289Z] ==> Reading reports [2022-10-24T13:24:39.289Z] + ./coverage.out bytes=41008 [2022-10-24T13:24:39.289Z] ==> Appending adjustments [2022-10-24T13:24:39.289Z] https://docs.codecov.io/docs/fixing-reports [2022-10-24T13:24:39.547Z] + Found adjustments [2022-10-24T13:24:39.547Z] ==> Gzipping contents [2022-10-24T13:24:39.547Z] 12K /tmp/codecov.PwlGkQ.gz [2022-10-24T13:24:39.547Z] ==> Uploading reports [2022-10-24T13:24:39.547Z] url: https://codecov.io [2022-10-24T13:24:39.547Z] query: branch=PR-117&commit=4c819182f510ef76da49475910846652e6cc32a4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-117%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=117&job=&cmd_args= [2022-10-24T13:24:39.547Z] -> Pinging Codecov [2022-10-24T13:24:39.547Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-117&commit=4c819182f510ef76da49475910846652e6cc32a4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-117%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=117&job=&cmd_args= [2022-10-24T13:24:39.806Z] -> Uploading to [2022-10-24T13:24:39.806Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-24/581DD39554BDF9B6E22D074273EAD858/4c819182f510ef76da49475910846652e6cc32a4/a85ca0b5-cb6b-4db4-815a-c7f1fb3ec2d9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221024T132439Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=899f168c85700f9bce0b53847fa404ab8d8eda50607b0a3a569beaa124941e8b [2022-10-24T13:24:39.806Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-24T13:24:39.806Z] Dload Upload Total Spent Left Speed [2022-10-24T13:24:40.065Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11463 0 0 100 11463 0 50497 --:--:-- --:--:-- --:--:-- 50497 [2022-10-24T13:24:40.065Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/4c819182f510ef76da49475910846652e6cc32a4 [Pipeline] } [2022-10-24T13:24:40.092Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-10-24T13:24:41.788Z] + [ -d /w/workspace/y_app-rfid-llrp-inventory_PR-117/archives ] [2022-10-24T13:24:41.789Z] + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-117/archives [2022-10-24T13:24:41.789Z] total 16 [2022-10-24T13:24:41.789Z] drwxr-xr-x 3 root root 4096 Oct 24 13:15 . [2022-10-24T13:24:41.789Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 24 13:15 .. [2022-10-24T13:24:41.789Z] drwxr-xr-x 2 root root 4096 Oct 24 13:15 cost [2022-10-24T13:24:41.789Z] -rw-r--r-- 1 root root 95 Oct 24 13:15 cost.csv [2022-10-24T13:24:41.789Z] + sudo chown -R jenkins:jenkins /w/workspace/y_app-rfid-llrp-inventory_PR-117/archives [2022-10-24T13:24:41.789Z] + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-117/archives [2022-10-24T13:24:41.789Z] total 16 [2022-10-24T13:24:41.789Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 13:15 . [2022-10-24T13:24:41.789Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 24 13:15 .. [2022-10-24T13:24:41.789Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 13:15 cost [2022-10-24T13:24:41.789Z] -rw-r--r-- 1 jenkins jenkins 95 Oct 24 13:15 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-24T13:24:42.119Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T13:24:43.014Z] ---> package-listing.sh [2022-10-24T13:24:43.014Z] ++ facter osfamily [2022-10-24T13:24:43.014Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-24T13:24:43.276Z] + OS_FAMILY=debian [2022-10-24T13:24:43.276Z] + workspace=/w/workspace/y_app-rfid-llrp-inventory_PR-117 [2022-10-24T13:24:43.276Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-24T13:24:43.276Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-24T13:24:43.276Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-24T13:24:43.276Z] + PACKAGES=/tmp/packages_start.txt [2022-10-24T13:24:43.276Z] + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-117 ']' [2022-10-24T13:24:43.276Z] + PACKAGES=/tmp/packages_end.txt [2022-10-24T13:24:43.276Z] + case "${OS_FAMILY}" in [2022-10-24T13:24:43.276Z] + dpkg -l [2022-10-24T13:24:43.276Z] + grep '^ii' [2022-10-24T13:24:43.276Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-24T13:24:43.276Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-24T13:24:43.276Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-24T13:24:43.276Z] + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-117 ']' [2022-10-24T13:24:43.276Z] + mkdir -p /w/workspace/y_app-rfid-llrp-inventory_PR-117/archives/ [2022-10-24T13:24:43.276Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/y_app-rfid-llrp-inventory_PR-117/archives/ [Pipeline] echo [2022-10-24T13:24:43.310Z] 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-117/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-10-24T13:24:43.600Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-24T13:24:43.969Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-24T13:24:43.969Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-24T13:24:44.108Z] prd-ubuntu20.04-docker-8c-8g-9302 does not seem to be running inside a container [2022-10-24T13:24:44.139Z] $ 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-117/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-117 -v /w/workspace/y_app-rfid-llrp-inventory_PR-117:/w/workspace/y_app-rfid-llrp-inventory_PR-117:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-117@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-117@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-24T13:24:44.311Z] $ docker top 9127bf4f747b5f22156af4dccebf5f6d7f726abd494f1a01cea56d61e9717cac -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-24T13:24:44.701Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-24T13:24:45.013Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-24T13:24:45.338Z] + ls /var/log/sa-host [2022-10-24T13:24:45.338Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-24T13:24:45.477Z] provisioning config files... [2022-10-24T13:24:45.487Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-117@tmp/config683090467621306116tmp [Pipeline] { [Pipeline] echo [2022-10-24T13:24:45.532Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T13:24:45.845Z] ---> create-netrc.sh [Pipeline] } [2022-10-24T13:24:45.870Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-24T13:24:46.263Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-24T13:24:46.296Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T13:24:46.606Z] ---> sudo-logs.sh [2022-10-24T13:24:46.606Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-24T13:24:46.694Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T13:24:47.001Z] ---> job-cost.sh [2022-10-24T13:24:47.001Z] lf-activate-venv: SKIPPING [2022-10-24T13:24:47.001Z] DEBUG: total: 0.2199999988079071 [2022-10-24T13:24:47.001Z] INFO: Retrieving Stack Cost... [2022-10-24T13:24:47.261Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-24T13:24:47.827Z] INFO: Archiving Costs [Pipeline] echo [2022-10-24T13:24:47.860Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-24T13:24:48.168Z] ---> logs-deploy.sh [2022-10-24T13:24:48.168Z] lf-activate-venv: SKIPPING [2022-10-24T13:24:48.168Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-117/1 [2022-10-24T13:24:48.168Z] INFO: archiving workspace using pattern(s): [2022-10-24T13:24:49.103Z] Archives upload complete. [2022-10-24T13:24:49.103Z] INFO: archiving logs to Nexus