Pull request #133 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c2e1dbc5b841cfb10af4615d61eb16ef91369138+bbc8cea5256726f873dd73e5987e9fb16baf68a3 (13aaf44b1949ea3cbad2d22bb8fe8f130d2665bb) 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-ssh15801506600629767064.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-ssh5874157897673240808.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-133/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-133/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9061892744717479760.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-133/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12924667031764834437.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-ssh5178417723708752364.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-133/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-133/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3273657221595896939.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2576 in /w/workspace/y_app-rfid-llrp-inventory_PR-133 [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-133 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit bbc8cea5256726f873dd73e5987e9fb16baf68a3 into PR head commit c2e1dbc5b841cfb10af4615d61eb16ef91369138 Merge succeeded, producing c2e1dbc5b841cfb10af4615d61eb16ef91369138 Checking out Revision c2e1dbc5b841cfb10af4615d61eb16ef91369138 (PR-133) 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] { > 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/133/head:refs/remotes/origin/PR-133 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c2e1dbc5b841cfb10af4615d61eb16ef91369138 # 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 bbc8cea5256726f873dd73e5987e9fb16baf68a3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c2e1dbc5b841cfb10af4615d61eb16ef91369138 # timeout=10 [Pipeline] timeout [2023-01-16T13:05:32.696Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-16T13:05:32.869Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-16T13:05:32.966Z] ========================================================= [2023-01-16T13:05:32.966Z] EdgeX Global Pipelines Version Info [2023-01-16T13:05:32.966Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-16T13:05:33.758Z] ------------------- [2023-01-16T13:05:33.758Z] stable info: [2023-01-16T13:05:33.758Z] ------------------- [2023-01-16T13:05:33.758Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-16T13:05:33.758Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-16T13:05:33.758Z] Message: update stable to v1.0.244 [2023-01-16T13:05:34.333Z] ------------------- [2023-01-16T13:05:34.333Z] experimental info: [2023-01-16T13:05:34.333Z] ------------------- [2023-01-16T13:05:34.333Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-16T13:05:34.333Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-16T13:05:34.333Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-16T13:05:34.612Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = app-rfid-llrp-inventory-settings [Pipeline] echo [2023-01-16T13:05:34.656Z] [edgeXSetupEnvironment]: set envvar PROJECT = app-rfid-llrp-inventory [Pipeline] echo [2023-01-16T13:05:34.696Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-16T13:05:34.742Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-16T13:05:34.782Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-16T13:05:34.822Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-16T13:05:34.870Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-16T13:05:34.908Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-16T13:05:34.947Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-16T13:05:34.988Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-16T13:05:35.034Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-16T13:05:35.074Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = app-rfid-llrp-inventory [Pipeline] echo [2023-01-16T13:05:35.114Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-16T13:05:35.161Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-16T13:05:35.204Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-16T13:05:35.242Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-16T13:05:35.284Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-16T13:05:35.322Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-16T13:05:35.368Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-16T13:05:35.412Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-16T13:05:35.457Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-16T13:05:35.506Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-16T13:05:35.547Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-16T13:05:35.592Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-16T13:05:35.628Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-16T13:05:35.669Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-16T13:05:35.729Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-16T13:05:35.774Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-133 [Pipeline] echo [2023-01-16T13:05:35.813Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-133 [Pipeline] echo [2023-01-16T13:05:35.854Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-133 [Pipeline] echo [2023-01-16T13:05:35.893Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c2e1dbc5b841cfb10af4615d61eb16ef91369138 [Pipeline] echo [2023-01-16T13:05:35.932Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c2e1dbc [Pipeline] echo [2023-01-16T13:05:35.973Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-16T13:05:36.078Z] provisioning config files... [2023-01-16T13:05:36.094Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-133@tmp/config18093476527769637455tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-16T13:05:36.451Z] ---> docker-login.sh [2023-01-16T13:05:36.451Z] nexus3.edgexfoundry.org:10001 [2023-01-16T13:05:36.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T13:05:36.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T13:05:36.716Z] Configure a credential helper to remove this warning. See [2023-01-16T13:05:36.716Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T13:05:36.716Z] [2023-01-16T13:05:36.716Z] Login Succeeded [2023-01-16T13:05:36.716Z] nexus3.edgexfoundry.org:10002 [2023-01-16T13:05:36.716Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T13:05:36.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T13:05:36.716Z] Configure a credential helper to remove this warning. See [2023-01-16T13:05:36.717Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T13:05:36.717Z] [2023-01-16T13:05:36.977Z] Login Succeeded [2023-01-16T13:05:36.977Z] nexus3.edgexfoundry.org:10003 [2023-01-16T13:05:36.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T13:05:36.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T13:05:36.977Z] Configure a credential helper to remove this warning. See [2023-01-16T13:05:36.977Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T13:05:36.977Z] [2023-01-16T13:05:36.977Z] Login Succeeded [2023-01-16T13:05:36.977Z] nexus3.edgexfoundry.org:10004 [2023-01-16T13:05:36.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T13:05:36.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T13:05:36.977Z] Configure a credential helper to remove this warning. See [2023-01-16T13:05:36.977Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T13:05:36.977Z] [2023-01-16T13:05:36.977Z] Login Succeeded [2023-01-16T13:05:36.977Z] docker.io [2023-01-16T13:05:37.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T13:05:37.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T13:05:37.500Z] Configure a credential helper to remove this warning. See [2023-01-16T13:05:37.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T13:05:37.500Z] [2023-01-16T13:05:37.500Z] Login Succeeded [2023-01-16T13:05:37.500Z] ---> docker-login.sh ends [Pipeline] } [2023-01-16T13:05:37.528Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-16T13:05:38.164Z] + git rev-list -1 --merges c2e1dbc5b841cfb10af4615d61eb16ef91369138~1..c2e1dbc5b841cfb10af4615d61eb16ef91369138 [Pipeline] echo [2023-01-16T13:05:38.231Z] -----------> git rev-list -1 --merges c2e1dbc5b841cfb10af4615d61eb16ef91369138~1..c2e1dbc5b841cfb10af4615d61eb16ef91369138 c2e1dbc5b841cfb10af4615d61eb16ef91369138 [false] [Pipeline] sh [2023-01-16T13:05:38.547Z] + git log --format=format:%s -1 c2e1dbc5b841cfb10af4615d61eb16ef91369138 [Pipeline] echo [2023-01-16T13:05:38.592Z] ========================================================= [2023-01-16T13:05:38.592Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-16T13:05:38.592Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-16T13:05:39.010Z] + git log --format=format:%s -1 c2e1dbc5b841cfb10af4615d61eb16ef91369138 [Pipeline] echo [2023-01-16T13:05:39.042Z] [semverPrep] GIT_COMMIT: c2e1dbc5b841cfb10af4615d61eb16ef91369138, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-01-16T13:05:39.070Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-16T13:05:39.440Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-16T13:05:39.440Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-16T13:05:39.440Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-16T13:05:39.440Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-16T13:05:39.440Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-16T13:05:39.440Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-16T13:05:39.440Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T13:05:39.862Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-16T13:05:39.862Z] [2023-01-16T13:05:39.862Z] 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-16T13:05:40.243Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-16T13:05:40.243Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-16T13:05:40.243Z] b85a868b505f: Pulling fs layer [2023-01-16T13:05:40.243Z] e2be974225ed: Pulling fs layer [2023-01-16T13:05:40.243Z] 339a4e72a1f5: Pulling fs layer [2023-01-16T13:05:40.243Z] 988bab9f4d93: Pulling fs layer [2023-01-16T13:05:40.243Z] 1469e6f7b9e6: Pulling fs layer [2023-01-16T13:05:40.243Z] eaf3925da568: Pulling fs layer [2023-01-16T13:05:40.243Z] bab4dde63d76: Pulling fs layer [2023-01-16T13:05:40.243Z] bde34c3a00c8: Pulling fs layer [2023-01-16T13:05:40.243Z] b352a97aabf1: Pulling fs layer [2023-01-16T13:05:40.243Z] 4872d77fe225: Pulling fs layer [2023-01-16T13:05:40.243Z] 5851b861e8e6: Pulling fs layer [2023-01-16T13:05:40.243Z] 988bab9f4d93: Waiting [2023-01-16T13:05:40.243Z] bde34c3a00c8: Waiting [2023-01-16T13:05:40.243Z] b352a97aabf1: Waiting [2023-01-16T13:05:40.243Z] 4872d77fe225: Waiting [2023-01-16T13:05:40.243Z] 1469e6f7b9e6: Waiting [2023-01-16T13:05:40.243Z] eaf3925da568: Waiting [2023-01-16T13:05:40.243Z] bab4dde63d76: Waiting [2023-01-16T13:05:40.243Z] 5851b861e8e6: Waiting [2023-01-16T13:05:40.243Z] e2be974225ed: Download complete [2023-01-16T13:05:40.243Z] 988bab9f4d93: Verifying Checksum [2023-01-16T13:05:40.243Z] 988bab9f4d93: Download complete [2023-01-16T13:05:40.504Z] 1469e6f7b9e6: Verifying Checksum [2023-01-16T13:05:40.504Z] 1469e6f7b9e6: Download complete [2023-01-16T13:05:40.504Z] eaf3925da568: Download complete [2023-01-16T13:05:40.765Z] 339a4e72a1f5: Verifying Checksum [2023-01-16T13:05:40.765Z] 339a4e72a1f5: Download complete [2023-01-16T13:05:40.765Z] bde34c3a00c8: Download complete [2023-01-16T13:05:40.765Z] b352a97aabf1: Download complete [2023-01-16T13:05:40.765Z] 4872d77fe225: Verifying Checksum [2023-01-16T13:05:40.765Z] 4872d77fe225: Download complete [2023-01-16T13:05:40.765Z] 5851b861e8e6: Verifying Checksum [2023-01-16T13:05:40.765Z] 5851b861e8e6: Download complete [2023-01-16T13:05:41.333Z] b85a868b505f: Verifying Checksum [2023-01-16T13:05:41.333Z] b85a868b505f: Download complete [2023-01-16T13:05:41.592Z] bab4dde63d76: Verifying Checksum [2023-01-16T13:05:41.592Z] bab4dde63d76: Download complete [2023-01-16T13:05:42.530Z] b85a868b505f: Pull complete [2023-01-16T13:05:42.789Z] e2be974225ed: Pull complete [2023-01-16T13:05:43.070Z] 339a4e72a1f5: Pull complete [2023-01-16T13:05:43.334Z] 988bab9f4d93: Pull complete [2023-01-16T13:05:43.334Z] 1469e6f7b9e6: Pull complete [2023-01-16T13:05:43.599Z] eaf3925da568: Pull complete [2023-01-16T13:05:45.509Z] bab4dde63d76: Pull complete [2023-01-16T13:05:45.509Z] bde34c3a00c8: Pull complete [2023-01-16T13:05:45.509Z] b352a97aabf1: Pull complete [2023-01-16T13:05:45.509Z] 4872d77fe225: Pull complete [2023-01-16T13:05:45.509Z] 5851b861e8e6: Pull complete [2023-01-16T13:05:45.509Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-16T13:05:45.509Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-16T13:05:45.509Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T13:05:45.749Z] prd-ubuntu20.04-docker-8c-8g-2576 does not seem to be running inside a container [2023-01-16T13:05:45.786Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/y_app-rfid-llrp-inventory_PR-133 -v /w/workspace/y_app-rfid-llrp-inventory_PR-133:/w/workspace/y_app-rfid-llrp-inventory_PR-133:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-133@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-133@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-16T13:05:49.432Z] $ docker top 2bc6790fe4b77f302f0f006e16a6dbd0b166d2ffbe6565af808699327ee21765 -eo pid,comm [2023-01-16T13:05:49.489Z] 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-16T13:05:49.489Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-16T13:05:49.621Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-16T13:05:49.621Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-16T13:05:49.735Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-16T13:05:49.740Z] $ docker exec 2bc6790fe4b77f302f0f006e16a6dbd0b166d2ffbe6565af808699327ee21765 ssh-agent [2023-01-16T13:05:49.844Z] SSH_AUTH_SOCK=/tmp/ssh-k0XmY4LiVUKa/agent.30 [2023-01-16T13:05:49.844Z] SSH_AGENT_PID=36 [2023-01-16T13:05:49.852Z] Running ssh-add (command line suppressed) [2023-01-16T13:05:49.962Z] Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-133@tmp/private_key_158466163175532221.key (/w/workspace/y_app-rfid-llrp-inventory_PR-133@tmp/private_key_158466163175532221.key) [2023-01-16T13:05:49.972Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-16T13:05:50.298Z] + git tag --points-at HEAD [Pipeline] } [2023-01-16T13:05:50.328Z] $ docker exec --env ******** --env ******** 2bc6790fe4b77f302f0f006e16a6dbd0b166d2ffbe6565af808699327ee21765 ssh-agent -k [2023-01-16T13:05:50.432Z] unset SSH_AUTH_SOCK; [2023-01-16T13:05:50.433Z] unset SSH_AGENT_PID; [2023-01-16T13:05:50.433Z] echo Agent pid 36 killed; [2023-01-16T13:05:50.439Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-16T13:05:50.527Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-16T13:05:50.527Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-16T13:05:50.628Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-16T13:05:50.634Z] $ docker exec 2bc6790fe4b77f302f0f006e16a6dbd0b166d2ffbe6565af808699327ee21765 ssh-agent [2023-01-16T13:05:50.740Z] SSH_AUTH_SOCK=/tmp/ssh-mfcQh907wDnm/agent.69 [2023-01-16T13:05:50.740Z] SSH_AGENT_PID=75 [2023-01-16T13:05:50.745Z] Running ssh-add (command line suppressed) [2023-01-16T13:05:50.843Z] Identity added: /w/workspace/y_app-rfid-llrp-inventory_PR-133@tmp/private_key_18337770411741815696.key (/w/workspace/y_app-rfid-llrp-inventory_PR-133@tmp/private_key_18337770411741815696.key) [2023-01-16T13:05:50.855Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-16T13:05:51.189Z] + git semver init [2023-01-16T13:05:51.450Z] 2023-01-16 13:05:51,366 [run_init] DEBUG init version:0.0.0 force:False [2023-01-16T13:05:51.450Z] 2023-01-16 13:05:51,367 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/y_app-rfid-llrp-inventory_PR-133/.semver [2023-01-16T13:05:51.450Z] 2023-01-16 13:05:51,368 [execute] INFO git clone -b semver git@github.com:edgexfoundry/app-rfid-llrp-inventory.git /w/workspace/y_app-rfid-llrp-inventory_PR-133/.semver [2023-01-16T13:05:51.450Z] 2023-01-16 13:05:51,368 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/app-rfid-llrp-inventory.git', '/w/workspace/y_app-rfid-llrp-inventory_PR-133/.semver'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-133, universal_newlines=False, shell=None, istream=None) [2023-01-16T13:05:52.829Z] 2023-01-16 13:05:52,560 [append_file] DEBUG append to file:/w/workspace/y_app-rfid-llrp-inventory_PR-133/.git/info/exclude [2023-01-16T13:05:52.829Z] 2023-01-16 13:05:52,560 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/y_app-rfid-llrp-inventory_PR-133/.semver/PR-133 with force:False [2023-01-16T13:05:52.829Z] 2023-01-16 13:05:52,560 [write_file] DEBUG write to file:/w/workspace/y_app-rfid-llrp-inventory_PR-133/.semver/PR-133 [2023-01-16T13:05:52.829Z] 2023-01-16 13:05:52,563 [execute] INFO git cat-file --batch-check [2023-01-16T13:05:52.829Z] 2023-01-16 13:05:52,563 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-133/.semver, universal_newlines=False, shell=None, istream=) [2023-01-16T13:05:52.829Z] 2023-01-16 13:05:52,570 [execute] INFO git cat-file --batch [2023-01-16T13:05:52.829Z] 2023-01-16 13:05:52,570 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/y_app-rfid-llrp-inventory_PR-133/.semver, universal_newlines=False, shell=None, istream=) [2023-01-16T13:05:52.829Z] 2023-01-16 13:05:52,575 [read_version] DEBUG read version from /w/workspace/y_app-rfid-llrp-inventory_PR-133/.semver/PR-133 [2023-01-16T13:05:52.829Z] 0.0.0 [Pipeline] } [2023-01-16T13:05:52.859Z] $ docker exec --env ******** --env ******** 2bc6790fe4b77f302f0f006e16a6dbd0b166d2ffbe6565af808699327ee21765 ssh-agent -k [2023-01-16T13:05:52.955Z] unset SSH_AUTH_SOCK; [2023-01-16T13:05:52.955Z] unset SSH_AGENT_PID; [2023-01-16T13:05:52.956Z] echo Agent pid 75 killed; [2023-01-16T13:05:52.969Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-16T13:05:53.400Z] + git semver [Pipeline] } [2023-01-16T13:05:53.688Z] $ docker stop --time=1 2bc6790fe4b77f302f0f006e16a6dbd0b166d2ffbe6565af808699327ee21765 [2023-01-16T13:05:54.992Z] $ docker rm -f --volumes 2bc6790fe4b77f302f0f006e16a6dbd0b166d2ffbe6565af808699327ee21765 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-16T13:05:55.395Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-16T13:05:55.659Z] Stashed 1 file(s) [Pipeline] echo [2023-01-16T13:05:55.676Z] [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-16T13:05:56.263Z] provisioning config files... [2023-01-16T13:05:56.273Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-133@tmp/config5294335393928940084tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-16T13:05:56.615Z] ---> docker-login.sh [2023-01-16T13:05:56.615Z] nexus3.edgexfoundry.org:10001 [2023-01-16T13:05:56.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T13:05:56.615Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T13:05:56.615Z] Configure a credential helper to remove this warning. See [2023-01-16T13:05:56.616Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T13:05:56.616Z] [2023-01-16T13:05:56.616Z] Login Succeeded [2023-01-16T13:05:56.616Z] nexus3.edgexfoundry.org:10002 [2023-01-16T13:05:56.616Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T13:05:56.616Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T13:05:56.616Z] Configure a credential helper to remove this warning. See [2023-01-16T13:05:56.616Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T13:05:56.616Z] [2023-01-16T13:05:56.616Z] Login Succeeded [2023-01-16T13:05:56.616Z] nexus3.edgexfoundry.org:10003 [2023-01-16T13:05:56.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T13:05:56.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T13:05:56.876Z] Configure a credential helper to remove this warning. See [2023-01-16T13:05:56.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T13:05:56.876Z] [2023-01-16T13:05:56.876Z] Login Succeeded [2023-01-16T13:05:56.876Z] nexus3.edgexfoundry.org:10004 [2023-01-16T13:05:56.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T13:05:56.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T13:05:56.876Z] Configure a credential helper to remove this warning. See [2023-01-16T13:05:56.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T13:05:56.876Z] [2023-01-16T13:05:56.876Z] Login Succeeded [2023-01-16T13:05:56.876Z] docker.io [2023-01-16T13:05:57.135Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T13:05:57.135Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T13:05:57.135Z] Configure a credential helper to remove this warning. See [2023-01-16T13:05:57.135Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T13:05:57.135Z] [2023-01-16T13:05:57.135Z] Login Succeeded [2023-01-16T13:05:57.135Z] ---> docker-login.sh ends [Pipeline] } [2023-01-16T13:05:57.229Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-16T13:05:57.442Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-16T13:05:57.478Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-16T13:05:57.511Z] ========================================================= [2023-01-16T13:05:57.511Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-16T13:05:57.511Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T13:05:58.003Z] + 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-16T13:05:58.003Z] Sending build context to Docker daemon 12.56MB [2023-01-16T13:05:58.003Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-16T13:05:58.003Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-16T13:05:58.268Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-16T13:05:58.268Z] 213ec9aee27d: Pulling fs layer [2023-01-16T13:05:58.268Z] 4583459ba037: Pulling fs layer [2023-01-16T13:05:58.268Z] 93c1e223e6f2: Pulling fs layer [2023-01-16T13:05:58.268Z] 53926ce57604: Pulling fs layer [2023-01-16T13:05:58.268Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-16T13:05:58.268Z] 22ff95d597cd: Pulling fs layer [2023-01-16T13:05:58.268Z] 12d6caf4c0d1: Pulling fs layer [2023-01-16T13:05:58.268Z] 96b7cbca73a9: Pulling fs layer [2023-01-16T13:05:58.268Z] a7acece74701: Pulling fs layer [2023-01-16T13:05:58.268Z] 53926ce57604: Waiting [2023-01-16T13:05:58.268Z] 22ff95d597cd: Waiting [2023-01-16T13:05:58.268Z] 12d6caf4c0d1: Waiting [2023-01-16T13:05:58.268Z] 96b7cbca73a9: Waiting [2023-01-16T13:05:58.268Z] a7acece74701: Waiting [2023-01-16T13:05:58.268Z] 21b2b0c7a3f4: Waiting [2023-01-16T13:05:58.268Z] 93c1e223e6f2: Verifying Checksum [2023-01-16T13:05:58.268Z] 93c1e223e6f2: Download complete [2023-01-16T13:05:58.268Z] 4583459ba037: Verifying Checksum [2023-01-16T13:05:58.268Z] 4583459ba037: Download complete [2023-01-16T13:05:58.268Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-16T13:05:58.268Z] 21b2b0c7a3f4: Download complete [2023-01-16T13:05:58.268Z] 22ff95d597cd: Verifying Checksum [2023-01-16T13:05:58.268Z] 22ff95d597cd: Download complete [2023-01-16T13:05:58.268Z] 213ec9aee27d: Verifying Checksum [2023-01-16T13:05:58.268Z] 213ec9aee27d: Download complete [2023-01-16T13:05:58.268Z] 12d6caf4c0d1: Verifying Checksum [2023-01-16T13:05:58.268Z] 12d6caf4c0d1: Download complete [2023-01-16T13:05:58.528Z] 213ec9aee27d: Pull complete [2023-01-16T13:05:58.528Z] 4583459ba037: Pull complete [2023-01-16T13:05:58.805Z] 93c1e223e6f2: Pull complete [2023-01-16T13:06:00.211Z] a7acece74701: Verifying Checksum [2023-01-16T13:06:00.211Z] a7acece74701: Download complete [2023-01-16T13:06:01.201Z] 96b7cbca73a9: Verifying Checksum [2023-01-16T13:06:01.201Z] 96b7cbca73a9: Download complete [2023-01-16T13:06:01.771Z] 53926ce57604: Verifying Checksum [2023-01-16T13:06:01.771Z] 53926ce57604: Download complete [2023-01-16T13:06:05.959Z] 53926ce57604: Pull complete [2023-01-16T13:06:05.959Z] 21b2b0c7a3f4: Pull complete [2023-01-16T13:06:05.959Z] 22ff95d597cd: Pull complete [2023-01-16T13:06:05.959Z] 12d6caf4c0d1: Pull complete [2023-01-16T13:06:07.334Z] 96b7cbca73a9: Pull complete [2023-01-16T13:06:08.270Z] a7acece74701: Pull complete [2023-01-16T13:06:08.270Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-16T13:06:08.270Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-16T13:06:08.270Z] ---> db6d94c90886 [2023-01-16T13:06:08.270Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-01-16T13:06:11.097Z] Still waiting to schedule task [2023-01-16T13:06:11.098Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-2577’ is offline [2023-01-16T13:06:14.947Z] ---> Running in 125e53be955a [2023-01-16T13:06:14.947Z] Removing intermediate container 125e53be955a [2023-01-16T13:06:14.947Z] ---> 1376fea64a61 [2023-01-16T13:06:14.947Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-16T13:06:14.947Z] ---> Running in b73ff2a376ea [2023-01-16T13:06:14.947Z] Removing intermediate container b73ff2a376ea [2023-01-16T13:06:14.947Z] ---> 2f2830accc57 [2023-01-16T13:06:14.947Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-01-16T13:06:14.947Z] ---> Running in 837dd05e6830 [2023-01-16T13:06:14.947Z] Removing intermediate container 837dd05e6830 [2023-01-16T13:06:14.947Z] ---> c567cc79d320 [2023-01-16T13:06:14.947Z] Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-16T13:06:14.947Z] ---> Running in bb4d3448d820 [2023-01-16T13:06:14.947Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-16T13:06:14.947Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-16T13:06:14.947Z] OK: 211 MiB in 51 packages [2023-01-16T13:06:15.206Z] Removing intermediate container bb4d3448d820 [2023-01-16T13:06:15.206Z] ---> 2975c5c42c48 [2023-01-16T13:06:15.206Z] Step 7/12 : WORKDIR /app [2023-01-16T13:06:15.206Z] ---> Running in fff9ebb24e1f [2023-01-16T13:06:15.206Z] Removing intermediate container fff9ebb24e1f [2023-01-16T13:06:15.206Z] ---> c36edbb329d1 [2023-01-16T13:06:15.206Z] Step 8/12 : COPY go.mod vendor* ./ [2023-01-16T13:06:15.206Z] ---> 8c805693b280 [2023-01-16T13:06:15.206Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-16T13:06:15.468Z] ---> Running in b530ca9f5470 [2023-01-16T13:06:42.271Z] Removing intermediate container b530ca9f5470 [2023-01-16T13:06:42.271Z] ---> 621ff1d50eed [2023-01-16T13:06:42.271Z] Step 10/12 : COPY . . [2023-01-16T13:06:42.271Z] ---> a28bbe3f55ee [2023-01-16T13:06:42.271Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-16T13:06:42.271Z] ---> Running in 4065370fe2bc [2023-01-16T13:06:42.271Z] Removing intermediate container 4065370fe2bc [2023-01-16T13:06:42.271Z] ---> 4c0df18bf7d7 [2023-01-16T13:06:42.271Z] Step 12/12 : RUN $MAKE [2023-01-16T13:06:42.271Z] ---> Running in cb67b8198e2f [2023-01-16T13:06:42.271Z] noop [2023-01-16T13:06:42.271Z] Removing intermediate container cb67b8198e2f [2023-01-16T13:06:42.271Z] ---> 2d5aeacaa81e [2023-01-16T13:06:42.271Z] Successfully built 2d5aeacaa81e [2023-01-16T13:06:42.271Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T13:06:42.728Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-16T13:06:42.728Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T13:06:42.878Z] prd-ubuntu20.04-docker-8c-8g-2576 does not seem to be running inside a container [2023-01-16T13:06:42.910Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/y_app-rfid-llrp-inventory_PR-133 -v /w/workspace/y_app-rfid-llrp-inventory_PR-133:/w/workspace/y_app-rfid-llrp-inventory_PR-133:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-133@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-133@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-16T13:06:43.257Z] $ docker top 019ab4dd3dec0476c71c2595bb26c34d040d81249ee72d6dd8fee502b9399188 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-16T13:06:43.647Z] + go version [2023-01-16T13:06:43.647Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-16T13:06:43.679Z] $ docker stop --time=1 019ab4dd3dec0476c71c2595bb26c34d040d81249ee72d6dd8fee502b9399188 [2023-01-16T13:06:44.979Z] $ docker rm -f --volumes 019ab4dd3dec0476c71c2595bb26c34d040d81249ee72d6dd8fee502b9399188 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T13:06:45.727Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-16T13:06:45.727Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T13:06:45.881Z] prd-ubuntu20.04-docker-8c-8g-2576 does not seem to be running inside a container [2023-01-16T13:06:45.914Z] $ 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-133 -v /w/workspace/y_app-rfid-llrp-inventory_PR-133:/w/workspace/y_app-rfid-llrp-inventory_PR-133:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-133@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-133@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-16T13:06:46.264Z] $ docker top 1963f74190f5216ab3f78c12f5970740cba9e6bbee7e4f082dd24fa87d9c2e09 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-16T13:06:46.662Z] + git config --global --add safe.directory /w/workspace/y_app-rfid-llrp-inventory_PR-133 [Pipeline] fileExists [Pipeline] sh [2023-01-16T13:06:47.021Z] + make test [2023-01-16T13:06:47.021Z] go test -race ./... -coverprofile=coverage.out ./... [2023-01-16T13:07:05.114Z] # edgexfoundry/app-rfid-llrp-inventory/internal/llrp [2023-01-16T13:07:05.114Z] internal/llrp/device_service.go:105:91: cannot use "no" (untyped string constant) as bool value in argument to ds.cmdClient.IssueGetCommandByName [2023-01-16T13:07:05.114Z] internal/llrp/device_service.go:105:97: cannot use "yes" (untyped string constant) as bool value in argument to ds.cmdClient.IssueGetCommandByName [2023-01-16T13:07:05.114Z] internal/llrp/device_service.go:110:91: cannot use "no" (untyped string constant) as bool value in argument to ds.cmdClient.IssueGetCommandByName [2023-01-16T13:07:05.114Z] internal/llrp/device_service.go:110:97: cannot use "yes" (untyped string constant) as bool value in argument to ds.cmdClient.IssueGetCommandByName [2023-01-16T13:07:05.114Z] # github.com/edgexfoundry/go-mod-messaging/v3/clients [2023-01-16T13:07:05.114Z] /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-16T13:07:05.114Z] *CommandClient does not implement interfaces.CommandClient (wrong type for IssueGetCommandByName method) [2023-01-16T13:07:05.114Z] 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-16T13:07:05.114Z] 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-16T13:07:05.114Z] /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-16T13:07:06.488Z] FAIL edgexfoundry/app-rfid-llrp-inventory/internal/inventory [build failed] [2023-01-16T13:07:06.488Z] FAIL edgexfoundry/app-rfid-llrp-inventory/internal/llrp [build failed] [2023-01-16T13:07:06.746Z] make: *** [Makefile:36: unittest] Error 2 [Pipeline] } [2023-01-16T13:07:06.796Z] $ docker stop --time=1 1963f74190f5216ab3f78c12f5970740cba9e6bbee7e4f082dd24fa87d9c2e09 [2023-01-16T13:07:09.710Z] $ docker rm -f --volumes 1963f74190f5216ab3f78c12f5970740cba9e6bbee7e4f082dd24fa87d9c2e09 [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-16T13:07:10.913Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-16T13:07:10.913Z] [2023-01-16T13:07:10.913Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T13:07:11.293Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-16T13:07:11.293Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-16T13:07:11.293Z] 5eb5b503b376: Pulling fs layer [2023-01-16T13:07:11.293Z] 5c69ac0246d0: Pulling fs layer [2023-01-16T13:07:11.293Z] ec43610c2a17: Pulling fs layer [2023-01-16T13:07:11.293Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-16T13:07:11.293Z] 33b1e0a273af: Pulling fs layer [2023-01-16T13:07:11.293Z] 5d3b04190fa2: Pulling fs layer [2023-01-16T13:07:11.293Z] 2f39f015ded8: Pulling fs layer [2023-01-16T13:07:11.293Z] 33b1e0a273af: Waiting [2023-01-16T13:07:11.293Z] 5d3b04190fa2: Waiting [2023-01-16T13:07:11.293Z] 2f39f015ded8: Waiting [2023-01-16T13:07:11.293Z] 3a2ae6a8a46f: Waiting [2023-01-16T13:07:11.293Z] 5c69ac0246d0: Verifying Checksum [2023-01-16T13:07:11.293Z] 5c69ac0246d0: Download complete [2023-01-16T13:07:11.293Z] 3a2ae6a8a46f: Download complete [2023-01-16T13:07:11.584Z] 33b1e0a273af: Verifying Checksum [2023-01-16T13:07:11.584Z] 33b1e0a273af: Download complete [2023-01-16T13:07:11.584Z] 5d3b04190fa2: Verifying Checksum [2023-01-16T13:07:11.584Z] 5d3b04190fa2: Download complete [2023-01-16T13:07:11.860Z] ec43610c2a17: Verifying Checksum [2023-01-16T13:07:11.860Z] ec43610c2a17: Download complete [2023-01-16T13:07:12.150Z] 5eb5b503b376: Download complete [2023-01-16T13:07:13.621Z] 5eb5b503b376: Pull complete [2023-01-16T13:07:13.621Z] 5c69ac0246d0: Pull complete [2023-01-16T13:07:13.621Z] 2f39f015ded8: Download complete [2023-01-16T13:07:13.879Z] ec43610c2a17: Pull complete [2023-01-16T13:07:14.138Z] 3a2ae6a8a46f: Pull complete [2023-01-16T13:07:14.138Z] 33b1e0a273af: Pull complete [2023-01-16T13:07:14.397Z] 5d3b04190fa2: Pull complete [2023-01-16T13:07:18.583Z] 2f39f015ded8: Pull complete [2023-01-16T13:07:18.583Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-16T13:07:18.583Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-16T13:07:18.583Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T13:07:18.814Z] prd-ubuntu20.04-docker-8c-8g-2576 does not seem to be running inside a container [2023-01-16T13:07:18.846Z] $ 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-133 -v /w/workspace/y_app-rfid-llrp-inventory_PR-133:/w/workspace/y_app-rfid-llrp-inventory_PR-133:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-133@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-133@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-16T13:07:22.187Z] $ docker top d6cb5b1f446ccd63582122562dc07a66b0bd873cc0e46bce00c460f4fd7512f5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-16T13:07:22.645Z] ---> job-cost.sh [2023-01-16T13:07:22.645Z] lf-activate-venv: SKIPPING [2023-01-16T13:07:22.645Z] INFO: No Stack... [2023-01-16T13:07:22.904Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-16T13:07:23.165Z] INFO: Archiving Costs [Pipeline] sh [2023-01-16T13:07:23.486Z] + cat /w/workspace/y_app-rfid-llrp-inventory_PR-133/archives/cost.csv [2023-01-16T13:07:23.486Z] + cut -d, -f6 [Pipeline] lock [2023-01-16T13:07:23.534Z] Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-133-1-stack-cost] [2023-01-16T13:07:23.540Z] Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-133-1-stack-cost] did not exist. Created. [2023-01-16T13:07:23.540Z] Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-133-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-16T13:07:23.935Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-16T13:07:23.993Z] Stashed 1 file(s) [Pipeline] } [2023-01-16T13:07:24.018Z] Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-133-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-16T13:07:24.093Z] $ docker stop --time=1 d6cb5b1f446ccd63582122562dc07a66b0bd873cc0e46bce00c460f4fd7512f5 [2023-01-16T13:07:25.257Z] $ docker rm -f --volumes d6cb5b1f446ccd63582122562dc07a66b0bd873cc0e46bce00c460f4fd7512f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-16T13:07:25.634Z] Failed in branch amd64 [2023-01-16T13:08:17.264Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2578 in /w/workspace/y_app-rfid-llrp-inventory_PR-133 [Pipeline] { [Pipeline] ws [2023-01-16T13:08:17.332Z] Running in /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] { [Pipeline] checkout [2023-01-16T13:08:17.408Z] The recommended git tool is: git [2023-01-16T13:08:22.402Z] using credential edgex-jenkins-ssh [2023-01-16T13:08:22.420Z] Cloning the remote Git repository [2023-01-16T13:08:22.469Z] Cloning repository git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2023-01-16T13:08:22.548Z] > git init /w/workspace/app-rfid-llrp-inventory/1 # timeout=10 [2023-01-16T13:08:22.711Z] Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2023-01-16T13:08:22.713Z] > git --version # timeout=10 [2023-01-16T13:08:22.739Z] > git --version # 'git version 2.25.1' [2023-01-16T13:08:22.741Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-16T13:08:22.801Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-16T13:08:25.425Z] > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 [2023-01-16T13:08:25.463Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-16T13:08:26.815Z] Merging remotes/origin/main commit bbc8cea5256726f873dd73e5987e9fb16baf68a3 into PR head commit c2e1dbc5b841cfb10af4615d61eb16ef91369138 [2023-01-16T13:08:27.030Z] Merge succeeded, producing c2e1dbc5b841cfb10af4615d61eb16ef91369138 [2023-01-16T13:08:27.031Z] Checking out Revision c2e1dbc5b841cfb10af4615d61eb16ef91369138 (PR-133) [2023-01-16T13:08:27.504Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-01-16T13:08:26.245Z] > git config remote.origin.url git@github.com:edgexfoundry/app-rfid-llrp-inventory.git # timeout=10 [2023-01-16T13:08:26.281Z] Fetching upstream changes from git@github.com:edgexfoundry/app-rfid-llrp-inventory.git [2023-01-16T13:08:26.281Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-16T13:08:26.297Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/app-rfid-llrp-inventory.git +refs/pull/133/head:refs/remotes/origin/PR-133 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-16T13:08:26.834Z] > git config core.sparsecheckout # timeout=10 [2023-01-16T13:08:26.848Z] > git checkout -f c2e1dbc5b841cfb10af4615d61eb16ef91369138 # timeout=10 [2023-01-16T13:08:26.943Z] > git remote # timeout=10 [2023-01-16T13:08:26.960Z] > git config --get remote.origin.url # timeout=10 [2023-01-16T13:08:26.976Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-16T13:08:26.993Z] > git merge bbc8cea5256726f873dd73e5987e9fb16baf68a3 # timeout=10 [2023-01-16T13:08:27.018Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-16T13:08:27.040Z] > git config core.sparsecheckout # timeout=10 [2023-01-16T13:08:27.058Z] > git checkout -f c2e1dbc5b841cfb10af4615d61eb16ef91369138 # timeout=10 [2023-01-16T13:08:27.562Z] > git --version # timeout=10 [2023-01-16T13:08:27.573Z] > git --version # 'git version 2.25.1' [2023-01-16T13:08:27.594Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-16T13:08:28.955Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-16T13:08:28.955Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-16T13:08:28.955Z] Dload Upload Total Spent Left Speed [2023-01-16T13:08:28.955Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 222k 0 --:--:-- --:--:-- --:--:-- 226k [Pipeline] sh [2023-01-16T13:08:29.527Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-16T13:08:29.873Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-16T13:08:29.873Z] + sudo tee /etc/docker/daemon.new [2023-01-16T13:08:29.873Z] { [2023-01-16T13:08:29.873Z] "registry-mirrors": [ [2023-01-16T13:08:29.873Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-16T13:08:29.873Z] ], [2023-01-16T13:08:29.873Z] "bip": "10.250.0.254/24", [2023-01-16T13:08:29.873Z] "hosts": [ [2023-01-16T13:08:29.873Z] "tcp://0.0.0.0:5555", [2023-01-16T13:08:29.873Z] "unix:///var/run/docker.sock" [2023-01-16T13:08:29.873Z] ], [2023-01-16T13:08:29.873Z] "mtu": 1458, [2023-01-16T13:08:29.873Z] "selinux-enabled": true, [2023-01-16T13:08:29.873Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-16T13:08:29.873Z] } [Pipeline] sh [2023-01-16T13:08:30.220Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-16T13:08:30.562Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-16T13:08:48.875Z] provisioning config files... [2023-01-16T13:08:48.903Z] copy managed file [app-rfid-llrp-inventory-settings] to file:/w/workspace/app-rfid-llrp-inventory/1@tmp/config8899207453391315466tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-16T13:08:49.294Z] ---> docker-login.sh [2023-01-16T13:08:49.294Z] nexus3.edgexfoundry.org:10001 [2023-01-16T13:08:49.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T13:08:49.830Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T13:08:49.830Z] Configure a credential helper to remove this warning. See [2023-01-16T13:08:49.830Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T13:08:49.830Z] [2023-01-16T13:08:49.830Z] Login Succeeded [2023-01-16T13:08:49.830Z] nexus3.edgexfoundry.org:10002 [2023-01-16T13:08:50.100Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T13:08:50.100Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T13:08:50.100Z] Configure a credential helper to remove this warning. See [2023-01-16T13:08:50.100Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T13:08:50.100Z] [2023-01-16T13:08:50.100Z] Login Succeeded [2023-01-16T13:08:50.100Z] nexus3.edgexfoundry.org:10003 [2023-01-16T13:08:50.370Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T13:08:50.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T13:08:50.640Z] Configure a credential helper to remove this warning. See [2023-01-16T13:08:50.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T13:08:50.640Z] [2023-01-16T13:08:50.640Z] Login Succeeded [2023-01-16T13:08:50.640Z] nexus3.edgexfoundry.org:10004 [2023-01-16T13:08:50.909Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T13:08:50.909Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T13:08:50.910Z] Configure a credential helper to remove this warning. See [2023-01-16T13:08:50.910Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T13:08:50.910Z] [2023-01-16T13:08:50.910Z] Login Succeeded [2023-01-16T13:08:50.910Z] docker.io [2023-01-16T13:08:51.178Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T13:08:51.446Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T13:08:51.446Z] Configure a credential helper to remove this warning. See [2023-01-16T13:08:51.446Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T13:08:51.446Z] [2023-01-16T13:08:51.446Z] Login Succeeded [2023-01-16T13:08:51.446Z] ---> docker-login.sh ends [Pipeline] } [2023-01-16T13:08:51.476Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-16T13:08:51.841Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-16T13:08:51.882Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-16T13:08:51.918Z] ========================================================= [2023-01-16T13:08:51.918Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-16T13:08:51.918Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T13:08:52.428Z] + 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-16T13:08:52.698Z] Sending build context to Docker daemon 685.6kB [2023-01-16T13:08:52.698Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-16T13:08:52.698Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-16T13:08:52.698Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-16T13:08:52.698Z] 9b18e9b68314: Pulling fs layer [2023-01-16T13:08:52.698Z] 35d82f9e3411: Pulling fs layer [2023-01-16T13:08:52.698Z] e16973657156: Pulling fs layer [2023-01-16T13:08:52.698Z] fc693d55d65f: Pulling fs layer [2023-01-16T13:08:52.698Z] 7e9fc2657dce: Pulling fs layer [2023-01-16T13:08:52.698Z] dda99020689f: Pulling fs layer [2023-01-16T13:08:52.698Z] db1c61fa0a46: Pulling fs layer [2023-01-16T13:08:52.698Z] 891c053d2c06: Pulling fs layer [2023-01-16T13:08:52.698Z] fc693d55d65f: Waiting [2023-01-16T13:08:52.698Z] db1c61fa0a46: Waiting [2023-01-16T13:08:52.698Z] dda99020689f: Waiting [2023-01-16T13:08:52.698Z] 891c053d2c06: Waiting [2023-01-16T13:08:52.698Z] 7e9fc2657dce: Waiting [2023-01-16T13:08:52.967Z] e16973657156: Verifying Checksum [2023-01-16T13:08:52.967Z] e16973657156: Download complete [2023-01-16T13:08:52.967Z] 35d82f9e3411: Verifying Checksum [2023-01-16T13:08:52.967Z] 35d82f9e3411: Download complete [2023-01-16T13:08:52.967Z] 7e9fc2657dce: Verifying Checksum [2023-01-16T13:08:52.967Z] 7e9fc2657dce: Download complete [2023-01-16T13:08:52.967Z] dda99020689f: Verifying Checksum [2023-01-16T13:08:52.967Z] dda99020689f: Download complete [2023-01-16T13:08:52.967Z] 9b18e9b68314: Verifying Checksum [2023-01-16T13:08:52.967Z] 9b18e9b68314: Download complete [2023-01-16T13:08:53.591Z] 9b18e9b68314: Pull complete [2023-01-16T13:08:54.190Z] 35d82f9e3411: Pull complete [2023-01-16T13:08:54.463Z] e16973657156: Pull complete [2023-01-16T13:08:54.463Z] 891c053d2c06: Verifying Checksum [2023-01-16T13:08:54.463Z] 891c053d2c06: Download complete [2023-01-16T13:08:55.888Z] db1c61fa0a46: Verifying Checksum [2023-01-16T13:08:55.888Z] db1c61fa0a46: Download complete [2023-01-16T13:08:56.157Z] fc693d55d65f: Verifying Checksum [2023-01-16T13:08:56.157Z] fc693d55d65f: Download complete [2023-01-16T13:09:08.477Z] fc693d55d65f: Pull complete [2023-01-16T13:09:08.477Z] 7e9fc2657dce: Pull complete [2023-01-16T13:09:08.477Z] dda99020689f: Pull complete [2023-01-16T13:09:12.871Z] db1c61fa0a46: Pull complete [2023-01-16T13:09:14.833Z] 891c053d2c06: Pull complete [2023-01-16T13:09:14.833Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-16T13:09:14.833Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-16T13:09:14.833Z] ---> f96f9c87975a [2023-01-16T13:09:14.833Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git" [2023-01-16T13:09:16.782Z] ---> Running in 4a99f4f8d415 [2023-01-16T13:09:17.050Z] Removing intermediate container 4a99f4f8d415 [2023-01-16T13:09:17.050Z] ---> e879dd60a6e1 [2023-01-16T13:09:17.050Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-16T13:09:17.050Z] ---> Running in 79f64f1fa690 [2023-01-16T13:09:17.323Z] Removing intermediate container 79f64f1fa690 [2023-01-16T13:09:17.323Z] ---> ece9a2923e88 [2023-01-16T13:09:17.323Z] Step 5/12 : ARG ADD_BUILD_TAGS="" [2023-01-16T13:09:17.599Z] ---> Running in 6ad36b065f30 [2023-01-16T13:09:17.869Z] Removing intermediate container 6ad36b065f30 [2023-01-16T13:09:17.869Z] ---> 2188e8c00f64 [2023-01-16T13:09:17.869Z] Step 6/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-16T13:09:17.869Z] ---> Running in 7cba0e423069 [2023-01-16T13:09:18.829Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-16T13:09:19.094Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-16T13:09:20.056Z] OK: 221 MiB in 51 packages [2023-01-16T13:09:21.023Z] Removing intermediate container 7cba0e423069 [2023-01-16T13:09:21.023Z] ---> ecee4db82c3e [2023-01-16T13:09:21.023Z] Step 7/12 : WORKDIR /app [2023-01-16T13:09:21.023Z] ---> Running in 84723b8ffd1c [2023-01-16T13:09:21.292Z] Removing intermediate container 84723b8ffd1c [2023-01-16T13:09:21.292Z] ---> 8804665412d4 [2023-01-16T13:09:21.292Z] Step 8/12 : COPY go.mod vendor* ./ [2023-01-16T13:09:21.567Z] ---> 12cdf4e364b1 [2023-01-16T13:09:21.567Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-16T13:09:21.836Z] ---> Running in 0e2bd4e56680 [2023-01-16T13:10:18.272Z] Removing intermediate container 0e2bd4e56680 [2023-01-16T13:10:18.272Z] ---> 10e4791e2cd5 [2023-01-16T13:10:18.272Z] Step 10/12 : COPY . . [2023-01-16T13:10:18.272Z] ---> 6044defc84af [2023-01-16T13:10:18.272Z] Step 11/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-16T13:10:18.272Z] ---> Running in 4549e9316fcb [2023-01-16T13:10:18.272Z] Removing intermediate container 4549e9316fcb [2023-01-16T13:10:18.272Z] ---> d796e7c34c26 [2023-01-16T13:10:18.272Z] Step 12/12 : RUN $MAKE [2023-01-16T13:10:18.272Z] ---> Running in 2d090a39c278 [2023-01-16T13:10:18.272Z] noop [2023-01-16T13:10:18.272Z] Removing intermediate container 2d090a39c278 [2023-01-16T13:10:18.272Z] ---> 8da47e1a3db6 [2023-01-16T13:10:18.272Z] Successfully built 8da47e1a3db6 [2023-01-16T13:10:18.272Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T13:10:18.766Z] + docker inspect -f . ci-base-image-arm64 [2023-01-16T13:10:18.766Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T13:10:19.039Z] prd-ubuntu20.04-docker-arm64-4c-16g-2578 does not seem to be running inside a container [2023-01-16T13:10:19.116Z] $ 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-16T13:10:21.421Z] $ docker top 7d562425bdfe1d754a560cf743d731a0343fa07317db3abc2b33465f81c37d86 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-16T13:10:22.311Z] + go version [2023-01-16T13:10:22.311Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-16T13:10:22.346Z] $ docker stop --time=1 7d562425bdfe1d754a560cf743d731a0343fa07317db3abc2b33465f81c37d86 [2023-01-16T13:10:23.990Z] $ docker rm -f --volumes 7d562425bdfe1d754a560cf743d731a0343fa07317db3abc2b33465f81c37d86 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T13:10:24.854Z] + docker inspect -f . ci-base-image-arm64 [2023-01-16T13:10:24.854Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T13:10:25.106Z] prd-ubuntu20.04-docker-arm64-4c-16g-2578 does not seem to be running inside a container [2023-01-16T13:10:25.167Z] $ 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-16T13:10:26.280Z] $ docker top c6cfef0327b409dad65cdb2b6b60a709ab9a4384dad0f316c01bf88a8f43b00a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-16T13:10:27.149Z] + git config --global --add safe.directory /w/workspace/app-rfid-llrp-inventory/1 [Pipeline] fileExists [Pipeline] sh [2023-01-16T13:10:27.541Z] + make test [2023-01-16T13:10:27.541Z] go test -race ./... -coverprofile=coverage.out ./... [2023-01-16T13:11:49.830Z] # edgexfoundry/app-rfid-llrp-inventory/internal/llrp [2023-01-16T13:11:49.830Z] internal/llrp/device_service.go:105:91: cannot use "no" (untyped string constant) as bool value in argument to ds.cmdClient.IssueGetCommandByName [2023-01-16T13:11:49.830Z] internal/llrp/device_service.go:105:97: cannot use "yes" (untyped string constant) as bool value in argument to ds.cmdClient.IssueGetCommandByName [2023-01-16T13:11:49.830Z] internal/llrp/device_service.go:110:91: cannot use "no" (untyped string constant) as bool value in argument to ds.cmdClient.IssueGetCommandByName [2023-01-16T13:11:49.831Z] internal/llrp/device_service.go:110:97: cannot use "yes" (untyped string constant) as bool value in argument to ds.cmdClient.IssueGetCommandByName [2023-01-16T13:12:08.039Z] # github.com/edgexfoundry/go-mod-messaging/v3/clients [2023-01-16T13:12:08.039Z] /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-16T13:12:08.039Z] *CommandClient does not implement interfaces.CommandClient (wrong type for IssueGetCommandByName method) [2023-01-16T13:12:08.039Z] 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-16T13:12:08.039Z] 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-16T13:12:08.039Z] /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-16T13:12:54.930Z] FAIL edgexfoundry/app-rfid-llrp-inventory/internal/inventory [build failed] [2023-01-16T13:12:57.509Z] FAIL edgexfoundry/app-rfid-llrp-inventory/internal/llrp [build failed] [2023-01-16T13:12:57.775Z] make: *** [Makefile:36: unittest] Error 2 [Pipeline] } [2023-01-16T13:12:57.826Z] $ docker stop --time=1 c6cfef0327b409dad65cdb2b6b60a709ab9a4384dad0f316c01bf88a8f43b00a [2023-01-16T13:12:59.803Z] $ docker rm -f --volumes c6cfef0327b409dad65cdb2b6b60a709ab9a4384dad0f316c01bf88a8f43b00a [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-16T13:13:01.372Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-16T13:13:01.372Z] [2023-01-16T13:13:01.372Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T13:13:01.770Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-16T13:13:02.042Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-16T13:13:02.042Z] 8998bd30e6a1: Pulling fs layer [2023-01-16T13:13:02.042Z] 04944245beec: Pulling fs layer [2023-01-16T13:13:02.042Z] 699f458cf7ca: Pulling fs layer [2023-01-16T13:13:02.042Z] 765212b225bb: Pulling fs layer [2023-01-16T13:13:02.042Z] f23df028b6ca: Pulling fs layer [2023-01-16T13:13:02.042Z] d65c8cfc05b1: Pulling fs layer [2023-01-16T13:13:02.042Z] 2437ff75d9bd: Pulling fs layer [2023-01-16T13:13:02.042Z] f23df028b6ca: Waiting [2023-01-16T13:13:02.042Z] d65c8cfc05b1: Waiting [2023-01-16T13:13:02.042Z] 2437ff75d9bd: Waiting [2023-01-16T13:13:02.042Z] 765212b225bb: Waiting [2023-01-16T13:13:02.042Z] 04944245beec: Verifying Checksum [2023-01-16T13:13:02.042Z] 04944245beec: Download complete [2023-01-16T13:13:02.042Z] 765212b225bb: Verifying Checksum [2023-01-16T13:13:02.042Z] 765212b225bb: Download complete [2023-01-16T13:13:02.312Z] f23df028b6ca: Verifying Checksum [2023-01-16T13:13:02.312Z] f23df028b6ca: Download complete [2023-01-16T13:13:02.312Z] d65c8cfc05b1: Verifying Checksum [2023-01-16T13:13:02.312Z] d65c8cfc05b1: Download complete [2023-01-16T13:13:02.312Z] 699f458cf7ca: Verifying Checksum [2023-01-16T13:13:02.312Z] 699f458cf7ca: Download complete [2023-01-16T13:13:02.908Z] 8998bd30e6a1: Verifying Checksum [2023-01-16T13:13:02.908Z] 8998bd30e6a1: Download complete [2023-01-16T13:13:06.259Z] 2437ff75d9bd: Verifying Checksum [2023-01-16T13:13:06.259Z] 2437ff75d9bd: Download complete [2023-01-16T13:13:07.666Z] 8998bd30e6a1: Pull complete [2023-01-16T13:13:08.628Z] 04944245beec: Pull complete [2023-01-16T13:13:10.037Z] 699f458cf7ca: Pull complete [2023-01-16T13:13:10.037Z] 765212b225bb: Pull complete [2023-01-16T13:13:10.994Z] f23df028b6ca: Pull complete [2023-01-16T13:13:10.994Z] d65c8cfc05b1: Pull complete [2023-01-16T13:13:29.198Z] 2437ff75d9bd: Pull complete [2023-01-16T13:13:29.198Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-16T13:13:29.198Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-16T13:13:29.198Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T13:13:29.631Z] prd-ubuntu20.04-docker-arm64-4c-16g-2578 does not seem to be running inside a container [2023-01-16T13:13:29.759Z] $ 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-16T13:13:32.757Z] $ docker top 8aa979f9c57bb027550dd14ab320e5c39c0ff3109c38c60414a225a5cbc5de8b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-16T13:13:33.655Z] ---> job-cost.sh [2023-01-16T13:13:33.655Z] lf-activate-venv: SKIPPING [2023-01-16T13:13:33.655Z] INFO: No Stack... [2023-01-16T13:13:33.921Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-16T13:13:34.887Z] INFO: Archiving Costs [Pipeline] sh [2023-01-16T13:13:35.235Z] + cat /w/workspace/app-rfid-llrp-inventory/1/archives/cost.csv [2023-01-16T13:13:35.503Z] + cut -d, -f6 [Pipeline] lock [2023-01-16T13:13:35.602Z] Trying to acquire lock on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-133-1-stack-cost] [2023-01-16T13:13:35.606Z] Resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-133-1-stack-cost] did not exist. Created. [2023-01-16T13:13:35.607Z] Lock acquired on [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-133-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-16T13:13:36.326Z] /w/workspace/app-rfid-llrp-inventory/1@tmp/durable-13e0da79/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-16T13:13:37.013Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-16T13:13:37.049Z] Warning: overwriting stash ‘stack-cost’ [2023-01-16T13:13:37.494Z] Stashed 1 file(s) [Pipeline] } [2023-01-16T13:13:37.511Z] Lock released on resource [jenkins-edgexfoundry-app-rfid-llrp-inventory-PR-133-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-16T13:13:37.589Z] $ docker stop --time=1 8aa979f9c57bb027550dd14ab320e5c39c0ff3109c38c60414a225a5cbc5de8b [2023-01-16T13:13:39.097Z] $ docker rm -f --volumes 8aa979f9c57bb027550dd14ab320e5c39c0ff3109c38c60414a225a5cbc5de8b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-16T13:13:39.794Z] 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-16T13:13:41.789Z] + [ -d /w/workspace/y_app-rfid-llrp-inventory_PR-133/archives ] [2023-01-16T13:13:41.790Z] + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-133/archives [2023-01-16T13:13:41.790Z] total 16 [2023-01-16T13:13:41.790Z] drwxr-xr-x 3 root root 4096 Jan 16 13:07 . [2023-01-16T13:13:41.790Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 16 13:07 .. [2023-01-16T13:13:41.790Z] drwxr-xr-x 2 root root 4096 Jan 16 13:07 cost [2023-01-16T13:13:41.790Z] -rw-r--r-- 1 root root 95 Jan 16 13:07 cost.csv [2023-01-16T13:13:41.790Z] + sudo chown -R jenkins:jenkins /w/workspace/y_app-rfid-llrp-inventory_PR-133/archives [2023-01-16T13:13:41.790Z] + ls -al /w/workspace/y_app-rfid-llrp-inventory_PR-133/archives [2023-01-16T13:13:41.790Z] total 16 [2023-01-16T13:13:41.790Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 16 13:07 . [2023-01-16T13:13:41.790Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 16 13:07 .. [2023-01-16T13:13:41.790Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 16 13:07 cost [2023-01-16T13:13:41.790Z] -rw-r--r-- 1 jenkins jenkins 95 Jan 16 13:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-16T13:13:42.218Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-16T13:13:43.111Z] ---> package-listing.sh [2023-01-16T13:13:43.111Z] ++ facter osfamily [2023-01-16T13:13:43.111Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-16T13:13:43.370Z] + OS_FAMILY=debian [2023-01-16T13:13:43.370Z] + workspace=/w/workspace/y_app-rfid-llrp-inventory_PR-133 [2023-01-16T13:13:43.370Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-16T13:13:43.370Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-16T13:13:43.370Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-16T13:13:43.370Z] + PACKAGES=/tmp/packages_start.txt [2023-01-16T13:13:43.370Z] + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-133 ']' [2023-01-16T13:13:43.370Z] + PACKAGES=/tmp/packages_end.txt [2023-01-16T13:13:43.370Z] + case "${OS_FAMILY}" in [2023-01-16T13:13:43.370Z] + dpkg -l [2023-01-16T13:13:43.370Z] + grep '^ii' [2023-01-16T13:13:43.370Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-16T13:13:43.370Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-16T13:13:43.370Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-16T13:13:43.370Z] + '[' /w/workspace/y_app-rfid-llrp-inventory_PR-133 ']' [2023-01-16T13:13:43.370Z] + mkdir -p /w/workspace/y_app-rfid-llrp-inventory_PR-133/archives/ [2023-01-16T13:13:43.370Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/y_app-rfid-llrp-inventory_PR-133/archives/ [Pipeline] echo [2023-01-16T13:13:43.404Z] 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-133/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-16T13:13:43.695Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T13:13:44.324Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-16T13:13:44.324Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T13:13:44.480Z] prd-ubuntu20.04-docker-8c-8g-2576 does not seem to be running inside a container [2023-01-16T13:13:44.505Z] $ 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-133/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-133 -v /w/workspace/y_app-rfid-llrp-inventory_PR-133:/w/workspace/y_app-rfid-llrp-inventory_PR-133:rw,z -v /w/workspace/y_app-rfid-llrp-inventory_PR-133@tmp:/w/workspace/y_app-rfid-llrp-inventory_PR-133@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-16T13:13:44.788Z] $ docker top aea9838a92eb02e74a82c277c452d6239b023ad7f95794f4207d1b3676a565d5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-16T13:13:45.195Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-16T13:13:45.505Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-16T13:13:45.816Z] + ls /var/log/sa-host [2023-01-16T13:13:45.816Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-16T13:13:45.954Z] provisioning config files... [2023-01-16T13:13:45.963Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/y_app-rfid-llrp-inventory_PR-133@tmp/config7763984637669543885tmp [Pipeline] { [Pipeline] echo [2023-01-16T13:13:46.015Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-16T13:13:46.329Z] ---> create-netrc.sh [Pipeline] } [2023-01-16T13:13:46.359Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-16T13:13:46.760Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-16T13:13:46.794Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-16T13:13:47.108Z] ---> sudo-logs.sh [2023-01-16T13:13:47.108Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-16T13:13:47.197Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-16T13:13:47.529Z] ---> job-cost.sh [2023-01-16T13:13:47.529Z] lf-activate-venv: SKIPPING [2023-01-16T13:13:47.529Z] DEBUG: total: 0.2199999988079071 [2023-01-16T13:13:47.529Z] INFO: Retrieving Stack Cost... [2023-01-16T13:13:47.788Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-16T13:13:48.047Z] INFO: Archiving Costs [Pipeline] echo [2023-01-16T13:13:48.086Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-16T13:13:48.415Z] ---> logs-deploy.sh [2023-01-16T13:13:48.416Z] lf-activate-venv: SKIPPING [2023-01-16T13:13:48.416Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/app-rfid-llrp-inventory/PR-133/1 [2023-01-16T13:13:48.416Z] INFO: archiving workspace using pattern(s): [2023-01-16T13:13:49.355Z] Archives upload complete. [2023-01-16T13:13:49.355Z] INFO: archiving logs to Nexus