Pull request #161 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fa65cf8fcc326c290a72ceffbbb82b977ed92375+cb9c3911ed414974470d0055f1b5db75799e1a22 (365563a0349e669551f51df9571e7b08c84f06ba) 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-ssh11310464598255163518.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh15912028590993305833.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-161/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-161/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17696656499781335946.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/app-rfid-llrp-inventory/branches/PR-161/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10909687366421223490.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh12707257058467379992.key > 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-161/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-161/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13190388682833517946.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 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 66200e8eedfc470904d6b329e562ec5b45423d6a 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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-rfid-llrp-inventory DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1278 in /w/workspace/y_app-rfid-llrp-inventory_PR-161 [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-161 # 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/161/head:refs/remotes/origin/PR-161 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit cb9c3911ed414974470d0055f1b5db75799e1a22 into PR head commit fa65cf8fcc326c290a72ceffbbb82b977ed92375 Merge succeeded, producing fa65cf8fcc326c290a72ceffbbb82b977ed92375 Checking out Revision fa65cf8fcc326c290a72ceffbbb82b977ed92375 (PR-161) Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-15T16:26:29.893Z] Timeout set to expire in 6 hr 0 min > git config core.sparsecheckout # timeout=10 > git checkout -f fa65cf8fcc326c290a72ceffbbb82b977ed92375 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge cb9c3911ed414974470d0055f1b5db75799e1a22 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fa65cf8fcc326c290a72ceffbbb82b977ed92375 # timeout=10 [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-15T16:26:30.061Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-15T16:26:30.156Z] ========================================================= [2023-03-15T16:26:30.156Z] EdgeX Global Pipelines Version Info [2023-03-15T16:26:30.156Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:26:30.903Z] ------------------- [2023-03-15T16:26:30.903Z] stable info: [2023-03-15T16:26:30.903Z] ------------------- [2023-03-15T16:26:30.903Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-15T16:26:30.903Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-15T16:26:30.903Z] Message: update stable to v1.0.245 [2023-03-15T16:26:31.471Z] ------------------- [2023-03-15T16:26:31.471Z] experimental info: [2023-03-15T16:26:31.471Z] ------------------- [2023-03-15T16:26:31.471Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-15T16:26:31.471Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-15T16:26:31.471Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-15T16:26:31.773Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo [2023-03-15T16:26:31.956Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo [2023-03-15T16:26:32.021Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-15T16:26:32.170Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-15T16:26:32.218Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-15T16:26:32.254Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-15T16:26:32.292Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-15T16:26:32.327Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-15T16:26:32.364Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-15T16:26:32.401Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-15T16:26:32.440Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-15T16:26:32.476Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo [2023-03-15T16:26:32.515Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-15T16:26:32.558Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-15T16:26:32.600Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-15T16:26:32.646Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-15T16:26:32.688Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T16:26:32.729Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T16:26:32.770Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-15T16:26:32.808Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-15T16:26:32.845Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-15T16:26:32.881Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-15T16:26:32.924Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-15T16:26:32.969Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-15T16:26:33.008Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-15T16:26:33.047Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-15T16:26:33.189Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-15T16:26:33.230Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-161 [Pipeline] echo [2023-03-15T16:26:33.273Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-161 [Pipeline] echo [2023-03-15T16:26:33.319Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-161 [Pipeline] echo [2023-03-15T16:26:33.358Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fa65cf8fcc326c290a72ceffbbb82b977ed92375 [Pipeline] echo [2023-03-15T16:26:33.401Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fa65cf8 [Pipeline] echo [2023-03-15T16:26:33.440Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T16:26:33.552Z] provisioning config files... [2023-03-15T16:26:33.571Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-161@tmp/config1340550317531430661tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:26:33.929Z] ---> docker-login.sh [2023-03-15T16:26:33.929Z] nexus3.edgexfoundry.org:10001 [2023-03-15T16:26:33.929Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:26:34.188Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:26:34.188Z] Configure a credential helper to remove this warning. See [2023-03-15T16:26:34.188Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:26:34.188Z] [2023-03-15T16:26:34.188Z] Login Succeeded [2023-03-15T16:26:34.188Z] nexus3.edgexfoundry.org:10002 [2023-03-15T16:26:34.188Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:26:34.188Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:26:34.188Z] Configure a credential helper to remove this warning. See [2023-03-15T16:26:34.188Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:26:34.188Z] [2023-03-15T16:26:34.188Z] Login Succeeded [2023-03-15T16:26:34.188Z] nexus3.edgexfoundry.org:10003 [2023-03-15T16:26:34.188Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:26:34.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:26:34.450Z] Configure a credential helper to remove this warning. See [2023-03-15T16:26:34.450Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:26:34.450Z] [2023-03-15T16:26:34.450Z] Login Succeeded [2023-03-15T16:26:34.450Z] nexus3.edgexfoundry.org:10004 [2023-03-15T16:26:34.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:26:34.450Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:26:34.450Z] Configure a credential helper to remove this warning. See [2023-03-15T16:26:34.450Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:26:34.450Z] [2023-03-15T16:26:34.450Z] Login Succeeded [2023-03-15T16:26:34.450Z] docker.io [2023-03-15T16:26:34.450Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:26:34.711Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:26:34.711Z] Configure a credential helper to remove this warning. See [2023-03-15T16:26:34.711Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:26:34.711Z] [2023-03-15T16:26:34.711Z] Login Succeeded [2023-03-15T16:26:34.711Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T16:26:34.741Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-15T16:26:35.435Z] + git rev-list -1 --merges fa65cf8fcc326c290a72ceffbbb82b977ed92375~1..fa65cf8fcc326c290a72ceffbbb82b977ed92375 [Pipeline] echo [2023-03-15T16:26:35.500Z] -----------> git rev-list -1 --merges fa65cf8fcc326c290a72ceffbbb82b977ed92375~1..fa65cf8fcc326c290a72ceffbbb82b977ed92375 fa65cf8fcc326c290a72ceffbbb82b977ed92375 [false] [Pipeline] sh [2023-03-15T16:26:35.802Z] + git log --format=format:%s -1 fa65cf8fcc326c290a72ceffbbb82b977ed92375 [Pipeline] echo [2023-03-15T16:26:35.837Z] ========================================================= [2023-03-15T16:26:35.837Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-15T16:26:35.837Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T16:26:36.261Z] + git log --format=format:%s -1 fa65cf8fcc326c290a72ceffbbb82b977ed92375 [Pipeline] echo [2023-03-15T16:26:36.291Z] [semverPrep] GIT_COMMIT: fa65cf8fcc326c290a72ceffbbb82b977ed92375, Commit Message: build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3 [Pipeline] echo [2023-03-15T16:26:36.321Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-15T16:26:36.689Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-15T16:26:36.690Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-15T16:26:36.690Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-15T16:26:36.690Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-15T16:26:36.690Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-15T16:26:36.690Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-15T16:26:36.690Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:26:37.118Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T16:26:37.118Z] [2023-03-15T16:26:37.118Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:26:37.488Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T16:26:37.488Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-15T16:26:37.488Z] b85a868b505f: Pulling fs layer [2023-03-15T16:26:37.488Z] e2be974225ed: Pulling fs layer [2023-03-15T16:26:37.488Z] 339a4e72a1f5: Pulling fs layer [2023-03-15T16:26:37.488Z] 988bab9f4d93: Pulling fs layer [2023-03-15T16:26:37.488Z] 1469e6f7b9e6: Pulling fs layer [2023-03-15T16:26:37.488Z] eaf3925da568: Pulling fs layer [2023-03-15T16:26:37.488Z] bab4dde63d76: Pulling fs layer [2023-03-15T16:26:37.488Z] bde34c3a00c8: Pulling fs layer [2023-03-15T16:26:37.488Z] b352a97aabf1: Pulling fs layer [2023-03-15T16:26:37.488Z] 4872d77fe225: Pulling fs layer [2023-03-15T16:26:37.488Z] 5851b861e8e6: Pulling fs layer [2023-03-15T16:26:37.488Z] eaf3925da568: Waiting [2023-03-15T16:26:37.488Z] bab4dde63d76: Waiting [2023-03-15T16:26:37.488Z] bde34c3a00c8: Waiting [2023-03-15T16:26:37.488Z] b352a97aabf1: Waiting [2023-03-15T16:26:37.488Z] 4872d77fe225: Waiting [2023-03-15T16:26:37.488Z] 988bab9f4d93: Waiting [2023-03-15T16:26:37.488Z] 5851b861e8e6: Waiting [2023-03-15T16:26:37.488Z] 1469e6f7b9e6: Waiting [2023-03-15T16:26:37.488Z] e2be974225ed: Verifying Checksum [2023-03-15T16:26:37.488Z] e2be974225ed: Download complete [2023-03-15T16:26:37.488Z] 988bab9f4d93: Verifying Checksum [2023-03-15T16:26:37.488Z] 988bab9f4d93: Download complete [2023-03-15T16:26:37.749Z] 1469e6f7b9e6: Verifying Checksum [2023-03-15T16:26:37.749Z] 1469e6f7b9e6: Download complete [2023-03-15T16:26:37.749Z] eaf3925da568: Verifying Checksum [2023-03-15T16:26:37.749Z] eaf3925da568: Download complete [2023-03-15T16:26:37.749Z] 339a4e72a1f5: Verifying Checksum [2023-03-15T16:26:37.749Z] 339a4e72a1f5: Download complete [2023-03-15T16:26:37.749Z] bde34c3a00c8: Download complete [2023-03-15T16:26:37.749Z] 4872d77fe225: Verifying Checksum [2023-03-15T16:26:37.749Z] 4872d77fe225: Download complete [2023-03-15T16:26:37.749Z] 5851b861e8e6: Download complete [2023-03-15T16:26:37.749Z] b85a868b505f: Download complete [2023-03-15T16:26:38.007Z] bab4dde63d76: Verifying Checksum [2023-03-15T16:26:38.007Z] bab4dde63d76: Download complete [2023-03-15T16:26:38.944Z] b85a868b505f: Pull complete [2023-03-15T16:26:39.203Z] e2be974225ed: Pull complete [2023-03-15T16:26:39.771Z] 339a4e72a1f5: Pull complete [2023-03-15T16:26:39.771Z] 988bab9f4d93: Pull complete [2023-03-15T16:26:40.030Z] 1469e6f7b9e6: Pull complete [2023-03-15T16:26:40.030Z] eaf3925da568: Pull complete [2023-03-15T16:26:41.930Z] bab4dde63d76: Pull complete [2023-03-15T16:26:41.930Z] bde34c3a00c8: Pull complete [2023-03-15T16:26:42.189Z] b352a97aabf1: Pull complete [2023-03-15T16:26:42.189Z] 4872d77fe225: Pull complete [2023-03-15T16:26:42.189Z] 5851b861e8e6: Pull complete [2023-03-15T16:26:42.189Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-15T16:26:42.189Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T16:26:42.189Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:26:42.420Z] prd-ubuntu20.04-docker-8c-8g-1278 does not seem to be running inside a container [2023-03-15T16:26:42.453Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/y_app-rfid-llrp-inventory_PR-161 -v /w/workspace/y_app-rfid-llrp-inventory_PR-161:/w/workspace/y_app-rfid-llrp-inventory_PR-161:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-161@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-161@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 [2023-03-15T16:26:43.689Z] $ docker top 77cdb92e2cc8d5ea5bae32cf65439f19208c77a406ed7fb1a534b7d7e61ff3fc -eo pid,comm [2023-03-15T16:26:43.753Z] 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). [2023-03-15T16:26:43.753Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-15T16:26:43.877Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T16:26:43.877Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T16:26:44.000Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T16:26:44.002Z] $ docker exec 77cdb92e2cc8d5ea5bae32cf65439f19208c77a406ed7fb1a534b7d7e61ff3fc ssh-agent [2023-03-15T16:26:44.123Z] SSH_AUTH_SOCK=/tmp/ssh-v8y4uAxBNZmd/agent.31 [2023-03-15T16:26:44.123Z] SSH_AGENT_PID=37 [2023-03-15T16:26:44.135Z] Running ssh-add (command line suppressed) [2023-03-15T16:26:44.237Z] Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-161@tmp/private_key_3782613155984998368.key (/w/workspace/y_app-rfid-llrp-inventory_PR-161@tmp/private_key_3782613155984998368.key) [2023-03-15T16:26:44.256Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T16:26:44.584Z] + git tag --points-at HEAD [Pipeline] } [2023-03-15T16:26:44.617Z] $ docker exec --env ******** --env ******** 77cdb92e2cc8d5ea5bae32cf65439f19208c77a406ed7fb1a534b7d7e61ff3fc ssh-agent -k [2023-03-15T16:26:44.730Z] unset SSH_AUTH_SOCK; [2023-03-15T16:26:44.730Z] unset SSH_AGENT_PID; [2023-03-15T16:26:44.730Z] echo Agent pid 37 killed; [2023-03-15T16:26:44.742Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-15T16:26:44.851Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T16:26:44.851Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T16:26:44.964Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T16:26:44.966Z] $ docker exec 77cdb92e2cc8d5ea5bae32cf65439f19208c77a406ed7fb1a534b7d7e61ff3fc ssh-agent [2023-03-15T16:26:45.068Z] SSH_AUTH_SOCK=/tmp/ssh-pDSWtCW4clw0/agent.69 [2023-03-15T16:26:45.068Z] SSH_AGENT_PID=75 [2023-03-15T16:26:45.073Z] Running ssh-add (command line suppressed) [2023-03-15T16:26:45.173Z] Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-161@tmp/private_key_6590039070767881090.key (/w/workspace/y_app-rfid-llrp-inventory_PR-161@tmp/private_key_6590039070767881090.key) [2023-03-15T16:26:45.190Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T16:26:45.523Z] + git semver init [2023-03-15T16:26:45.781Z] 2023-03-15 16:26:45,718 [run_init] DEBUG init version:0.0.0 force:False [2023-03-15T16:26:45.781Z] 2023-03-15 16:26:45,718 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/y_app-rfid-llrp-inventory_PR-161/.semver [2023-03-15T16:26:45.781Z] 2023-03-15 16:26:45,719 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/y_app-rfid-llrp-inventory_PR-161/.semver [2023-03-15T16:26:45.781Z] 2023-03-15 16:26:45,719 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/y_app-rfid-llrp-inventory_PR-161/.semver'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-161, universal_newlines=False, shell=None, istream=None) [2023-03-15T16:26:47.162Z] 2023-03-15 16:26:46,733 [append_file] DEBUG append to file:/w/workspace/y_app-rfid-llrp-inventory_PR-161/.git/info/exclude [2023-03-15T16:26:47.162Z] 2023-03-15 16:26:46,734 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/y_app-rfid-llrp-inventory_PR-161/.semver/PR-161 with force:False [2023-03-15T16:26:47.162Z] 2023-03-15 16:26:46,734 [write_file] DEBUG write to file:/w/workspace/y_app-rfid-llrp-inventory_PR-161/.semver/PR-161 [2023-03-15T16:26:47.162Z] 2023-03-15 16:26:46,739 [execute] INFO git cat-file --batch-check [2023-03-15T16:26:47.162Z] 2023-03-15 16:26:46,739 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-161/.semver, universal_newlines=False, shell=None, istream=) [2023-03-15T16:26:47.162Z] 2023-03-15 16:26:46,745 [execute] INFO git cat-file --batch [2023-03-15T16:26:47.162Z] 2023-03-15 16:26:46,746 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-161/.semver, universal_newlines=False, shell=None, istream=) [2023-03-15T16:26:47.162Z] 2023-03-15 16:26:46,752 [read_version] DEBUG read version from /w/workspace/y_app-rfid-llrp-inventory_PR-161/.semver/PR-161 [2023-03-15T16:26:47.162Z] 0.0.0 [Pipeline] } [2023-03-15T16:26:47.195Z] $ docker exec --env ******** --env ******** 77cdb92e2cc8d5ea5bae32cf65439f19208c77a406ed7fb1a534b7d7e61ff3fc ssh-agent -k [2023-03-15T16:26:47.283Z] unset SSH_AUTH_SOCK; [2023-03-15T16:26:47.283Z] unset SSH_AGENT_PID; [2023-03-15T16:26:47.283Z] echo Agent pid 75 killed; [2023-03-15T16:26:47.291Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-15T16:26:47.714Z] + git semver [Pipeline] } [2023-03-15T16:26:47.998Z] $ docker stop --time=1 77cdb92e2cc8d5ea5bae32cf65439f19208c77a406ed7fb1a534b7d7e61ff3fc [2023-03-15T16:26:49.308Z] $ docker rm -f --volumes 77cdb92e2cc8d5ea5bae32cf65439f19208c77a406ed7fb1a534b7d7e61ff3fc [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T16:26:49.709Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-15T16:26:49.994Z] Stashed 1 file(s) [Pipeline] echo [2023-03-15T16:26:50.011Z] [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 [2023-03-15T16:26:50.607Z] provisioning config files... [2023-03-15T16:26:50.617Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-161@tmp/config6192412575136292827tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:26:50.958Z] ---> docker-login.sh [2023-03-15T16:26:50.958Z] nexus3.edgexfoundry.org:10001 [2023-03-15T16:26:50.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:26:50.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:26:50.959Z] Configure a credential helper to remove this warning. See [2023-03-15T16:26:50.959Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:26:50.959Z] [2023-03-15T16:26:50.959Z] Login Succeeded [2023-03-15T16:26:50.959Z] nexus3.edgexfoundry.org:10002 [2023-03-15T16:26:50.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:26:50.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:26:50.959Z] Configure a credential helper to remove this warning. See [2023-03-15T16:26:50.959Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:26:50.959Z] [2023-03-15T16:26:50.959Z] Login Succeeded [2023-03-15T16:26:50.959Z] nexus3.edgexfoundry.org:10003 [2023-03-15T16:26:51.216Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:26:51.216Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:26:51.216Z] Configure a credential helper to remove this warning. See [2023-03-15T16:26:51.216Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:26:51.216Z] [2023-03-15T16:26:51.216Z] Login Succeeded [2023-03-15T16:26:51.216Z] nexus3.edgexfoundry.org:10004 [2023-03-15T16:26:51.216Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:26:51.216Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:26:51.216Z] Configure a credential helper to remove this warning. See [2023-03-15T16:26:51.216Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:26:51.216Z] [2023-03-15T16:26:51.216Z] Login Succeeded [2023-03-15T16:26:51.216Z] docker.io [2023-03-15T16:26:51.476Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:26:51.476Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:26:51.476Z] Configure a credential helper to remove this warning. See [2023-03-15T16:26:51.476Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:26:51.476Z] [2023-03-15T16:26:51.476Z] Login Succeeded [2023-03-15T16:26:51.476Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T16:26:51.507Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T16:26:51.698Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T16:26:51.729Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T16:26:51.758Z] ========================================================= [2023-03-15T16:26:51.758Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-15T16:26:51.758Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:26:52.225Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-15T16:26:52.225Z] Sending build context to Docker daemon 12.59MB [2023-03-15T16:26:52.225Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T16:26:52.225Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-15T16:26:52.225Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-15T16:26:52.225Z] 63b65145d645: Pulling fs layer [2023-03-15T16:26:52.225Z] a2d21d5440eb: Pulling fs layer [2023-03-15T16:26:52.225Z] 935e6c44a52c: Pulling fs layer [2023-03-15T16:26:52.225Z] 94cc34f8dd06: Pulling fs layer [2023-03-15T16:26:52.225Z] 30dea6a524f1: Pulling fs layer [2023-03-15T16:26:52.225Z] a2aff8979fd8: Pulling fs layer [2023-03-15T16:26:52.225Z] 6808be2612f2: Pulling fs layer [2023-03-15T16:26:52.225Z] f25807f1079a: Pulling fs layer [2023-03-15T16:26:52.225Z] 6808be2612f2: Waiting [2023-03-15T16:26:52.225Z] f25807f1079a: Waiting [2023-03-15T16:26:52.225Z] 94cc34f8dd06: Waiting [2023-03-15T16:26:52.225Z] 30dea6a524f1: Waiting [2023-03-15T16:26:52.225Z] a2aff8979fd8: Waiting [2023-03-15T16:26:52.225Z] a2d21d5440eb: Verifying Checksum [2023-03-15T16:26:52.225Z] a2d21d5440eb: Download complete [2023-03-15T16:26:52.488Z] 94cc34f8dd06: Verifying Checksum [2023-03-15T16:26:52.488Z] 94cc34f8dd06: Download complete [2023-03-15T16:26:52.488Z] 30dea6a524f1: Download complete [2023-03-15T16:26:52.488Z] 63b65145d645: Verifying Checksum [2023-03-15T16:26:52.488Z] 63b65145d645: Download complete [2023-03-15T16:26:52.488Z] a2aff8979fd8: Verifying Checksum [2023-03-15T16:26:52.488Z] a2aff8979fd8: Download complete [2023-03-15T16:26:52.488Z] 63b65145d645: Pull complete [2023-03-15T16:26:52.751Z] a2d21d5440eb: Pull complete [2023-03-15T16:26:53.009Z] f25807f1079a: Verifying Checksum [2023-03-15T16:26:53.009Z] f25807f1079a: Download complete [2023-03-15T16:26:53.009Z] 935e6c44a52c: Download complete [2023-03-15T16:26:53.267Z] 6808be2612f2: Verifying Checksum [2023-03-15T16:26:53.267Z] 6808be2612f2: Download complete [2023-03-15T16:26:56.546Z] 935e6c44a52c: Pull complete [2023-03-15T16:26:56.546Z] 94cc34f8dd06: Pull complete [2023-03-15T16:26:56.546Z] 30dea6a524f1: Pull complete [2023-03-15T16:26:56.804Z] a2aff8979fd8: Pull complete [2023-03-15T16:26:59.331Z] 6808be2612f2: Pull complete [2023-03-15T16:26:59.899Z] f25807f1079a: Pull complete [2023-03-15T16:26:59.899Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-15T16:26:59.899Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-15T16:26:59.899Z] ---> 3b553350e43f [2023-03-15T16:26:59.899Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-03-15T16:27:01.274Z] ---> Running in 6ae6acf6a360 [2023-03-15T16:27:01.274Z] Removing intermediate container 6ae6acf6a360 [2023-03-15T16:27:01.274Z] ---> 18e7d701f56f [2023-03-15T16:27:01.274Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T16:27:01.274Z] ---> Running in f1e13d90f97a [2023-03-15T16:27:01.274Z] Removing intermediate container f1e13d90f97a [2023-03-15T16:27:01.274Z] ---> a3ae9a2cef9f [2023-03-15T16:27:01.274Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-03-15T16:27:01.274Z] ---> Running in 3791e4b4fa46 [2023-03-15T16:27:01.533Z] Removing intermediate container 3791e4b4fa46 [2023-03-15T16:27:01.533Z] ---> a227341b8825 [2023-03-15T16:27:01.533Z] Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T16:27:01.533Z] ---> Running in 65db974d7e35 [2023-03-15T16:27:01.792Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T16:27:02.049Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T16:27:02.315Z] OK: 265 MiB in 53 packages [2023-03-15T16:27:02.574Z] Removing intermediate container 65db974d7e35 [2023-03-15T16:27:02.574Z] ---> 73b09c9f4151 [2023-03-15T16:27:02.574Z] Step 7/12 : WORKDIR /app [2023-03-15T16:27:02.574Z] ---> Running in 2dabafe47084 [2023-03-15T16:27:02.832Z] Removing intermediate container 2dabafe47084 [2023-03-15T16:27:02.832Z] ---> 714d117611b9 [2023-03-15T16:27:02.832Z] Step 8/12 : COPY go.mod vendor* ./ [2023-03-15T16:27:02.832Z] ---> 3873474d59f5 [2023-03-15T16:27:02.832Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T16:27:02.832Z] ---> Running in d4cdf15d2faa [2023-03-15T16:27:05.430Z] Still waiting to schedule task [2023-03-15T16:27:05.430Z] ‘prd-ubuntu20.04-docker-8c-8g-1275’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-15T16:27:05.430Z] ‘prd-ubuntu20.04-docker-8c-8g-1276’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-15T16:27:05.430Z] ‘prd-ubuntu20.04-docker-8c-8g-1277’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-15T16:27:05.431Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-1281’ is offline [2023-03-15T16:27:05.431Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-1282’ is offline [2023-03-15T16:27:05.431Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-1283’ is offline [2023-03-15T16:27:05.431Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-1285’ is offline [2023-03-15T16:27:05.431Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-1286’ is offline [2023-03-15T16:27:20.915Z] Removing intermediate container d4cdf15d2faa [2023-03-15T16:27:20.915Z] ---> 562a536ab10b [2023-03-15T16:27:20.915Z] Step 10/12 : COPY . . [2023-03-15T16:27:21.484Z] ---> b36853b40b04 [2023-03-15T16:27:21.484Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T16:27:21.484Z] ---> Running in 45bcb66c45f3 [2023-03-15T16:27:21.484Z] Removing intermediate container 45bcb66c45f3 [2023-03-15T16:27:21.484Z] ---> cb53e1452c6c [2023-03-15T16:27:21.484Z] Step 12/12 : RUN $MAKE [2023-03-15T16:27:21.484Z] ---> Running in 19924091e311 [2023-03-15T16:27:21.743Z] noop [2023-03-15T16:27:22.309Z] Removing intermediate container 19924091e311 [2023-03-15T16:27:22.309Z] ---> 2b9b3515672c [2023-03-15T16:27:22.309Z] Successfully built 2b9b3515672c [2023-03-15T16:27:22.309Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:27:22.741Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T16:27:22.741Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:27:22.895Z] prd-ubuntu20.04-docker-8c-8g-1278 does not seem to be running inside a container [2023-03-15T16:27:22.926Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/y_app-rfid-llrp-inventory_PR-161 -v /w/workspace/y_app-rfid-llrp-inventory_PR-161:/w/workspace/y_app-rfid-llrp-inventory_PR-161:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-161@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-161@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 [2023-03-15T16:27:23.278Z] $ docker top 382cfd798a453052f992a359a1555aae172a1a953971994ca0e1a6b7e573a283 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T16:27:23.653Z] + go version [2023-03-15T16:27:23.653Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-15T16:27:23.692Z] $ docker stop --time=1 382cfd798a453052f992a359a1555aae172a1a953971994ca0e1a6b7e573a283 [2023-03-15T16:27:24.990Z] $ docker rm -f --volumes 382cfd798a453052f992a359a1555aae172a1a953971994ca0e1a6b7e573a283 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:27:25.744Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T16:27:25.744Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:27:25.891Z] prd-ubuntu20.04-docker-8c-8g-1278 does not seem to be running inside a container [2023-03-15T16:27:25.924Z] $ 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-161 -v /w/workspace/y_app-rfid-llrp-inventory_PR-161:/w/workspace/y_app-rfid-llrp-inventory_PR-161:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-161@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-161@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 [2023-03-15T16:27:26.270Z] $ docker top b0f6028b120d3e744b6157889acdc17569bb9b1f82164e5a424941314d25caf8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T16:27:26.653Z] + git config --global --add safe.directory /w/workspace/y_app-rfid-llrp-inventory_PR-161 [Pipeline] fileExists [Pipeline] sh [2023-03-15T16:27:27.031Z] + make test [2023-03-15T16:27:27.031Z] go test -race ./... -coverprofile=coverage.out ./... [2023-03-15T16:27:45.144Z] ? edgexfoundry/app-rfid-llrp-inventory [no test files] [2023-03-15T16:27:45.144Z] ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] [2023-03-15T16:27:45.144Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.175s coverage: 86.2% of statements [2023-03-15T16:27:47.098Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.685s coverage: 71.9% of statements [2023-03-15T16:28:09.074Z] go vet ./... [2023-03-15T16:28:09.074Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-15T16:28:09.074Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-15T16:28:09.332Z] ./bin/test-attribution.sh [Pipeline] echo [2023-03-15T16:28:09.365Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-15T16:28:09.398Z] $ docker stop --time=1 b0f6028b120d3e744b6157889acdc17569bb9b1f82164e5a424941314d25caf8 [2023-03-15T16:28:11.476Z] $ docker rm -f --volumes b0f6028b120d3e744b6157889acdc17569bb9b1f82164e5a424941314d25caf8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T16:28:12.040Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-15T16:28:12.123Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-15T16:28:12.721Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-15T16:28:13.030Z] + ls -al . [2023-03-15T16:28:13.030Z] total 228 [2023-03-15T16:28:13.030Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 16:27 . [2023-03-15T16:28:13.030Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:26 .. [2023-03-15T16:28:13.030Z] -rw-rw-r-- 1 jenkins jenkins 262 Mar 15 16:26 .dockerignore [2023-03-15T16:28:13.030Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 16:26 .git [2023-03-15T16:28:13.030Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:26 .github [2023-03-15T16:28:13.030Z] -rw-rw-r-- 1 jenkins jenkins 788 Mar 15 16:26 .gitignore [2023-03-15T16:28:13.030Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 16:26 .golangci.yml [2023-03-15T16:28:13.030Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 16:26 .semver [2023-03-15T16:28:13.030Z] -rw-rw-r-- 1 jenkins jenkins 10037 Mar 15 16:26 Attribution.txt [2023-03-15T16:28:13.030Z] -rw-rw-r-- 1 jenkins jenkins 4331 Mar 15 16:26 CHANGELOG.md [2023-03-15T16:28:13.030Z] -rw-rw-r-- 1 jenkins jenkins 1659 Mar 15 16:26 Dockerfile [2023-03-15T16:28:13.030Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 16:26 GOVERNANCE.md [2023-03-15T16:28:13.030Z] -rw-rw-r-- 1 jenkins jenkins 687 Mar 15 16:26 Jenkinsfile [2023-03-15T16:28:13.030Z] -rw-rw-r-- 1 jenkins jenkins 11347 Mar 15 16:26 LICENSE [2023-03-15T16:28:13.030Z] -rw-rw-r-- 1 jenkins jenkins 2497 Mar 15 16:26 Makefile [2023-03-15T16:28:13.030Z] -rw-rw-r-- 1 jenkins jenkins 617 Mar 15 16:26 OWNERS.md [2023-03-15T16:28:13.030Z] -rw-rw-r-- 1 jenkins jenkins 31023 Mar 15 16:26 README.md [2023-03-15T16:28:13.030Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 16:26 VERSION [2023-03-15T16:28:13.030Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 16:26 bin [2023-03-15T16:28:13.030Z] -rw-r--r-- 1 jenkins jenkins 41317 Mar 15 16:27 coverage.out [2023-03-15T16:28:13.030Z] -rw-rw-r-- 1 jenkins jenkins 3511 Mar 15 16:26 go.mod [2023-03-15T16:28:13.030Z] -rw-rw-r-- 1 jenkins jenkins 31563 Mar 15 16:26 go.sum [2023-03-15T16:28:13.030Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 16:26 images [2023-03-15T16:28:13.030Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:26 internal [2023-03-15T16:28:13.030Z] -rw-rw-r-- 1 jenkins jenkins 531 Mar 15 16:26 main.go [2023-03-15T16:28:13.030Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 16:26 res [2023-03-15T16:28:13.030Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:26 snap [2023-03-15T16:28:13.030Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:26 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:28:13.411Z] + 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=fa65cf8fcc326c290a72ceffbbb82b977ed92375 --label arch=amd64 --label version=0.0.0 . [2023-03-15T16:28:13.411Z] Sending build context to Docker daemon 12.59MB [2023-03-15T16:28:13.411Z] Step 1/29 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T16:28:13.411Z] Step 2/29 : FROM ${BASE} AS builder [2023-03-15T16:28:13.411Z] ---> 2b9b3515672c [2023-03-15T16:28:13.411Z] Step 3/29 : ARG ALPINE_PKG_BASE="make git" [2023-03-15T16:28:13.411Z] ---> Running in f62e377c0493 [2023-03-15T16:28:13.668Z] Removing intermediate container f62e377c0493 [2023-03-15T16:28:13.668Z] ---> 448662bcd428 [2023-03-15T16:28:13.668Z] Step 4/29 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T16:28:13.668Z] ---> Running in fffab0efe1f9 [2023-03-15T16:28:13.668Z] Removing intermediate container fffab0efe1f9 [2023-03-15T16:28:13.668Z] ---> 829fd66d84f6 [2023-03-15T16:28:13.668Z] Step 5/29 : ARG ADD_BUILD_TAGS="" [2023-03-15T16:28:13.668Z] ---> Running in 72d2888622e2 [2023-03-15T16:28:13.926Z] Removing intermediate container 72d2888622e2 [2023-03-15T16:28:13.926Z] ---> 0d0f8bba2c83 [2023-03-15T16:28:13.926Z] Step 6/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T16:28:13.926Z] ---> Running in 8c120beba40c [2023-03-15T16:28:14.185Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T16:28:14.444Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T16:28:15.020Z] OK: 265 MiB in 53 packages [2023-03-15T16:28:15.280Z] Removing intermediate container 8c120beba40c [2023-03-15T16:28:15.280Z] ---> c2a601e25117 [2023-03-15T16:28:15.280Z] Step 7/29 : WORKDIR /app [2023-03-15T16:28:15.280Z] ---> Running in 9f5b280d4b94 [2023-03-15T16:28:15.280Z] Removing intermediate container 9f5b280d4b94 [2023-03-15T16:28:15.280Z] ---> b08058e4e9f3 [2023-03-15T16:28:15.280Z] Step 8/29 : COPY go.mod vendor* ./ [2023-03-15T16:28:15.537Z] ---> 201460c7b348 [2023-03-15T16:28:15.537Z] Step 9/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T16:28:15.537Z] ---> Running in ec55d065a002 [2023-03-15T16:28:16.501Z] Removing intermediate container ec55d065a002 [2023-03-15T16:28:16.501Z] ---> 92807cd3a843 [2023-03-15T16:28:16.501Z] Step 10/29 : COPY . . [2023-03-15T16:28:16.759Z] ---> 92ab3dea203d [2023-03-15T16:28:16.759Z] Step 11/29 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T16:28:16.759Z] ---> Running in b3a6fb94ed47 [2023-03-15T16:28:16.759Z] Removing intermediate container b3a6fb94ed47 [2023-03-15T16:28:16.759Z] ---> eb3c6b1a7690 [2023-03-15T16:28:16.759Z] Step 12/29 : RUN $MAKE [2023-03-15T16:28:16.759Z] ---> Running in 4d5a682ed11e [2023-03-15T16:28:17.018Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.41 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0 -X edgexfoundry/app-rfid-llrp-inventory.Version=0.0.0" -trimpath -mod=readonly -o app-rfid-llrp-inventory [2023-03-15T16:28:35.112Z] Removing intermediate container 4d5a682ed11e [2023-03-15T16:28:35.112Z] ---> 78838833b12e [2023-03-15T16:28:35.112Z] Step 13/29 : FROM alpine:3.17 [2023-03-15T16:28:35.112Z] 3.17: Pulling from library/alpine [2023-03-15T16:28:35.112Z] 63b65145d645: Already exists [2023-03-15T16:28:35.112Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-15T16:28:35.112Z] Status: Downloaded newer image for alpine:3.17 [2023-03-15T16:28:35.112Z] ---> b2aa39c304c2 [2023-03-15T16:28:35.112Z] Step 14/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-15T16:28:35.112Z] ---> Running in bb89849c7034 [2023-03-15T16:28:35.112Z] Removing intermediate container bb89849c7034 [2023-03-15T16:28:35.112Z] ---> 8c0b4b3b6082 [2023-03-15T16:28:35.112Z] Step 15/29 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} [2023-03-15T16:28:35.112Z] ---> Running in 39000b655db5 [2023-03-15T16:28:35.112Z] Removing intermediate container 39000b655db5 [2023-03-15T16:28:35.112Z] ---> 7d19e20084b1 [2023-03-15T16:28:35.112Z] Step 16/29 : RUN apk --no-cache add ca-certificates dumb-init [2023-03-15T16:28:35.112Z] ---> Running in a9b073eb7d28 [2023-03-15T16:28:35.112Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T16:28:35.112Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T16:28:35.112Z] (1/2) Installing ca-certificates (20220614-r4) [2023-03-15T16:28:35.112Z] (2/2) Installing dumb-init (1.2.5-r2) [2023-03-15T16:28:35.112Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T16:28:35.112Z] Executing ca-certificates-20220614-r4.trigger [2023-03-15T16:28:35.112Z] OK: 8 MiB in 17 packages [2023-03-15T16:28:35.112Z] Removing intermediate container a9b073eb7d28 [2023-03-15T16:28:35.112Z] ---> 4e63cffe3af7 [2023-03-15T16:28:35.112Z] Step 17/29 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2023-03-15T16:28:35.370Z] ---> cf2c19e91533 [2023-03-15T16:28:35.370Z] Step 18/29 : COPY --from=builder /app/LICENSE /LICENSE [2023-03-15T16:28:35.370Z] ---> c57301a340d6 [2023-03-15T16:28:35.370Z] Step 19/29 : COPY --from=builder /app/res/ /res/ [2023-03-15T16:28:35.629Z] ---> 3e67869a8e06 [2023-03-15T16:28:35.629Z] Step 20/29 : COPY --from=builder /app/static/ /static/ [2023-03-15T16:28:35.629Z] ---> 1e5a65ab3fb4 [2023-03-15T16:28:35.629Z] Step 21/29 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory [2023-03-15T16:28:36.195Z] ---> 955385d7fc28 [2023-03-15T16:28:36.195Z] Step 22/29 : RUN mkdir -p /cache && chown -R 2002:2002 /cache [2023-03-15T16:28:36.195Z] ---> Running in f9a74c704ead [2023-03-15T16:28:36.763Z] Removing intermediate container f9a74c704ead [2023-03-15T16:28:36.763Z] ---> 3758092ca8f8 [2023-03-15T16:28:36.763Z] Step 23/29 : VOLUME /cache [2023-03-15T16:28:36.763Z] ---> Running in 6dc00f8b3489 [2023-03-15T16:28:37.022Z] Removing intermediate container 6dc00f8b3489 [2023-03-15T16:28:37.022Z] ---> ec35b8e95c9a [2023-03-15T16:28:37.022Z] Step 24/29 : EXPOSE 59711 [2023-03-15T16:28:37.022Z] ---> Running in 4ced8522075f [2023-03-15T16:28:37.022Z] Removing intermediate container 4ced8522075f [2023-03-15T16:28:37.022Z] ---> 2f6040c24f2e [2023-03-15T16:28:37.022Z] Step 25/29 : ENTRYPOINT ["/app-rfid-llrp-inventory"] [2023-03-15T16:28:37.022Z] ---> Running in 57a3491c3c7c [2023-03-15T16:28:37.282Z] Removing intermediate container 57a3491c3c7c [2023-03-15T16:28:37.282Z] ---> 43a00bbf2a41 [2023-03-15T16:28:37.282Z] Step 26/29 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] [2023-03-15T16:28:37.282Z] ---> Running in a9f21215a4de [2023-03-15T16:28:37.282Z] Removing intermediate container a9f21215a4de [2023-03-15T16:28:37.282Z] ---> e3c00d694228 [2023-03-15T16:28:37.282Z] Step 27/29 : LABEL arch=amd64 [2023-03-15T16:28:37.282Z] ---> Running in fa9148facd0c [2023-03-15T16:28:37.282Z] Removing intermediate container fa9148facd0c [2023-03-15T16:28:37.282Z] ---> 09fd754a2bfc [2023-03-15T16:28:37.282Z] Step 28/29 : LABEL git_sha=fa65cf8fcc326c290a72ceffbbb82b977ed92375 [2023-03-15T16:28:37.540Z] ---> Running in 61e79bbb3100 [2023-03-15T16:28:37.540Z] Removing intermediate container 61e79bbb3100 [2023-03-15T16:28:37.540Z] ---> 4840f8b7245e [2023-03-15T16:28:37.540Z] Step 29/29 : LABEL version=0.0.0 [2023-03-15T16:28:37.540Z] ---> Running in 27385b10d6f3 [2023-03-15T16:28:37.540Z] Removing intermediate container 27385b10d6f3 [2023-03-15T16:28:37.540Z] ---> d8550ef3e709 [2023-03-15T16:28:37.540Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-15T16:28:37.540Z] Successfully built d8550ef3e709 [2023-03-15T16:28:37.540Z] 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 [2023-03-15T16:28:38.382Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T16:28:38.382Z] [2023-03-15T16:28:38.382Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:28:38.751Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T16:28:38.751Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-15T16:28:38.751Z] 5eb5b503b376: Pulling fs layer [2023-03-15T16:28:38.751Z] 5c69ac0246d0: Pulling fs layer [2023-03-15T16:28:38.751Z] ec43610c2a17: Pulling fs layer [2023-03-15T16:28:38.751Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-15T16:28:38.751Z] 33b1e0a273af: Pulling fs layer [2023-03-15T16:28:38.751Z] 5d3b04190fa2: Pulling fs layer [2023-03-15T16:28:38.751Z] 2f39f015ded8: Pulling fs layer [2023-03-15T16:28:38.751Z] 3a2ae6a8a46f: Waiting [2023-03-15T16:28:38.751Z] 33b1e0a273af: Waiting [2023-03-15T16:28:38.751Z] 5d3b04190fa2: Waiting [2023-03-15T16:28:38.751Z] 2f39f015ded8: Waiting [2023-03-15T16:28:38.751Z] 5c69ac0246d0: Verifying Checksum [2023-03-15T16:28:38.751Z] 5c69ac0246d0: Download complete [2023-03-15T16:28:38.751Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-15T16:28:38.751Z] 3a2ae6a8a46f: Download complete [2023-03-15T16:28:39.012Z] 33b1e0a273af: Verifying Checksum [2023-03-15T16:28:39.012Z] 33b1e0a273af: Download complete [2023-03-15T16:28:39.012Z] 5d3b04190fa2: Verifying Checksum [2023-03-15T16:28:39.012Z] 5d3b04190fa2: Download complete [2023-03-15T16:28:39.012Z] ec43610c2a17: Verifying Checksum [2023-03-15T16:28:39.012Z] ec43610c2a17: Download complete [2023-03-15T16:28:39.012Z] 5eb5b503b376: Verifying Checksum [2023-03-15T16:28:39.012Z] 5eb5b503b376: Download complete [2023-03-15T16:28:39.585Z] 2f39f015ded8: Download complete [2023-03-15T16:28:40.149Z] 5eb5b503b376: Pull complete [2023-03-15T16:28:40.149Z] 5c69ac0246d0: Pull complete [2023-03-15T16:28:40.714Z] ec43610c2a17: Pull complete [2023-03-15T16:28:40.714Z] 3a2ae6a8a46f: Pull complete [2023-03-15T16:28:40.714Z] 33b1e0a273af: Pull complete [2023-03-15T16:28:40.971Z] 5d3b04190fa2: Pull complete [2023-03-15T16:28:45.149Z] 2f39f015ded8: Pull complete [2023-03-15T16:28:45.149Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-15T16:28:45.149Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T16:28:45.149Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:28:45.354Z] prd-ubuntu20.04-docker-8c-8g-1278 does not seem to be running inside a container [2023-03-15T16:28:45.394Z] $ 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-161 -v /w/workspace/y_app-rfid-llrp-inventory_PR-161:/w/workspace/y_app-rfid-llrp-inventory_PR-161:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-161@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-161@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 [2023-03-15T16:28:46.787Z] $ docker top edbb3759ba93a9ff571ffc306f6fa65ddd49984b6721f777a5961281f274974c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:28:47.221Z] ---> job-cost.sh [2023-03-15T16:28:47.221Z] lf-activate-venv: SKIPPING [2023-03-15T16:28:47.221Z] INFO: No Stack... [2023-03-15T16:28:47.481Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T16:28:47.740Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T16:28:48.049Z] + cat /w/workspace/y_app-rfid-llrp-inventory_PR-161/archives/cost.csv [2023-03-15T16:28:48.050Z] + cut -d, -f6 [Pipeline] lock [2023-03-15T16:28:48.090Z] Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-161-1-stack-cost] [2023-03-15T16:28:48.095Z] Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-161-1-stack-cost] did not exist. Created. [2023-03-15T16:28:48.095Z] Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-161-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T16:28:48.487Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-15T16:28:48.541Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T16:28:48.576Z] Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-161-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T16:28:48.669Z] $ docker stop --time=1 edbb3759ba93a9ff571ffc306f6fa65ddd49984b6721f777a5961281f274974c [2023-03-15T16:28:49.843Z] $ docker rm -f --volumes edbb3759ba93a9ff571ffc306f6fa65ddd49984b6721f777a5961281f274974c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-15T16:38:32.093Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1745 in /w/workspace/y_app-rfid-llrp-inventory_PR-161 [Pipeline] { [Pipeline] ws [2023-03-15T16:38:32.155Z] Running in /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] { [Pipeline] checkout [2023-03-15T16:38:32.249Z] The recommended git tool is: git [2023-03-15T16:38:42.126Z] using credential edgex-jenkins-ssh [2023-03-15T16:38:42.154Z] Cloning the remote Git repository [2023-03-15T16:38:42.247Z] Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2023-03-15T16:38:42.404Z] > git init /w/workspace/app-rfid-llrp-inventory/1 # timeout=10 [2023-03-15T16:38:42.607Z] Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2023-03-15T16:38:42.610Z] > git --version # timeout=10 [2023-03-15T16:38:42.640Z] > git --version # 'git version 2.25.1' [2023-03-15T16:38:42.644Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T16:38:42.882Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T16:38:45.195Z] > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 [2023-03-15T16:38:45.238Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T16:38:47.084Z] Merging remotes/origin/main commit cb9c3911ed414974470d0055f1b5db75799e1a22 into PR head commit fa65cf8fcc326c290a72ceffbbb82b977ed92375 [2023-03-15T16:38:47.449Z] Merge succeeded, producing fa65cf8fcc326c290a72ceffbbb82b977ed92375 [2023-03-15T16:38:47.449Z] Checking out Revision fa65cf8fcc326c290a72ceffbbb82b977ed92375 (PR-161) [2023-03-15T16:38:46.501Z] > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 [2023-03-15T16:38:46.554Z] Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2023-03-15T16:38:46.555Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T16:38:46.576Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/161/head:refs/remotes/origin/PR-161 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-15T16:38:47.109Z] > git config core.sparsecheckout # timeout=10 [2023-03-15T16:38:47.203Z] > git checkout -f fa65cf8fcc326c290a72ceffbbb82b977ed92375 # timeout=10 [2023-03-15T16:38:47.325Z] > git remote # timeout=10 [2023-03-15T16:38:47.347Z] > git config --get remote.origin.url # timeout=10 [2023-03-15T16:38:47.382Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T16:38:47.399Z] > git merge cb9c3911ed414974470d0055f1b5db75799e1a22 # timeout=10 [2023-03-15T16:38:47.431Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-15T16:38:47.460Z] > git config core.sparsecheckout # timeout=10 [2023-03-15T16:38:47.481Z] > git checkout -f fa65cf8fcc326c290a72ceffbbb82b977ed92375 # timeout=10 [2023-03-15T16:38:48.115Z] Commit message: "build(deps): bump github.com/edgexfoundry/app-functions-sdk-go/v3" [2023-03-15T16:38:48.199Z] > git --version # timeout=10 [2023-03-15T16:38:48.224Z] > git --version # 'git version 2.25.1' [2023-03-15T16:38:48.240Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T16:38:49.343Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-15T16:38:49.343Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-15T16:38:49.343Z] Dload Upload Total Spent Left Speed [2023-03-15T16:38:49.343Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 197k 0 --:--:-- --:--:-- --:--:-- 197k [Pipeline] sh [2023-03-15T16:38:49.960Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-15T16:38:50.323Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-15T16:38:50.323Z] + sudo tee /etc/docker/daemon.new [2023-03-15T16:38:50.914Z] { [2023-03-15T16:38:50.914Z] "registry-mirrors": [ [2023-03-15T16:38:50.914Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-15T16:38:50.914Z] ], [2023-03-15T16:38:50.914Z] "bip": "10.250.0.254/24", [2023-03-15T16:38:50.914Z] "hosts": [ [2023-03-15T16:38:50.914Z] "tcp://0.0.0.0:5555", [2023-03-15T16:38:50.914Z] "unix:///var/run/docker.sock" [2023-03-15T16:38:50.914Z] ], [2023-03-15T16:38:50.914Z] "mtu": 1458, [2023-03-15T16:38:50.914Z] "selinux-enabled": true, [2023-03-15T16:38:50.914Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-15T16:38:50.914Z] } [Pipeline] sh [2023-03-15T16:38:51.267Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-15T16:38:51.632Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T16:39:10.014Z] provisioning config files... [2023-03-15T16:39:10.064Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/1@tmp/config1100166238837983955tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:39:10.523Z] ---> docker-login.sh [2023-03-15T16:39:10.523Z] nexus3.edgexfoundry.org:10001 [2023-03-15T16:39:11.525Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:39:11.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:39:11.525Z] Configure a credential helper to remove this warning. See [2023-03-15T16:39:11.525Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:39:11.525Z] [2023-03-15T16:39:11.525Z] Login Succeeded [2023-03-15T16:39:11.525Z] nexus3.edgexfoundry.org:10002 [2023-03-15T16:39:12.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:39:12.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:39:12.132Z] Configure a credential helper to remove this warning. See [2023-03-15T16:39:12.132Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:39:12.132Z] [2023-03-15T16:39:12.132Z] Login Succeeded [2023-03-15T16:39:12.132Z] nexus3.edgexfoundry.org:10003 [2023-03-15T16:39:12.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:39:12.687Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:39:12.687Z] Configure a credential helper to remove this warning. See [2023-03-15T16:39:12.687Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:39:12.687Z] [2023-03-15T16:39:12.687Z] Login Succeeded [2023-03-15T16:39:12.687Z] nexus3.edgexfoundry.org:10004 [2023-03-15T16:39:12.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:39:12.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:39:12.962Z] Configure a credential helper to remove this warning. See [2023-03-15T16:39:12.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:39:12.962Z] [2023-03-15T16:39:12.962Z] Login Succeeded [2023-03-15T16:39:12.962Z] docker.io [2023-03-15T16:39:13.556Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:39:13.556Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:39:13.556Z] Configure a credential helper to remove this warning. See [2023-03-15T16:39:13.556Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:39:13.556Z] [2023-03-15T16:39:13.556Z] Login Succeeded [2023-03-15T16:39:13.556Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T16:39:13.584Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T16:39:14.062Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T16:39:14.095Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T16:39:14.129Z] ========================================================= [2023-03-15T16:39:14.129Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-15T16:39:14.129Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:39:14.646Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-15T16:39:14.924Z] Sending build context to Docker daemon 678.9kB [2023-03-15T16:39:14.924Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T16:39:14.924Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-15T16:39:15.205Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-15T16:39:15.205Z] af6eaf76a39c: Pulling fs layer [2023-03-15T16:39:15.205Z] 55522c791124: Pulling fs layer [2023-03-15T16:39:15.205Z] ce5c4a1c91eb: Pulling fs layer [2023-03-15T16:39:15.205Z] 169dfbe0d373: Pulling fs layer [2023-03-15T16:39:15.205Z] e1ff8fa3b103: Pulling fs layer [2023-03-15T16:39:15.205Z] 52ebb69f0ebf: Pulling fs layer [2023-03-15T16:39:15.205Z] 5abe8eddf0d5: Pulling fs layer [2023-03-15T16:39:15.205Z] 169dfbe0d373: Waiting [2023-03-15T16:39:15.205Z] e1ff8fa3b103: Waiting [2023-03-15T16:39:15.205Z] 52ebb69f0ebf: Waiting [2023-03-15T16:39:15.205Z] 55522c791124: Verifying Checksum [2023-03-15T16:39:15.205Z] 55522c791124: Download complete [2023-03-15T16:39:15.205Z] 169dfbe0d373: Download complete [2023-03-15T16:39:15.205Z] e1ff8fa3b103: Verifying Checksum [2023-03-15T16:39:15.205Z] e1ff8fa3b103: Download complete [2023-03-15T16:39:15.488Z] af6eaf76a39c: Verifying Checksum [2023-03-15T16:39:15.488Z] af6eaf76a39c: Download complete [2023-03-15T16:39:16.486Z] af6eaf76a39c: Pull complete [2023-03-15T16:39:16.761Z] 5abe8eddf0d5: Verifying Checksum [2023-03-15T16:39:17.037Z] 55522c791124: Pull complete [2023-03-15T16:39:18.479Z] ce5c4a1c91eb: Verifying Checksum [2023-03-15T16:39:18.479Z] ce5c4a1c91eb: Download complete [2023-03-15T16:39:18.479Z] 52ebb69f0ebf: Verifying Checksum [2023-03-15T16:39:18.479Z] 52ebb69f0ebf: Download complete [2023-03-15T16:39:33.661Z] ce5c4a1c91eb: Pull complete [2023-03-15T16:39:33.661Z] 169dfbe0d373: Pull complete [2023-03-15T16:39:33.661Z] e1ff8fa3b103: Pull complete [2023-03-15T16:39:41.934Z] 52ebb69f0ebf: Pull complete [2023-03-15T16:39:43.906Z] 5abe8eddf0d5: Pull complete [2023-03-15T16:39:43.907Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-15T16:39:43.907Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-15T16:39:43.907Z] ---> 6cb57ee374ae [2023-03-15T16:39:43.907Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-03-15T16:39:45.924Z] ---> Running in c981785b85e1 [2023-03-15T16:39:45.924Z] Removing intermediate container c981785b85e1 [2023-03-15T16:39:45.924Z] ---> ffbd913b1332 [2023-03-15T16:39:45.924Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T16:39:45.924Z] ---> Running in 2d4c7c0f5dca [2023-03-15T16:39:46.196Z] Removing intermediate container 2d4c7c0f5dca [2023-03-15T16:39:46.196Z] ---> 971360f60119 [2023-03-15T16:39:46.196Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-03-15T16:39:46.468Z] ---> Running in fb34cc46f767 [2023-03-15T16:39:46.741Z] Removing intermediate container fb34cc46f767 [2023-03-15T16:39:46.741Z] ---> 5b835eb77063 [2023-03-15T16:39:46.741Z] Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T16:39:46.741Z] ---> Running in ef428e54e330 [2023-03-15T16:39:48.177Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T16:39:48.780Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T16:39:50.211Z] OK: 263 MiB in 53 packages [2023-03-15T16:39:51.203Z] Removing intermediate container ef428e54e330 [2023-03-15T16:39:51.203Z] ---> 26cf5288ce0a [2023-03-15T16:39:51.203Z] Step 7/12 : WORKDIR /app [2023-03-15T16:39:51.203Z] ---> Running in 871a06d02217 [2023-03-15T16:39:51.477Z] Removing intermediate container 871a06d02217 [2023-03-15T16:39:51.477Z] ---> e9d6fd3d95a8 [2023-03-15T16:39:51.477Z] Step 8/12 : COPY go.mod vendor* ./ [2023-03-15T16:39:52.280Z] ---> 0e890293ec39 [2023-03-15T16:39:52.280Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T16:39:52.280Z] ---> Running in 220c8715de74 [2023-03-15T16:41:00.560Z] Removing intermediate container 220c8715de74 [2023-03-15T16:41:00.560Z] ---> 13d84f6992e6 [2023-03-15T16:41:00.560Z] Step 10/12 : COPY . . [2023-03-15T16:41:03.173Z] ---> 902cde34e96f [2023-03-15T16:41:03.173Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T16:41:03.447Z] ---> Running in a06ed5b48516 [2023-03-15T16:41:03.721Z] Removing intermediate container a06ed5b48516 [2023-03-15T16:41:03.721Z] ---> e76088c73a07 [2023-03-15T16:41:03.721Z] Step 12/12 : RUN $MAKE [2023-03-15T16:41:03.721Z] ---> Running in f366e66c3149 [2023-03-15T16:41:04.699Z] noop [2023-03-15T16:41:05.669Z] Removing intermediate container f366e66c3149 [2023-03-15T16:41:05.669Z] ---> fe55aaa45d6c [2023-03-15T16:41:05.669Z] Successfully built fe55aaa45d6c [2023-03-15T16:41:05.669Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:41:06.155Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T16:41:06.155Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:41:06.481Z] prd-ubuntu20.04-docker-arm64-4c-16g-1745 does not seem to be running inside a container [2023-03-15T16:41:06.573Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-15T16:41:07.931Z] $ docker top 40b651abdc8a7ecc76f72b1408092c56c256981cfb333774ba75fb4202473f28 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T16:41:08.871Z] + go version [2023-03-15T16:41:08.871Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-15T16:41:08.912Z] $ docker stop --time=1 40b651abdc8a7ecc76f72b1408092c56c256981cfb333774ba75fb4202473f28 [2023-03-15T16:41:10.607Z] $ docker rm -f --volumes 40b651abdc8a7ecc76f72b1408092c56c256981cfb333774ba75fb4202473f28 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:41:11.458Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T16:41:11.458Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:41:11.739Z] prd-ubuntu20.04-docker-arm64-4c-16g-1745 does not seem to be running inside a container [2023-03-15T16:41:11.825Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-15T16:41:13.129Z] $ docker top dc6d68f827b5367c9459b91eac5681c50350e98e20a0157f70eaeee5c2eedae8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T16:41:14.060Z] + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] fileExists [Pipeline] sh [2023-03-15T16:41:14.785Z] + make test [2023-03-15T16:41:14.785Z] go test -race ./... -coverprofile=coverage.out ./... [2023-03-15T16:44:36.670Z] ? edgexfoundry/app-rfid-llrp-inventory [no test files] [2023-03-15T16:44:43.366Z] ? edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app [no test files] [2023-03-15T16:44:44.338Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 1.745s coverage: 86.2% of statements [2023-03-15T16:44:59.384Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 3.914s coverage: 71.9% of statements [2023-03-15T16:44:59.384Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-15T16:44:59.384Z] go vet ./... [2023-03-15T16:47:51.221Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-15T16:47:51.221Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-15T16:47:51.221Z] ./bin/test-attribution.sh [Pipeline] echo [2023-03-15T16:47:51.256Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-15T16:47:51.286Z] $ docker stop --time=1 dc6d68f827b5367c9459b91eac5681c50350e98e20a0157f70eaeee5c2eedae8 [2023-03-15T16:47:53.343Z] $ docker rm -f --volumes dc6d68f827b5367c9459b91eac5681c50350e98e20a0157f70eaeee5c2eedae8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T16:47:55.285Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-15T16:47:55.319Z] Warning: overwriting stash ‘coverage-report’ [2023-03-15T16:47:55.973Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T16:47:56.608Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-15T16:47:56.958Z] + ls -al . [2023-03-15T16:47:56.958Z] total 224 [2023-03-15T16:47:56.958Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 16:41 . [2023-03-15T16:47:56.958Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:38 .. [2023-03-15T16:47:56.958Z] -rw-rw-r-- 1 jenkins jenkins 262 Mar 15 16:38 .dockerignore [2023-03-15T16:47:56.958Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 16:38 .git [2023-03-15T16:47:56.958Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:38 .github [2023-03-15T16:47:56.958Z] -rw-rw-r-- 1 jenkins jenkins 788 Mar 15 16:38 .gitignore [2023-03-15T16:47:56.958Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 16:38 .golangci.yml [2023-03-15T16:47:56.958Z] -rw-rw-r-- 1 jenkins jenkins 10037 Mar 15 16:38 Attribution.txt [2023-03-15T16:47:56.958Z] -rw-rw-r-- 1 jenkins jenkins 4331 Mar 15 16:38 CHANGELOG.md [2023-03-15T16:47:56.958Z] -rw-rw-r-- 1 jenkins jenkins 1659 Mar 15 16:38 Dockerfile [2023-03-15T16:47:56.958Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 16:38 GOVERNANCE.md [2023-03-15T16:47:56.958Z] -rw-rw-r-- 1 jenkins jenkins 687 Mar 15 16:38 Jenkinsfile [2023-03-15T16:47:56.958Z] -rw-rw-r-- 1 jenkins jenkins 11347 Mar 15 16:38 LICENSE [2023-03-15T16:47:56.958Z] -rw-rw-r-- 1 jenkins jenkins 2497 Mar 15 16:38 Makefile [2023-03-15T16:47:56.958Z] -rw-rw-r-- 1 jenkins jenkins 617 Mar 15 16:38 OWNERS.md [2023-03-15T16:47:56.958Z] -rw-rw-r-- 1 jenkins jenkins 31023 Mar 15 16:38 README.md [2023-03-15T16:47:56.958Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 16:26 VERSION [2023-03-15T16:47:56.958Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 16:38 bin [2023-03-15T16:47:56.958Z] -rw-r--r-- 1 jenkins jenkins 41317 Mar 15 16:44 coverage.out [2023-03-15T16:47:56.958Z] -rw-rw-r-- 1 jenkins jenkins 3511 Mar 15 16:38 go.mod [2023-03-15T16:47:56.958Z] -rw-rw-r-- 1 jenkins jenkins 31563 Mar 15 16:38 go.sum [2023-03-15T16:47:56.958Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 16:38 images [2023-03-15T16:47:56.958Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:38 internal [2023-03-15T16:47:56.958Z] -rw-rw-r-- 1 jenkins jenkins 531 Mar 15 16:38 main.go [2023-03-15T16:47:56.958Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 16:38 res [2023-03-15T16:47:56.958Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:38 snap [2023-03-15T16:47:56.958Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:38 static [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:47:57.380Z] + 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=fa65cf8fcc326c290a72ceffbbb82b977ed92375 --label arch=arm64 --label version=0.0.0 . [2023-03-15T16:47:57.661Z] Sending build context to Docker daemon 678.9kB [2023-03-15T16:47:57.661Z] Step 1/29 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T16:47:57.661Z] Step 2/29 : FROM ${BASE} AS builder [2023-03-15T16:47:57.661Z] ---> fe55aaa45d6c [2023-03-15T16:47:57.661Z] Step 3/29 : ARG ALPINE_PKG_BASE="make git" [2023-03-15T16:47:57.661Z] ---> Running in a580132134d6 [2023-03-15T16:47:58.256Z] Removing intermediate container a580132134d6 [2023-03-15T16:47:58.256Z] ---> ee7928a7a928 [2023-03-15T16:47:58.256Z] Step 4/29 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T16:47:58.256Z] ---> Running in 4561fd5f3579 [2023-03-15T16:47:58.530Z] Removing intermediate container 4561fd5f3579 [2023-03-15T16:47:58.530Z] ---> 64e90f8679e7 [2023-03-15T16:47:58.530Z] Step 5/29 : ARG ADD_BUILD_TAGS="" [2023-03-15T16:47:58.530Z] ---> Running in b14e7ec5373e [2023-03-15T16:47:59.122Z] Removing intermediate container b14e7ec5373e [2023-03-15T16:47:59.122Z] ---> 61beb6edeb40 [2023-03-15T16:47:59.122Z] Step 6/29 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T16:47:59.122Z] ---> Running in b823ca296850 [2023-03-15T16:48:00.095Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T16:48:01.060Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T16:48:02.477Z] OK: 263 MiB in 53 packages [2023-03-15T16:48:03.086Z] Removing intermediate container b823ca296850 [2023-03-15T16:48:03.087Z] ---> c5502ff71719 [2023-03-15T16:48:03.087Z] Step 7/29 : WORKDIR /app [2023-03-15T16:48:03.359Z] ---> Running in 001bf88a130d [2023-03-15T16:48:03.630Z] Removing intermediate container 001bf88a130d [2023-03-15T16:48:03.630Z] ---> ac0ada85c2d6 [2023-03-15T16:48:03.630Z] Step 8/29 : COPY go.mod vendor* ./ [2023-03-15T16:48:04.218Z] ---> 350d54766c19 [2023-03-15T16:48:04.219Z] Step 9/29 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T16:48:04.219Z] ---> Running in e2500d8295e8 [2023-03-15T16:48:07.586Z] Removing intermediate container e2500d8295e8 [2023-03-15T16:48:07.586Z] ---> 84188cf779e4 [2023-03-15T16:48:07.586Z] Step 10/29 : COPY . . [2023-03-15T16:48:07.856Z] ---> 0d36ebe639ea [2023-03-15T16:48:07.856Z] Step 11/29 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T16:48:07.856Z] ---> Running in a6e07eeeb857 [2023-03-15T16:48:08.134Z] Removing intermediate container a6e07eeeb857 [2023-03-15T16:48:08.134Z] ---> 558bcafb0bca [2023-03-15T16:48:08.134Z] Step 12/29 : RUN $MAKE [2023-03-15T16:48:08.135Z] ---> Running in d68b51d35215 [2023-03-15T16:48:09.101Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.SDKVersion=v3.0.0-dev.41 -X github.com/edgexfoundry/app-functions-sdk-go/v3/internal.ApplicationVersion=0.0.0 -X edgexfoundry/app-rfid-llrp-inventory.Version=0.0.0" -trimpath -mod=readonly -o app-rfid-llrp-inventory [2023-03-15T16:50:45.880Z] Removing intermediate container d68b51d35215 [2023-03-15T16:50:45.880Z] ---> 5446d0e80461 [2023-03-15T16:50:45.880Z] Step 13/29 : FROM alpine:3.17 [2023-03-15T16:50:46.464Z] 3.17: Pulling from library/alpine [2023-03-15T16:50:46.464Z] af6eaf76a39c: Already exists [2023-03-15T16:50:46.464Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-15T16:50:46.732Z] Status: Downloaded newer image for alpine:3.17 [2023-03-15T16:50:46.732Z] ---> d74e625d9115 [2023-03-15T16:50:46.732Z] Step 14/29 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-15T16:50:46.732Z] ---> Running in 6bcf37b87fb6 [2023-03-15T16:50:47.002Z] Removing intermediate container 6bcf37b87fb6 [2023-03-15T16:50:47.002Z] ---> 53fa70332b54 [2023-03-15T16:50:47.002Z] Step 15/29 : LABEL Name=app-service-rfid-llrp-inventory Version=${VERSION} [2023-03-15T16:50:47.002Z] ---> Running in 05e9f93333f4 [2023-03-15T16:50:47.273Z] Removing intermediate container 05e9f93333f4 [2023-03-15T16:50:47.273Z] ---> ad6a3e4344d1 [2023-03-15T16:50:47.273Z] Step 16/29 : RUN apk --no-cache add ca-certificates dumb-init [2023-03-15T16:50:47.544Z] ---> Running in 4b3ab21278a3 [2023-03-15T16:50:48.504Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T16:50:49.091Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T16:50:50.310Z] (1/2) Installing ca-certificates (20220614-r4) [2023-03-15T16:50:50.310Z] (2/2) Installing dumb-init (1.2.5-r2) [2023-03-15T16:50:50.310Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T16:50:50.580Z] Executing ca-certificates-20220614-r4.trigger [2023-03-15T16:50:50.850Z] OK: 8 MiB in 17 packages [2023-03-15T16:50:52.277Z] Removing intermediate container 4b3ab21278a3 [2023-03-15T16:50:52.277Z] ---> a06f3012c86f [2023-03-15T16:50:52.277Z] Step 17/29 : COPY --from=builder /app/Attribution.txt /Attribution.txt [2023-03-15T16:50:52.866Z] ---> 0971e6f71a05 [2023-03-15T16:50:52.866Z] Step 18/29 : COPY --from=builder /app/LICENSE /LICENSE [2023-03-15T16:50:53.136Z] ---> d5a997482559 [2023-03-15T16:50:53.136Z] Step 19/29 : COPY --from=builder /app/res/ /res/ [2023-03-15T16:50:53.729Z] ---> abee8b42e80d [2023-03-15T16:50:53.729Z] Step 20/29 : COPY --from=builder /app/static/ /static/ [2023-03-15T16:50:54.314Z] ---> 2a1daf170897 [2023-03-15T16:50:54.314Z] Step 21/29 : COPY --from=builder /app/app-rfid-llrp-inventory /app-rfid-llrp-inventory [2023-03-15T16:50:55.724Z] ---> 7fe2d86258ce [2023-03-15T16:50:55.724Z] Step 22/29 : RUN mkdir -p /cache && chown -R 2002:2002 /cache [2023-03-15T16:50:55.724Z] ---> Running in b3d9414decac [2023-03-15T16:50:57.674Z] Removing intermediate container b3d9414decac [2023-03-15T16:50:57.674Z] ---> 32b65e866a29 [2023-03-15T16:50:57.674Z] Step 23/29 : VOLUME /cache [2023-03-15T16:50:57.674Z] ---> Running in 2e33aaa346b8 [2023-03-15T16:50:57.674Z] Removing intermediate container 2e33aaa346b8 [2023-03-15T16:50:57.674Z] ---> 7bec0050f619 [2023-03-15T16:50:57.674Z] Step 24/29 : EXPOSE 59711 [2023-03-15T16:50:57.947Z] ---> Running in 62e93e7c8647 [2023-03-15T16:50:58.219Z] Removing intermediate container 62e93e7c8647 [2023-03-15T16:50:58.219Z] ---> bb6ddf51e292 [2023-03-15T16:50:58.219Z] Step 25/29 : ENTRYPOINT ["/app-rfid-llrp-inventory"] [2023-03-15T16:50:58.219Z] ---> Running in 732312acb427 [2023-03-15T16:50:58.810Z] Removing intermediate container 732312acb427 [2023-03-15T16:50:58.810Z] ---> dc9e835a3d5c [2023-03-15T16:50:58.810Z] Step 26/29 : CMD ["-cp=consul.http://edgex-core-consul:8500", "-registry"] [2023-03-15T16:50:58.810Z] ---> Running in e0c813fab0ed [2023-03-15T16:50:59.081Z] Removing intermediate container e0c813fab0ed [2023-03-15T16:50:59.081Z] ---> 768c6ff26448 [2023-03-15T16:50:59.081Z] Step 27/29 : LABEL arch=arm64 [2023-03-15T16:50:59.081Z] ---> Running in 9c9fea8aa36d [2023-03-15T16:50:59.673Z] Removing intermediate container 9c9fea8aa36d [2023-03-15T16:50:59.673Z] ---> 7297f10985ff [2023-03-15T16:50:59.673Z] Step 28/29 : LABEL git_sha=fa65cf8fcc326c290a72ceffbbb82b977ed92375 [2023-03-15T16:50:59.673Z] ---> Running in 3b1657711191 [2023-03-15T16:50:59.942Z] Removing intermediate container 3b1657711191 [2023-03-15T16:50:59.942Z] ---> cdd9a7824923 [2023-03-15T16:50:59.942Z] Step 29/29 : LABEL version=0.0.0 [2023-03-15T16:50:59.942Z] ---> Running in ecb006be7ce1 [2023-03-15T16:51:00.531Z] Removing intermediate container ecb006be7ce1 [2023-03-15T16:51:00.531Z] ---> de83198eccd8 [2023-03-15T16:51:00.531Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-15T16:51:00.531Z] Successfully built de83198eccd8 [2023-03-15T16:51:00.531Z] 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 [2023-03-15T16:51:01.300Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T16:51:01.300Z] [2023-03-15T16:51:01.300Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:51:01.748Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T16:51:02.024Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-15T16:51:02.024Z] 8998bd30e6a1: Pulling fs layer [2023-03-15T16:51:02.024Z] 04944245beec: Pulling fs layer [2023-03-15T16:51:02.024Z] 699f458cf7ca: Pulling fs layer [2023-03-15T16:51:02.024Z] 765212b225bb: Pulling fs layer [2023-03-15T16:51:02.024Z] f23df028b6ca: Pulling fs layer [2023-03-15T16:51:02.024Z] d65c8cfc05b1: Pulling fs layer [2023-03-15T16:51:02.024Z] 2437ff75d9bd: Pulling fs layer [2023-03-15T16:51:02.024Z] 765212b225bb: Waiting [2023-03-15T16:51:02.024Z] f23df028b6ca: Waiting [2023-03-15T16:51:02.024Z] d65c8cfc05b1: Waiting [2023-03-15T16:51:02.024Z] 2437ff75d9bd: Waiting [2023-03-15T16:51:02.024Z] 04944245beec: Verifying Checksum [2023-03-15T16:51:02.024Z] 04944245beec: Download complete [2023-03-15T16:51:02.024Z] 765212b225bb: Verifying Checksum [2023-03-15T16:51:02.024Z] 765212b225bb: Download complete [2023-03-15T16:51:02.024Z] f23df028b6ca: Download complete [2023-03-15T16:51:02.311Z] d65c8cfc05b1: Verifying Checksum [2023-03-15T16:51:02.311Z] d65c8cfc05b1: Download complete [2023-03-15T16:51:02.311Z] 699f458cf7ca: Verifying Checksum [2023-03-15T16:51:02.311Z] 699f458cf7ca: Download complete [2023-03-15T16:51:02.593Z] 8998bd30e6a1: Download complete [2023-03-15T16:51:05.267Z] 2437ff75d9bd: Verifying Checksum [2023-03-15T16:51:05.267Z] 2437ff75d9bd: Download complete [2023-03-15T16:51:07.247Z] 8998bd30e6a1: Pull complete [2023-03-15T16:51:07.516Z] 04944245beec: Pull complete [2023-03-15T16:51:08.936Z] 699f458cf7ca: Pull complete [2023-03-15T16:51:09.207Z] 765212b225bb: Pull complete [2023-03-15T16:51:09.793Z] f23df028b6ca: Pull complete [2023-03-15T16:51:10.061Z] d65c8cfc05b1: Pull complete [2023-03-15T16:51:25.081Z] 2437ff75d9bd: Pull complete [2023-03-15T16:51:25.081Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-15T16:51:25.081Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T16:51:25.081Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:51:25.434Z] prd-ubuntu20.04-docker-arm64-4c-16g-1745 does not seem to be running inside a container [2023-03-15T16:51:25.522Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/app-rfid-llrp-inventory/1 -v /w/workspace/app-rfid-llrp-inventory/1:/w/workspace/app-rfid-llrp-inventory/1:rw,z -v /w/workspace/app-rfid-llrp-inventory/1@tmp:/w/workspace/app-rfid-llrp-inventory/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-15T16:51:28.510Z] $ docker top 3bb4d112380d6b97b2c31ef1b4e5d3e56cbdbc809af6fbcce44821bd7d4334c8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:51:29.444Z] ---> job-cost.sh [2023-03-15T16:51:29.444Z] lf-activate-venv: SKIPPING [2023-03-15T16:51:29.444Z] INFO: No Stack... [2023-03-15T16:51:30.029Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-15T16:51:30.615Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T16:51:31.281Z] + cat /w/workspace/app-rfid-llrp-inventory/1/archives/cost.csv [2023-03-15T16:51:31.281Z] + cut -d, -f6 [Pipeline] lock [2023-03-15T16:51:31.384Z] Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-161-1-stack-cost] [2023-03-15T16:51:31.389Z] Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-161-1-stack-cost] did not exist. Created. [2023-03-15T16:51:31.389Z] Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-161-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T16:51:31.895Z] /w/workspace/app-rfid-llrp-inventory/1@tmp/durable-66077d7e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-15T16:51:32.575Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-15T16:51:32.618Z] Warning: overwriting stash ‘stack-cost’ [2023-03-15T16:51:32.677Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T16:51:32.693Z] Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-161-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T16:51:32.771Z] $ docker stop --time=1 3bb4d112380d6b97b2c31ef1b4e5d3e56cbdbc809af6fbcce44821bd7d4334c8 [2023-03-15T16:51:34.314Z] $ docker rm -f --volumes 3bb4d112380d6b97b2c31ef1b4e5d3e56cbdbc809af6fbcce44821bd7d4334c8 [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 [2023-03-15T16:51:35.275Z] provisioning config files... [2023-03-15T16:51:35.285Z] copy managed file [app-rfid-llrp-inventory-codecov-token] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-161@tmp/config7893571730273508096tmp [Pipeline] { [Pipeline] sh [2023-03-15T16:51:35.616Z] + set +x [2023-03-15T16:51:35.616Z] + curl -s https://codecov.io/bash [2023-03-15T16:51:35.616Z] + bash -s -- [2023-03-15T16:51:35.616Z] [2023-03-15T16:51:35.616Z] _____ _ [2023-03-15T16:51:35.616Z] / ____| | | [2023-03-15T16:51:35.616Z] | | ___ __| | ___ ___ _____ __ [2023-03-15T16:51:35.616Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-15T16:51:35.616Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-15T16:51:35.616Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-15T16:51:35.616Z] Bash-1.0.6 [2023-03-15T16:51:35.616Z] [2023-03-15T16:51:35.616Z] [2023-03-15T16:51:35.616Z] ==> git version 2.25.1 found [2023-03-15T16:51:35.616Z] ==> 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 [2023-03-15T16:51:35.616Z] Release-Date: 2020-01-08 [2023-03-15T16:51:35.616Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-15T16:51:35.616Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-15T16:51:35.616Z] ==> Jenkins CI detected. [2023-03-15T16:51:35.616Z] current dir:  /w/workspace/y_app-rfid-llrp-inventory_PR-161 [2023-03-15T16:51:35.616Z] project root: . [2023-03-15T16:51:35.616Z] --> token set from env [2023-03-15T16:51:35.616Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-15T16:51:35.616Z] ==> Running gcov in . (disable via -X gcov) [2023-03-15T16:51:35.616Z] ==> Python coveragepy not found [2023-03-15T16:51:35.616Z] ==> Searching for coverage reports in: [2023-03-15T16:51:35.616Z] + . [2023-03-15T16:51:35.616Z] -> Found 1 reports [2023-03-15T16:51:35.616Z] ==> Detecting git/mercurial file structure [2023-03-15T16:51:35.616Z] ==> Reading reports [2023-03-15T16:51:35.616Z] + ./coverage.out bytes=41317 [2023-03-15T16:51:35.616Z] ==> Appending adjustments [2023-03-15T16:51:35.616Z] https://docs.codecov.io/docs/fixing-reports [2023-03-15T16:51:35.876Z] + Found adjustments [2023-03-15T16:51:35.876Z] ==> Gzipping contents [2023-03-15T16:51:35.876Z] 12K /tmp/codecov.ZkuqqN.gz [2023-03-15T16:51:35.876Z] ==> Uploading reports [2023-03-15T16:51:35.876Z] url: https://codecov.io [2023-03-15T16:51:35.876Z] query: branch=PR-161&commit=fa65cf8fcc326c290a72ceffbbb82b977ed92375&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-161%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=161&job=&cmd_args= [2023-03-15T16:51:35.876Z] -> Pinging Codecov [2023-03-15T16:51:35.876Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-161&commit=fa65cf8fcc326c290a72ceffbbb82b977ed92375&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fapp-rfid-llrp-inventory%2Fjob%2FPR-161%2F1%2F&name=&tag=&slug=edgexfoundry%2Fapp-rfid-llrp-inventory&service=jenkins&flags=&pr=161&job=&cmd_args= [2023-03-15T16:51:36.137Z] -> Uploading to [2023-03-15T16:51:36.137Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-15/581DD39554BDF9B6E22D074273EAD858/fa65cf8fcc326c290a72ceffbbb82b977ed92375/c0b7f3a1-e3c9-40a2-a667-184c241b2588.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230315T165135Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cccf60acb49005c4b4d3f1ba7e818d055aa558263f143aab2e9c50ab87066469 [2023-03-15T16:51:36.137Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-15T16:51:36.137Z] Dload Upload Total Spent Left Speed [2023-03-15T16:51:36.396Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11806 0 0 100 11806 0 49191 --:--:-- --:--:-- --:--:-- 49191 [2023-03-15T16:51:36.396Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/fa65cf8fcc326c290a72ceffbbb82b977ed92375 [Pipeline] } [2023-03-15T16:51:36.420Z] 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 [2023-03-15T16:51:38.074Z] + [ -d /w/workspace/y_app-rfid-llrp-inventory_PR-161/archives ] [2023-03-15T16:51:38.074Z] + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-161/archives [2023-03-15T16:51:38.074Z] total 16 [2023-03-15T16:51:38.074Z] drwxr-xr-x 3 root root 4096 Mar 15 16:28 . [2023-03-15T16:51:38.074Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 15 16:28 .. [2023-03-15T16:51:38.074Z] drwxr-xr-x 2 root root 4096 Mar 15 16:28 cost [2023-03-15T16:51:38.074Z] -rw-r--r-- 1 root root 95 Mar 15 16:28 cost.csv [2023-03-15T16:51:38.074Z] + sudo chown -R jenkins:jenkins /w/workspace/y_app-rfid-llrp-inventory_PR-161/archives [2023-03-15T16:51:38.074Z] + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-161/archives [2023-03-15T16:51:38.074Z] total 16 [2023-03-15T16:51:38.074Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 16:28 . [2023-03-15T16:51:38.074Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 15 16:28 .. [2023-03-15T16:51:38.074Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 16:28 cost [2023-03-15T16:51:38.074Z] -rw-r--r-- 1 jenkins jenkins 95 Mar 15 16:28 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:51:38.397Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:51:39.290Z] ---> package-listing.sh [2023-03-15T16:51:39.291Z] ++ facter osfamily [2023-03-15T16:51:39.291Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-15T16:51:39.549Z] + OS_FAMILY=debian [2023-03-15T16:51:39.549Z] + workspace=/w/workspace/y_app-rfid-llrp-inventory_PR-161 [2023-03-15T16:51:39.549Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-15T16:51:39.549Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-15T16:51:39.549Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-15T16:51:39.549Z] + PACKAGES=/tmp/packages_start.txt [2023-03-15T16:51:39.549Z] + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-161 ']' [2023-03-15T16:51:39.549Z] + PACKAGES=/tmp/packages_end.txt [2023-03-15T16:51:39.549Z] + case "${OS_FAMILY}" in [2023-03-15T16:51:39.549Z] + dpkg -l [2023-03-15T16:51:39.549Z] + grep '^ii' [2023-03-15T16:51:39.549Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-15T16:51:39.549Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-15T16:51:39.549Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-15T16:51:39.549Z] + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-161 ']' [2023-03-15T16:51:39.549Z] + mkdir -p /w/workspace/y_app-rfid-llrp-inventory_PR-161/archives/ [2023-03-15T16:51:39.549Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/y_app-rfid-llrp-inventory_PR-161/archives/ [Pipeline] echo [2023-03-15T16:51:39.583Z] 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-161/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-15T16:51:39.868Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:51:40.494Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T16:51:40.494Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:51:40.625Z] prd-ubuntu20.04-docker-8c-8g-1278 does not seem to be running inside a container [2023-03-15T16:51:40.662Z] $ 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-161/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-161 -v /w/workspace/y_app-rfid-llrp-inventory_PR-161:/w/workspace/y_app-rfid-llrp-inventory_PR-161:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-161@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-161@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 [2023-03-15T16:51:40.881Z] $ docker top 21ad1739ff4636ce781cfd4e263f0a4197d59014c45b7e95d2f1dfad0941adb5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T16:51:41.256Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-15T16:51:41.560Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-15T16:51:41.868Z] + ls /var/log/sa-host [2023-03-15T16:51:41.868Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T16:51:42.004Z] provisioning config files... [2023-03-15T16:51:42.012Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-161@tmp/config2470506030355112653tmp [Pipeline] { [Pipeline] echo [2023-03-15T16:51:42.060Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:51:42.377Z] ---> create-netrc.sh [Pipeline] } [2023-03-15T16:51:42.403Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:51:42.797Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-15T16:51:42.830Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:51:43.153Z] ---> sudo-logs.sh [2023-03-15T16:51:43.153Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-15T16:51:43.238Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:51:43.545Z] ---> job-cost.sh [2023-03-15T16:51:43.545Z] lf-activate-venv: SKIPPING [2023-03-15T16:51:43.545Z] DEBUG: total: 0.2199999988079071 [2023-03-15T16:51:43.545Z] INFO: Retrieving Stack Cost... [2023-03-15T16:51:43.804Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T16:51:44.372Z] INFO: Archiving Costs [Pipeline] echo [2023-03-15T16:51:44.411Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:51:44.720Z] ---> logs-deploy.sh [2023-03-15T16:51:44.720Z] lf-activate-venv: SKIPPING [2023-03-15T16:51:44.720Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-161/1 [2023-03-15T16:51:44.720Z] INFO: archiving workspace using pattern(s): [2023-03-15T16:51:45.656Z] Archives upload complete. [2023-03-15T16:51:45.656Z] INFO: archiving logs to Nexus