Pull request #138 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2d980b1a77e2b063364e0bf620bf3d989fd76ae9+350dcbb98a3b589a77f3df68bd3874cc550526fa (7981d52139cfed983ebaf2d44f71bcfa8bec4e6e) 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-ssh11840770103523582057.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-ssh7725247046669897350.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-138/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-138/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10972473270189028188.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-138/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3510692138056177833.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-ssh14108186907351191725.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-138/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-138/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4088336757872448180.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-ubuntu20.04-docker-8c-8g-3354’ is offline Running on prd-ubuntu20.04-docker-8c-8g-3355 in /w/workspace/y_app-rfid-llrp-inventory_PR-138 [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-138 # 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 350dcbb98a3b589a77f3df68bd3874cc550526fa into PR head commit 2d980b1a77e2b063364e0bf620bf3d989fd76ae9 Merge succeeded, producing 2d980b1a77e2b063364e0bf620bf3d989fd76ae9 Checking out Revision 2d980b1a77e2b063364e0bf620bf3d989fd76ae9 (PR-138) > 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/138/head:refs/remotes/origin/PR-138 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2d980b1a77e2b063364e0bf620bf3d989fd76ae9 # 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 350dcbb98a3b589a77f3df68bd3874cc550526fa # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2d980b1a77e2b063364e0bf620bf3d989fd76ae9 # 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-01-23T13:05:34.064Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-23T13:05:34.249Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-23T13:05:34.339Z] ========================================================= [2023-01-23T13:05:34.339Z] EdgeX Global Pipelines Version Info [2023-01-23T13:05:34.339Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-23T13:05:35.071Z] ------------------- [2023-01-23T13:05:35.071Z] stable info: [2023-01-23T13:05:35.071Z] ------------------- [2023-01-23T13:05:35.071Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-23T13:05:35.071Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-23T13:05:35.071Z] Message: update stable to v1.0.244 [2023-01-23T13:05:35.639Z] ------------------- [2023-01-23T13:05:35.639Z] experimental info: [2023-01-23T13:05:35.639Z] ------------------- [2023-01-23T13:05:35.639Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-23T13:05:35.639Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-23T13:05:35.639Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-23T13:05:35.956Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo [2023-01-23T13:05:36.006Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo [2023-01-23T13:05:36.058Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-23T13:05:36.105Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-23T13:05:36.153Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-23T13:05:36.199Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-23T13:05:36.254Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-23T13:05:36.302Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-23T13:05:36.350Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-23T13:05:36.398Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-23T13:05:36.447Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-23T13:05:36.492Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo [2023-01-23T13:05:36.539Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-23T13:05:36.585Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-23T13:05:36.631Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-23T13:05:36.673Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-23T13:05:36.718Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-23T13:05:36.764Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-23T13:05:36.812Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-23T13:05:36.856Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-23T13:05:36.895Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-23T13:05:36.933Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-23T13:05:36.972Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-23T13:05:37.015Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-23T13:05:37.057Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-23T13:05:37.097Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-23T13:05:37.139Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-23T13:05:37.183Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-138 [Pipeline] echo [2023-01-23T13:05:37.233Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-138 [Pipeline] echo [2023-01-23T13:05:37.271Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-138 [Pipeline] echo [2023-01-23T13:05:37.312Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2d980b1a77e2b063364e0bf620bf3d989fd76ae9 [Pipeline] echo [2023-01-23T13:05:37.350Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2d980b1 [Pipeline] echo [2023-01-23T13:05:37.390Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-23T13:05:37.507Z] provisioning config files... [2023-01-23T13:05:37.519Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-138@tmp/config3103949896215979047tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-23T13:05:37.859Z] ---> docker-login.sh [2023-01-23T13:05:37.860Z] nexus3.edgexfoundry.org:10001 [2023-01-23T13:05:38.120Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T13:05:38.120Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T13:05:38.120Z] Configure a credential helper to remove this warning. See [2023-01-23T13:05:38.120Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T13:05:38.120Z] [2023-01-23T13:05:38.120Z] Login Succeeded [2023-01-23T13:05:38.120Z] nexus3.edgexfoundry.org:10002 [2023-01-23T13:05:38.120Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T13:05:38.120Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T13:05:38.120Z] Configure a credential helper to remove this warning. See [2023-01-23T13:05:38.120Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T13:05:38.120Z] [2023-01-23T13:05:38.120Z] Login Succeeded [2023-01-23T13:05:38.380Z] nexus3.edgexfoundry.org:10003 [2023-01-23T13:05:38.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T13:05:38.380Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T13:05:38.380Z] Configure a credential helper to remove this warning. See [2023-01-23T13:05:38.380Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T13:05:38.380Z] [2023-01-23T13:05:38.380Z] Login Succeeded [2023-01-23T13:05:38.380Z] nexus3.edgexfoundry.org:10004 [2023-01-23T13:05:38.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T13:05:38.380Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T13:05:38.380Z] Configure a credential helper to remove this warning. See [2023-01-23T13:05:38.380Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T13:05:38.380Z] [2023-01-23T13:05:38.380Z] Login Succeeded [2023-01-23T13:05:38.380Z] docker.io [2023-01-23T13:05:38.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T13:05:38.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T13:05:38.641Z] Configure a credential helper to remove this warning. See [2023-01-23T13:05:38.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T13:05:38.641Z] [2023-01-23T13:05:38.641Z] Login Succeeded [2023-01-23T13:05:38.641Z] ---> docker-login.sh ends [Pipeline] } [2023-01-23T13:05:38.666Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-23T13:05:39.269Z] + git rev-list -1 --merges 2d980b1a77e2b063364e0bf620bf3d989fd76ae9~1..2d980b1a77e2b063364e0bf620bf3d989fd76ae9 [Pipeline] echo [2023-01-23T13:05:39.333Z] -----------> git rev-list -1 --merges 2d980b1a77e2b063364e0bf620bf3d989fd76ae9~1..2d980b1a77e2b063364e0bf620bf3d989fd76ae9 2d980b1a77e2b063364e0bf620bf3d989fd76ae9 [false] [Pipeline] sh [2023-01-23T13:05:39.649Z] + git log --format=format:%s -1 2d980b1a77e2b063364e0bf620bf3d989fd76ae9 [Pipeline] echo [2023-01-23T13:05:39.687Z] ========================================================= [2023-01-23T13:05:39.687Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-23T13:05:39.687Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-23T13:05:40.135Z] + git log --format=format:%s -1 2d980b1a77e2b063364e0bf620bf3d989fd76ae9 [Pipeline] echo [2023-01-23T13:05:40.170Z] [semverPrep] GIT_COMMIT: 2d980b1a77e2b063364e0bf620bf3d989fd76ae9, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-01-23T13:05:40.200Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-23T13:05:40.571Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-23T13:05:40.571Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-23T13:05:40.571Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-23T13:05:40.571Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-23T13:05:40.571Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-23T13:05:40.571Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-23T13:05:40.571Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T13:05:41.027Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-23T13:05:41.027Z] [2023-01-23T13:05:41.027Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T13:05:41.403Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-23T13:05:41.404Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-23T13:05:41.404Z] b85a868b505f: Pulling fs layer [2023-01-23T13:05:41.404Z] e2be974225ed: Pulling fs layer [2023-01-23T13:05:41.404Z] 339a4e72a1f5: Pulling fs layer [2023-01-23T13:05:41.404Z] 988bab9f4d93: Pulling fs layer [2023-01-23T13:05:41.404Z] 1469e6f7b9e6: Pulling fs layer [2023-01-23T13:05:41.404Z] eaf3925da568: Pulling fs layer [2023-01-23T13:05:41.404Z] bab4dde63d76: Pulling fs layer [2023-01-23T13:05:41.404Z] bde34c3a00c8: Pulling fs layer [2023-01-23T13:05:41.404Z] b352a97aabf1: Pulling fs layer [2023-01-23T13:05:41.404Z] 4872d77fe225: Pulling fs layer [2023-01-23T13:05:41.404Z] 5851b861e8e6: Pulling fs layer [2023-01-23T13:05:41.404Z] 988bab9f4d93: Waiting [2023-01-23T13:05:41.404Z] 4872d77fe225: Waiting [2023-01-23T13:05:41.404Z] 1469e6f7b9e6: Waiting [2023-01-23T13:05:41.404Z] bde34c3a00c8: Waiting [2023-01-23T13:05:41.404Z] eaf3925da568: Waiting [2023-01-23T13:05:41.404Z] bab4dde63d76: Waiting [2023-01-23T13:05:41.404Z] b352a97aabf1: Waiting [2023-01-23T13:05:41.404Z] 5851b861e8e6: Waiting [2023-01-23T13:05:41.404Z] e2be974225ed: Verifying Checksum [2023-01-23T13:05:41.404Z] e2be974225ed: Download complete [2023-01-23T13:05:41.681Z] 988bab9f4d93: Download complete [2023-01-23T13:05:41.961Z] 1469e6f7b9e6: Verifying Checksum [2023-01-23T13:05:41.961Z] 1469e6f7b9e6: Download complete [2023-01-23T13:05:41.961Z] eaf3925da568: Verifying Checksum [2023-01-23T13:05:41.961Z] eaf3925da568: Download complete [2023-01-23T13:05:41.961Z] 339a4e72a1f5: Verifying Checksum [2023-01-23T13:05:41.961Z] 339a4e72a1f5: Download complete [2023-01-23T13:05:41.961Z] bde34c3a00c8: Download complete [2023-01-23T13:05:42.232Z] b352a97aabf1: Download complete [2023-01-23T13:05:42.232Z] 4872d77fe225: Download complete [2023-01-23T13:05:42.232Z] 5851b861e8e6: Verifying Checksum [2023-01-23T13:05:42.232Z] b85a868b505f: Verifying Checksum [2023-01-23T13:05:42.232Z] b85a868b505f: Download complete [2023-01-23T13:05:42.490Z] bab4dde63d76: Verifying Checksum [2023-01-23T13:05:42.490Z] bab4dde63d76: Download complete [2023-01-23T13:05:43.426Z] b85a868b505f: Pull complete [2023-01-23T13:05:43.426Z] e2be974225ed: Pull complete [2023-01-23T13:05:43.995Z] 339a4e72a1f5: Pull complete [2023-01-23T13:05:44.255Z] 988bab9f4d93: Pull complete [2023-01-23T13:05:44.518Z] 1469e6f7b9e6: Pull complete [2023-01-23T13:05:44.518Z] eaf3925da568: Pull complete [2023-01-23T13:05:46.430Z] bab4dde63d76: Pull complete [2023-01-23T13:05:46.430Z] bde34c3a00c8: Pull complete [2023-01-23T13:05:46.430Z] b352a97aabf1: Pull complete [2023-01-23T13:05:46.430Z] 4872d77fe225: Pull complete [2023-01-23T13:05:46.430Z] 5851b861e8e6: Pull complete [2023-01-23T13:05:46.430Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-23T13:05:46.430Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-23T13:05:46.430Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T13:05:46.659Z] prd-ubuntu20.04-docker-8c-8g-3355 does not seem to be running inside a container [2023-01-23T13:05:46.691Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/y_app-rfid-llrp-inventory_PR-138 -v /w/workspace/y_app-rfid-llrp-inventory_PR-138:/w/workspace/y_app-rfid-llrp-inventory_PR-138:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-138@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-138@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-01-23T13:05:50.677Z] $ docker top 8eae9e1c6d32d8fd82b4b62524595146cddf43c465b4889dbe81fbcc409c81b0 -eo pid,comm [2023-01-23T13:05:50.733Z] 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-01-23T13:05:50.733Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-23T13:05:50.859Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-23T13:05:50.859Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-23T13:05:50.959Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-23T13:05:50.960Z] $ docker exec 8eae9e1c6d32d8fd82b4b62524595146cddf43c465b4889dbe81fbcc409c81b0 ssh-agent [2023-01-23T13:05:51.059Z] SSH_AUTH_SOCK=/tmp/ssh-IbdKIDve4o6v/agent.32 [2023-01-23T13:05:51.059Z] SSH_AGENT_PID=38 [2023-01-23T13:05:51.065Z] Running ssh-add (command line suppressed) [2023-01-23T13:05:51.158Z] Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-138@tmp/private_key_13638789940665256244.key (/w/workspace/y_app-rfid-llrp-inventory_PR-138@tmp/private_key_13638789940665256244.key) [2023-01-23T13:05:51.170Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-23T13:05:51.496Z] + git tag --points-at HEAD [Pipeline] } [2023-01-23T13:05:51.521Z] $ docker exec --env ******** --env ******** 8eae9e1c6d32d8fd82b4b62524595146cddf43c465b4889dbe81fbcc409c81b0 ssh-agent -k [2023-01-23T13:05:51.609Z] unset SSH_AUTH_SOCK; [2023-01-23T13:05:51.609Z] unset SSH_AGENT_PID; [2023-01-23T13:05:51.609Z] echo Agent pid 38 killed; [2023-01-23T13:05:51.618Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-23T13:05:51.705Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-23T13:05:51.705Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-23T13:05:51.811Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-23T13:05:51.813Z] $ docker exec 8eae9e1c6d32d8fd82b4b62524595146cddf43c465b4889dbe81fbcc409c81b0 ssh-agent [2023-01-23T13:05:51.903Z] SSH_AUTH_SOCK=/tmp/ssh-AaoIsSEo2c3M/agent.70 [2023-01-23T13:05:51.903Z] SSH_AGENT_PID=76 [2023-01-23T13:05:51.908Z] Running ssh-add (command line suppressed) [2023-01-23T13:05:52.002Z] Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-138@tmp/private_key_2679050149286539972.key (/w/workspace/y_app-rfid-llrp-inventory_PR-138@tmp/private_key_2679050149286539972.key) [2023-01-23T13:05:52.014Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-23T13:05:52.340Z] + git semver init [2023-01-23T13:05:52.599Z] 2023-01-23 13:05:52,553 [run_init] DEBUG init version:0.0.0 force:False [2023-01-23T13:05:52.599Z] 2023-01-23 13:05:52,554 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/y_app-rfid-llrp-inventory_PR-138/.semver [2023-01-23T13:05:52.599Z] 2023-01-23 13:05:52,555 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/y_app-rfid-llrp-inventory_PR-138/.semver [2023-01-23T13:05:52.599Z] 2023-01-23 13:05:52,555 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/y_app-rfid-llrp-inventory_PR-138/.semver'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-138, universal_newlines=False, shell=None, istream=None) [2023-01-23T13:05:53.973Z] 2023-01-23 13:05:53,804 [append_file] DEBUG append to file:/w/workspace/y_app-rfid-llrp-inventory_PR-138/.git/info/exclude [2023-01-23T13:05:53.973Z] 2023-01-23 13:05:53,804 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/y_app-rfid-llrp-inventory_PR-138/.semver/PR-138 with force:False [2023-01-23T13:05:53.973Z] 2023-01-23 13:05:53,805 [write_file] DEBUG write to file:/w/workspace/y_app-rfid-llrp-inventory_PR-138/.semver/PR-138 [2023-01-23T13:05:53.973Z] 2023-01-23 13:05:53,807 [execute] INFO git cat-file --batch-check [2023-01-23T13:05:53.973Z] 2023-01-23 13:05:53,807 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-138/.semver, universal_newlines=False, shell=None, istream=) [2023-01-23T13:05:53.973Z] 2023-01-23 13:05:53,812 [execute] INFO git cat-file --batch [2023-01-23T13:05:53.973Z] 2023-01-23 13:05:53,813 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-138/.semver, universal_newlines=False, shell=None, istream=) [2023-01-23T13:05:53.973Z] 2023-01-23 13:05:53,816 [read_version] DEBUG read version from /w/workspace/y_app-rfid-llrp-inventory_PR-138/.semver/PR-138 [2023-01-23T13:05:53.973Z] 0.0.0 [Pipeline] } [2023-01-23T13:05:53.995Z] $ docker exec --env ******** --env ******** 8eae9e1c6d32d8fd82b4b62524595146cddf43c465b4889dbe81fbcc409c81b0 ssh-agent -k [2023-01-23T13:05:54.067Z] unset SSH_AUTH_SOCK; [2023-01-23T13:05:54.067Z] unset SSH_AGENT_PID; [2023-01-23T13:05:54.068Z] echo Agent pid 76 killed; [2023-01-23T13:05:54.075Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-23T13:05:54.474Z] + git semver [Pipeline] } [2023-01-23T13:05:55.063Z] $ docker stop --time=1 8eae9e1c6d32d8fd82b4b62524595146cddf43c465b4889dbe81fbcc409c81b0 [2023-01-23T13:05:56.311Z] $ docker rm -f --volumes 8eae9e1c6d32d8fd82b4b62524595146cddf43c465b4889dbe81fbcc409c81b0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-23T13:05:56.697Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-23T13:05:56.933Z] Stashed 1 file(s) [Pipeline] echo [2023-01-23T13:05:56.949Z] [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-01-23T13:05:57.537Z] provisioning config files... [2023-01-23T13:05:57.546Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-138@tmp/config15344575517994429432tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-23T13:05:57.891Z] ---> docker-login.sh [2023-01-23T13:05:57.892Z] nexus3.edgexfoundry.org:10001 [2023-01-23T13:05:57.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T13:05:57.892Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T13:05:57.892Z] Configure a credential helper to remove this warning. See [2023-01-23T13:05:57.892Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T13:05:57.892Z] [2023-01-23T13:05:57.892Z] Login Succeeded [2023-01-23T13:05:57.892Z] nexus3.edgexfoundry.org:10002 [2023-01-23T13:05:57.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T13:05:57.892Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T13:05:57.892Z] Configure a credential helper to remove this warning. See [2023-01-23T13:05:57.892Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T13:05:57.892Z] [2023-01-23T13:05:57.892Z] Login Succeeded [2023-01-23T13:05:57.892Z] nexus3.edgexfoundry.org:10003 [2023-01-23T13:05:57.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T13:05:58.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T13:05:58.150Z] Configure a credential helper to remove this warning. See [2023-01-23T13:05:58.150Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T13:05:58.150Z] [2023-01-23T13:05:58.150Z] Login Succeeded [2023-01-23T13:05:58.150Z] nexus3.edgexfoundry.org:10004 [2023-01-23T13:05:58.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T13:05:58.150Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T13:05:58.150Z] Configure a credential helper to remove this warning. See [2023-01-23T13:05:58.150Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T13:05:58.150Z] [2023-01-23T13:05:58.150Z] Login Succeeded [2023-01-23T13:05:58.150Z] docker.io [2023-01-23T13:05:58.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T13:05:58.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T13:05:58.408Z] Configure a credential helper to remove this warning. See [2023-01-23T13:05:58.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T13:05:58.408Z] [2023-01-23T13:05:58.408Z] Login Succeeded [2023-01-23T13:05:58.408Z] ---> docker-login.sh ends [Pipeline] } [2023-01-23T13:05:58.436Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-23T13:05:58.626Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-23T13:05:58.661Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-23T13:05:58.697Z] ========================================================= [2023-01-23T13:05:58.697Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-23T13:05:58.697Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T13:05:59.159Z] + 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-01-23T13:05:59.159Z] Sending build context to Docker daemon 12.56MB [2023-01-23T13:05:59.159Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-23T13:05:59.159Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-23T13:05:59.159Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-23T13:05:59.159Z] 213ec9aee27d: Pulling fs layer [2023-01-23T13:05:59.159Z] 4583459ba037: Pulling fs layer [2023-01-23T13:05:59.159Z] 93c1e223e6f2: Pulling fs layer [2023-01-23T13:05:59.159Z] 53926ce57604: Pulling fs layer [2023-01-23T13:05:59.159Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-23T13:05:59.159Z] 22ff95d597cd: Pulling fs layer [2023-01-23T13:05:59.159Z] 12d6caf4c0d1: Pulling fs layer [2023-01-23T13:05:59.159Z] 96b7cbca73a9: Pulling fs layer [2023-01-23T13:05:59.159Z] a7acece74701: Pulling fs layer [2023-01-23T13:05:59.159Z] 53926ce57604: Waiting [2023-01-23T13:05:59.159Z] 21b2b0c7a3f4: Waiting [2023-01-23T13:05:59.159Z] 22ff95d597cd: Waiting [2023-01-23T13:05:59.159Z] 12d6caf4c0d1: Waiting [2023-01-23T13:05:59.159Z] 96b7cbca73a9: Waiting [2023-01-23T13:05:59.159Z] a7acece74701: Waiting [2023-01-23T13:05:59.159Z] 93c1e223e6f2: Verifying Checksum [2023-01-23T13:05:59.159Z] 93c1e223e6f2: Download complete [2023-01-23T13:05:59.159Z] 4583459ba037: Verifying Checksum [2023-01-23T13:05:59.159Z] 4583459ba037: Download complete [2023-01-23T13:05:59.159Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-23T13:05:59.159Z] 21b2b0c7a3f4: Download complete [2023-01-23T13:05:59.425Z] 22ff95d597cd: Verifying Checksum [2023-01-23T13:05:59.425Z] 22ff95d597cd: Download complete [2023-01-23T13:05:59.425Z] 213ec9aee27d: Verifying Checksum [2023-01-23T13:05:59.425Z] 12d6caf4c0d1: Download complete [2023-01-23T13:05:59.425Z] 213ec9aee27d: Pull complete [2023-01-23T13:05:59.696Z] 4583459ba037: Pull complete [2023-01-23T13:05:59.696Z] 93c1e223e6f2: Pull complete [2023-01-23T13:06:01.214Z] a7acece74701: Verifying Checksum [2023-01-23T13:06:01.214Z] a7acece74701: Download complete [2023-01-23T13:06:01.214Z] 96b7cbca73a9: Verifying Checksum [2023-01-23T13:06:01.214Z] 96b7cbca73a9: Download complete [2023-01-23T13:06:01.214Z] 53926ce57604: Verifying Checksum [2023-01-23T13:06:01.214Z] 53926ce57604: Download complete [2023-01-23T13:06:04.497Z] 53926ce57604: Pull complete [2023-01-23T13:06:04.757Z] 21b2b0c7a3f4: Pull complete [2023-01-23T13:06:04.757Z] 22ff95d597cd: Pull complete [2023-01-23T13:06:04.757Z] 12d6caf4c0d1: Pull complete [2023-01-23T13:06:07.290Z] 96b7cbca73a9: Pull complete [2023-01-23T13:06:07.549Z] a7acece74701: Pull complete [2023-01-23T13:06:07.549Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-23T13:06:07.549Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-23T13:06:07.549Z] ---> db6d94c90886 [2023-01-23T13:06:07.549Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-01-23T13:06:12.343Z] Still waiting to schedule task [2023-01-23T13:06:12.344Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-3356’ is offline [2023-01-23T13:06:14.120Z] ---> Running in 481c3158936f [2023-01-23T13:06:14.120Z] Removing intermediate container 481c3158936f [2023-01-23T13:06:14.120Z] ---> 57e7f2d72eb9 [2023-01-23T13:06:14.120Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-23T13:06:14.120Z] ---> Running in d25250f0b6ce [2023-01-23T13:06:14.120Z] Removing intermediate container d25250f0b6ce [2023-01-23T13:06:14.120Z] ---> 85f0dd93edc5 [2023-01-23T13:06:14.120Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-01-23T13:06:14.120Z] ---> Running in de81028aba6b [2023-01-23T13:06:14.120Z] Removing intermediate container de81028aba6b [2023-01-23T13:06:14.120Z] ---> 641a33ca3fd1 [2023-01-23T13:06:14.120Z] Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-23T13:06:14.120Z] ---> Running in 86dae6417de2 [2023-01-23T13:06:14.380Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-23T13:06:14.658Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-23T13:06:14.918Z] OK: 211 MiB in 51 packages [2023-01-23T13:06:15.177Z] Removing intermediate container 86dae6417de2 [2023-01-23T13:06:15.177Z] ---> fb610f694dad [2023-01-23T13:06:15.177Z] Step 7/12 : WORKDIR /app [2023-01-23T13:06:15.177Z] ---> Running in b2c3bd021936 [2023-01-23T13:06:15.177Z] Removing intermediate container b2c3bd021936 [2023-01-23T13:06:15.177Z] ---> 705381973b0f [2023-01-23T13:06:15.177Z] Step 8/12 : COPY go.mod vendor* ./ [2023-01-23T13:06:15.436Z] ---> 62a73953ac17 [2023-01-23T13:06:15.436Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-23T13:06:15.436Z] ---> Running in 42e82957b374 [2023-01-23T13:06:54.147Z] Removing intermediate container 42e82957b374 [2023-01-23T13:06:54.147Z] ---> 3afea65f85b4 [2023-01-23T13:06:54.147Z] Step 10/12 : COPY . . [2023-01-23T13:06:54.147Z] ---> ca37bfba668f [2023-01-23T13:06:54.147Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-23T13:06:54.147Z] ---> Running in 079c261f67de [2023-01-23T13:06:54.147Z] Removing intermediate container 079c261f67de [2023-01-23T13:06:54.147Z] ---> 6756534fcaa5 [2023-01-23T13:06:54.147Z] Step 12/12 : RUN $MAKE [2023-01-23T13:06:54.147Z] ---> Running in c5b254231962 [2023-01-23T13:06:54.147Z] noop [2023-01-23T13:06:54.147Z] Removing intermediate container c5b254231962 [2023-01-23T13:06:54.147Z] ---> 5f16ad896329 [2023-01-23T13:06:54.147Z] Successfully built 5f16ad896329 [2023-01-23T13:06:54.147Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T13:06:54.578Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-23T13:06:54.578Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T13:06:54.728Z] prd-ubuntu20.04-docker-8c-8g-3355 does not seem to be running inside a container [2023-01-23T13:06:54.766Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/y_app-rfid-llrp-inventory_PR-138 -v /w/workspace/y_app-rfid-llrp-inventory_PR-138:/w/workspace/y_app-rfid-llrp-inventory_PR-138:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-138@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-138@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-01-23T13:06:55.100Z] $ docker top 219471f93d78cb6082161efb98184d42cf06651db149b294114deebc7873bec9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-23T13:06:55.487Z] + go version [2023-01-23T13:06:55.487Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-23T13:06:55.522Z] $ docker stop --time=1 219471f93d78cb6082161efb98184d42cf06651db149b294114deebc7873bec9 [2023-01-23T13:06:56.794Z] $ docker rm -f --volumes 219471f93d78cb6082161efb98184d42cf06651db149b294114deebc7873bec9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T13:06:57.511Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-23T13:06:57.511Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T13:06:57.659Z] prd-ubuntu20.04-docker-8c-8g-3355 does not seem to be running inside a container [2023-01-23T13:06:57.695Z] $ 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-138 -v /w/workspace/y_app-rfid-llrp-inventory_PR-138:/w/workspace/y_app-rfid-llrp-inventory_PR-138:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-138@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-138@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-01-23T13:06:58.108Z] $ docker top 0aa7b214ded1db9031784ab0e232a011b4e8214c43d002f92b7a1545afe9f1f8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-23T13:06:58.498Z] + git config --global --add safe.directory /w/workspace/y_app-rfid-llrp-inventory_PR-138 [Pipeline] fileExists [Pipeline] sh [2023-01-23T13:06:58.854Z] + make test [2023-01-23T13:06:58.855Z] go test -race ./... -coverprofile=coverage.out ./... [2023-01-23T13:07:13.753Z] # edgexfoundry/app-rfid-llrp-inventory/internal/llrp [2023-01-23T13:07:13.753Z] internal/llrp/device_service.go:105:91: cannot use "no" (untyped string constant) as bool value in argument to ds.cmdClient.IssueGetCommandByName [2023-01-23T13:07:13.753Z] internal/llrp/device_service.go:105:97: cannot use "yes" (untyped string constant) as bool value in argument to ds.cmdClient.IssueGetCommandByName [2023-01-23T13:07:13.753Z] internal/llrp/device_service.go:110:91: cannot use "no" (untyped string constant) as bool value in argument to ds.cmdClient.IssueGetCommandByName [2023-01-23T13:07:13.753Z] internal/llrp/device_service.go:110:97: cannot use "yes" (untyped string constant) as bool value in argument to ds.cmdClient.IssueGetCommandByName [2023-01-23T13:07:14.320Z] # github.com/edgexfoundry/go-mod-messaging/v3/clients [2023-01-23T13:07:14.320Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:89:9: cannot use client (variable of type *CommandClient) as type interfaces.CommandClient in return statement: [2023-01-23T13:07:14.320Z] *CommandClient does not implement interfaces.CommandClient (wrong type for IssueGetCommandByName method) [2023-01-23T13:07:14.320Z] have IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent string, dsReturnEvent string) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) [2023-01-23T13:07:14.320Z] want IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent bool, dsReturnEvent bool) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) [2023-01-23T13:07:14.320Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:210:35: undefined: common.ValueNo [2023-01-23T13:07:17.606Z] FAIL edgexfoundry/app-rfid-llrp-inventory/internal/inventory [build failed] [2023-01-23T13:07:17.606Z] FAIL edgexfoundry/app-rfid-llrp-inventory/internal/llrp [build failed] [2023-01-23T13:07:17.606Z] make: *** [Makefile:36: unittest] Error 2 [Pipeline] } [2023-01-23T13:07:17.660Z] $ docker stop --time=1 0aa7b214ded1db9031784ab0e232a011b4e8214c43d002f92b7a1545afe9f1f8 [2023-01-23T13:07:22.005Z] $ docker rm -f --volumes 0aa7b214ded1db9031784ab0e232a011b4e8214c43d002f92b7a1545afe9f1f8 [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-01-23T13:07:23.162Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-23T13:07:23.162Z] [2023-01-23T13:07:23.162Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T13:07:23.580Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-23T13:07:23.580Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-23T13:07:23.580Z] 5eb5b503b376: Pulling fs layer [2023-01-23T13:07:23.580Z] 5c69ac0246d0: Pulling fs layer [2023-01-23T13:07:23.580Z] ec43610c2a17: Pulling fs layer [2023-01-23T13:07:23.580Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-23T13:07:23.580Z] 33b1e0a273af: Pulling fs layer [2023-01-23T13:07:23.580Z] 5d3b04190fa2: Pulling fs layer [2023-01-23T13:07:23.580Z] 2f39f015ded8: Pulling fs layer [2023-01-23T13:07:23.580Z] 3a2ae6a8a46f: Waiting [2023-01-23T13:07:23.580Z] 33b1e0a273af: Waiting [2023-01-23T13:07:23.580Z] 5d3b04190fa2: Waiting [2023-01-23T13:07:23.580Z] 2f39f015ded8: Waiting [2023-01-23T13:07:23.580Z] 5c69ac0246d0: Verifying Checksum [2023-01-23T13:07:23.580Z] 5c69ac0246d0: Download complete [2023-01-23T13:07:23.580Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-23T13:07:23.580Z] 3a2ae6a8a46f: Download complete [2023-01-23T13:07:23.866Z] 33b1e0a273af: Verifying Checksum [2023-01-23T13:07:23.866Z] 33b1e0a273af: Download complete [2023-01-23T13:07:23.866Z] 5d3b04190fa2: Verifying Checksum [2023-01-23T13:07:23.866Z] 5d3b04190fa2: Download complete [2023-01-23T13:07:23.866Z] ec43610c2a17: Verifying Checksum [2023-01-23T13:07:23.866Z] ec43610c2a17: Download complete [2023-01-23T13:07:24.134Z] 5eb5b503b376: Verifying Checksum [2023-01-23T13:07:24.134Z] 5eb5b503b376: Download complete [2023-01-23T13:07:24.699Z] 2f39f015ded8: Download complete [2023-01-23T13:07:25.298Z] 5eb5b503b376: Pull complete [2023-01-23T13:07:25.298Z] 5c69ac0246d0: Pull complete [2023-01-23T13:07:25.556Z] ec43610c2a17: Pull complete [2023-01-23T13:07:25.556Z] 3a2ae6a8a46f: Pull complete [2023-01-23T13:07:25.814Z] 33b1e0a273af: Pull complete [2023-01-23T13:07:25.814Z] 5d3b04190fa2: Pull complete [2023-01-23T13:07:30.000Z] 2f39f015ded8: Pull complete [2023-01-23T13:07:30.000Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-23T13:07:30.000Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-23T13:07:30.000Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T13:07:30.213Z] prd-ubuntu20.04-docker-8c-8g-3355 does not seem to be running inside a container [2023-01-23T13:07:30.248Z] $ 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-138 -v /w/workspace/y_app-rfid-llrp-inventory_PR-138:/w/workspace/y_app-rfid-llrp-inventory_PR-138:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-138@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-138@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-01-23T13:07:37.435Z] $ docker top d923b4b1636335e3f266f57b6a97a83bbd0aecacc5dfe195a6105622119b3500 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-23T13:07:37.864Z] ---> job-cost.sh [2023-01-23T13:07:37.864Z] lf-activate-venv: SKIPPING [2023-01-23T13:07:37.864Z] INFO: No Stack... [2023-01-23T13:07:38.123Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-23T13:07:38.382Z] INFO: Archiving Costs [Pipeline] sh [2023-01-23T13:07:38.694Z] + cat /w/workspace/y_app-rfid-llrp-inventory_PR-138/archives/cost.csv [2023-01-23T13:07:38.694Z] + cut -d, -f6 [Pipeline] lock [2023-01-23T13:07:38.735Z] Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-138-1-stack-cost] [2023-01-23T13:07:38.740Z] Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-138-1-stack-cost] did not exist. Created. [2023-01-23T13:07:38.740Z] Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-138-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-23T13:07:39.184Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-23T13:07:39.241Z] Stashed 1 file(s) [Pipeline] } [2023-01-23T13:07:39.261Z] Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-138-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-23T13:07:39.345Z] $ docker stop --time=1 d923b4b1636335e3f266f57b6a97a83bbd0aecacc5dfe195a6105622119b3500 [2023-01-23T13:07:40.492Z] $ docker rm -f --volumes d923b4b1636335e3f266f57b6a97a83bbd0aecacc5dfe195a6105622119b3500 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-23T13:07:40.839Z] Failed in branch amd64 [2023-01-23T13:08:24.009Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-3357 in /w/workspace/y_app-rfid-llrp-inventory_PR-138 [Pipeline] { [Pipeline] ws [2023-01-23T13:08:24.058Z] Running in /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] { [Pipeline] checkout [2023-01-23T13:08:24.124Z] The recommended git tool is: git [2023-01-23T13:08:29.849Z] using credential edgex-jenkins-ssh [2023-01-23T13:08:29.869Z] Cloning the remote Git repository [2023-01-23T13:08:29.918Z] Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2023-01-23T13:08:30.000Z] > git init /w/workspace/app-rfid-llrp-inventory/1 # timeout=10 [2023-01-23T13:08:30.180Z] Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2023-01-23T13:08:30.182Z] > git --version # timeout=10 [2023-01-23T13:08:30.213Z] > git --version # 'git version 2.25.1' [2023-01-23T13:08:30.215Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-23T13:08:30.281Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-23T13:08:32.376Z] > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 [2023-01-23T13:08:32.402Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-23T13:08:33.884Z] Merging remotes/origin/main commit 350dcbb98a3b589a77f3df68bd3874cc550526fa into PR head commit 2d980b1a77e2b063364e0bf620bf3d989fd76ae9 [2023-01-23T13:08:34.134Z] Merge succeeded, producing 2d980b1a77e2b063364e0bf620bf3d989fd76ae9 [2023-01-23T13:08:34.134Z] Checking out Revision 2d980b1a77e2b063364e0bf620bf3d989fd76ae9 (PR-138) [2023-01-23T13:08:33.282Z] > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 [2023-01-23T13:08:33.319Z] Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2023-01-23T13:08:33.319Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-23T13:08:33.335Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/138/head:refs/remotes/origin/PR-138 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-23T13:08:33.908Z] > git config core.sparsecheckout # timeout=10 [2023-01-23T13:08:33.928Z] > git checkout -f 2d980b1a77e2b063364e0bf620bf3d989fd76ae9 # timeout=10 [2023-01-23T13:08:34.032Z] > git remote # timeout=10 [2023-01-23T13:08:34.049Z] > git config --get remote.origin.url # timeout=10 [2023-01-23T13:08:34.074Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-23T13:08:34.089Z] > git merge 350dcbb98a3b589a77f3df68bd3874cc550526fa # timeout=10 [2023-01-23T13:08:34.119Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-23T13:08:34.143Z] > git config core.sparsecheckout # timeout=10 [2023-01-23T13:08:34.162Z] > git checkout -f 2d980b1a77e2b063364e0bf620bf3d989fd76ae9 # timeout=10 [2023-01-23T13:08:34.704Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-01-23T13:08:34.764Z] > git --version # timeout=10 [2023-01-23T13:08:34.776Z] > git --version # 'git version 2.25.1' [2023-01-23T13:08:34.792Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-23T13:08:35.931Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-23T13:08:35.932Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-23T13:08:35.932Z] Dload Upload Total Spent Left Speed [2023-01-23T13:08:35.932Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 180k 0 --:--:-- --:--:-- --:--:-- 180k [Pipeline] sh [2023-01-23T13:08:36.551Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-23T13:08:36.899Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-23T13:08:36.899Z] + sudo tee /etc/docker/daemon.new [2023-01-23T13:08:36.899Z] { [2023-01-23T13:08:36.899Z] "registry-mirrors": [ [2023-01-23T13:08:36.899Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-23T13:08:36.899Z] ], [2023-01-23T13:08:36.899Z] "bip": "10.250.0.254/24", [2023-01-23T13:08:36.899Z] "hosts": [ [2023-01-23T13:08:36.899Z] "tcp://0.0.0.0:5555", [2023-01-23T13:08:36.899Z] "unix:///var/run/docker.sock" [2023-01-23T13:08:36.900Z] ], [2023-01-23T13:08:36.900Z] "mtu": 1458, [2023-01-23T13:08:36.900Z] "selinux-enabled": true, [2023-01-23T13:08:36.900Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-23T13:08:36.900Z] } [Pipeline] sh [2023-01-23T13:08:37.257Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-23T13:08:37.613Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-23T13:08:55.939Z] provisioning config files... [2023-01-23T13:08:55.964Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/1@tmp/config7998801198224642660tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-23T13:08:56.351Z] ---> docker-login.sh [2023-01-23T13:08:56.352Z] nexus3.edgexfoundry.org:10001 [2023-01-23T13:08:56.934Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T13:08:56.934Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T13:08:56.934Z] Configure a credential helper to remove this warning. See [2023-01-23T13:08:56.934Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T13:08:56.934Z] [2023-01-23T13:08:56.934Z] Login Succeeded [2023-01-23T13:08:56.934Z] nexus3.edgexfoundry.org:10002 [2023-01-23T13:08:57.203Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T13:08:57.203Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T13:08:57.203Z] Configure a credential helper to remove this warning. See [2023-01-23T13:08:57.203Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T13:08:57.203Z] [2023-01-23T13:08:57.203Z] Login Succeeded [2023-01-23T13:08:57.203Z] nexus3.edgexfoundry.org:10003 [2023-01-23T13:08:57.469Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T13:08:57.735Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T13:08:57.735Z] Configure a credential helper to remove this warning. See [2023-01-23T13:08:57.735Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T13:08:57.735Z] [2023-01-23T13:08:57.735Z] Login Succeeded [2023-01-23T13:08:57.735Z] nexus3.edgexfoundry.org:10004 [2023-01-23T13:08:57.735Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T13:08:58.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T13:08:58.005Z] Configure a credential helper to remove this warning. See [2023-01-23T13:08:58.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T13:08:58.005Z] [2023-01-23T13:08:58.005Z] Login Succeeded [2023-01-23T13:08:58.005Z] docker.io [2023-01-23T13:08:58.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-23T13:08:58.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-23T13:08:58.538Z] Configure a credential helper to remove this warning. See [2023-01-23T13:08:58.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-23T13:08:58.538Z] [2023-01-23T13:08:58.538Z] Login Succeeded [2023-01-23T13:08:58.538Z] ---> docker-login.sh ends [Pipeline] } [2023-01-23T13:08:58.566Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-23T13:08:58.931Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-23T13:08:58.971Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-23T13:08:59.010Z] ========================================================= [2023-01-23T13:08:59.010Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-23T13:08:59.010Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T13:08:59.506Z] + 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-01-23T13:08:59.774Z] Sending build context to Docker daemon 683.5kB [2023-01-23T13:08:59.774Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-23T13:08:59.774Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-23T13:08:59.774Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-23T13:08:59.774Z] 9b18e9b68314: Pulling fs layer [2023-01-23T13:08:59.774Z] 35d82f9e3411: Pulling fs layer [2023-01-23T13:08:59.774Z] e16973657156: Pulling fs layer [2023-01-23T13:08:59.774Z] fc693d55d65f: Pulling fs layer [2023-01-23T13:08:59.774Z] 7e9fc2657dce: Pulling fs layer [2023-01-23T13:08:59.774Z] dda99020689f: Pulling fs layer [2023-01-23T13:08:59.774Z] db1c61fa0a46: Pulling fs layer [2023-01-23T13:08:59.774Z] 891c053d2c06: Pulling fs layer [2023-01-23T13:08:59.774Z] dda99020689f: Waiting [2023-01-23T13:08:59.774Z] db1c61fa0a46: Waiting [2023-01-23T13:08:59.774Z] fc693d55d65f: Waiting [2023-01-23T13:08:59.774Z] 7e9fc2657dce: Waiting [2023-01-23T13:08:59.774Z] 891c053d2c06: Waiting [2023-01-23T13:08:59.774Z] e16973657156: Verifying Checksum [2023-01-23T13:08:59.774Z] e16973657156: Download complete [2023-01-23T13:08:59.774Z] 35d82f9e3411: Verifying Checksum [2023-01-23T13:09:00.046Z] 35d82f9e3411: Download complete [2023-01-23T13:09:00.046Z] 7e9fc2657dce: Verifying Checksum [2023-01-23T13:09:00.046Z] 7e9fc2657dce: Download complete [2023-01-23T13:09:00.046Z] dda99020689f: Verifying Checksum [2023-01-23T13:09:00.046Z] dda99020689f: Download complete [2023-01-23T13:09:00.046Z] 9b18e9b68314: Verifying Checksum [2023-01-23T13:09:00.046Z] 9b18e9b68314: Download complete [2023-01-23T13:09:01.016Z] 9b18e9b68314: Pull complete [2023-01-23T13:09:01.016Z] 891c053d2c06: Verifying Checksum [2023-01-23T13:09:01.016Z] 891c053d2c06: Download complete [2023-01-23T13:09:01.612Z] 35d82f9e3411: Pull complete [2023-01-23T13:09:01.884Z] e16973657156: Pull complete [2023-01-23T13:09:02.471Z] db1c61fa0a46: Verifying Checksum [2023-01-23T13:09:02.471Z] db1c61fa0a46: Download complete [2023-01-23T13:09:02.741Z] fc693d55d65f: Verifying Checksum [2023-01-23T13:09:02.741Z] fc693d55d65f: Download complete [2023-01-23T13:09:15.062Z] fc693d55d65f: Pull complete [2023-01-23T13:09:15.062Z] 7e9fc2657dce: Pull complete [2023-01-23T13:09:15.062Z] dda99020689f: Pull complete [2023-01-23T13:09:20.476Z] db1c61fa0a46: Pull complete [2023-01-23T13:09:21.911Z] 891c053d2c06: Pull complete [2023-01-23T13:09:21.911Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-23T13:09:21.911Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-23T13:09:21.911Z] ---> f96f9c87975a [2023-01-23T13:09:21.911Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-01-23T13:09:23.868Z] ---> Running in 2537bae42552 [2023-01-23T13:09:23.868Z] Removing intermediate container 2537bae42552 [2023-01-23T13:09:23.868Z] ---> 70287db9ef5b [2023-01-23T13:09:23.868Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-23T13:09:23.868Z] ---> Running in 1e5de378e7b5 [2023-01-23T13:09:24.452Z] Removing intermediate container 1e5de378e7b5 [2023-01-23T13:09:24.452Z] ---> d3f08075a546 [2023-01-23T13:09:24.452Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-01-23T13:09:24.452Z] ---> Running in 70b3d18a4147 [2023-01-23T13:09:24.720Z] Removing intermediate container 70b3d18a4147 [2023-01-23T13:09:24.720Z] ---> 767256d3fa57 [2023-01-23T13:09:24.720Z] Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-23T13:09:24.720Z] ---> Running in 88a2cea65dde [2023-01-23T13:09:26.144Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-23T13:09:26.144Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-23T13:09:27.105Z] OK: 221 MiB in 51 packages [2023-01-23T13:09:28.069Z] Removing intermediate container 88a2cea65dde [2023-01-23T13:09:28.069Z] ---> c609c3d4bc67 [2023-01-23T13:09:28.069Z] Step 7/12 : WORKDIR /app [2023-01-23T13:09:28.069Z] ---> Running in ee896421c74c [2023-01-23T13:09:28.344Z] Removing intermediate container ee896421c74c [2023-01-23T13:09:28.344Z] ---> c253b4b92b7e [2023-01-23T13:09:28.344Z] Step 8/12 : COPY go.mod vendor* ./ [2023-01-23T13:09:28.929Z] ---> 7b2f2547ed31 [2023-01-23T13:09:28.929Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-23T13:09:28.929Z] ---> Running in 979cd29fe00f [2023-01-23T13:10:25.344Z] Removing intermediate container 979cd29fe00f [2023-01-23T13:10:25.344Z] ---> 1507692d1864 [2023-01-23T13:10:25.344Z] Step 10/12 : COPY . . [2023-01-23T13:10:25.344Z] ---> 36080daa1a6b [2023-01-23T13:10:25.344Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-23T13:10:25.344Z] ---> Running in 7334f32dc881 [2023-01-23T13:10:25.344Z] Removing intermediate container 7334f32dc881 [2023-01-23T13:10:25.344Z] ---> 40884eca6e26 [2023-01-23T13:10:25.344Z] Step 12/12 : RUN $MAKE [2023-01-23T13:10:25.344Z] ---> Running in 52f9cd778ab3 [2023-01-23T13:10:25.344Z] noop [2023-01-23T13:10:25.344Z] Removing intermediate container 52f9cd778ab3 [2023-01-23T13:10:25.344Z] ---> c6f505d8491a [2023-01-23T13:10:25.344Z] Successfully built c6f505d8491a [2023-01-23T13:10:25.344Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T13:10:25.826Z] + docker inspect -f . ci-base-image-arm64 [2023-01-23T13:10:25.827Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T13:10:26.086Z] prd-ubuntu20.04-docker-arm64-4c-16g-3357 does not seem to be running inside a container [2023-01-23T13:10:26.155Z] $ 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-01-23T13:10:27.322Z] $ docker top 533984c0c3da5e8f2d1ab1e37d8e3ffe2b3a4afbdb3b3b7d1efe01c70e78e87a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-23T13:10:28.204Z] + go version [2023-01-23T13:10:28.204Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-23T13:10:28.244Z] $ docker stop --time=1 533984c0c3da5e8f2d1ab1e37d8e3ffe2b3a4afbdb3b3b7d1efe01c70e78e87a [2023-01-23T13:10:29.827Z] $ docker rm -f --volumes 533984c0c3da5e8f2d1ab1e37d8e3ffe2b3a4afbdb3b3b7d1efe01c70e78e87a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T13:10:30.641Z] + docker inspect -f . ci-base-image-arm64 [2023-01-23T13:10:30.641Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T13:10:30.884Z] prd-ubuntu20.04-docker-arm64-4c-16g-3357 does not seem to be running inside a container [2023-01-23T13:10:30.952Z] $ 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-01-23T13:10:33.041Z] $ docker top 7a701df5cbf38d7981a697debb2379721957354b64b25e137718726d4bf10436 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-23T13:10:33.588Z] + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] fileExists [Pipeline] sh [2023-01-23T13:10:33.975Z] + make test [2023-01-23T13:10:33.975Z] go test -race ./... -coverprofile=coverage.out ./... [2023-01-23T13:11:55.581Z] # edgexfoundry/app-rfid-llrp-inventory/internal/llrp [2023-01-23T13:11:55.581Z] internal/llrp/device_service.go:105:91: cannot use "no" (untyped string constant) as bool value in argument to ds.cmdClient.IssueGetCommandByName [2023-01-23T13:11:55.581Z] internal/llrp/device_service.go:105:97: cannot use "yes" (untyped string constant) as bool value in argument to ds.cmdClient.IssueGetCommandByName [2023-01-23T13:11:55.581Z] internal/llrp/device_service.go:110:91: cannot use "no" (untyped string constant) as bool value in argument to ds.cmdClient.IssueGetCommandByName [2023-01-23T13:11:55.581Z] internal/llrp/device_service.go:110:97: cannot use "yes" (untyped string constant) as bool value in argument to ds.cmdClient.IssueGetCommandByName [2023-01-23T13:12:13.805Z] # github.com/edgexfoundry/go-mod-messaging/v3/clients [2023-01-23T13:12:13.805Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:89:9: cannot use client (variable of type *CommandClient) as type interfaces.CommandClient in return statement: [2023-01-23T13:12:13.805Z] *CommandClient does not implement interfaces.CommandClient (wrong type for IssueGetCommandByName method) [2023-01-23T13:12:13.805Z] have IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent string, dsReturnEvent string) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) [2023-01-23T13:12:13.805Z] want IssueGetCommandByName(ctx context.Context, deviceName string, commandName string, dsPushEvent bool, dsReturnEvent bool) (*responses.EventResponse, "github.com/edgexfoundry/go-mod-core-contracts/v3/errors".EdgeX) [2023-01-23T13:12:13.805Z] /go/pkg/mod/github.com/edgexfoundry/go-mod-messaging/v3@v3.0.0-dev.3/clients/command.go:210:35: undefined: common.ValueNo [2023-01-23T13:13:00.673Z] FAIL edgexfoundry/app-rfid-llrp-inventory/internal/inventory [build failed] [2023-01-23T13:13:00.673Z] FAIL edgexfoundry/app-rfid-llrp-inventory/internal/llrp [build failed] [2023-01-23T13:13:00.673Z] make: *** [Makefile:36: unittest] Error 2 [Pipeline] } [2023-01-23T13:13:00.717Z] $ docker stop --time=1 7a701df5cbf38d7981a697debb2379721957354b64b25e137718726d4bf10436 [2023-01-23T13:13:02.550Z] $ docker rm -f --volumes 7a701df5cbf38d7981a697debb2379721957354b64b25e137718726d4bf10436 [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-01-23T13:13:04.237Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-23T13:13:04.237Z] [2023-01-23T13:13:04.237Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T13:13:04.642Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-23T13:13:04.913Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-23T13:13:04.913Z] 8998bd30e6a1: Pulling fs layer [2023-01-23T13:13:04.913Z] 04944245beec: Pulling fs layer [2023-01-23T13:13:04.913Z] 699f458cf7ca: Pulling fs layer [2023-01-23T13:13:04.913Z] 765212b225bb: Pulling fs layer [2023-01-23T13:13:04.913Z] f23df028b6ca: Pulling fs layer [2023-01-23T13:13:04.913Z] d65c8cfc05b1: Pulling fs layer [2023-01-23T13:13:04.913Z] 2437ff75d9bd: Pulling fs layer [2023-01-23T13:13:04.913Z] 765212b225bb: Waiting [2023-01-23T13:13:04.913Z] f23df028b6ca: Waiting [2023-01-23T13:13:04.913Z] d65c8cfc05b1: Waiting [2023-01-23T13:13:04.913Z] 2437ff75d9bd: Waiting [2023-01-23T13:13:04.913Z] 04944245beec: Verifying Checksum [2023-01-23T13:13:04.913Z] 04944245beec: Download complete [2023-01-23T13:13:04.913Z] 765212b225bb: Verifying Checksum [2023-01-23T13:13:04.913Z] 765212b225bb: Download complete [2023-01-23T13:13:05.180Z] f23df028b6ca: Download complete [2023-01-23T13:13:05.181Z] d65c8cfc05b1: Verifying Checksum [2023-01-23T13:13:05.181Z] d65c8cfc05b1: Download complete [2023-01-23T13:13:05.181Z] 699f458cf7ca: Verifying Checksum [2023-01-23T13:13:05.181Z] 699f458cf7ca: Download complete [2023-01-23T13:13:05.767Z] 8998bd30e6a1: Verifying Checksum [2023-01-23T13:13:05.767Z] 8998bd30e6a1: Download complete [2023-01-23T13:13:08.365Z] 2437ff75d9bd: Verifying Checksum [2023-01-23T13:13:08.365Z] 2437ff75d9bd: Download complete [2023-01-23T13:13:10.954Z] 8998bd30e6a1: Pull complete [2023-01-23T13:13:10.954Z] 04944245beec: Pull complete [2023-01-23T13:13:12.357Z] 699f458cf7ca: Pull complete [2023-01-23T13:13:12.357Z] 765212b225bb: Pull complete [2023-01-23T13:13:13.320Z] f23df028b6ca: Pull complete [2023-01-23T13:13:13.587Z] d65c8cfc05b1: Pull complete [2023-01-23T13:13:31.804Z] 2437ff75d9bd: Pull complete [2023-01-23T13:13:31.804Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-23T13:13:31.804Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-23T13:13:31.804Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T13:13:32.167Z] prd-ubuntu20.04-docker-arm64-4c-16g-3357 does not seem to be running inside a container [2023-01-23T13:13:32.293Z] $ 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-01-23T13:13:34.370Z] $ docker top 227ec2f9c777b4424577ba31a1c077045212fd3a56ba0241c905020993830728 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-23T13:13:35.267Z] ---> job-cost.sh [2023-01-23T13:13:35.267Z] lf-activate-venv: SKIPPING [2023-01-23T13:13:35.267Z] INFO: No Stack... [2023-01-23T13:13:35.536Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-23T13:13:36.490Z] INFO: Archiving Costs [Pipeline] sh [2023-01-23T13:13:37.151Z] + cut -d, -f6 [2023-01-23T13:13:37.151Z] + cat /w/workspace/app-rfid-llrp-inventory/1/archives/cost.csv [Pipeline] lock [2023-01-23T13:13:37.229Z] Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-138-1-stack-cost] [2023-01-23T13:13:37.234Z] Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-138-1-stack-cost] did not exist. Created. [2023-01-23T13:13:37.234Z] Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-138-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-23T13:13:37.976Z] /w/workspace/app-rfid-llrp-inventory/1@tmp/durable-f263727f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-23T13:13:38.664Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-23T13:13:38.699Z] Warning: overwriting stash ‘stack-cost’ [2023-01-23T13:13:39.122Z] Stashed 1 file(s) [Pipeline] } [2023-01-23T13:13:39.137Z] Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-138-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-23T13:13:39.216Z] $ docker stop --time=1 227ec2f9c777b4424577ba31a1c077045212fd3a56ba0241c905020993830728 [2023-01-23T13:13:40.863Z] $ docker rm -f --volumes 227ec2f9c777b4424577ba31a1c077045212fd3a56ba0241c905020993830728 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-23T13:13:41.589Z] 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-01-23T13:13:43.484Z] + [ -d /w/workspace/y_app-rfid-llrp-inventory_PR-138/archives ] [2023-01-23T13:13:43.484Z] + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-138/archives [2023-01-23T13:13:43.484Z] total 16 [2023-01-23T13:13:43.484Z] drwxr-xr-x 3 root root 4096 Jan 23 13:07 . [2023-01-23T13:13:43.484Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 23 13:07 .. [2023-01-23T13:13:43.484Z] drwxr-xr-x 2 root root 4096 Jan 23 13:07 cost [2023-01-23T13:13:43.484Z] -rw-r--r-- 1 root root 95 Jan 23 13:07 cost.csv [2023-01-23T13:13:43.484Z] + sudo chown -R jenkins:jenkins /w/workspace/y_app-rfid-llrp-inventory_PR-138/archives [2023-01-23T13:13:43.484Z] + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-138/archives [2023-01-23T13:13:43.484Z] total 16 [2023-01-23T13:13:43.484Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 23 13:07 . [2023-01-23T13:13:43.484Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 23 13:07 .. [2023-01-23T13:13:43.484Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 23 13:07 cost [2023-01-23T13:13:43.484Z] -rw-r--r-- 1 jenkins jenkins 95 Jan 23 13:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-23T13:13:43.809Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-23T13:13:44.701Z] ---> package-listing.sh [2023-01-23T13:13:44.701Z] ++ facter osfamily [2023-01-23T13:13:44.701Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-23T13:13:44.959Z] + OS_FAMILY=debian [2023-01-23T13:13:44.959Z] + workspace=/w/workspace/y_app-rfid-llrp-inventory_PR-138 [2023-01-23T13:13:44.959Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-23T13:13:44.959Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-23T13:13:44.959Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-23T13:13:44.959Z] + PACKAGES=/tmp/packages_start.txt [2023-01-23T13:13:44.959Z] + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-138 ']' [2023-01-23T13:13:44.959Z] + PACKAGES=/tmp/packages_end.txt [2023-01-23T13:13:44.959Z] + case "${OS_FAMILY}" in [2023-01-23T13:13:44.959Z] + dpkg -l [2023-01-23T13:13:44.959Z] + grep '^ii' [2023-01-23T13:13:44.959Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-23T13:13:44.959Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-23T13:13:44.959Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-23T13:13:44.959Z] + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-138 ']' [2023-01-23T13:13:44.959Z] + mkdir -p /w/workspace/y_app-rfid-llrp-inventory_PR-138/archives/ [2023-01-23T13:13:44.959Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/y_app-rfid-llrp-inventory_PR-138/archives/ [Pipeline] echo [2023-01-23T13:13:44.995Z] 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-138/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-23T13:13:45.290Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-23T13:13:45.916Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-23T13:13:45.916Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-23T13:13:46.055Z] prd-ubuntu20.04-docker-8c-8g-3355 does not seem to be running inside a container [2023-01-23T13:13:46.096Z] $ 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-138/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-138 -v /w/workspace/y_app-rfid-llrp-inventory_PR-138:/w/workspace/y_app-rfid-llrp-inventory_PR-138:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-138@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-138@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-01-23T13:13:46.288Z] $ docker top 8062741f1646edc8cb69d4f24fdc6afe99dce8d28e102f61cf8e9fc07866e20a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-23T13:13:46.665Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-23T13:13:46.972Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-23T13:13:47.279Z] + ls /var/log/sa-host [2023-01-23T13:13:47.279Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-23T13:13:47.431Z] provisioning config files... [2023-01-23T13:13:47.440Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-138@tmp/config2734466641748372080tmp [Pipeline] { [Pipeline] echo [2023-01-23T13:13:47.492Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-23T13:13:47.798Z] ---> create-netrc.sh [Pipeline] } [2023-01-23T13:13:47.824Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-23T13:13:48.211Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-23T13:13:48.245Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-23T13:13:48.552Z] ---> sudo-logs.sh [2023-01-23T13:13:48.552Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-23T13:13:48.689Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-23T13:13:49.001Z] ---> job-cost.sh [2023-01-23T13:13:49.001Z] lf-activate-venv: SKIPPING [2023-01-23T13:13:49.001Z] DEBUG: total: 0.2199999988079071 [2023-01-23T13:13:49.001Z] INFO: Retrieving Stack Cost... [2023-01-23T13:13:49.260Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-23T13:13:49.826Z] INFO: Archiving Costs [Pipeline] echo [2023-01-23T13:13:49.865Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-23T13:13:50.174Z] ---> logs-deploy.sh [2023-01-23T13:13:50.174Z] lf-activate-venv: SKIPPING [2023-01-23T13:13:50.174Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-138/1 [2023-01-23T13:13:50.174Z] INFO: archiving workspace using pattern(s): [2023-01-23T13:13:51.551Z] Archives upload complete. [2023-01-23T13:13:51.551Z] INFO: archiving logs to Nexus