Pull request #202 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 17ec91ca7e803d12ebb89950664dc56bf8b67334+033b407f9eaa2330e089f27ad80a4426d2f7bae5 (c432a4969c48a341b74d85e5b41d85866b483ebe) 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-ssh5488274103207567654.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh16549989460619289589.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/PR-202/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/device-rfid-llrp-go/branches/PR-202/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12093093545401732769.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/device-rfid-llrp-go/branches/PR-202/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1389464717773247272.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17442566911425517189.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/device-rfid-llrp-go/branches/PR-202/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/device-rfid-llrp-go/branches/PR-202/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9097380103692330686.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rfid-llrp-go, 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: device-rfid-llrp-go-settings PROJECT: device-rfid-llrp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rfid-llrp 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-7550 in /w/workspace/undry_device-rfid-llrp-go_PR-202 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git > git init /w/workspace/undry_device-rfid-llrp-go_PR-202 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.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/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 033b407f9eaa2330e089f27ad80a4426d2f7bae5 into PR head commit 17ec91ca7e803d12ebb89950664dc56bf8b67334 Merge succeeded, producing 17ec91ca7e803d12ebb89950664dc56bf8b67334 Checking out Revision 17ec91ca7e803d12ebb89950664dc56bf8b67334 (PR-202) > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/202/head:refs/remotes/origin/PR-202 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 17ec91ca7e803d12ebb89950664dc56bf8b67334 # 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 033b407f9eaa2330e089f27ad80a4426d2f7bae5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 17ec91ca7e803d12ebb89950664dc56bf8b67334 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-12T11:01:11.202Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-12T11:01:11.369Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-12T11:01:11.470Z] ========================================================= [2023-04-12T11:01:11.470Z] EdgeX Global Pipelines Version Info [2023-04-12T11:01:11.470Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-12T11:01:12.226Z] ------------------- [2023-04-12T11:01:12.226Z] stable info: [2023-04-12T11:01:12.226Z] ------------------- [2023-04-12T11:01:12.226Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-04-12T11:01:12.226Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-04-12T11:01:12.226Z] Message: update stable to v1.0.245 [2023-04-12T11:01:12.801Z] ------------------- [2023-04-12T11:01:12.801Z] experimental info: [2023-04-12T11:01:12.801Z] ------------------- [2023-04-12T11:01:12.801Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-12T11:01:12.801Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-04-12T11:01:12.801Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-12T11:01:13.083Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rfid-llrp-go-settings [Pipeline] echo [2023-04-12T11:01:13.123Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rfid-llrp-go [Pipeline] echo [2023-04-12T11:01:13.161Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-12T11:01:13.203Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-12T11:01:13.245Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-12T11:01:13.287Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-12T11:01:13.324Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-12T11:01:13.365Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-12T11:01:13.406Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-12T11:01:13.449Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-12T11:01:13.490Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-12T11:01:13.529Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rfid-llrp [Pipeline] echo [2023-04-12T11:01:13.571Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-12T11:01:13.611Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-12T11:01:13.650Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-12T11:01:13.692Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-12T11:01:13.738Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-12T11:01:13.777Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-12T11:01:13.821Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-12T11:01:13.863Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-12T11:01:13.905Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-12T11:01:13.945Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-12T11:01:13.985Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-12T11:01:14.028Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-12T11:01:14.069Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-12T11:01:14.109Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-12T11:01:14.151Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-12T11:01:14.195Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-202 [Pipeline] echo [2023-04-12T11:01:14.237Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-202 [Pipeline] echo [2023-04-12T11:01:14.274Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-202 [Pipeline] echo [2023-04-12T11:01:14.312Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 17ec91ca7e803d12ebb89950664dc56bf8b67334 [Pipeline] echo [2023-04-12T11:01:14.353Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 17ec91c [Pipeline] echo [2023-04-12T11:01:14.395Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-12T11:01:14.522Z] provisioning config files... [2023-04-12T11:01:14.558Z] copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-202@tmp/config16470907986168188380tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-12T11:01:14.914Z] ---> docker-login.sh [2023-04-12T11:01:14.914Z] nexus3.edgexfoundry.org:10001 [2023-04-12T11:01:15.174Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T11:01:15.174Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T11:01:15.174Z] Configure a credential helper to remove this warning. See [2023-04-12T11:01:15.174Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T11:01:15.174Z] [2023-04-12T11:01:15.174Z] Login Succeeded [2023-04-12T11:01:15.174Z] nexus3.edgexfoundry.org:10002 [2023-04-12T11:01:15.434Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T11:01:15.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T11:01:15.434Z] Configure a credential helper to remove this warning. See [2023-04-12T11:01:15.434Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T11:01:15.434Z] [2023-04-12T11:01:15.434Z] Login Succeeded [2023-04-12T11:01:15.434Z] nexus3.edgexfoundry.org:10003 [2023-04-12T11:01:15.434Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T11:01:15.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T11:01:15.434Z] Configure a credential helper to remove this warning. See [2023-04-12T11:01:15.434Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T11:01:15.434Z] [2023-04-12T11:01:15.434Z] Login Succeeded [2023-04-12T11:01:15.434Z] nexus3.edgexfoundry.org:10004 [2023-04-12T11:01:15.695Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T11:01:15.695Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T11:01:15.695Z] Configure a credential helper to remove this warning. See [2023-04-12T11:01:15.695Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T11:01:15.695Z] [2023-04-12T11:01:15.695Z] Login Succeeded [2023-04-12T11:01:15.695Z] docker.io [2023-04-12T11:01:15.695Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T11:01:15.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T11:01:15.956Z] Configure a credential helper to remove this warning. See [2023-04-12T11:01:15.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T11:01:15.956Z] [2023-04-12T11:01:15.956Z] Login Succeeded [2023-04-12T11:01:15.956Z] ---> docker-login.sh ends [Pipeline] } [2023-04-12T11:01:15.983Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-12T11:01:16.609Z] + git rev-list -1 --merges 17ec91ca7e803d12ebb89950664dc56bf8b67334~1..17ec91ca7e803d12ebb89950664dc56bf8b67334 [Pipeline] echo [2023-04-12T11:01:16.673Z] -----------> git rev-list -1 --merges 17ec91ca7e803d12ebb89950664dc56bf8b67334~1..17ec91ca7e803d12ebb89950664dc56bf8b67334 17ec91ca7e803d12ebb89950664dc56bf8b67334 [false] [Pipeline] sh [2023-04-12T11:01:16.988Z] + git log --format=format:%s -1 17ec91ca7e803d12ebb89950664dc56bf8b67334 [Pipeline] echo [2023-04-12T11:01:17.024Z] ========================================================= [2023-04-12T11:01:17.024Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-12T11:01:17.024Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-12T11:01:17.486Z] + git log --format=format:%s -1 17ec91ca7e803d12ebb89950664dc56bf8b67334 [Pipeline] echo [2023-04-12T11:01:17.522Z] [semverPrep] GIT_COMMIT: 17ec91ca7e803d12ebb89950664dc56bf8b67334, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-04-12T11:01:17.560Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-12T11:01:17.950Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-12T11:01:17.950Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-12T11:01:17.950Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-12T11:01:17.950Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-12T11:01:17.950Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-12T11:01:17.950Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-12T11:01:17.950Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T11:01:18.438Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-12T11:01:18.438Z] [2023-04-12T11:01:18.438Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T11:01:18.816Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-12T11:01:18.816Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-12T11:01:18.816Z] b85a868b505f: Pulling fs layer [2023-04-12T11:01:18.816Z] e2be974225ed: Pulling fs layer [2023-04-12T11:01:18.816Z] 339a4e72a1f5: Pulling fs layer [2023-04-12T11:01:18.816Z] 988bab9f4d93: Pulling fs layer [2023-04-12T11:01:18.816Z] 1469e6f7b9e6: Pulling fs layer [2023-04-12T11:01:18.816Z] eaf3925da568: Pulling fs layer [2023-04-12T11:01:18.816Z] bab4dde63d76: Pulling fs layer [2023-04-12T11:01:18.816Z] bde34c3a00c8: Pulling fs layer [2023-04-12T11:01:18.816Z] b352a97aabf1: Pulling fs layer [2023-04-12T11:01:18.816Z] 4872d77fe225: Pulling fs layer [2023-04-12T11:01:18.816Z] 5851b861e8e6: Pulling fs layer [2023-04-12T11:01:18.816Z] 1469e6f7b9e6: Waiting [2023-04-12T11:01:18.816Z] eaf3925da568: Waiting [2023-04-12T11:01:18.816Z] b352a97aabf1: Waiting [2023-04-12T11:01:18.816Z] 4872d77fe225: Waiting [2023-04-12T11:01:18.816Z] 5851b861e8e6: Waiting [2023-04-12T11:01:18.816Z] bab4dde63d76: Waiting [2023-04-12T11:01:18.816Z] bde34c3a00c8: Waiting [2023-04-12T11:01:18.816Z] 988bab9f4d93: Waiting [2023-04-12T11:01:18.816Z] e2be974225ed: Verifying Checksum [2023-04-12T11:01:18.816Z] e2be974225ed: Download complete [2023-04-12T11:01:18.816Z] 988bab9f4d93: Verifying Checksum [2023-04-12T11:01:18.816Z] 988bab9f4d93: Download complete [2023-04-12T11:01:18.816Z] 339a4e72a1f5: Download complete [2023-04-12T11:01:18.816Z] 1469e6f7b9e6: Verifying Checksum [2023-04-12T11:01:18.816Z] 1469e6f7b9e6: Download complete [2023-04-12T11:01:19.078Z] eaf3925da568: Verifying Checksum [2023-04-12T11:01:19.078Z] eaf3925da568: Download complete [2023-04-12T11:01:19.078Z] bde34c3a00c8: Verifying Checksum [2023-04-12T11:01:19.078Z] bde34c3a00c8: Download complete [2023-04-12T11:01:19.078Z] b352a97aabf1: Download complete [2023-04-12T11:01:19.078Z] 4872d77fe225: Verifying Checksum [2023-04-12T11:01:19.078Z] 4872d77fe225: Download complete [2023-04-12T11:01:19.078Z] 5851b861e8e6: Verifying Checksum [2023-04-12T11:01:19.078Z] 5851b861e8e6: Download complete [2023-04-12T11:01:19.078Z] b85a868b505f: Verifying Checksum [2023-04-12T11:01:19.078Z] b85a868b505f: Download complete [2023-04-12T11:01:19.336Z] bab4dde63d76: Verifying Checksum [2023-04-12T11:01:19.336Z] bab4dde63d76: Download complete [2023-04-12T11:01:20.273Z] b85a868b505f: Pull complete [2023-04-12T11:01:20.532Z] e2be974225ed: Pull complete [2023-04-12T11:01:20.795Z] 339a4e72a1f5: Pull complete [2023-04-12T11:01:21.062Z] 988bab9f4d93: Pull complete [2023-04-12T11:01:21.321Z] 1469e6f7b9e6: Pull complete [2023-04-12T11:01:21.321Z] eaf3925da568: Pull complete [2023-04-12T11:01:23.223Z] bab4dde63d76: Pull complete [2023-04-12T11:01:23.223Z] bde34c3a00c8: Pull complete [2023-04-12T11:01:23.223Z] b352a97aabf1: Pull complete [2023-04-12T11:01:23.223Z] 4872d77fe225: Pull complete [2023-04-12T11:01:23.223Z] 5851b861e8e6: Pull complete [2023-04-12T11:01:23.223Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-12T11:01:23.223Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-12T11:01:23.223Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-12T11:01:23.455Z] prd-ubuntu20.04-docker-8c-8g-7550 does not seem to be running inside a container [2023-04-12T11:01:23.490Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-rfid-llrp-go_PR-202 -v /w/workspace/undry_device-rfid-llrp-go_PR-202:/w/workspace/undry_device-rfid-llrp-go_PR-202:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-202@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-202@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-12T11:01:25.816Z] $ docker top 0b69c207f078ad5ff2a7b01aed3093ee4821a4ca79f5801257efe17e4e1aa0fe -eo pid,comm [2023-04-12T11:01:25.871Z] 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-04-12T11:01:25.871Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-12T11:01:25.993Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-12T11:01:25.993Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-12T11:01:26.101Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-12T11:01:26.106Z] $ docker exec 0b69c207f078ad5ff2a7b01aed3093ee4821a4ca79f5801257efe17e4e1aa0fe ssh-agent [2023-04-12T11:01:26.217Z] SSH_AUTH_SOCK=/tmp/ssh-5naOB8wOElnR/agent.32 [2023-04-12T11:01:26.217Z] SSH_AGENT_PID=38 [2023-04-12T11:01:26.225Z] Running ssh-add (command line suppressed) [2023-04-12T11:01:26.323Z] Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-202@tmp/private_key_14449773127071311272.key (/w/workspace/undry_device-rfid-llrp-go_PR-202@tmp/private_key_14449773127071311272.key) [2023-04-12T11:01:26.336Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-12T11:01:26.667Z] + git tag --points-at HEAD [Pipeline] } [2023-04-12T11:01:26.696Z] $ docker exec --env ******** --env ******** 0b69c207f078ad5ff2a7b01aed3093ee4821a4ca79f5801257efe17e4e1aa0fe ssh-agent -k [2023-04-12T11:01:26.806Z] unset SSH_AUTH_SOCK; [2023-04-12T11:01:26.806Z] unset SSH_AGENT_PID; [2023-04-12T11:01:26.807Z] echo Agent pid 38 killed; [2023-04-12T11:01:26.814Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-12T11:01:26.900Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-12T11:01:26.900Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-12T11:01:27.016Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-12T11:01:27.022Z] $ docker exec 0b69c207f078ad5ff2a7b01aed3093ee4821a4ca79f5801257efe17e4e1aa0fe ssh-agent [2023-04-12T11:01:27.132Z] SSH_AUTH_SOCK=/tmp/ssh-Cmm5a5oRhJYA/agent.70 [2023-04-12T11:01:27.132Z] SSH_AGENT_PID=76 [2023-04-12T11:01:27.137Z] Running ssh-add (command line suppressed) [2023-04-12T11:01:27.236Z] Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-202@tmp/private_key_18305443943513765374.key (/w/workspace/undry_device-rfid-llrp-go_PR-202@tmp/private_key_18305443943513765374.key) [2023-04-12T11:01:27.247Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-12T11:01:27.584Z] + git semver init [2023-04-12T11:01:27.844Z] 2023-04-12 11:01:27,764 [run_init] DEBUG init version:0.0.0 force:False [2023-04-12T11:01:27.844Z] 2023-04-12 11:01:27,765 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-rfid-llrp-go_PR-202/.semver [2023-04-12T11:01:27.844Z] 2023-04-12 11:01:27,766 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rfid-llrp-go.git /w/workspace/undry_device-rfid-llrp-go_PR-202/.semver [2023-04-12T11:01:27.844Z] 2023-04-12 11:01:27,766 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rfid-llrp-go.git', '/w/workspace/undry_device-rfid-llrp-go_PR-202/.semver'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-202, universal_newlines=False, shell=None, istream=None) [2023-04-12T11:01:28.782Z] 2023-04-12 11:01:28,582 [append_file] DEBUG append to file:/w/workspace/undry_device-rfid-llrp-go_PR-202/.git/info/exclude [2023-04-12T11:01:28.782Z] 2023-04-12 11:01:28,582 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-rfid-llrp-go_PR-202/.semver/PR-202 with force:False [2023-04-12T11:01:28.782Z] 2023-04-12 11:01:28,583 [write_file] DEBUG write to file:/w/workspace/undry_device-rfid-llrp-go_PR-202/.semver/PR-202 [2023-04-12T11:01:28.782Z] 2023-04-12 11:01:28,585 [execute] INFO git cat-file --batch-check [2023-04-12T11:01:28.782Z] 2023-04-12 11:01:28,586 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-202/.semver, universal_newlines=False, shell=None, istream=) [2023-04-12T11:01:28.782Z] 2023-04-12 11:01:28,590 [execute] INFO git cat-file --batch [2023-04-12T11:01:28.782Z] 2023-04-12 11:01:28,591 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-202/.semver, universal_newlines=False, shell=None, istream=) [2023-04-12T11:01:28.782Z] 2023-04-12 11:01:28,596 [read_version] DEBUG read version from /w/workspace/undry_device-rfid-llrp-go_PR-202/.semver/PR-202 [2023-04-12T11:01:28.782Z] 0.0.0 [Pipeline] } [2023-04-12T11:01:28.812Z] $ docker exec --env ******** --env ******** 0b69c207f078ad5ff2a7b01aed3093ee4821a4ca79f5801257efe17e4e1aa0fe ssh-agent -k [2023-04-12T11:01:28.907Z] unset SSH_AUTH_SOCK; [2023-04-12T11:01:28.908Z] unset SSH_AGENT_PID; [2023-04-12T11:01:28.908Z] echo Agent pid 76 killed; [2023-04-12T11:01:28.914Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-12T11:01:29.355Z] + git semver [Pipeline] } [2023-04-12T11:01:29.648Z] $ docker stop --time=1 0b69c207f078ad5ff2a7b01aed3093ee4821a4ca79f5801257efe17e4e1aa0fe [2023-04-12T11:01:30.937Z] $ docker rm -f --volumes 0b69c207f078ad5ff2a7b01aed3093ee4821a4ca79f5801257efe17e4e1aa0fe [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-12T11:01:31.339Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-12T11:01:31.603Z] Stashed 1 file(s) [Pipeline] echo [2023-04-12T11:01:31.623Z] [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-04-12T11:01:32.212Z] provisioning config files... [2023-04-12T11:01:32.225Z] copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-202@tmp/config9363901822175212752tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-12T11:01:32.559Z] ---> docker-login.sh [2023-04-12T11:01:32.559Z] nexus3.edgexfoundry.org:10001 [2023-04-12T11:01:32.559Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T11:01:32.559Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T11:01:32.559Z] Configure a credential helper to remove this warning. See [2023-04-12T11:01:32.559Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T11:01:32.559Z] [2023-04-12T11:01:32.559Z] Login Succeeded [2023-04-12T11:01:32.559Z] nexus3.edgexfoundry.org:10002 [2023-04-12T11:01:32.559Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T11:01:32.559Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T11:01:32.559Z] Configure a credential helper to remove this warning. See [2023-04-12T11:01:32.559Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T11:01:32.559Z] [2023-04-12T11:01:32.559Z] Login Succeeded [2023-04-12T11:01:32.559Z] nexus3.edgexfoundry.org:10003 [2023-04-12T11:01:32.819Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T11:01:32.819Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T11:01:32.819Z] Configure a credential helper to remove this warning. See [2023-04-12T11:01:32.819Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T11:01:32.819Z] [2023-04-12T11:01:32.819Z] Login Succeeded [2023-04-12T11:01:32.819Z] nexus3.edgexfoundry.org:10004 [2023-04-12T11:01:32.819Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T11:01:32.819Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T11:01:32.819Z] Configure a credential helper to remove this warning. See [2023-04-12T11:01:32.819Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T11:01:32.819Z] [2023-04-12T11:01:32.819Z] Login Succeeded [2023-04-12T11:01:32.819Z] docker.io [2023-04-12T11:01:33.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T11:01:33.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T11:01:33.079Z] Configure a credential helper to remove this warning. See [2023-04-12T11:01:33.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T11:01:33.079Z] [2023-04-12T11:01:33.079Z] Login Succeeded [2023-04-12T11:01:33.079Z] ---> docker-login.sh ends [Pipeline] } [2023-04-12T11:01:33.106Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-12T11:01:33.291Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-12T11:01:33.328Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-12T11:01:33.361Z] ========================================================= [2023-04-12T11:01:33.361Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-12T11:01:33.361Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T11:01:33.829Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-12T11:01:33.830Z] Sending build context to Docker daemon 4.207MB [2023-04-12T11:01:33.830Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-12T11:01:33.830Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-12T11:01:33.830Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-12T11:01:33.830Z] 63b65145d645: Pulling fs layer [2023-04-12T11:01:33.830Z] a2d21d5440eb: Pulling fs layer [2023-04-12T11:01:33.830Z] 935e6c44a52c: Pulling fs layer [2023-04-12T11:01:33.830Z] 94cc34f8dd06: Pulling fs layer [2023-04-12T11:01:33.830Z] 30dea6a524f1: Pulling fs layer [2023-04-12T11:01:33.830Z] a2aff8979fd8: Pulling fs layer [2023-04-12T11:01:33.830Z] 6808be2612f2: Pulling fs layer [2023-04-12T11:01:33.830Z] f25807f1079a: Pulling fs layer [2023-04-12T11:01:33.830Z] 94cc34f8dd06: Waiting [2023-04-12T11:01:33.830Z] 6808be2612f2: Waiting [2023-04-12T11:01:33.830Z] f25807f1079a: Waiting [2023-04-12T11:01:33.830Z] 30dea6a524f1: Waiting [2023-04-12T11:01:33.830Z] a2aff8979fd8: Waiting [2023-04-12T11:01:33.830Z] a2d21d5440eb: Verifying Checksum [2023-04-12T11:01:33.830Z] a2d21d5440eb: Download complete [2023-04-12T11:01:33.830Z] 94cc34f8dd06: Verifying Checksum [2023-04-12T11:01:33.830Z] 94cc34f8dd06: Download complete [2023-04-12T11:01:34.089Z] 30dea6a524f1: Verifying Checksum [2023-04-12T11:01:34.089Z] 30dea6a524f1: Download complete [2023-04-12T11:01:34.089Z] 63b65145d645: Verifying Checksum [2023-04-12T11:01:34.089Z] 63b65145d645: Download complete [2023-04-12T11:01:34.089Z] a2aff8979fd8: Verifying Checksum [2023-04-12T11:01:34.089Z] a2aff8979fd8: Download complete [2023-04-12T11:01:34.089Z] 63b65145d645: Pull complete [2023-04-12T11:01:34.349Z] a2d21d5440eb: Pull complete [2023-04-12T11:01:34.349Z] f25807f1079a: Verifying Checksum [2023-04-12T11:01:34.349Z] f25807f1079a: Download complete [2023-04-12T11:01:34.609Z] 935e6c44a52c: Download complete [2023-04-12T11:01:34.867Z] 6808be2612f2: Verifying Checksum [2023-04-12T11:01:34.867Z] 6808be2612f2: Download complete [2023-04-12T11:01:38.152Z] 935e6c44a52c: Pull complete [2023-04-12T11:01:38.152Z] 94cc34f8dd06: Pull complete [2023-04-12T11:01:38.152Z] 30dea6a524f1: Pull complete [2023-04-12T11:01:38.152Z] a2aff8979fd8: Pull complete [2023-04-12T11:01:40.053Z] 6808be2612f2: Pull complete [2023-04-12T11:01:41.003Z] f25807f1079a: Pull complete [2023-04-12T11:01:41.003Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-12T11:01:41.003Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-12T11:01:41.003Z] ---> 3b553350e43f [2023-04-12T11:01:41.003Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-12T11:01:44.304Z] ---> Running in e2bd507eea76 [2023-04-12T11:01:44.304Z] Removing intermediate container e2bd507eea76 [2023-04-12T11:01:44.304Z] ---> a5e00deaea44 [2023-04-12T11:01:44.304Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-12T11:01:44.304Z] ---> Running in b607d7397d51 [2023-04-12T11:01:44.304Z] Removing intermediate container b607d7397d51 [2023-04-12T11:01:44.304Z] ---> 7a6eededdc3c [2023-04-12T11:01:44.304Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git" [2023-04-12T11:01:44.304Z] ---> Running in 08841db0d8a0 [2023-04-12T11:01:44.304Z] Removing intermediate container 08841db0d8a0 [2023-04-12T11:01:44.304Z] ---> e3ca3040e890 [2023-04-12T11:01:44.304Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-12T11:01:44.304Z] ---> Running in b713ea2f8de5 [2023-04-12T11:01:44.565Z] Removing intermediate container b713ea2f8de5 [2023-04-12T11:01:44.565Z] ---> e13f1473d0e3 [2023-04-12T11:01:44.565Z] Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-12T11:01:44.565Z] ---> Running in e5bbc9f8b99a [2023-04-12T11:01:44.823Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-12T11:01:44.823Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-12T11:01:45.082Z] OK: 265 MiB in 53 packages [2023-04-12T11:01:45.341Z] Removing intermediate container e5bbc9f8b99a [2023-04-12T11:01:45.341Z] ---> 5089107b8d58 [2023-04-12T11:01:45.341Z] Step 8/12 : WORKDIR /app [2023-04-12T11:01:45.341Z] ---> Running in 25d7e4fc1380 [2023-04-12T11:01:45.341Z] Removing intermediate container 25d7e4fc1380 [2023-04-12T11:01:45.341Z] ---> 30153d4ba7b0 [2023-04-12T11:01:45.341Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-12T11:01:45.599Z] ---> 893d08c33a60 [2023-04-12T11:01:45.599Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-12T11:01:45.599Z] ---> Running in 85facdde555d [2023-04-12T11:01:47.026Z] Still waiting to schedule task [2023-04-12T11:01:47.027Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-04-12T11:02:32.290Z] Removing intermediate container 85facdde555d [2023-04-12T11:02:32.290Z] ---> 254d5a9df169 [2023-04-12T11:02:32.290Z] Step 11/12 : COPY . . [2023-04-12T11:02:32.290Z] ---> 2366c477b51b [2023-04-12T11:02:32.290Z] Step 12/12 : RUN $MAKE [2023-04-12T11:02:32.290Z] ---> Running in acf4d9e4abcb [2023-04-12T11:02:32.290Z] noop [2023-04-12T11:02:32.290Z] Removing intermediate container acf4d9e4abcb [2023-04-12T11:02:32.290Z] ---> bbcd5bb1f0ed [2023-04-12T11:02:32.290Z] Successfully built bbcd5bb1f0ed [2023-04-12T11:02:32.290Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T11:02:32.734Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-12T11:02:32.734Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-12T11:02:32.865Z] prd-ubuntu20.04-docker-8c-8g-7550 does not seem to be running inside a container [2023-04-12T11:02:32.894Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-rfid-llrp-go_PR-202 -v /w/workspace/undry_device-rfid-llrp-go_PR-202:/w/workspace/undry_device-rfid-llrp-go_PR-202:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-202@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-202@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-12T11:02:33.217Z] $ docker top 56dae1c26f44afaf0bf8a61d836ac03187351d301ed1715fab70b743fb168937 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-12T11:02:33.602Z] + go version [2023-04-12T11:02:33.602Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-12T11:02:33.638Z] $ docker stop --time=1 56dae1c26f44afaf0bf8a61d836ac03187351d301ed1715fab70b743fb168937 [2023-04-12T11:02:34.923Z] $ docker rm -f --volumes 56dae1c26f44afaf0bf8a61d836ac03187351d301ed1715fab70b743fb168937 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T11:02:35.635Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-12T11:02:35.636Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-12T11:02:35.778Z] prd-ubuntu20.04-docker-8c-8g-7550 does not seem to be running inside a container [2023-04-12T11:02:35.806Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-rfid-llrp-go_PR-202 -v /w/workspace/undry_device-rfid-llrp-go_PR-202:/w/workspace/undry_device-rfid-llrp-go_PR-202:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-202@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-202@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-12T11:02:36.138Z] $ docker top cf58a9a1c458bd15fff5f15024bfa350c78bdafb6e6714b1b1197689100fad35 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-12T11:02:36.517Z] + git config --global --add safe.directory /w/workspace/undry_device-rfid-llrp-go_PR-202 [Pipeline] fileExists [Pipeline] sh [2023-04-12T11:02:36.873Z] + make test [2023-04-12T11:02:36.873Z] go test ./... -coverprofile=coverage.out ./... [2023-04-12T11:02:41.056Z] ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] [2023-04-12T11:02:51.272Z] # github.com/edgexfoundry/device-rfid-llrp-go/cmd [2023-04-12T11:02:51.272Z] cmd/main.go:16:61: cannot use sd (variable of type *"github.com/edgexfoundry/device-rfid-llrp-go/internal/driver".Driver) as "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".ProtocolDriver value in argument to startup.Bootstrap: *"github.com/edgexfoundry/device-rfid-llrp-go/internal/driver".Driver does not implement "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".ProtocolDriver (wrong type for method Discover) [2023-04-12T11:02:51.272Z] have Discover() [2023-04-12T11:02:51.272Z] want Discover() error [2023-04-12T11:02:51.272Z] ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] [2023-04-12T11:02:53.673Z] ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 3.478s coverage: 40.9% of statements [2023-04-12T11:02:53.673Z] ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.297s coverage: 52.0% of statements [2023-04-12T11:02:53.673Z] ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.009s coverage: 96.4% of statements [2023-04-12T11:02:53.673Z] FAIL [2023-04-12T11:02:53.673Z] make: *** [Makefile:31: unittest] Error 1 [Pipeline] } [2023-04-12T11:02:53.719Z] $ docker stop --time=1 cf58a9a1c458bd15fff5f15024bfa350c78bdafb6e6714b1b1197689100fad35 [2023-04-12T11:03:00.782Z] $ docker rm -f --volumes cf58a9a1c458bd15fff5f15024bfa350c78bdafb6e6714b1b1197689100fad35 [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-04-12T11:03:02.044Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-12T11:03:02.045Z] [2023-04-12T11:03:02.045Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T11:03:02.420Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-12T11:03:02.682Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-12T11:03:02.683Z] 5eb5b503b376: Pulling fs layer [2023-04-12T11:03:02.683Z] 5c69ac0246d0: Pulling fs layer [2023-04-12T11:03:02.683Z] ec43610c2a17: Pulling fs layer [2023-04-12T11:03:02.683Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-12T11:03:02.683Z] 33b1e0a273af: Pulling fs layer [2023-04-12T11:03:02.683Z] 5d3b04190fa2: Pulling fs layer [2023-04-12T11:03:02.683Z] 2f39f015ded8: Pulling fs layer [2023-04-12T11:03:02.683Z] 33b1e0a273af: Waiting [2023-04-12T11:03:02.683Z] 5d3b04190fa2: Waiting [2023-04-12T11:03:02.683Z] 2f39f015ded8: Waiting [2023-04-12T11:03:02.683Z] 3a2ae6a8a46f: Waiting [2023-04-12T11:03:02.683Z] 5c69ac0246d0: Download complete [2023-04-12T11:03:02.683Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-12T11:03:02.683Z] 3a2ae6a8a46f: Download complete [2023-04-12T11:03:02.683Z] 33b1e0a273af: Verifying Checksum [2023-04-12T11:03:02.683Z] 33b1e0a273af: Download complete [2023-04-12T11:03:02.683Z] ec43610c2a17: Verifying Checksum [2023-04-12T11:03:02.683Z] ec43610c2a17: Download complete [2023-04-12T11:03:02.683Z] 5d3b04190fa2: Verifying Checksum [2023-04-12T11:03:02.683Z] 5d3b04190fa2: Download complete [2023-04-12T11:03:02.942Z] 5eb5b503b376: Verifying Checksum [2023-04-12T11:03:02.942Z] 5eb5b503b376: Download complete [2023-04-12T11:03:03.509Z] 2f39f015ded8: Download complete [2023-04-12T11:03:04.100Z] 5eb5b503b376: Pull complete [2023-04-12T11:03:04.357Z] 5c69ac0246d0: Pull complete [2023-04-12T11:03:04.924Z] ec43610c2a17: Pull complete [2023-04-12T11:03:04.924Z] 3a2ae6a8a46f: Pull complete [2023-04-12T11:03:05.183Z] 33b1e0a273af: Pull complete [2023-04-12T11:03:05.442Z] 5d3b04190fa2: Pull complete [2023-04-12T11:03:09.656Z] 2f39f015ded8: Pull complete [2023-04-12T11:03:09.656Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-12T11:03:09.656Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-12T11:03:09.656Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-12T11:03:09.890Z] prd-ubuntu20.04-docker-8c-8g-7550 does not seem to be running inside a container [2023-04-12T11:03:09.965Z] $ 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/undry_device-rfid-llrp-go_PR-202 -v /w/workspace/undry_device-rfid-llrp-go_PR-202:/w/workspace/undry_device-rfid-llrp-go_PR-202:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-202@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-202@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-04-12T11:03:13.361Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7551 in /w/workspace/undry_device-rfid-llrp-go_PR-202 [2023-04-12T11:03:16.062Z] $ docker top df404356ecfbfaa416a8ce1951b72749e3e65d1ed87675ff294614384827a82b -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws [2023-04-12T11:03:16.328Z] Running in /w/workspace/device-rfid-llrp-go/1 [Pipeline] { [Pipeline] checkout [2023-04-12T11:03:16.417Z] Selected Git installation does not exist. Using Default [2023-04-12T11:03:16.417Z] The recommended git tool is: NONE [2023-04-12T11:03:16.560Z] ---> job-cost.sh [2023-04-12T11:03:16.560Z] lf-activate-venv: SKIPPING [2023-04-12T11:03:16.560Z] INFO: No Stack... [2023-04-12T11:03:16.819Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-12T11:03:17.398Z] INFO: Archiving Costs [Pipeline] sh [2023-04-12T11:03:17.717Z] + cat /w/workspace/undry_device-rfid-llrp-go_PR-202/archives/cost.csv [2023-04-12T11:03:17.717Z] + cut -d, -f6 [Pipeline] lock [2023-04-12T11:03:17.755Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-202-1-stack-cost] [2023-04-12T11:03:17.760Z] Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-202-1-stack-cost] did not exist. Created. [2023-04-12T11:03:17.760Z] Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-202-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-12T11:03:18.156Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-12T11:03:18.215Z] Stashed 1 file(s) [Pipeline] } [2023-04-12T11:03:18.238Z] Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-202-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-12T11:03:18.316Z] $ docker stop --time=1 df404356ecfbfaa416a8ce1951b72749e3e65d1ed87675ff294614384827a82b [2023-04-12T11:03:19.451Z] $ docker rm -f --volumes df404356ecfbfaa416a8ce1951b72749e3e65d1ed87675ff294614384827a82b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-12T11:03:19.804Z] Failed in branch amd64 [2023-04-12T11:03:21.233Z] using credential edgex-jenkins-ssh [2023-04-12T11:03:21.247Z] Cloning the remote Git repository [2023-04-12T11:03:21.290Z] Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git [2023-04-12T11:03:21.373Z] > git init /w/workspace/device-rfid-llrp-go/1 # timeout=10 [2023-04-12T11:03:21.494Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git [2023-04-12T11:03:21.495Z] > git --version # timeout=10 [2023-04-12T11:03:21.520Z] > git --version # 'git version 2.25.1' [2023-04-12T11:03:21.522Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-12T11:03:21.661Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-12T11:03:23.849Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 [2023-04-12T11:03:23.877Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-12T11:03:24.710Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 [2023-04-12T11:03:24.750Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git [2023-04-12T11:03:24.751Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-12T11:03:24.768Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/202/head:refs/remotes/origin/PR-202 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-12T11:03:25.270Z] Merging remotes/origin/main commit 033b407f9eaa2330e089f27ad80a4426d2f7bae5 into PR head commit 17ec91ca7e803d12ebb89950664dc56bf8b67334 [2023-04-12T11:03:25.586Z] Merge succeeded, producing 17ec91ca7e803d12ebb89950664dc56bf8b67334 [2023-04-12T11:03:25.587Z] Checking out Revision 17ec91ca7e803d12ebb89950664dc56bf8b67334 (PR-202) [2023-04-12T11:03:26.097Z] Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [2023-04-12T11:03:26.151Z] > git --version # timeout=10 [2023-04-12T11:03:26.163Z] > git --version # 'git version 2.25.1' [2023-04-12T11:03:26.177Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-04-12T11:03:25.287Z] > git config core.sparsecheckout # timeout=10 [2023-04-12T11:03:25.369Z] > git checkout -f 17ec91ca7e803d12ebb89950664dc56bf8b67334 # timeout=10 [2023-04-12T11:03:25.485Z] > git remote # timeout=10 [2023-04-12T11:03:25.505Z] > git config --get remote.origin.url # timeout=10 [2023-04-12T11:03:25.529Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-12T11:03:25.541Z] > git merge 033b407f9eaa2330e089f27ad80a4426d2f7bae5 # timeout=10 [2023-04-12T11:03:25.567Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-12T11:03:25.590Z] > git config core.sparsecheckout # timeout=10 [2023-04-12T11:03:25.608Z] > git checkout -f 17ec91ca7e803d12ebb89950664dc56bf8b67334 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-12T11:03:27.441Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-12T11:03:27.441Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-12T11:03:27.441Z] Dload Upload Total Spent Left Speed [2023-04-12T11:03:27.441Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91733 0 --:--:-- --:--:-- --:--:-- 92398 [Pipeline] sh [2023-04-12T11:03:28.060Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-12T11:03:28.405Z] + sudo tee+ /etc/docker/daemon.new [2023-04-12T11:03:28.405Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-12T11:03:28.405Z] { [2023-04-12T11:03:28.405Z] "registry-mirrors": [ [2023-04-12T11:03:28.405Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-12T11:03:28.405Z] ], [2023-04-12T11:03:28.405Z] "bip": "10.250.0.254/24", [2023-04-12T11:03:28.405Z] "hosts": [ [2023-04-12T11:03:28.405Z] "tcp://0.0.0.0:5555", [2023-04-12T11:03:28.405Z] "unix:///var/run/docker.sock" [2023-04-12T11:03:28.405Z] ], [2023-04-12T11:03:28.405Z] "mtu": 1458, [2023-04-12T11:03:28.405Z] "selinux-enabled": true, [2023-04-12T11:03:28.405Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-12T11:03:28.405Z] } [Pipeline] sh [2023-04-12T11:03:28.754Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-12T11:03:29.098Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-12T11:03:47.422Z] provisioning config files... [2023-04-12T11:03:47.450Z] copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/device-rfid-llrp-go/1@tmp/config17179293352933494585tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-12T11:03:47.857Z] ---> docker-login.sh [2023-04-12T11:03:47.857Z] nexus3.edgexfoundry.org:10001 [2023-04-12T11:03:48.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T11:03:48.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T11:03:48.400Z] Configure a credential helper to remove this warning. See [2023-04-12T11:03:48.400Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T11:03:48.400Z] [2023-04-12T11:03:48.400Z] Login Succeeded [2023-04-12T11:03:48.400Z] nexus3.edgexfoundry.org:10002 [2023-04-12T11:03:48.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T11:03:50.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T11:03:50.590Z] Configure a credential helper to remove this warning. See [2023-04-12T11:03:50.590Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T11:03:50.590Z] [2023-04-12T11:03:50.590Z] Login Succeeded [2023-04-12T11:03:50.590Z] nexus3.edgexfoundry.org:10003 [2023-04-12T11:03:50.590Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T11:03:50.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T11:03:50.590Z] Configure a credential helper to remove this warning. See [2023-04-12T11:03:50.590Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T11:03:50.590Z] [2023-04-12T11:03:50.590Z] Login Succeeded [2023-04-12T11:03:50.590Z] nexus3.edgexfoundry.org:10004 [2023-04-12T11:03:50.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T11:03:50.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T11:03:50.861Z] Configure a credential helper to remove this warning. See [2023-04-12T11:03:50.861Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T11:03:50.861Z] [2023-04-12T11:03:50.861Z] Login Succeeded [2023-04-12T11:03:50.861Z] docker.io [2023-04-12T11:03:51.137Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-12T11:03:51.405Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-12T11:03:51.405Z] Configure a credential helper to remove this warning. See [2023-04-12T11:03:51.405Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-12T11:03:51.405Z] [2023-04-12T11:03:51.405Z] Login Succeeded [2023-04-12T11:03:51.405Z] ---> docker-login.sh ends [Pipeline] } [2023-04-12T11:03:51.437Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-12T11:03:51.945Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-12T11:03:51.985Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-12T11:03:52.017Z] ========================================================= [2023-04-12T11:03:52.017Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-12T11:03:52.017Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T11:03:52.548Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-12T11:03:52.818Z] Sending build context to Docker daemon 1.211MB [2023-04-12T11:03:52.818Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-12T11:03:52.818Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-12T11:03:53.093Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-12T11:03:53.093Z] af6eaf76a39c: Pulling fs layer [2023-04-12T11:03:53.093Z] 55522c791124: Pulling fs layer [2023-04-12T11:03:53.093Z] ce5c4a1c91eb: Pulling fs layer [2023-04-12T11:03:53.093Z] 169dfbe0d373: Pulling fs layer [2023-04-12T11:03:53.093Z] e1ff8fa3b103: Pulling fs layer [2023-04-12T11:03:53.093Z] 52ebb69f0ebf: Pulling fs layer [2023-04-12T11:03:53.093Z] 5abe8eddf0d5: Pulling fs layer [2023-04-12T11:03:53.093Z] e1ff8fa3b103: Waiting [2023-04-12T11:03:53.093Z] 52ebb69f0ebf: Waiting [2023-04-12T11:03:53.093Z] 5abe8eddf0d5: Waiting [2023-04-12T11:03:53.093Z] 169dfbe0d373: Waiting [2023-04-12T11:03:53.093Z] 55522c791124: Verifying Checksum [2023-04-12T11:03:53.093Z] 55522c791124: Download complete [2023-04-12T11:03:53.093Z] 169dfbe0d373: Verifying Checksum [2023-04-12T11:03:53.093Z] 169dfbe0d373: Download complete [2023-04-12T11:03:53.093Z] e1ff8fa3b103: Verifying Checksum [2023-04-12T11:03:53.093Z] e1ff8fa3b103: Download complete [2023-04-12T11:03:53.093Z] af6eaf76a39c: Verifying Checksum [2023-04-12T11:03:53.093Z] af6eaf76a39c: Download complete [2023-04-12T11:03:54.080Z] af6eaf76a39c: Pull complete [2023-04-12T11:03:54.350Z] 5abe8eddf0d5: Verifying Checksum [2023-04-12T11:03:54.350Z] 5abe8eddf0d5: Download complete [2023-04-12T11:03:54.620Z] 55522c791124: Pull complete [2023-04-12T11:03:55.590Z] ce5c4a1c91eb: Verifying Checksum [2023-04-12T11:03:55.590Z] ce5c4a1c91eb: Download complete [2023-04-12T11:03:55.590Z] 52ebb69f0ebf: Verifying Checksum [2023-04-12T11:03:55.590Z] 52ebb69f0ebf: Download complete [2023-04-12T11:04:07.934Z] ce5c4a1c91eb: Pull complete [2023-04-12T11:04:07.934Z] 169dfbe0d373: Pull complete [2023-04-12T11:04:07.934Z] e1ff8fa3b103: Pull complete [2023-04-12T11:04:14.603Z] 52ebb69f0ebf: Pull complete [2023-04-12T11:04:16.570Z] 5abe8eddf0d5: Pull complete [2023-04-12T11:04:16.570Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-12T11:04:16.570Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-12T11:04:16.570Z] ---> 6cb57ee374ae [2023-04-12T11:04:16.570Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-12T11:04:17.988Z] ---> Running in b3918872da59 [2023-04-12T11:04:18.256Z] Removing intermediate container b3918872da59 [2023-04-12T11:04:18.256Z] ---> 8010c49d49c7 [2023-04-12T11:04:18.256Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-12T11:04:18.526Z] ---> Running in cccc3167dde5 [2023-04-12T11:04:18.792Z] Removing intermediate container cccc3167dde5 [2023-04-12T11:04:18.792Z] ---> d527bf9be6c2 [2023-04-12T11:04:18.792Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git" [2023-04-12T11:04:18.792Z] ---> Running in c563d3568f61 [2023-04-12T11:04:19.060Z] Removing intermediate container c563d3568f61 [2023-04-12T11:04:19.060Z] ---> 772b55ca1ab6 [2023-04-12T11:04:19.060Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-12T11:04:19.330Z] ---> Running in 5f01ec92fd80 [2023-04-12T11:04:19.605Z] Removing intermediate container 5f01ec92fd80 [2023-04-12T11:04:19.605Z] ---> 29da37c0758b [2023-04-12T11:04:19.605Z] Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-12T11:04:19.605Z] ---> Running in 1273b6897bc7 [2023-04-12T11:04:21.016Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-12T11:04:21.284Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-12T11:04:22.239Z] OK: 263 MiB in 53 packages [2023-04-12T11:04:22.824Z] Removing intermediate container 1273b6897bc7 [2023-04-12T11:04:22.824Z] ---> 8956ba1ec3a7 [2023-04-12T11:04:22.824Z] Step 8/12 : WORKDIR /app [2023-04-12T11:04:23.091Z] ---> Running in a550e45b3d59 [2023-04-12T11:04:23.357Z] Removing intermediate container a550e45b3d59 [2023-04-12T11:04:23.357Z] ---> 2832ec8fc694 [2023-04-12T11:04:23.357Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-12T11:04:23.632Z] ---> 2175f074eda4 [2023-04-12T11:04:23.632Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-12T11:04:23.906Z] ---> Running in 0dd278758b3c [2023-04-12T11:05:20.327Z] Removing intermediate container 0dd278758b3c [2023-04-12T11:05:20.327Z] ---> 8815fdb60a08 [2023-04-12T11:05:20.327Z] Step 11/12 : COPY . . [2023-04-12T11:05:20.327Z] ---> 891f3153432f [2023-04-12T11:05:20.327Z] Step 12/12 : RUN $MAKE [2023-04-12T11:05:20.327Z] ---> Running in 88ed5d4cf5af [2023-04-12T11:05:20.327Z] noop [2023-04-12T11:05:21.746Z] Removing intermediate container 88ed5d4cf5af [2023-04-12T11:05:21.746Z] ---> 1ca3470c7d37 [2023-04-12T11:05:21.746Z] Successfully built 1ca3470c7d37 [2023-04-12T11:05:21.746Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T11:05:22.217Z] + docker inspect -f . ci-base-image-arm64 [2023-04-12T11:05:22.218Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-12T11:05:22.487Z] prd-ubuntu20.04-docker-arm64-4c-16g-7551 does not seem to be running inside a container [2023-04-12T11:05:22.547Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rfid-llrp-go/1 -v /w/workspace/device-rfid-llrp-go/1:/w/workspace/device-rfid-llrp-go/1:rw,z -v /w/workspace/device-rfid-llrp-go/1@tmp:/w/workspace/device-rfid-llrp-go/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-04-12T11:05:23.701Z] $ docker top 5808826c9a31098c977dbeb8e722bd70e0b3d0f32a3cd8492ebf7aa74b36a059 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-12T11:05:24.560Z] + go version [2023-04-12T11:05:24.560Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-12T11:05:24.593Z] $ docker stop --time=1 5808826c9a31098c977dbeb8e722bd70e0b3d0f32a3cd8492ebf7aa74b36a059 [2023-04-12T11:05:26.191Z] $ docker rm -f --volumes 5808826c9a31098c977dbeb8e722bd70e0b3d0f32a3cd8492ebf7aa74b36a059 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T11:05:27.035Z] + docker inspect -f . ci-base-image-arm64 [2023-04-12T11:05:27.036Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-12T11:05:27.279Z] prd-ubuntu20.04-docker-arm64-4c-16g-7551 does not seem to be running inside a container [2023-04-12T11:05:27.335Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rfid-llrp-go/1 -v /w/workspace/device-rfid-llrp-go/1:/w/workspace/device-rfid-llrp-go/1:rw,z -v /w/workspace/device-rfid-llrp-go/1@tmp:/w/workspace/device-rfid-llrp-go/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-04-12T11:05:28.485Z] $ docker top e9550ab15c248a10b5c997db4dea9da1629ddd68443f557ef0e3c3a61896687d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-12T11:05:29.039Z] + git config --global --add safe.directory /w/workspace/device-rfid-llrp-go/1 [Pipeline] fileExists [Pipeline] sh [2023-04-12T11:05:29.415Z] + make test [2023-04-12T11:05:29.415Z] go test ./... -coverprofile=coverage.out ./... [2023-04-12T11:06:01.662Z] ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] [2023-04-12T11:07:38.304Z] # github.com/edgexfoundry/device-rfid-llrp-go/cmd [2023-04-12T11:07:38.304Z] cmd/main.go:16:61: cannot use sd (variable of type *"github.com/edgexfoundry/device-rfid-llrp-go/internal/driver".Driver) as "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".ProtocolDriver value in argument to startup.Bootstrap: *"github.com/edgexfoundry/device-rfid-llrp-go/internal/driver".Driver does not implement "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".ProtocolDriver (wrong type for method Discover) [2023-04-12T11:07:38.304Z] have Discover() [2023-04-12T11:07:38.304Z] want Discover() error [2023-04-12T11:07:45.305Z] ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] [2023-04-12T11:08:24.172Z] ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 28.219s coverage: 40.9% of statements [2023-04-12T11:08:24.172Z] ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.633s coverage: 52.0% of statements [2023-04-12T11:08:24.172Z] ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.084s coverage: 95.5% of statements [2023-04-12T11:08:24.172Z] FAIL [2023-04-12T11:08:24.172Z] make: *** [Makefile:31: unittest] Error 1 [Pipeline] } [2023-04-12T11:08:24.212Z] $ docker stop --time=1 e9550ab15c248a10b5c997db4dea9da1629ddd68443f557ef0e3c3a61896687d [2023-04-12T11:08:26.155Z] $ docker rm -f --volumes e9550ab15c248a10b5c997db4dea9da1629ddd68443f557ef0e3c3a61896687d [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-04-12T11:08:27.790Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-12T11:08:27.790Z] [2023-04-12T11:08:27.790Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T11:08:28.185Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-12T11:08:28.453Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-12T11:08:28.453Z] 8998bd30e6a1: Pulling fs layer [2023-04-12T11:08:28.453Z] 04944245beec: Pulling fs layer [2023-04-12T11:08:28.453Z] 699f458cf7ca: Pulling fs layer [2023-04-12T11:08:28.453Z] 765212b225bb: Pulling fs layer [2023-04-12T11:08:28.453Z] f23df028b6ca: Pulling fs layer [2023-04-12T11:08:28.453Z] d65c8cfc05b1: Pulling fs layer [2023-04-12T11:08:28.453Z] 2437ff75d9bd: Pulling fs layer [2023-04-12T11:08:28.453Z] 765212b225bb: Waiting [2023-04-12T11:08:28.453Z] f23df028b6ca: Waiting [2023-04-12T11:08:28.453Z] d65c8cfc05b1: Waiting [2023-04-12T11:08:28.453Z] 2437ff75d9bd: Waiting [2023-04-12T11:08:28.453Z] 04944245beec: Verifying Checksum [2023-04-12T11:08:28.453Z] 04944245beec: Download complete [2023-04-12T11:08:28.453Z] 765212b225bb: Verifying Checksum [2023-04-12T11:08:28.453Z] 765212b225bb: Download complete [2023-04-12T11:08:28.721Z] f23df028b6ca: Verifying Checksum [2023-04-12T11:08:28.721Z] f23df028b6ca: Download complete [2023-04-12T11:08:28.721Z] d65c8cfc05b1: Verifying Checksum [2023-04-12T11:08:28.721Z] d65c8cfc05b1: Download complete [2023-04-12T11:08:28.988Z] 699f458cf7ca: Verifying Checksum [2023-04-12T11:08:28.988Z] 699f458cf7ca: Download complete [2023-04-12T11:08:29.256Z] 8998bd30e6a1: Verifying Checksum [2023-04-12T11:08:29.256Z] 8998bd30e6a1: Download complete [2023-04-12T11:08:31.834Z] 2437ff75d9bd: Verifying Checksum [2023-04-12T11:08:31.834Z] 2437ff75d9bd: Download complete [2023-04-12T11:08:36.086Z] 8998bd30e6a1: Pull complete [2023-04-12T11:08:36.352Z] 04944245beec: Pull complete [2023-04-12T11:08:37.762Z] 699f458cf7ca: Pull complete [2023-04-12T11:08:39.703Z] 765212b225bb: Pull complete [2023-04-12T11:08:41.117Z] f23df028b6ca: Pull complete [2023-04-12T11:08:42.092Z] d65c8cfc05b1: Pull complete [2023-04-12T11:08:57.109Z] 2437ff75d9bd: Pull complete [2023-04-12T11:08:57.109Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-12T11:08:57.109Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-12T11:08:57.109Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-12T11:08:57.428Z] prd-ubuntu20.04-docker-arm64-4c-16g-7551 does not seem to be running inside a container [2023-04-12T11:08:57.486Z] $ 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/device-rfid-llrp-go/1 -v /w/workspace/device-rfid-llrp-go/1:/w/workspace/device-rfid-llrp-go/1:rw,z -v /w/workspace/device-rfid-llrp-go/1@tmp:/w/workspace/device-rfid-llrp-go/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-04-12T11:08:59.841Z] $ docker top 06fb9e4395033f685e33bcc46f39eed6553de2f6e2e8ab81f112856d39247827 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-12T11:09:00.455Z] ---> job-cost.sh [2023-04-12T11:09:00.719Z] lf-activate-venv: SKIPPING [2023-04-12T11:09:00.719Z] INFO: No Stack... [2023-04-12T11:09:00.983Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-12T11:09:01.937Z] INFO: Archiving Costs [Pipeline] sh [2023-04-12T11:09:02.276Z] + cut -d, -f6 [2023-04-12T11:09:02.276Z] + cat /w/workspace/device-rfid-llrp-go/1/archives/cost.csv [Pipeline] lock [2023-04-12T11:09:02.350Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-202-1-stack-cost] [2023-04-12T11:09:02.356Z] Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-202-1-stack-cost] did not exist. Created. [2023-04-12T11:09:02.356Z] Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-202-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-12T11:09:03.081Z] /w/workspace/device-rfid-llrp-go/1@tmp/durable-19d6de79/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-12T11:09:03.756Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-12T11:09:03.789Z] Warning: overwriting stash ‘stack-cost’ [2023-04-12T11:09:04.245Z] Stashed 1 file(s) [Pipeline] } [2023-04-12T11:09:04.266Z] Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-202-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-12T11:09:04.344Z] $ docker stop --time=1 06fb9e4395033f685e33bcc46f39eed6553de2f6e2e8ab81f112856d39247827 [2023-04-12T11:09:06.746Z] $ docker rm -f --volumes 06fb9e4395033f685e33bcc46f39eed6553de2f6e2e8ab81f112856d39247827 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-12T11:09:07.488Z] 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-04-12T11:09:09.511Z] + [ -d /w/workspace/undry_device-rfid-llrp-go_PR-202/archives ] [2023-04-12T11:09:09.511Z] + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-202/archives [2023-04-12T11:09:09.511Z] total 16 [2023-04-12T11:09:09.511Z] drwxr-xr-x 3 root root 4096 Apr 12 11:03 . [2023-04-12T11:09:09.511Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 12 11:03 .. [2023-04-12T11:09:09.511Z] drwxr-xr-x 2 root root 4096 Apr 12 11:03 cost [2023-04-12T11:09:09.511Z] -rw-r--r-- 1 root root 91 Apr 12 11:03 cost.csv [2023-04-12T11:09:09.511Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-rfid-llrp-go_PR-202/archives [2023-04-12T11:09:09.511Z] + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-202/archives [2023-04-12T11:09:09.511Z] total 16 [2023-04-12T11:09:09.511Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 12 11:03 . [2023-04-12T11:09:09.511Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 12 11:03 .. [2023-04-12T11:09:09.511Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 12 11:03 cost [2023-04-12T11:09:09.511Z] -rw-r--r-- 1 jenkins jenkins 91 Apr 12 11:03 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-12T11:09:09.843Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-12T11:09:10.732Z] ---> package-listing.sh [2023-04-12T11:09:10.732Z] ++ facter osfamily [2023-04-12T11:09:10.732Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-12T11:09:10.992Z] + OS_FAMILY=debian [2023-04-12T11:09:10.992Z] + workspace=/w/workspace/undry_device-rfid-llrp-go_PR-202 [2023-04-12T11:09:10.992Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-12T11:09:10.992Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-12T11:09:10.992Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-12T11:09:10.992Z] + PACKAGES=/tmp/packages_start.txt [2023-04-12T11:09:10.992Z] + '[' /w/workspace/undry_device-rfid-llrp-go_PR-202 ']' [2023-04-12T11:09:10.992Z] + PACKAGES=/tmp/packages_end.txt [2023-04-12T11:09:10.992Z] + case "${OS_FAMILY}" in [2023-04-12T11:09:10.992Z] + dpkg -l [2023-04-12T11:09:10.992Z] + grep '^ii' [2023-04-12T11:09:10.992Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-12T11:09:10.992Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-12T11:09:10.992Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-12T11:09:10.992Z] + '[' /w/workspace/undry_device-rfid-llrp-go_PR-202 ']' [2023-04-12T11:09:10.992Z] + mkdir -p /w/workspace/undry_device-rfid-llrp-go_PR-202/archives/ [2023-04-12T11:09:10.992Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-rfid-llrp-go_PR-202/archives/ [Pipeline] echo [2023-04-12T11:09:11.030Z] 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/undry_device-rfid-llrp-go_PR-202/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-12T11:09:11.321Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-12T11:09:11.948Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-12T11:09:11.948Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-12T11:09:12.104Z] prd-ubuntu20.04-docker-8c-8g-7550 does not seem to be running inside a container [2023-04-12T11:09:12.128Z] $ 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/undry_device-rfid-llrp-go_PR-202/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-rfid-llrp-go_PR-202 -v /w/workspace/undry_device-rfid-llrp-go_PR-202:/w/workspace/undry_device-rfid-llrp-go_PR-202:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-202@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-202@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-12T11:09:12.324Z] $ docker top 566e898cbf03378a26c162c174cd7cb5f652fdf02a35352c06948e8090e75463 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-12T11:09:12.711Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-12T11:09:13.021Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-12T11:09:13.332Z] + ls /var/log/sa-host [2023-04-12T11:09:13.332Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-12T11:09:13.553Z] provisioning config files... [2023-04-12T11:09:13.563Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-202@tmp/config16017920617409379483tmp [Pipeline] { [Pipeline] echo [2023-04-12T11:09:13.617Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-12T11:09:13.926Z] ---> create-netrc.sh [Pipeline] } [2023-04-12T11:09:13.951Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-12T11:09:14.345Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-12T11:09:14.376Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-12T11:09:14.687Z] ---> sudo-logs.sh [2023-04-12T11:09:14.687Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-12T11:09:14.766Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-12T11:09:15.074Z] ---> job-cost.sh [2023-04-12T11:09:15.074Z] lf-activate-venv: SKIPPING [2023-04-12T11:09:15.074Z] DEBUG: total: 0.2199999988079071 [2023-04-12T11:09:15.074Z] INFO: Retrieving Stack Cost... [2023-04-12T11:09:15.333Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-12T11:09:15.594Z] INFO: Archiving Costs [Pipeline] echo [2023-04-12T11:09:15.638Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-12T11:09:15.949Z] ---> logs-deploy.sh [2023-04-12T11:09:15.949Z] lf-activate-venv: SKIPPING [2023-04-12T11:09:15.949Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rfid-llrp-go/PR-202/1 [2023-04-12T11:09:15.949Z] INFO: archiving workspace using pattern(s): [2023-04-12T11:09:16.885Z] Archives upload complete. [2023-04-12T11:09:16.886Z] INFO: archiving logs to Nexus