Pull request #147 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1cfc02f1c24f3d9d39e481e21976cc2bdac75bec+63c8b30869f87de451dd33f2aa13687440ae64a8 (2117053092f7d29740198d633fc9ca804157110f) 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-ssh1387218839165208693.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh2451681869684741826.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-147/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-147/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1885278442137876620.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-147/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5663050024796962094.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh8460271532767853167.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-147/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-147/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4618352601221635731.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:app-rfid-llrp-inventory, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: app-rfid-llrp-inventory-settings PROJECT: app-rfid-llrp-inventory USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: app-rfid-llrp-inventory DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-6560’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-6652’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-6737’ is offline Running on prd-ubuntu20.04-docker-8c-8g-6739 in /w/workspace/y_app-rfid-llrp-inventory_PR-147 [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-147 # 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 Merging remotes/origin/main commit 63c8b30869f87de451dd33f2aa13687440ae64a8 into PR head commit 1cfc02f1c24f3d9d39e481e21976cc2bdac75bec Merge succeeded, producing 1cfc02f1c24f3d9d39e481e21976cc2bdac75bec Checking out Revision 1cfc02f1c24f3d9d39e481e21976cc2bdac75bec (PR-147) > 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/147/head:refs/remotes/origin/PR-147 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1cfc02f1c24f3d9d39e481e21976cc2bdac75bec # 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 63c8b30869f87de451dd33f2aa13687440ae64a8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1cfc02f1c24f3d9d39e481e21976cc2bdac75bec # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-20T14:02:29.162Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-20T14:02:29.390Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-20T14:02:29.487Z] ========================================================= [2023-02-20T14:02:29.487Z] EdgeX Global Pipelines Version Info [2023-02-20T14:02:29.487Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-20T14:02:30.224Z] ------------------- [2023-02-20T14:02:30.224Z] stable info: [2023-02-20T14:02:30.224Z] ------------------- [2023-02-20T14:02:30.224Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-20T14:02:30.224Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-20T14:02:30.224Z] Message: update stable to v1.0.244 [2023-02-20T14:02:30.792Z] ------------------- [2023-02-20T14:02:30.792Z] experimental info: [2023-02-20T14:02:30.792Z] ------------------- [2023-02-20T14:02:30.792Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-20T14:02:30.792Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-20T14:02:30.792Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-20T14:02:31.080Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo [2023-02-20T14:02:31.133Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo [2023-02-20T14:02:31.174Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-20T14:02:31.224Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-20T14:02:31.264Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-20T14:02:31.306Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-20T14:02:31.341Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-20T14:02:31.381Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-20T14:02:31.421Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-20T14:02:31.457Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-20T14:02:31.493Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-20T14:02:31.534Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo [2023-02-20T14:02:31.576Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-20T14:02:31.616Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-20T14:02:31.653Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-20T14:02:31.689Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-20T14:02:31.735Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-20T14:02:31.779Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-20T14:02:31.815Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-20T14:02:31.852Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-20T14:02:31.892Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-20T14:02:31.927Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-20T14:02:31.965Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-20T14:02:32.006Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-20T14:02:32.048Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-20T14:02:32.092Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-20T14:02:32.132Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-20T14:02:32.174Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-147 [Pipeline] echo [2023-02-20T14:02:32.218Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-147 [Pipeline] echo [2023-02-20T14:02:32.262Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-147 [Pipeline] echo [2023-02-20T14:02:32.304Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1cfc02f1c24f3d9d39e481e21976cc2bdac75bec [Pipeline] echo [2023-02-20T14:02:32.345Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1cfc02f [Pipeline] echo [2023-02-20T14:02:32.383Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-20T14:02:32.499Z] provisioning config files... [2023-02-20T14:02:32.514Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-147@tmp/config2222445909489603043tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-20T14:02:32.860Z] ---> docker-login.sh [2023-02-20T14:02:32.860Z] nexus3.edgexfoundry.org:10001 [2023-02-20T14:02:33.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T14:02:33.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T14:02:33.119Z] Configure a credential helper to remove this warning. See [2023-02-20T14:02:33.119Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T14:02:33.119Z] [2023-02-20T14:02:33.119Z] Login Succeeded [2023-02-20T14:02:33.119Z] nexus3.edgexfoundry.org:10002 [2023-02-20T14:02:33.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T14:02:33.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T14:02:33.384Z] Configure a credential helper to remove this warning. See [2023-02-20T14:02:33.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T14:02:33.384Z] [2023-02-20T14:02:33.384Z] Login Succeeded [2023-02-20T14:02:33.384Z] nexus3.edgexfoundry.org:10003 [2023-02-20T14:02:33.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T14:02:33.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T14:02:33.384Z] Configure a credential helper to remove this warning. See [2023-02-20T14:02:33.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T14:02:33.384Z] [2023-02-20T14:02:33.384Z] Login Succeeded [2023-02-20T14:02:33.384Z] nexus3.edgexfoundry.org:10004 [2023-02-20T14:02:33.384Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T14:02:33.384Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T14:02:33.384Z] Configure a credential helper to remove this warning. See [2023-02-20T14:02:33.384Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T14:02:33.384Z] [2023-02-20T14:02:33.384Z] Login Succeeded [2023-02-20T14:02:33.643Z] docker.io [2023-02-20T14:02:33.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T14:02:33.904Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T14:02:33.904Z] Configure a credential helper to remove this warning. See [2023-02-20T14:02:33.904Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T14:02:33.904Z] [2023-02-20T14:02:33.904Z] Login Succeeded [2023-02-20T14:02:33.904Z] ---> docker-login.sh ends [Pipeline] } [2023-02-20T14:02:33.931Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-20T14:02:34.567Z] + git rev-list -1 --merges 1cfc02f1c24f3d9d39e481e21976cc2bdac75bec~1..1cfc02f1c24f3d9d39e481e21976cc2bdac75bec [Pipeline] echo [2023-02-20T14:02:34.640Z] -----------> git rev-list -1 --merges 1cfc02f1c24f3d9d39e481e21976cc2bdac75bec~1..1cfc02f1c24f3d9d39e481e21976cc2bdac75bec 1cfc02f1c24f3d9d39e481e21976cc2bdac75bec [false] [Pipeline] sh [2023-02-20T14:02:34.951Z] + git log --format=format:%s -1 1cfc02f1c24f3d9d39e481e21976cc2bdac75bec [Pipeline] echo [2023-02-20T14:02:34.985Z] ========================================================= [2023-02-20T14:02:34.985Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-20T14:02:34.985Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-20T14:02:35.413Z] + git log --format=format:%s -1 1cfc02f1c24f3d9d39e481e21976cc2bdac75bec [Pipeline] echo [2023-02-20T14:02:35.445Z] [semverPrep] GIT_COMMIT: 1cfc02f1c24f3d9d39e481e21976cc2bdac75bec, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-02-20T14:02:35.474Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-20T14:02:35.845Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-20T14:02:35.845Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-20T14:02:35.845Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-20T14:02:35.845Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-20T14:02:35.845Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-20T14:02:35.845Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-20T14:02:35.845Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T14:02:36.283Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-20T14:02:36.283Z] [2023-02-20T14:02:36.283Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T14:02:36.661Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-20T14:02:36.661Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-20T14:02:36.661Z] b85a868b505f: Pulling fs layer [2023-02-20T14:02:36.661Z] e2be974225ed: Pulling fs layer [2023-02-20T14:02:36.661Z] 339a4e72a1f5: Pulling fs layer [2023-02-20T14:02:36.661Z] 988bab9f4d93: Pulling fs layer [2023-02-20T14:02:36.661Z] 1469e6f7b9e6: Pulling fs layer [2023-02-20T14:02:36.661Z] eaf3925da568: Pulling fs layer [2023-02-20T14:02:36.661Z] bab4dde63d76: Pulling fs layer [2023-02-20T14:02:36.661Z] bde34c3a00c8: Pulling fs layer [2023-02-20T14:02:36.661Z] b352a97aabf1: Pulling fs layer [2023-02-20T14:02:36.661Z] 4872d77fe225: Pulling fs layer [2023-02-20T14:02:36.661Z] 5851b861e8e6: Pulling fs layer [2023-02-20T14:02:36.661Z] bab4dde63d76: Waiting [2023-02-20T14:02:36.661Z] bde34c3a00c8: Waiting [2023-02-20T14:02:36.661Z] b352a97aabf1: Waiting [2023-02-20T14:02:36.661Z] 4872d77fe225: Waiting [2023-02-20T14:02:36.661Z] 5851b861e8e6: Waiting [2023-02-20T14:02:36.661Z] 988bab9f4d93: Waiting [2023-02-20T14:02:36.661Z] 1469e6f7b9e6: Waiting [2023-02-20T14:02:36.661Z] eaf3925da568: Waiting [2023-02-20T14:02:36.661Z] e2be974225ed: Download complete [2023-02-20T14:02:36.661Z] 988bab9f4d93: Verifying Checksum [2023-02-20T14:02:36.661Z] 988bab9f4d93: Download complete [2023-02-20T14:02:36.922Z] 339a4e72a1f5: Verifying Checksum [2023-02-20T14:02:36.922Z] 339a4e72a1f5: Download complete [2023-02-20T14:02:36.922Z] eaf3925da568: Verifying Checksum [2023-02-20T14:02:36.922Z] eaf3925da568: Download complete [2023-02-20T14:02:36.922Z] 1469e6f7b9e6: Verifying Checksum [2023-02-20T14:02:36.922Z] 1469e6f7b9e6: Download complete [2023-02-20T14:02:36.922Z] bde34c3a00c8: Verifying Checksum [2023-02-20T14:02:36.922Z] bde34c3a00c8: Download complete [2023-02-20T14:02:36.922Z] b352a97aabf1: Verifying Checksum [2023-02-20T14:02:36.922Z] b352a97aabf1: Download complete [2023-02-20T14:02:36.922Z] 4872d77fe225: Download complete [2023-02-20T14:02:36.922Z] 5851b861e8e6: Verifying Checksum [2023-02-20T14:02:36.922Z] 5851b861e8e6: Download complete [2023-02-20T14:02:36.922Z] b85a868b505f: Verifying Checksum [2023-02-20T14:02:36.922Z] b85a868b505f: Download complete [2023-02-20T14:02:37.180Z] bab4dde63d76: Verifying Checksum [2023-02-20T14:02:37.180Z] bab4dde63d76: Download complete [2023-02-20T14:02:38.128Z] b85a868b505f: Pull complete [2023-02-20T14:02:38.387Z] e2be974225ed: Pull complete [2023-02-20T14:02:38.958Z] 339a4e72a1f5: Pull complete [2023-02-20T14:02:38.958Z] 988bab9f4d93: Pull complete [2023-02-20T14:02:39.217Z] 1469e6f7b9e6: Pull complete [2023-02-20T14:02:39.217Z] eaf3925da568: Pull complete [2023-02-20T14:02:41.122Z] bab4dde63d76: Pull complete [2023-02-20T14:02:41.122Z] bde34c3a00c8: Pull complete [2023-02-20T14:02:41.122Z] b352a97aabf1: Pull complete [2023-02-20T14:02:41.122Z] 4872d77fe225: Pull complete [2023-02-20T14:02:41.383Z] 5851b861e8e6: Pull complete [2023-02-20T14:02:41.383Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-20T14:02:41.383Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-20T14:02:41.383Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T14:02:41.585Z] prd-ubuntu20.04-docker-8c-8g-6739 does not seem to be running inside a container [2023-02-20T14:02:41.621Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/y_app-rfid-llrp-inventory_PR-147 -v /w/workspace/y_app-rfid-llrp-inventory_PR-147:/w/workspace/y_app-rfid-llrp-inventory_PR-147:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-147@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-147@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-02-20T14:02:44.679Z] $ docker top cd8b35fa396a01640bd2478ec827dc9d7284d012fb6612dc9caa828352d2b7f7 -eo pid,comm [2023-02-20T14:02:44.732Z] 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-02-20T14:02:44.732Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-20T14:02:44.846Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-20T14:02:44.846Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-20T14:02:44.981Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-20T14:02:44.986Z] $ docker exec cd8b35fa396a01640bd2478ec827dc9d7284d012fb6612dc9caa828352d2b7f7 ssh-agent [2023-02-20T14:02:45.098Z] SSH_AUTH_SOCK=/tmp/ssh-CbRFuzfGyTmg/agent.33 [2023-02-20T14:02:45.098Z] SSH_AGENT_PID=39 [2023-02-20T14:02:45.105Z] Running ssh-add (command line suppressed) [2023-02-20T14:02:45.208Z] Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-147@tmp/private_key_6538547155889624167.key (/w/workspace/y_app-rfid-llrp-inventory_PR-147@tmp/private_key_6538547155889624167.key) [2023-02-20T14:02:45.223Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-20T14:02:45.554Z] + git tag --points-at HEAD [Pipeline] } [2023-02-20T14:02:45.582Z] $ docker exec --env ******** --env ******** cd8b35fa396a01640bd2478ec827dc9d7284d012fb6612dc9caa828352d2b7f7 ssh-agent -k [2023-02-20T14:02:45.682Z] unset SSH_AUTH_SOCK; [2023-02-20T14:02:45.683Z] unset SSH_AGENT_PID; [2023-02-20T14:02:45.683Z] echo Agent pid 39 killed; [2023-02-20T14:02:45.693Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-20T14:02:45.785Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-20T14:02:45.785Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-20T14:02:45.889Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-20T14:02:45.894Z] $ docker exec cd8b35fa396a01640bd2478ec827dc9d7284d012fb6612dc9caa828352d2b7f7 ssh-agent [2023-02-20T14:02:45.983Z] SSH_AUTH_SOCK=/tmp/ssh-dqna5WPqBYyB/agent.71 [2023-02-20T14:02:45.983Z] SSH_AGENT_PID=77 [2023-02-20T14:02:45.988Z] Running ssh-add (command line suppressed) [2023-02-20T14:02:46.084Z] Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-147@tmp/private_key_4538561107395911257.key (/w/workspace/y_app-rfid-llrp-inventory_PR-147@tmp/private_key_4538561107395911257.key) [2023-02-20T14:02:46.113Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-20T14:02:46.434Z] + git semver init [2023-02-20T14:02:46.693Z] 2023-02-20 14:02:46,625 [run_init] DEBUG init version:0.0.0 force:False [2023-02-20T14:02:46.693Z] 2023-02-20 14:02:46,626 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/y_app-rfid-llrp-inventory_PR-147/.semver [2023-02-20T14:02:46.693Z] 2023-02-20 14:02:46,626 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/y_app-rfid-llrp-inventory_PR-147/.semver [2023-02-20T14:02:46.693Z] 2023-02-20 14:02:46,626 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/y_app-rfid-llrp-inventory_PR-147/.semver'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-147, universal_newlines=False, shell=None, istream=None) [2023-02-20T14:02:48.077Z] 2023-02-20 14:02:47,984 [append_file] DEBUG append to file:/w/workspace/y_app-rfid-llrp-inventory_PR-147/.git/info/exclude [2023-02-20T14:02:48.077Z] 2023-02-20 14:02:47,984 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/y_app-rfid-llrp-inventory_PR-147/.semver/PR-147 with force:False [2023-02-20T14:02:48.077Z] 2023-02-20 14:02:47,984 [write_file] DEBUG write to file:/w/workspace/y_app-rfid-llrp-inventory_PR-147/.semver/PR-147 [2023-02-20T14:02:48.077Z] 2023-02-20 14:02:47,988 [execute] INFO git cat-file --batch-check [2023-02-20T14:02:48.077Z] 2023-02-20 14:02:47,989 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-147/.semver, universal_newlines=False, shell=None, istream=) [2023-02-20T14:02:48.077Z] 2023-02-20 14:02:47,994 [execute] INFO git cat-file --batch [2023-02-20T14:02:48.077Z] 2023-02-20 14:02:47,994 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-147/.semver, universal_newlines=False, shell=None, istream=) [2023-02-20T14:02:48.077Z] 2023-02-20 14:02:47,999 [read_version] DEBUG read version from /w/workspace/y_app-rfid-llrp-inventory_PR-147/.semver/PR-147 [2023-02-20T14:02:48.077Z] 0.0.0 [Pipeline] } [2023-02-20T14:02:48.109Z] $ docker exec --env ******** --env ******** cd8b35fa396a01640bd2478ec827dc9d7284d012fb6612dc9caa828352d2b7f7 ssh-agent -k [2023-02-20T14:02:48.201Z] unset SSH_AUTH_SOCK; [2023-02-20T14:02:48.201Z] unset SSH_AGENT_PID; [2023-02-20T14:02:48.201Z] echo Agent pid 77 killed; [2023-02-20T14:02:48.211Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-20T14:02:48.637Z] + git semver [Pipeline] } [2023-02-20T14:02:48.922Z] $ docker stop --time=1 cd8b35fa396a01640bd2478ec827dc9d7284d012fb6612dc9caa828352d2b7f7 [2023-02-20T14:02:50.223Z] $ docker rm -f --volumes cd8b35fa396a01640bd2478ec827dc9d7284d012fb6612dc9caa828352d2b7f7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-20T14:02:50.638Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-20T14:02:50.886Z] Stashed 1 file(s) [Pipeline] echo [2023-02-20T14:02:50.902Z] [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-02-20T14:02:51.478Z] provisioning config files... [2023-02-20T14:02:51.487Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-147@tmp/config14916297863562802597tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-20T14:02:51.834Z] ---> docker-login.sh [2023-02-20T14:02:51.834Z] nexus3.edgexfoundry.org:10001 [2023-02-20T14:02:51.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T14:02:51.834Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T14:02:51.834Z] Configure a credential helper to remove this warning. See [2023-02-20T14:02:51.834Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T14:02:51.834Z] [2023-02-20T14:02:51.834Z] Login Succeeded [2023-02-20T14:02:51.834Z] nexus3.edgexfoundry.org:10002 [2023-02-20T14:02:51.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T14:02:51.834Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T14:02:51.834Z] Configure a credential helper to remove this warning. See [2023-02-20T14:02:51.834Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T14:02:51.834Z] [2023-02-20T14:02:51.834Z] Login Succeeded [2023-02-20T14:02:51.834Z] nexus3.edgexfoundry.org:10003 [2023-02-20T14:02:52.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T14:02:52.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T14:02:52.093Z] Configure a credential helper to remove this warning. See [2023-02-20T14:02:52.093Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T14:02:52.093Z] [2023-02-20T14:02:52.093Z] Login Succeeded [2023-02-20T14:02:52.093Z] nexus3.edgexfoundry.org:10004 [2023-02-20T14:02:52.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T14:02:52.093Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T14:02:52.093Z] Configure a credential helper to remove this warning. See [2023-02-20T14:02:52.093Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T14:02:52.093Z] [2023-02-20T14:02:52.093Z] Login Succeeded [2023-02-20T14:02:52.093Z] docker.io [2023-02-20T14:02:52.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T14:02:52.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T14:02:52.350Z] Configure a credential helper to remove this warning. See [2023-02-20T14:02:52.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T14:02:52.350Z] [2023-02-20T14:02:52.351Z] Login Succeeded [2023-02-20T14:02:52.351Z] ---> docker-login.sh ends [Pipeline] } [2023-02-20T14:02:52.386Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-20T14:02:52.574Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-20T14:02:52.604Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-20T14:02:52.637Z] ========================================================= [2023-02-20T14:02:52.637Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-20T14:02:52.637Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T14:02:53.102Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-20T14:02:53.102Z] Sending build context to Docker daemon 12.57MB [2023-02-20T14:02:53.102Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-20T14:02:53.102Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-20T14:02:53.102Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-20T14:02:53.102Z] 213ec9aee27d: Pulling fs layer [2023-02-20T14:02:53.102Z] 4583459ba037: Pulling fs layer [2023-02-20T14:02:53.102Z] 93c1e223e6f2: Pulling fs layer [2023-02-20T14:02:53.102Z] 53926ce57604: Pulling fs layer [2023-02-20T14:02:53.102Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-20T14:02:53.102Z] 22ff95d597cd: Pulling fs layer [2023-02-20T14:02:53.102Z] 12d6caf4c0d1: Pulling fs layer [2023-02-20T14:02:53.102Z] 96b7cbca73a9: Pulling fs layer [2023-02-20T14:02:53.102Z] a7acece74701: Pulling fs layer [2023-02-20T14:02:53.102Z] 22ff95d597cd: Waiting [2023-02-20T14:02:53.102Z] 12d6caf4c0d1: Waiting [2023-02-20T14:02:53.102Z] 96b7cbca73a9: Waiting [2023-02-20T14:02:53.102Z] a7acece74701: Waiting [2023-02-20T14:02:53.102Z] 53926ce57604: Waiting [2023-02-20T14:02:53.102Z] 21b2b0c7a3f4: Waiting [2023-02-20T14:02:53.102Z] 93c1e223e6f2: Verifying Checksum [2023-02-20T14:02:53.102Z] 93c1e223e6f2: Download complete [2023-02-20T14:02:53.360Z] 4583459ba037: Verifying Checksum [2023-02-20T14:02:53.360Z] 4583459ba037: Download complete [2023-02-20T14:02:53.360Z] 21b2b0c7a3f4: Download complete [2023-02-20T14:02:53.360Z] 22ff95d597cd: Download complete [2023-02-20T14:02:53.360Z] 213ec9aee27d: Verifying Checksum [2023-02-20T14:02:53.360Z] 12d6caf4c0d1: Download complete [2023-02-20T14:02:53.360Z] 213ec9aee27d: Pull complete [2023-02-20T14:02:53.628Z] 4583459ba037: Pull complete [2023-02-20T14:02:53.628Z] 93c1e223e6f2: Pull complete [2023-02-20T14:02:54.207Z] a7acece74701: Verifying Checksum [2023-02-20T14:02:54.207Z] a7acece74701: Download complete [2023-02-20T14:02:54.207Z] 53926ce57604: Verifying Checksum [2023-02-20T14:02:54.207Z] 53926ce57604: Download complete [2023-02-20T14:02:54.465Z] 96b7cbca73a9: Verifying Checksum [2023-02-20T14:02:54.465Z] 96b7cbca73a9: Download complete [2023-02-20T14:02:58.646Z] 53926ce57604: Pull complete [2023-02-20T14:02:58.646Z] 21b2b0c7a3f4: Pull complete [2023-02-20T14:02:58.646Z] 22ff95d597cd: Pull complete [2023-02-20T14:02:58.646Z] 12d6caf4c0d1: Pull complete [2023-02-20T14:03:00.540Z] 96b7cbca73a9: Pull complete [2023-02-20T14:03:01.475Z] a7acece74701: Pull complete [2023-02-20T14:03:01.475Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-20T14:03:01.475Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-20T14:03:01.475Z] ---> db6d94c90886 [2023-02-20T14:03:01.475Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-02-20T14:03:06.297Z] Still waiting to schedule task [2023-02-20T14:03:06.297Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6738’ [2023-02-20T14:03:09.714Z] ---> Running in 4b1af452c9c3 [2023-02-20T14:03:09.714Z] Removing intermediate container 4b1af452c9c3 [2023-02-20T14:03:09.714Z] ---> 0599fa6e9d7c [2023-02-20T14:03:09.714Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-20T14:03:09.714Z] ---> Running in dddffcdea8fc [2023-02-20T14:03:09.714Z] Removing intermediate container dddffcdea8fc [2023-02-20T14:03:09.714Z] ---> 48375aee8145 [2023-02-20T14:03:09.714Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-02-20T14:03:09.714Z] ---> Running in 5a73527b38ca [2023-02-20T14:03:09.714Z] Removing intermediate container 5a73527b38ca [2023-02-20T14:03:09.714Z] ---> 12679b239738 [2023-02-20T14:03:09.714Z] Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-20T14:03:09.714Z] ---> Running in 5435569eb17d [2023-02-20T14:03:09.714Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-20T14:03:09.714Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-20T14:03:09.714Z] OK: 211 MiB in 51 packages [2023-02-20T14:03:09.714Z] Removing intermediate container 5435569eb17d [2023-02-20T14:03:09.714Z] ---> 4ee8f46f29cb [2023-02-20T14:03:09.714Z] Step 7/12 : WORKDIR /app [2023-02-20T14:03:09.714Z] ---> Running in 24d2f8bdedec [2023-02-20T14:03:09.714Z] Removing intermediate container 24d2f8bdedec [2023-02-20T14:03:09.714Z] ---> ecd9b532ea5f [2023-02-20T14:03:09.714Z] Step 8/12 : COPY go.mod vendor* ./ [2023-02-20T14:03:09.714Z] ---> 5f1fdc03927d [2023-02-20T14:03:09.714Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-20T14:03:09.714Z] ---> Running in 1865c19335b9 [2023-02-20T14:03:41.888Z] Removing intermediate container 1865c19335b9 [2023-02-20T14:03:41.888Z] ---> c53be111cbcc [2023-02-20T14:03:41.888Z] Step 10/12 : COPY . . [2023-02-20T14:03:42.455Z] ---> 2e4aec434bb8 [2023-02-20T14:03:42.455Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-20T14:03:42.455Z] ---> Running in 37780619634c [2023-02-20T14:03:42.455Z] Removing intermediate container 37780619634c [2023-02-20T14:03:42.455Z] ---> c768f15c41f3 [2023-02-20T14:03:42.455Z] Step 12/12 : RUN $MAKE [2023-02-20T14:03:42.713Z] ---> Running in 7bdde4730e7c [2023-02-20T14:03:42.972Z] noop [2023-02-20T14:03:43.231Z] Removing intermediate container 7bdde4730e7c [2023-02-20T14:03:43.231Z] ---> 2bea25ebad0f [2023-02-20T14:03:43.231Z] Successfully built 2bea25ebad0f [2023-02-20T14:03:43.231Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T14:03:43.670Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-20T14:03:43.670Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T14:03:43.821Z] prd-ubuntu20.04-docker-8c-8g-6739 does not seem to be running inside a container [2023-02-20T14:03:43.849Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/y_app-rfid-llrp-inventory_PR-147 -v /w/workspace/y_app-rfid-llrp-inventory_PR-147:/w/workspace/y_app-rfid-llrp-inventory_PR-147:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-147@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-147@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-02-20T14:03:44.176Z] $ docker top 3b3f9586495497371efc33c3e2ec1b4398323dbb8011489f98453f4ef4308fbe -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-20T14:03:44.570Z] + go version [2023-02-20T14:03:44.570Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-20T14:03:44.607Z] $ docker stop --time=1 3b3f9586495497371efc33c3e2ec1b4398323dbb8011489f98453f4ef4308fbe [2023-02-20T14:03:45.864Z] $ docker rm -f --volumes 3b3f9586495497371efc33c3e2ec1b4398323dbb8011489f98453f4ef4308fbe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T14:03:46.569Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-20T14:03:46.570Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T14:03:46.724Z] prd-ubuntu20.04-docker-8c-8g-6739 does not seem to be running inside a container [2023-02-20T14:03:46.756Z] $ 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-147 -v /w/workspace/y_app-rfid-llrp-inventory_PR-147:/w/workspace/y_app-rfid-llrp-inventory_PR-147:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-147@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-147@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-02-20T14:03:47.114Z] $ docker top e4f6c17a92f30e6f3735056745410cfd8a8511f912edd2181647fcc2008634b9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-20T14:03:47.762Z] + git config --global --add safe.directory /w/workspace/y_app-rfid-llrp-inventory_PR-147 [Pipeline] fileExists [Pipeline] sh [2023-02-20T14:03:48.116Z] + make test [2023-02-20T14:03:48.116Z] go test -race ./... -coverprofile=coverage.out ./... [2023-02-20T14:04:06.206Z] # github.com/edgexfoundry/app-functions-sdk-go/v3/internal/appfunction [2023-02-20T14:04:06.206Z] /go/pkg/mod/github.com/edgexfoundry/app-functions-sdk-go/v3@v3.0.0-dev.22/internal/appfunction/context.go:212:42: not enough arguments in call to client.Add [2023-02-20T14:04:06.206Z] have (context.Context, requests.AddEventRequest) [2023-02-20T14:04:06.206Z] want (context.Context, string, requests.AddEventRequest) [2023-02-20T14:04:06.206Z] # github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/transforms [2023-02-20T14:04:06.206Z] /go/pkg/mod/github.com/edgexfoundry/app-functions-sdk-go/v3@v3.0.0-dev.22/pkg/transforms/coredata.go:119:50: not enough arguments in call to client.Add [2023-02-20T14:04:06.206Z] have (context.Context, requests.AddEventRequest) [2023-02-20T14:04:06.206Z] want (context.Context, string, requests.AddEventRequest) [2023-02-20T14:04:06.206Z] # github.com/edgexfoundry/app-functions-sdk-go/v3/internal/controller/rest [2023-02-20T14:04:06.206Z] /go/pkg/mod/github.com/edgexfoundry/app-functions-sdk-go/v3@v3.0.0-dev.22/internal/controller/rest/controller.go:109:24: undefined: common.Metrics [2023-02-20T14:04:06.206Z] /go/pkg/mod/github.com/edgexfoundry/app-functions-sdk-go/v3@v3.0.0-dev.22/internal/controller/rest/controller.go:119:25: undefined: common.NewMetricsResponse [2023-02-20T14:04:06.206Z] /go/pkg/mod/github.com/edgexfoundry/app-functions-sdk-go/v3@v3.0.0-dev.22/internal/controller/rest/controller.go:120:41: undefined: common.ApiMetricsRoute [2023-02-20T14:04:06.206Z] /go/pkg/mod/github.com/edgexfoundry/app-functions-sdk-go/v3@v3.0.0-dev.22/internal/controller/rest/controller.go:197:36: request.Path undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common".SecretRequest has no field or method Path) [2023-02-20T14:04:06.206Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.162s coverage: 86.2% of statements [2023-02-20T14:04:09.502Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 2.760s coverage: 71.9% of statements [2023-02-20T14:04:09.502Z] make: *** [Makefile:36: unittest] Error 2 [Pipeline] } [2023-02-20T14:04:09.545Z] $ docker stop --time=1 e4f6c17a92f30e6f3735056745410cfd8a8511f912edd2181647fcc2008634b9 [2023-02-20T14:04:12.898Z] $ docker rm -f --volumes e4f6c17a92f30e6f3735056745410cfd8a8511f912edd2181647fcc2008634b9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T14:04:14.022Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-20T14:04:14.022Z] [2023-02-20T14:04:14.022Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T14:04:14.391Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-20T14:04:14.392Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-20T14:04:14.392Z] 5eb5b503b376: Pulling fs layer [2023-02-20T14:04:14.392Z] 5c69ac0246d0: Pulling fs layer [2023-02-20T14:04:14.392Z] ec43610c2a17: Pulling fs layer [2023-02-20T14:04:14.392Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-20T14:04:14.392Z] 33b1e0a273af: Pulling fs layer [2023-02-20T14:04:14.392Z] 5d3b04190fa2: Pulling fs layer [2023-02-20T14:04:14.392Z] 2f39f015ded8: Pulling fs layer [2023-02-20T14:04:14.392Z] 3a2ae6a8a46f: Waiting [2023-02-20T14:04:14.392Z] 33b1e0a273af: Waiting [2023-02-20T14:04:14.392Z] 2f39f015ded8: Waiting [2023-02-20T14:04:14.392Z] 5d3b04190fa2: Waiting [2023-02-20T14:04:14.392Z] 5c69ac0246d0: Download complete [2023-02-20T14:04:14.392Z] 3a2ae6a8a46f: Download complete [2023-02-20T14:04:14.653Z] 33b1e0a273af: Download complete [2023-02-20T14:04:14.653Z] ec43610c2a17: Verifying Checksum [2023-02-20T14:04:14.653Z] ec43610c2a17: Download complete [2023-02-20T14:04:14.653Z] 5d3b04190fa2: Download complete [2023-02-20T14:04:14.911Z] 5eb5b503b376: Verifying Checksum [2023-02-20T14:04:14.911Z] 5eb5b503b376: Download complete [2023-02-20T14:04:15.477Z] 2f39f015ded8: Download complete [2023-02-20T14:04:16.044Z] 5eb5b503b376: Pull complete [2023-02-20T14:04:16.044Z] 5c69ac0246d0: Pull complete [2023-02-20T14:04:16.303Z] ec43610c2a17: Pull complete [2023-02-20T14:04:16.562Z] 3a2ae6a8a46f: Pull complete [2023-02-20T14:04:16.562Z] 33b1e0a273af: Pull complete [2023-02-20T14:04:16.562Z] 5d3b04190fa2: Pull complete [2023-02-20T14:04:20.754Z] 2f39f015ded8: Pull complete [2023-02-20T14:04:20.754Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-20T14:04:20.754Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-20T14:04:20.754Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T14:04:20.972Z] prd-ubuntu20.04-docker-8c-8g-6739 does not seem to be running inside a container [2023-02-20T14:04:20.996Z] $ 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-147 -v /w/workspace/y_app-rfid-llrp-inventory_PR-147:/w/workspace/y_app-rfid-llrp-inventory_PR-147:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-147@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-147@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-02-20T14:04:25.421Z] $ docker top 44fd4b9a074cdd9151af5e9c130cfb57ebc649c28171cc42153e3b8fba4ac938 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-20T14:04:25.868Z] ---> job-cost.sh [2023-02-20T14:04:25.868Z] lf-activate-venv: SKIPPING [2023-02-20T14:04:25.868Z] INFO: No Stack... [2023-02-20T14:04:26.127Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-20T14:04:26.693Z] INFO: Archiving Costs [Pipeline] sh [2023-02-20T14:04:27.009Z] + cat /w/workspace/y_app-rfid-llrp-inventory_PR-147/archives/cost.csv [2023-02-20T14:04:27.009Z] + cut -d, -f6 [Pipeline] lock [2023-02-20T14:04:27.050Z] Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-147-1-stack-cost] [2023-02-20T14:04:27.055Z] Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-147-1-stack-cost] did not exist. Created. [2023-02-20T14:04:27.055Z] Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-147-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-20T14:04:27.429Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-20T14:04:27.485Z] Stashed 1 file(s) [Pipeline] } [2023-02-20T14:04:27.512Z] Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-147-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-20T14:04:27.591Z] $ docker stop --time=1 44fd4b9a074cdd9151af5e9c130cfb57ebc649c28171cc42153e3b8fba4ac938 [2023-02-20T14:04:28.735Z] $ docker rm -f --volumes 44fd4b9a074cdd9151af5e9c130cfb57ebc649c28171cc42153e3b8fba4ac938 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-20T14:04:29.083Z] Failed in branch amd64 [2023-02-20T14:05:35.075Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6741 in /w/workspace/y_app-rfid-llrp-inventory_PR-147 [Pipeline] { [Pipeline] ws [2023-02-20T14:05:35.133Z] Running in /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] { [Pipeline] checkout [2023-02-20T14:05:35.207Z] The recommended git tool is: git [2023-02-20T14:05:40.333Z] using credential edgex-jenkins-ssh [2023-02-20T14:05:40.351Z] Cloning the remote Git repository [2023-02-20T14:05:40.392Z] Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2023-02-20T14:05:40.466Z] > git init /w/workspace/app-rfid-llrp-inventory/1 # timeout=10 [2023-02-20T14:05:40.612Z] Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2023-02-20T14:05:40.613Z] > git --version # timeout=10 [2023-02-20T14:05:40.633Z] > git --version # 'git version 2.25.1' [2023-02-20T14:05:40.634Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-20T14:05:40.688Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-20T14:05:42.778Z] > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 [2023-02-20T14:05:42.797Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-20T14:05:43.674Z] > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 [2023-02-20T14:05:43.725Z] Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2023-02-20T14:05:43.726Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-20T14:05:43.743Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/147/head:refs/remotes/origin/PR-147 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-20T14:05:44.298Z] Merging remotes/origin/main commit 63c8b30869f87de451dd33f2aa13687440ae64a8 into PR head commit 1cfc02f1c24f3d9d39e481e21976cc2bdac75bec [2023-02-20T14:05:44.545Z] Merge succeeded, producing 1cfc02f1c24f3d9d39e481e21976cc2bdac75bec [2023-02-20T14:05:44.546Z] Checking out Revision 1cfc02f1c24f3d9d39e481e21976cc2bdac75bec (PR-147) [2023-02-20T14:05:45.092Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-02-20T14:05:45.145Z] > git --version # timeout=10 [2023-02-20T14:05:45.157Z] > git --version # 'git version 2.25.1' [2023-02-20T14:05:45.179Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-20T14:05:44.319Z] > git config core.sparsecheckout # timeout=10 [2023-02-20T14:05:44.337Z] > git checkout -f 1cfc02f1c24f3d9d39e481e21976cc2bdac75bec # timeout=10 [2023-02-20T14:05:44.437Z] > git remote # timeout=10 [2023-02-20T14:05:44.458Z] > git config --get remote.origin.url # timeout=10 [2023-02-20T14:05:44.491Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-20T14:05:44.505Z] > git merge 63c8b30869f87de451dd33f2aa13687440ae64a8 # timeout=10 [2023-02-20T14:05:44.531Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-20T14:05:44.553Z] > git config core.sparsecheckout # timeout=10 [2023-02-20T14:05:44.570Z] > git checkout -f 1cfc02f1c24f3d9d39e481e21976cc2bdac75bec # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-20T14:05:46.329Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-20T14:05:46.329Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-20T14:05:46.329Z] Dload Upload Total Spent Left Speed [2023-02-20T14:05:46.329Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 222k 0 --:--:-- --:--:-- --:--:-- 222k [Pipeline] sh [2023-02-20T14:05:46.958Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-20T14:05:47.311Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-20T14:05:47.311Z] + sudo tee /etc/docker/daemon.new [2023-02-20T14:05:47.311Z] { [2023-02-20T14:05:47.311Z] "registry-mirrors": [ [2023-02-20T14:05:47.311Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-20T14:05:47.311Z] ], [2023-02-20T14:05:47.311Z] "bip": "10.250.0.254/24", [2023-02-20T14:05:47.311Z] "hosts": [ [2023-02-20T14:05:47.311Z] "tcp://0.0.0.0:5555", [2023-02-20T14:05:47.311Z] "unix:///var/run/docker.sock" [2023-02-20T14:05:47.311Z] ], [2023-02-20T14:05:47.311Z] "mtu": 1458, [2023-02-20T14:05:47.311Z] "selinux-enabled": true, [2023-02-20T14:05:47.311Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-20T14:05:47.311Z] } [Pipeline] sh [2023-02-20T14:05:47.669Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-20T14:05:48.030Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-20T14:06:10.209Z] provisioning config files... [2023-02-20T14:06:10.239Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/1@tmp/config11294134559005521793tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-20T14:06:10.646Z] ---> docker-login.sh [2023-02-20T14:06:10.646Z] nexus3.edgexfoundry.org:10001 [2023-02-20T14:06:11.239Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T14:06:11.239Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T14:06:11.239Z] Configure a credential helper to remove this warning. See [2023-02-20T14:06:11.239Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T14:06:11.239Z] [2023-02-20T14:06:11.239Z] Login Succeeded [2023-02-20T14:06:11.509Z] nexus3.edgexfoundry.org:10002 [2023-02-20T14:06:11.509Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T14:06:11.780Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T14:06:11.780Z] Configure a credential helper to remove this warning. See [2023-02-20T14:06:11.780Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T14:06:11.780Z] [2023-02-20T14:06:11.780Z] Login Succeeded [2023-02-20T14:06:11.780Z] nexus3.edgexfoundry.org:10003 [2023-02-20T14:06:12.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T14:06:12.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T14:06:12.052Z] Configure a credential helper to remove this warning. See [2023-02-20T14:06:12.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T14:06:12.052Z] [2023-02-20T14:06:12.052Z] Login Succeeded [2023-02-20T14:06:12.052Z] nexus3.edgexfoundry.org:10004 [2023-02-20T14:06:12.322Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T14:06:12.322Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T14:06:12.322Z] Configure a credential helper to remove this warning. See [2023-02-20T14:06:12.322Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T14:06:12.322Z] [2023-02-20T14:06:12.322Z] Login Succeeded [2023-02-20T14:06:12.322Z] docker.io [2023-02-20T14:06:12.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-20T14:06:12.864Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-20T14:06:12.864Z] Configure a credential helper to remove this warning. See [2023-02-20T14:06:12.864Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-20T14:06:12.864Z] [2023-02-20T14:06:12.864Z] Login Succeeded [2023-02-20T14:06:12.864Z] ---> docker-login.sh ends [Pipeline] } [2023-02-20T14:06:12.898Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-20T14:06:13.281Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-20T14:06:13.324Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-20T14:06:13.357Z] ========================================================= [2023-02-20T14:06:13.357Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-20T14:06:13.357Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T14:06:13.851Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-20T14:06:14.120Z] Sending build context to Docker daemon 683kB [2023-02-20T14:06:14.120Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-20T14:06:14.120Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-20T14:06:14.120Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-20T14:06:14.120Z] 9b18e9b68314: Pulling fs layer [2023-02-20T14:06:14.120Z] 35d82f9e3411: Pulling fs layer [2023-02-20T14:06:14.120Z] e16973657156: Pulling fs layer [2023-02-20T14:06:14.120Z] fc693d55d65f: Pulling fs layer [2023-02-20T14:06:14.120Z] 7e9fc2657dce: Pulling fs layer [2023-02-20T14:06:14.120Z] dda99020689f: Pulling fs layer [2023-02-20T14:06:14.120Z] db1c61fa0a46: Pulling fs layer [2023-02-20T14:06:14.120Z] 891c053d2c06: Pulling fs layer [2023-02-20T14:06:14.120Z] fc693d55d65f: Waiting [2023-02-20T14:06:14.120Z] dda99020689f: Waiting [2023-02-20T14:06:14.120Z] db1c61fa0a46: Waiting [2023-02-20T14:06:14.120Z] 891c053d2c06: Waiting [2023-02-20T14:06:14.120Z] 7e9fc2657dce: Waiting [2023-02-20T14:06:14.396Z] e16973657156: Verifying Checksum [2023-02-20T14:06:14.396Z] e16973657156: Download complete [2023-02-20T14:06:14.396Z] 35d82f9e3411: Verifying Checksum [2023-02-20T14:06:14.396Z] 35d82f9e3411: Download complete [2023-02-20T14:06:14.396Z] 7e9fc2657dce: Verifying Checksum [2023-02-20T14:06:14.396Z] 7e9fc2657dce: Download complete [2023-02-20T14:06:14.396Z] dda99020689f: Verifying Checksum [2023-02-20T14:06:14.396Z] dda99020689f: Download complete [2023-02-20T14:06:14.396Z] 9b18e9b68314: Verifying Checksum [2023-02-20T14:06:14.396Z] 9b18e9b68314: Download complete [2023-02-20T14:06:15.381Z] 9b18e9b68314: Pull complete [2023-02-20T14:06:15.381Z] 891c053d2c06: Verifying Checksum [2023-02-20T14:06:15.381Z] 891c053d2c06: Download complete [2023-02-20T14:06:15.654Z] 35d82f9e3411: Pull complete [2023-02-20T14:06:15.925Z] e16973657156: Pull complete [2023-02-20T14:06:16.515Z] db1c61fa0a46: Verifying Checksum [2023-02-20T14:06:16.515Z] db1c61fa0a46: Download complete [2023-02-20T14:06:16.783Z] fc693d55d65f: Verifying Checksum [2023-02-20T14:06:16.783Z] fc693d55d65f: Download complete [2023-02-20T14:06:29.103Z] fc693d55d65f: Pull complete [2023-02-20T14:06:29.103Z] 7e9fc2657dce: Pull complete [2023-02-20T14:06:29.103Z] dda99020689f: Pull complete [2023-02-20T14:06:32.532Z] db1c61fa0a46: Pull complete [2023-02-20T14:06:34.520Z] 891c053d2c06: Pull complete [2023-02-20T14:06:34.520Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-20T14:06:34.520Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-20T14:06:34.520Z] ---> f96f9c87975a [2023-02-20T14:06:34.520Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-02-20T14:06:36.477Z] ---> Running in 55f438ba2184 [2023-02-20T14:06:36.747Z] Removing intermediate container 55f438ba2184 [2023-02-20T14:06:36.747Z] ---> e09b7e983a61 [2023-02-20T14:06:36.747Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-20T14:06:36.747Z] ---> Running in a359bb114a8d [2023-02-20T14:06:37.015Z] Removing intermediate container a359bb114a8d [2023-02-20T14:06:37.015Z] ---> 030d7af3d39e [2023-02-20T14:06:37.015Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-02-20T14:06:37.286Z] ---> Running in 9382bb66565d [2023-02-20T14:06:37.564Z] Removing intermediate container 9382bb66565d [2023-02-20T14:06:37.564Z] ---> 1be88e0786b1 [2023-02-20T14:06:37.564Z] Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-20T14:06:37.564Z] ---> Running in 67b9322dbfb8 [2023-02-20T14:06:38.974Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-20T14:06:38.974Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-20T14:06:39.943Z] OK: 221 MiB in 51 packages [2023-02-20T14:06:40.907Z] Removing intermediate container 67b9322dbfb8 [2023-02-20T14:06:40.907Z] ---> f27dd8995e7c [2023-02-20T14:06:40.907Z] Step 7/12 : WORKDIR /app [2023-02-20T14:06:40.907Z] ---> Running in ff4075c3452b [2023-02-20T14:06:41.176Z] Removing intermediate container ff4075c3452b [2023-02-20T14:06:41.176Z] ---> c3bd2b486048 [2023-02-20T14:06:41.176Z] Step 8/12 : COPY go.mod vendor* ./ [2023-02-20T14:06:41.786Z] ---> 391091ad3d6c [2023-02-20T14:06:41.786Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-20T14:06:41.786Z] ---> Running in 40eeb204f5c7 [2023-02-20T14:08:03.466Z] Removing intermediate container 40eeb204f5c7 [2023-02-20T14:08:03.466Z] ---> 38c0d4960b8a [2023-02-20T14:08:03.466Z] Step 10/12 : COPY . . [2023-02-20T14:08:03.466Z] ---> 3e48caa2b916 [2023-02-20T14:08:03.466Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-20T14:08:03.466Z] ---> Running in e4adf582cf01 [2023-02-20T14:08:03.466Z] Removing intermediate container e4adf582cf01 [2023-02-20T14:08:03.466Z] ---> 20b4c6d715e6 [2023-02-20T14:08:03.466Z] Step 12/12 : RUN $MAKE [2023-02-20T14:08:03.466Z] ---> Running in 660b71a5db30 [2023-02-20T14:08:03.466Z] noop [2023-02-20T14:08:03.466Z] Removing intermediate container 660b71a5db30 [2023-02-20T14:08:03.466Z] ---> e99633d15cab [2023-02-20T14:08:03.466Z] Successfully built e99633d15cab [2023-02-20T14:08:03.466Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T14:08:03.945Z] + docker inspect -f . ci-base-image-arm64 [2023-02-20T14:08:03.945Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T14:08:04.219Z] prd-ubuntu20.04-docker-arm64-4c-16g-6741 does not seem to be running inside a container [2023-02-20T14:08:04.285Z] $ 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-02-20T14:08:05.580Z] $ docker top f9b8595273e5e7b96cc7426323120e35969ae1f7ef0d93505ff2bad52d418977 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-20T14:08:06.477Z] + go version [2023-02-20T14:08:06.477Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-20T14:08:06.510Z] $ docker stop --time=1 f9b8595273e5e7b96cc7426323120e35969ae1f7ef0d93505ff2bad52d418977 [2023-02-20T14:08:08.152Z] $ docker rm -f --volumes f9b8595273e5e7b96cc7426323120e35969ae1f7ef0d93505ff2bad52d418977 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T14:08:08.994Z] + docker inspect -f . ci-base-image-arm64 [2023-02-20T14:08:08.994Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T14:08:09.236Z] prd-ubuntu20.04-docker-arm64-4c-16g-6741 does not seem to be running inside a container [2023-02-20T14:08:09.303Z] $ 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-02-20T14:08:10.525Z] $ docker top 2f146cf8dd488896e4907f639ae1da9451e605f2c3a960c9f7d77be05a3f0907 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-20T14:08:11.421Z] + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] fileExists [Pipeline] sh [2023-02-20T14:08:12.144Z] + make test [2023-02-20T14:08:12.144Z] go test -race ./... -coverprofile=coverage.out ./... [2023-02-20T14:10:48.895Z] # github.com/edgexfoundry/app-functions-sdk-go/v3/internal/appfunction [2023-02-20T14:10:48.895Z] /go/pkg/mod/github.com/edgexfoundry/app-functions-sdk-go/v3@v3.0.0-dev.22/internal/appfunction/context.go:212:42: not enough arguments in call to client.Add [2023-02-20T14:10:48.895Z] have (context.Context, requests.AddEventRequest) [2023-02-20T14:10:48.895Z] want (context.Context, string, requests.AddEventRequest) [2023-02-20T14:10:48.895Z] # github.com/edgexfoundry/app-functions-sdk-go/v3/internal/controller/rest [2023-02-20T14:10:48.895Z] /go/pkg/mod/github.com/edgexfoundry/app-functions-sdk-go/v3@v3.0.0-dev.22/internal/controller/rest/controller.go:109:24: undefined: common.Metrics [2023-02-20T14:10:48.895Z] /go/pkg/mod/github.com/edgexfoundry/app-functions-sdk-go/v3@v3.0.0-dev.22/internal/controller/rest/controller.go:119:25: undefined: common.NewMetricsResponse [2023-02-20T14:10:48.895Z] /go/pkg/mod/github.com/edgexfoundry/app-functions-sdk-go/v3@v3.0.0-dev.22/internal/controller/rest/controller.go:120:41: undefined: common.ApiMetricsRoute [2023-02-20T14:10:48.895Z] /go/pkg/mod/github.com/edgexfoundry/app-functions-sdk-go/v3@v3.0.0-dev.22/internal/controller/rest/controller.go:197:36: request.Path undefined (type "github.com/edgexfoundry/go-mod-core-contracts/v3/dtos/common".SecretRequest has no field or method Path) [2023-02-20T14:10:48.895Z] # github.com/edgexfoundry/app-functions-sdk-go/v3/pkg/transforms [2023-02-20T14:10:48.895Z] /go/pkg/mod/github.com/edgexfoundry/app-functions-sdk-go/v3@v3.0.0-dev.22/pkg/transforms/coredata.go:119:50: not enough arguments in call to client.Add [2023-02-20T14:10:48.895Z] have (context.Context, requests.AddEventRequest) [2023-02-20T14:10:48.895Z] want (context.Context, string, requests.AddEventRequest) [2023-02-20T14:11:01.264Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/inventory 0.991s coverage: 86.2% of statements [2023-02-20T14:11:11.371Z] ok edgexfoundry/app-rfid-llrp-inventory/internal/llrp 3.540s coverage: 71.9% of statements [2023-02-20T14:11:11.371Z] make: *** [Makefile:36: unittest] Error 2 [Pipeline] } [2023-02-20T14:11:11.417Z] $ docker stop --time=1 2f146cf8dd488896e4907f639ae1da9451e605f2c3a960c9f7d77be05a3f0907 [2023-02-20T14:11:13.188Z] $ docker rm -f --volumes 2f146cf8dd488896e4907f639ae1da9451e605f2c3a960c9f7d77be05a3f0907 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T14:11:14.805Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-20T14:11:14.805Z] [2023-02-20T14:11:14.805Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T14:11:15.209Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-20T14:11:15.480Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-20T14:11:15.480Z] 8998bd30e6a1: Pulling fs layer [2023-02-20T14:11:15.480Z] 04944245beec: Pulling fs layer [2023-02-20T14:11:15.480Z] 699f458cf7ca: Pulling fs layer [2023-02-20T14:11:15.480Z] 765212b225bb: Pulling fs layer [2023-02-20T14:11:15.480Z] f23df028b6ca: Pulling fs layer [2023-02-20T14:11:15.480Z] d65c8cfc05b1: Pulling fs layer [2023-02-20T14:11:15.480Z] 2437ff75d9bd: Pulling fs layer [2023-02-20T14:11:15.480Z] 765212b225bb: Waiting [2023-02-20T14:11:15.480Z] f23df028b6ca: Waiting [2023-02-20T14:11:15.480Z] d65c8cfc05b1: Waiting [2023-02-20T14:11:15.480Z] 2437ff75d9bd: Waiting [2023-02-20T14:11:15.480Z] 04944245beec: Verifying Checksum [2023-02-20T14:11:15.480Z] 04944245beec: Download complete [2023-02-20T14:11:15.480Z] 765212b225bb: Verifying Checksum [2023-02-20T14:11:15.480Z] 765212b225bb: Download complete [2023-02-20T14:11:15.480Z] f23df028b6ca: Verifying Checksum [2023-02-20T14:11:15.480Z] f23df028b6ca: Download complete [2023-02-20T14:11:15.756Z] d65c8cfc05b1: Verifying Checksum [2023-02-20T14:11:15.756Z] d65c8cfc05b1: Download complete [2023-02-20T14:11:15.756Z] 699f458cf7ca: Verifying Checksum [2023-02-20T14:11:15.756Z] 699f458cf7ca: Download complete [2023-02-20T14:11:16.027Z] 8998bd30e6a1: Verifying Checksum [2023-02-20T14:11:16.027Z] 8998bd30e6a1: Download complete [2023-02-20T14:11:18.637Z] 2437ff75d9bd: Verifying Checksum [2023-02-20T14:11:18.637Z] 2437ff75d9bd: Download complete [2023-02-20T14:11:20.050Z] 8998bd30e6a1: Pull complete [2023-02-20T14:11:20.640Z] 04944245beec: Pull complete [2023-02-20T14:11:22.064Z] 699f458cf7ca: Pull complete [2023-02-20T14:11:22.064Z] 765212b225bb: Pull complete [2023-02-20T14:11:23.030Z] f23df028b6ca: Pull complete [2023-02-20T14:11:23.030Z] d65c8cfc05b1: Pull complete [2023-02-20T14:11:38.044Z] 2437ff75d9bd: Pull complete [2023-02-20T14:11:38.044Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-20T14:11:38.044Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-20T14:11:38.044Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T14:11:38.388Z] prd-ubuntu20.04-docker-arm64-4c-16g-6741 does not seem to be running inside a container [2023-02-20T14:11:38.460Z] $ 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-02-20T14:11:41.182Z] $ docker top e571d7d604769ed45d09ba4d51176b947b2620f435c44bfab955f93473ee7e56 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-20T14:11:42.088Z] ---> job-cost.sh [2023-02-20T14:11:42.089Z] lf-activate-venv: SKIPPING [2023-02-20T14:11:42.089Z] INFO: No Stack... [2023-02-20T14:11:42.674Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-20T14:11:43.259Z] INFO: Archiving Costs [Pipeline] sh [2023-02-20T14:11:43.923Z] + cat /w/workspace/app-rfid-llrp-inventory/1/archives/cost.csv [2023-02-20T14:11:43.923Z] + cut -d, -f6 [Pipeline] lock [2023-02-20T14:11:44.006Z] Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-147-1-stack-cost] [2023-02-20T14:11:44.014Z] Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-147-1-stack-cost] did not exist. Created. [2023-02-20T14:11:44.014Z] Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-147-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-20T14:11:44.442Z] /w/workspace/app-rfid-llrp-inventory/1@tmp/durable-566d974e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-20T14:11:44.794Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-20T14:11:45.100Z] Warning: overwriting stash ‘stack-cost’ [2023-02-20T14:11:45.527Z] Stashed 1 file(s) [Pipeline] } [2023-02-20T14:11:45.542Z] Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-147-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-20T14:11:45.617Z] $ docker stop --time=1 e571d7d604769ed45d09ba4d51176b947b2620f435c44bfab955f93473ee7e56 [2023-02-20T14:11:47.133Z] $ docker rm -f --volumes e571d7d604769ed45d09ba4d51176b947b2620f435c44bfab955f93473ee7e56 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-20T14:11:47.903Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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-02-20T14:11:49.947Z] + [ -d /w/workspace/y_app-rfid-llrp-inventory_PR-147/archives ] [2023-02-20T14:11:49.947Z] + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-147/archives [2023-02-20T14:11:49.947Z] total 16 [2023-02-20T14:11:49.947Z] drwxr-xr-x 3 root root 4096 Feb 20 14:04 . [2023-02-20T14:11:49.947Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 20 14:04 .. [2023-02-20T14:11:49.947Z] drwxr-xr-x 2 root root 4096 Feb 20 14:04 cost [2023-02-20T14:11:49.947Z] -rw-r--r-- 1 root root 95 Feb 20 14:04 cost.csv [2023-02-20T14:11:49.947Z] + sudo chown -R jenkins:jenkins /w/workspace/y_app-rfid-llrp-inventory_PR-147/archives [2023-02-20T14:11:49.947Z] + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-147/archives [2023-02-20T14:11:49.947Z] total 16 [2023-02-20T14:11:49.947Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 20 14:04 . [2023-02-20T14:11:49.947Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 20 14:04 .. [2023-02-20T14:11:49.947Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 20 14:04 cost [2023-02-20T14:11:49.947Z] -rw-r--r-- 1 jenkins jenkins 95 Feb 20 14:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-20T14:11:50.276Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-20T14:11:51.167Z] ---> package-listing.sh [2023-02-20T14:11:51.167Z] ++ facter osfamily [2023-02-20T14:11:51.167Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-20T14:11:51.427Z] + OS_FAMILY=debian [2023-02-20T14:11:51.427Z] + workspace=/w/workspace/y_app-rfid-llrp-inventory_PR-147 [2023-02-20T14:11:51.427Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-20T14:11:51.427Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-20T14:11:51.427Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-20T14:11:51.427Z] + PACKAGES=/tmp/packages_start.txt [2023-02-20T14:11:51.427Z] + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-147 ']' [2023-02-20T14:11:51.427Z] + PACKAGES=/tmp/packages_end.txt [2023-02-20T14:11:51.427Z] + case "${OS_FAMILY}" in [2023-02-20T14:11:51.427Z] + dpkg -l [2023-02-20T14:11:51.427Z] + grep '^ii' [2023-02-20T14:11:51.427Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-20T14:11:51.427Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-20T14:11:51.427Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-20T14:11:51.427Z] + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-147 ']' [2023-02-20T14:11:51.427Z] + mkdir -p /w/workspace/y_app-rfid-llrp-inventory_PR-147/archives/ [2023-02-20T14:11:51.427Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/y_app-rfid-llrp-inventory_PR-147/archives/ [Pipeline] echo [2023-02-20T14:11:51.468Z] 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-147/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-20T14:11:51.765Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-20T14:11:52.392Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-20T14:11:52.392Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-20T14:11:52.532Z] prd-ubuntu20.04-docker-8c-8g-6739 does not seem to be running inside a container [2023-02-20T14:11:52.560Z] $ 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-147/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-147 -v /w/workspace/y_app-rfid-llrp-inventory_PR-147:/w/workspace/y_app-rfid-llrp-inventory_PR-147:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-147@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-147@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-02-20T14:11:52.787Z] $ docker top a8f2bf94c4bb55728b5685c5622fc47f7a584dc7f43f7c437be3e3ac7486a7c2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-20T14:11:53.181Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-20T14:11:53.488Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-20T14:11:53.796Z] + ls /var/log/sa-host [2023-02-20T14:11:53.796Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-20T14:11:54.123Z] provisioning config files... [2023-02-20T14:11:54.132Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-147@tmp/config9953274276231059019tmp [Pipeline] { [Pipeline] echo [2023-02-20T14:11:54.183Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-20T14:11:54.493Z] ---> create-netrc.sh [Pipeline] } [2023-02-20T14:11:54.519Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-20T14:11:54.924Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-20T14:11:54.958Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-20T14:11:55.270Z] ---> sudo-logs.sh [2023-02-20T14:11:55.270Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-20T14:11:55.357Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-20T14:11:55.667Z] ---> job-cost.sh [2023-02-20T14:11:55.668Z] lf-activate-venv: SKIPPING [2023-02-20T14:11:55.668Z] DEBUG: total: 0.2199999988079071 [2023-02-20T14:11:55.668Z] INFO: Retrieving Stack Cost... [2023-02-20T14:11:56.236Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-20T14:11:56.494Z] INFO: Archiving Costs [Pipeline] echo [2023-02-20T14:11:56.527Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-20T14:11:56.834Z] ---> logs-deploy.sh [2023-02-20T14:11:56.834Z] lf-activate-venv: SKIPPING [2023-02-20T14:11:56.834Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-147/1 [2023-02-20T14:11:56.834Z] INFO: archiving workspace using pattern(s): [2023-02-20T14:11:57.770Z] Archives upload complete. [2023-02-20T14:11:57.770Z] INFO: archiving logs to Nexus