Pull request #226 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 697149b82dc250b21c245bac33222fa0953c9f59+e4a020dcf3f88d8c23c6bc4bea275782f951f00d (87e805e6d108ef71e793f2a0a73e92544cd71038) 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-ssh4570007851860770556.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh1957380015785936335.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-226/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-226/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15505879663799592162.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-226/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14838333672195867044.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh3831205546816748844.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-226/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-226/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7420275946405416734.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-14798 in /w/workspace/undry_device-rfid-llrp-go_PR-226 [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-226 # 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 > 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/226/head:refs/remotes/origin/PR-226 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e4a020dcf3f88d8c23c6bc4bea275782f951f00d into PR head commit 697149b82dc250b21c245bac33222fa0953c9f59 Merge succeeded, producing 697149b82dc250b21c245bac33222fa0953c9f59 Checking out Revision 697149b82dc250b21c245bac33222fa0953c9f59 (PR-226) 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 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:44:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:44:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 697149b82dc250b21c245bac33222fa0953c9f59 # 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 e4a020dcf3f88d8c23c6bc4bea275782f951f00d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 697149b82dc250b21c245bac33222fa0953c9f59 # timeout=10 [Pipeline] echo 22:44:49 ========================================================= 22:44:49 EdgeX Global Pipelines Version Info 22:44:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:44:50 ------------------- 22:44:50 stable info: 22:44:50 ------------------- 22:44:50 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:44:50 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 22:44:50 Message: update stable to v1.0.249 22:44:51 ------------------- 22:44:51 experimental info: 22:44:51 ------------------- 22:44:51 Commited By: **** collab-it+edgex@linuxfoundation.org 22:44:51 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 22:44:51 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:44:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rfid-llrp-go-settings [Pipeline] echo 22:44:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-rfid-llrp-go [Pipeline] echo 22:44:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:44:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:44:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:44:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 22:44:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:44:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:44:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:44:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:44:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:44:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rfid-llrp [Pipeline] echo 22:44:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:44:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:44:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:44:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:44:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:44:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:44:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:44:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:44:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:44:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:44:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:44:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:44:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:44:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:44:52 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:44:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-226 [Pipeline] echo 22:44:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-226 [Pipeline] echo 22:44:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-226 [Pipeline] echo 22:44:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 697149b82dc250b21c245bac33222fa0953c9f59 [Pipeline] echo 22:44:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 697149b [Pipeline] echo 22:44:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:44:53 provisioning config files... 22:44:53 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-226@tmp/config18342432708747354898tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:44:53 ---> docker-login.sh 22:44:53 nexus3.edgexfoundry.org:10001 22:44:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:53 Configure a credential helper to remove this warning. See 22:44:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:53 22:44:53 Login Succeeded 22:44:53 nexus3.edgexfoundry.org:10002 22:44:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:53 Configure a credential helper to remove this warning. See 22:44:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:53 22:44:53 Login Succeeded 22:44:53 nexus3.edgexfoundry.org:10003 22:44:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:53 Configure a credential helper to remove this warning. See 22:44:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:53 22:44:53 Login Succeeded 22:44:53 nexus3.edgexfoundry.org:10004 22:44:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:53 Configure a credential helper to remove this warning. See 22:44:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:53 22:44:53 Login Succeeded 22:44:53 docker.io 22:44:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:44:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:44:54 Configure a credential helper to remove this warning. See 22:44:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:44:54 22:44:54 Login Succeeded 22:44:54 ---> docker-login.sh ends [Pipeline] } 22:44:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:44:54 + git rev-list -1 --merges 697149b82dc250b21c245bac33222fa0953c9f59~1..697149b82dc250b21c245bac33222fa0953c9f59 [Pipeline] echo 22:44:54 -----------> git rev-list -1 --merges 697149b82dc250b21c245bac33222fa0953c9f59~1..697149b82dc250b21c245bac33222fa0953c9f59 697149b82dc250b21c245bac33222fa0953c9f59 [false] [Pipeline] sh 22:44:55 + git log --format=format:%s -1 697149b82dc250b21c245bac33222fa0953c9f59 [Pipeline] echo 22:44:55 ========================================================= 22:44:55 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:44:55 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:44:55 + git log --format=format:%s -1 697149b82dc250b21c245bac33222fa0953c9f59 [Pipeline] echo 22:44:55 [semverPrep] GIT_COMMIT: 697149b82dc250b21c245bac33222fa0953c9f59, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 22:44:55 [semverPrep] This is not a build commit. [Pipeline] sh 22:44:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:44:56 + grep -v github /etc/ssh/ssh_known_hosts 22:44:56 + [ -e /tmp/ssh_known_hosts ] 22:44:56 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:44:56 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:44:56 + sudo tee -a /etc/ssh/ssh_known_hosts 22:44:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:44:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:44:56 22:44:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:44:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:44:56 0.1.4: Pulling from edgex-devops/py-git-semver 22:44:56 b85a868b505f: Pulling fs layer 22:44:56 e2be974225ed: Pulling fs layer 22:44:56 339a4e72a1f5: Pulling fs layer 22:44:56 988bab9f4d93: Pulling fs layer 22:44:56 1469e6f7b9e6: Pulling fs layer 22:44:56 988bab9f4d93: Waiting 22:44:56 eaf3925da568: Pulling fs layer 22:44:56 bab4dde63d76: Pulling fs layer 22:44:56 1469e6f7b9e6: Waiting 22:44:56 bde34c3a00c8: Pulling fs layer 22:44:56 b352a97aabf1: Pulling fs layer 22:44:56 4872d77fe225: Pulling fs layer 22:44:56 5851b861e8e6: Pulling fs layer 22:44:56 bde34c3a00c8: Waiting 22:44:56 5851b861e8e6: Waiting 22:44:56 b352a97aabf1: Waiting 22:44:56 4872d77fe225: Waiting 22:44:56 e2be974225ed: Verifying Checksum 22:44:56 e2be974225ed: Download complete 22:44:56 988bab9f4d93: Download complete 22:44:57 1469e6f7b9e6: Verifying Checksum 22:44:57 1469e6f7b9e6: Download complete 22:44:57 eaf3925da568: Verifying Checksum 22:44:57 eaf3925da568: Download complete 22:44:57 339a4e72a1f5: Verifying Checksum 22:44:57 339a4e72a1f5: Download complete 22:44:57 bde34c3a00c8: Download complete 22:44:57 b352a97aabf1: Download complete 22:44:57 4872d77fe225: Download complete 22:44:57 5851b861e8e6: Verifying Checksum 22:44:57 5851b861e8e6: Download complete 22:44:57 b85a868b505f: Verifying Checksum 22:44:57 b85a868b505f: Download complete 22:44:57 bab4dde63d76: Verifying Checksum 22:44:57 bab4dde63d76: Download complete 22:44:58 b85a868b505f: Pull complete 22:44:58 e2be974225ed: Pull complete 22:44:59 339a4e72a1f5: Pull complete 22:44:59 988bab9f4d93: Pull complete 22:44:59 1469e6f7b9e6: Pull complete 22:44:59 eaf3925da568: Pull complete 22:45:01 bab4dde63d76: Pull complete 22:45:01 bde34c3a00c8: Pull complete 22:45:01 b352a97aabf1: Pull complete 22:45:01 4872d77fe225: Pull complete 22:45:01 5851b861e8e6: Pull complete 22:45:01 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:45:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:45:01 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:45:01 prd-ubuntu20.04-docker-8c-8g-14798 does not seem to be running inside a container 22:45:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-rfid-llrp-go_PR-226 -v /w/workspace/undry_device-rfid-llrp-go_PR-226:/w/workspace/undry_device-rfid-llrp-go_PR-226:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-226@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-226@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:45:04 $ docker top bfb0df49967b5c9eac2e1c385fab3b7f356eda50e6584263455f2677afce4489 -eo pid,comm 22:45:04 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). 22:45:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:45:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:45:04 [ssh-agent] Looking for ssh-agent implementation... 22:45:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:45:04 $ docker exec bfb0df49967b5c9eac2e1c385fab3b7f356eda50e6584263455f2677afce4489 ssh-agent 22:45:05 SSH_AUTH_SOCK=/tmp/ssh-cxIHKRt7WFJ6/agent.32 22:45:05 SSH_AGENT_PID=38 22:45:05 Running ssh-add (command line suppressed) 22:45:05 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-226@tmp/private_key_3964742695767179709.key (/w/workspace/undry_device-rfid-llrp-go_PR-226@tmp/private_key_3964742695767179709.key) 22:45:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:45:05 + git tag --points-at HEAD [Pipeline] } 22:45:05 $ docker exec --env ******** --env ******** bfb0df49967b5c9eac2e1c385fab3b7f356eda50e6584263455f2677afce4489 ssh-agent -k 22:45:05 unset SSH_AUTH_SOCK; 22:45:05 unset SSH_AGENT_PID; 22:45:05 echo Agent pid 38 killed; 22:45:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:45:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:45:05 [ssh-agent] Looking for ssh-agent implementation... 22:45:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:45:05 $ docker exec bfb0df49967b5c9eac2e1c385fab3b7f356eda50e6584263455f2677afce4489 ssh-agent 22:45:05 SSH_AUTH_SOCK=/tmp/ssh-y4qAVZZK3x65/agent.69 22:45:05 SSH_AGENT_PID=76 22:45:05 Running ssh-add (command line suppressed) 22:45:06 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-226@tmp/private_key_13506197426640497414.key (/w/workspace/undry_device-rfid-llrp-go_PR-226@tmp/private_key_13506197426640497414.key) 22:45:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:45:06 + git semver init 22:45:06 2023-05-09 22:45:06,507 [run_init] DEBUG init version:0.0.0 force:False 22:45:06 2023-05-09 22:45:06,507 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-rfid-llrp-go_PR-226/.semver 22:45:06 2023-05-09 22:45:06,508 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rfid-llrp-go.git /w/workspace/undry_device-rfid-llrp-go_PR-226/.semver 22:45:06 2023-05-09 22:45:06,508 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rfid-llrp-go.git', '/w/workspace/undry_device-rfid-llrp-go_PR-226/.semver'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-226, universal_newlines=False, shell=None, istream=None) 22:45:07 2023-05-09 22:45:07,289 [append_file] DEBUG append to file:/w/workspace/undry_device-rfid-llrp-go_PR-226/.git/info/exclude 22:45:07 2023-05-09 22:45:07,290 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-rfid-llrp-go_PR-226/.semver/PR-226 with force:False 22:45:07 2023-05-09 22:45:07,290 [write_file] DEBUG write to file:/w/workspace/undry_device-rfid-llrp-go_PR-226/.semver/PR-226 22:45:07 2023-05-09 22:45:07,296 [execute] INFO git cat-file --batch-check 22:45:07 2023-05-09 22:45:07,297 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-226/.semver, universal_newlines=False, shell=None, istream=) 22:45:07 2023-05-09 22:45:07,303 [execute] INFO git cat-file --batch 22:45:07 2023-05-09 22:45:07,303 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-226/.semver, universal_newlines=False, shell=None, istream=) 22:45:07 2023-05-09 22:45:07,308 [read_version] DEBUG read version from /w/workspace/undry_device-rfid-llrp-go_PR-226/.semver/PR-226 22:45:07 0.0.0 [Pipeline] } 22:45:07 $ docker exec --env ******** --env ******** bfb0df49967b5c9eac2e1c385fab3b7f356eda50e6584263455f2677afce4489 ssh-agent -k 22:45:07 unset SSH_AUTH_SOCK; 22:45:07 unset SSH_AGENT_PID; 22:45:07 echo Agent pid 76 killed; 22:45:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:45:08 + git semver [Pipeline] } 22:45:08 $ docker stop --time=1 bfb0df49967b5c9eac2e1c385fab3b7f356eda50e6584263455f2677afce4489 22:45:09 $ docker rm -f --volumes bfb0df49967b5c9eac2e1c385fab3b7f356eda50e6584263455f2677afce4489 [Pipeline] // withDockerContainer [Pipeline] sh 22:45:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:45:10 Stashed 1 file(s) [Pipeline] echo 22:45:10 [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 22:45:10 provisioning config files... 22:45:10 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-226@tmp/config8177779510950625864tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:45:11 ---> docker-login.sh 22:45:11 nexus3.edgexfoundry.org:10001 22:45:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:11 Configure a credential helper to remove this warning. See 22:45:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:11 22:45:11 Login Succeeded 22:45:11 nexus3.edgexfoundry.org:10002 22:45:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:11 Configure a credential helper to remove this warning. See 22:45:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:11 22:45:11 Login Succeeded 22:45:11 nexus3.edgexfoundry.org:10003 22:45:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:11 Configure a credential helper to remove this warning. See 22:45:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:11 22:45:11 Login Succeeded 22:45:11 nexus3.edgexfoundry.org:10004 22:45:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:11 Configure a credential helper to remove this warning. See 22:45:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:11 22:45:11 Login Succeeded 22:45:11 docker.io 22:45:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:45:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:45:11 Configure a credential helper to remove this warning. See 22:45:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:45:11 22:45:11 Login Succeeded 22:45:11 ---> docker-login.sh ends [Pipeline] } 22:45:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:45:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:45:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:45:12 ========================================================= 22:45:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 22:45:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:45:12 + 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 . 22:45:12 Sending build context to Docker daemon 4.238MB 22:45:12 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 22:45:12 Step 2/12 : FROM ${BASE} AS builder 22:45:12 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 22:45:12 f56be85fc22e: Pulling fs layer 22:45:12 85791d961cd3: Pulling fs layer 22:45:12 d694b5ae8c79: Pulling fs layer 22:45:12 9f32a84ed3da: Pulling fs layer 22:45:12 4d19c01a9841: Pulling fs layer 22:45:12 9325e15d5711: Pulling fs layer 22:45:12 556b6ee489ea: Pulling fs layer 22:45:12 c5a4b2cf53e6: Pulling fs layer 22:45:12 9f32a84ed3da: Waiting 22:45:12 4d19c01a9841: Waiting 22:45:12 9325e15d5711: Waiting 22:45:12 556b6ee489ea: Waiting 22:45:12 85791d961cd3: Download complete 22:45:12 9f32a84ed3da: Verifying Checksum 22:45:12 9f32a84ed3da: Download complete 22:45:12 4d19c01a9841: Verifying Checksum 22:45:12 4d19c01a9841: Download complete 22:45:12 f56be85fc22e: Download complete 22:45:12 9325e15d5711: Verifying Checksum 22:45:12 9325e15d5711: Download complete 22:45:12 f56be85fc22e: Pull complete 22:45:13 85791d961cd3: Pull complete 22:45:13 c5a4b2cf53e6: Verifying Checksum 22:45:13 c5a4b2cf53e6: Download complete 22:45:13 d694b5ae8c79: Verifying Checksum 22:45:13 d694b5ae8c79: Download complete 22:45:13 556b6ee489ea: Verifying Checksum 22:45:13 556b6ee489ea: Download complete 22:45:16 d694b5ae8c79: Pull complete 22:45:16 9f32a84ed3da: Pull complete 22:45:16 4d19c01a9841: Pull complete 22:45:16 9325e15d5711: Pull complete 22:45:18 556b6ee489ea: Pull complete 22:45:19 c5a4b2cf53e6: Pull complete 22:45:19 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 22:45:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 22:45:19 ---> c4be618373d6 22:45:19 Step 3/12 : ARG ADD_BUILD_TAGS="" 22:45:23 ---> Running in 8ad3a1a63d2f 22:45:23 Removing intermediate container 8ad3a1a63d2f 22:45:23 ---> 40e077d98835 22:45:23 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:45:23 ---> Running in d551beb40651 22:45:23 Removing intermediate container d551beb40651 22:45:23 ---> 86cef7388414 22:45:23 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 22:45:23 ---> Running in 5498b714bde5 22:45:23 Removing intermediate container 5498b714bde5 22:45:23 ---> c3363c6bac43 22:45:23 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 22:45:23 ---> Running in e162ee6148c8 22:45:23 Removing intermediate container e162ee6148c8 22:45:23 ---> 096f34a92b83 22:45:23 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:45:23 ---> Running in 3e54afac20ba 22:45:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 22:45:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 22:45:23 OK: 265 MiB in 53 packages 22:45:24 Removing intermediate container 3e54afac20ba 22:45:24 ---> 9d2fe5132e48 22:45:24 Step 8/12 : WORKDIR /app 22:45:24 ---> Running in a169323a0c60 22:45:24 Removing intermediate container a169323a0c60 22:45:24 ---> b32c22060036 22:45:24 Step 9/12 : COPY go.mod vendor* ./ 22:45:24 ---> 492a8ffc5d89 22:45:24 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:45:24 ---> Running in 2e7e063b4f24 22:45:25 Still waiting to schedule task 22:45:25 ‘prd-centos7-blackbox-4c-2g-14349’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 22:45:25 ‘prd-centos7-blackbox-4c-2g-14350’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 22:45:25 ‘prd-ubuntu20.04-docker-arm64-4c-16g-14799’ is offline 22:45:50 Removing intermediate container 2e7e063b4f24 22:45:50 ---> acab23615edf 22:45:50 Step 11/12 : COPY . . 22:45:50 ---> abc6e05130bb 22:45:50 Step 12/12 : RUN $MAKE 22:45:50 ---> Running in f0f3bbbd3f86 22:45:50 noop 22:45:50 Removing intermediate container f0f3bbbd3f86 22:45:50 ---> 3bb3373b7ed1 22:45:50 Successfully built 3bb3373b7ed1 22:45:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:45:51 + docker inspect -f . ci-base-image-x86_64 22:45:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:45:51 prd-ubuntu20.04-docker-8c-8g-14798 does not seem to be running inside a container 22:45:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-rfid-llrp-go_PR-226 -v /w/workspace/undry_device-rfid-llrp-go_PR-226:/w/workspace/undry_device-rfid-llrp-go_PR-226:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-226@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-226@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:45:51 $ docker top 83b3bf25b8116d5da3657548b30ac3f09c900d7f5cfbea3b66fb9fdc5f29f889 -eo pid,comm [Pipeline] { [Pipeline] sh 22:45:52 + go version 22:45:52 go version go1.20.2 linux/amd64 [Pipeline] } 22:45:52 $ docker stop --time=1 83b3bf25b8116d5da3657548b30ac3f09c900d7f5cfbea3b66fb9fdc5f29f889 22:45:53 $ docker rm -f --volumes 83b3bf25b8116d5da3657548b30ac3f09c900d7f5cfbea3b66fb9fdc5f29f889 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:45:54 + docker inspect -f . ci-base-image-x86_64 22:45:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:45:54 prd-ubuntu20.04-docker-8c-8g-14798 does not seem to be running inside a container 22:45:54 $ 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-226 -v /w/workspace/undry_device-rfid-llrp-go_PR-226:/w/workspace/undry_device-rfid-llrp-go_PR-226:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-226@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-226@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:45:54 $ docker top 09d07ae6e93e1522923fd4ca5edd14d0b4a9940dc4ef9748222c6575fb217a86 -eo pid,comm [Pipeline] { [Pipeline] sh 22:45:55 + git config --global --add safe.directory /w/workspace/undry_device-rfid-llrp-go_PR-226 [Pipeline] fileExists [Pipeline] sh 22:45:55 + make test 22:45:55 go test ./... -coverprofile=coverage.out ./... 22:45:59 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 22:46:06 # github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 22:46:06 internal/driver/device.go:195:22: d.svc.SetDeviceOpState undefined (type "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".DeviceServiceSDK has no field or method SetDeviceOpState) 22:46:06 internal/driver/device.go:468:17: svc.SetDeviceOpState undefined (type "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".DeviceServiceSDK has no field or method SetDeviceOpState) 22:46:08 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 22:46:08 FAIL github.com/edgexfoundry/device-rfid-llrp-go/internal/driver [build failed] 22:46:10 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.246s coverage: 51.9% of statements 22:46:10 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.008s coverage: 95.5% of statements 22:46:10 FAIL 22:46:10 make: *** [Makefile:31: unittest] Error 1 [Pipeline] } 22:46:10 $ docker stop --time=1 09d07ae6e93e1522923fd4ca5edd14d0b4a9940dc4ef9748222c6575fb217a86 22:46:13 $ docker rm -f --volumes 09d07ae6e93e1522923fd4ca5edd14d0b4a9940dc4ef9748222c6575fb217a86 [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 22:46:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:46:14 22:46:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:46:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:46:15 latest: Pulling from edgex-lftools-log-publisher 22:46:15 5eb5b503b376: Pulling fs layer 22:46:15 5c69ac0246d0: Pulling fs layer 22:46:15 ec43610c2a17: Pulling fs layer 22:46:15 3a2ae6a8a46f: Pulling fs layer 22:46:15 33b1e0a273af: Pulling fs layer 22:46:15 5d3b04190fa2: Pulling fs layer 22:46:15 2f39f015ded8: Pulling fs layer 22:46:15 33b1e0a273af: Waiting 22:46:15 5d3b04190fa2: Waiting 22:46:15 2f39f015ded8: Waiting 22:46:15 3a2ae6a8a46f: Waiting 22:46:15 5c69ac0246d0: Verifying Checksum 22:46:15 5c69ac0246d0: Download complete 22:46:15 3a2ae6a8a46f: Verifying Checksum 22:46:15 3a2ae6a8a46f: Download complete 22:46:15 ec43610c2a17: Download complete 22:46:15 5d3b04190fa2: Download complete 22:46:15 33b1e0a273af: Verifying Checksum 22:46:15 33b1e0a273af: Download complete 22:46:15 5eb5b503b376: Verifying Checksum 22:46:15 5eb5b503b376: Download complete 22:46:16 2f39f015ded8: Download complete 22:46:16 5eb5b503b376: Pull complete 22:46:16 5c69ac0246d0: Pull complete 22:46:17 ec43610c2a17: Pull complete 22:46:17 3a2ae6a8a46f: Pull complete 22:46:17 33b1e0a273af: Pull complete 22:46:17 5d3b04190fa2: Pull complete 22:46:21 2f39f015ded8: Pull complete 22:46:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:46:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:46:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:46:22 prd-ubuntu20.04-docker-8c-8g-14798 does not seem to be running inside a container 22:46:22 $ 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-226 -v /w/workspace/undry_device-rfid-llrp-go_PR-226:/w/workspace/undry_device-rfid-llrp-go_PR-226:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-226@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-226@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:46:25 $ docker top ac88ac301855f39319de7b304b0926842f96ebef60f2720f08bbb505e3b59235 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:46:25 ---> job-cost.sh 22:46:25 lf-activate-venv: SKIPPING 22:46:25 INFO: No Stack... 22:46:26 INFO: Retrieving Pricing Info for: v3-standard-8 22:46:26 INFO: Archiving Costs [Pipeline] sh 22:46:26 + + cat /w/workspace/undry_device-rfid-llrp-go_PR-226/archives/cost.csv 22:46:26 cut -d, -f6 [Pipeline] lock 22:46:26 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-226-1-stack-cost] 22:46:26 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-226-1-stack-cost] did not exist. Created. 22:46:26 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-226-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:46:27 + echo total: 0.2199999988079071 [Pipeline] stash 22:46:27 Stashed 1 file(s) [Pipeline] } 22:46:27 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-226-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:46:27 $ docker stop --time=1 ac88ac301855f39319de7b304b0926842f96ebef60f2720f08bbb505e3b59235 22:46:28 $ docker rm -f --volumes ac88ac301855f39319de7b304b0926842f96ebef60f2720f08bbb505e3b59235 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:46:28 Failed in branch amd64 22:48:01 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14802 in /w/workspace/undry_device-rfid-llrp-go_PR-226 [Pipeline] { [Pipeline] ws 22:48:01 Running in /w/workspace/device-rfid-llrp-go/1 [Pipeline] { [Pipeline] checkout 22:48:01 Selected Git installation does not exist. Using Default 22:48:01 The recommended git tool is: NONE 22:48:07 using credential edgex-jenkins-ssh 22:48:07 Cloning the remote Git repository 22:48:07 Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git 22:48:08 > git init /w/workspace/device-rfid-llrp-go/1 # timeout=10 22:48:08 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 22:48:08 > git --version # timeout=10 22:48:08 > git --version # 'git version 2.25.1' 22:48:08 using GIT_SSH to set credentials SSH Credentials for GitHub 22:48:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:48:09 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 22:48:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:48:11 Merging remotes/origin/main commit e4a020dcf3f88d8c23c6bc4bea275782f951f00d into PR head commit 697149b82dc250b21c245bac33222fa0953c9f59 22:48:11 Merge succeeded, producing 697149b82dc250b21c245bac33222fa0953c9f59 22:48:11 Checking out Revision 697149b82dc250b21c245bac33222fa0953c9f59 (PR-226) 22:48:10 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 22:48:10 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 22:48:10 using GIT_SSH to set credentials SSH Credentials for GitHub 22:48:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/226/head:refs/remotes/origin/PR-226 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:48:11 > git config core.sparsecheckout # timeout=10 22:48:11 > git checkout -f 697149b82dc250b21c245bac33222fa0953c9f59 # timeout=10 22:48:11 > git remote # timeout=10 22:48:11 > git config --get remote.origin.url # timeout=10 22:48:11 using GIT_SSH to set credentials SSH Credentials for GitHub 22:48:11 > git merge e4a020dcf3f88d8c23c6bc4bea275782f951f00d # timeout=10 22:48:11 > git rev-parse HEAD^{commit} # timeout=10 22:48:11 > git config core.sparsecheckout # timeout=10 22:48:11 > git checkout -f 697149b82dc250b21c245bac33222fa0953c9f59 # timeout=10 22:48:12 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 22:48:12 > git --version # timeout=10 22:48:12 > git --version # 'git version 2.25.1' 22:48:12 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:48:13 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:48:13 % Total % Received % Xferd Average Speed Time Time Time Current 22:48:13 Dload Upload Total Spent Left Speed 22:48:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 207k 0 --:--:-- --:--:-- --:--:-- 207k [Pipeline] sh 22:48:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:48:14 + sudo tee /etc/docker/daemon.new 22:48:14 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:48:14 { 22:48:14 "registry-mirrors": [ 22:48:14 "https://nexus3.edgexfoundry.org:10001" 22:48:14 ], 22:48:14 "bip": "10.250.0.254/24", 22:48:14 "hosts": [ 22:48:14 "tcp://0.0.0.0:5555", 22:48:14 "unix:///var/run/docker.sock" 22:48:14 ], 22:48:14 "mtu": 1458, 22:48:14 "selinux-enabled": true, 22:48:14 "seccomp-profile": "/etc/docker/seccomp.json" 22:48:14 } [Pipeline] sh 22:48:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:48:14 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:48:33 provisioning config files... 22:48:33 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/device-rfid-llrp-go/1@tmp/config13215170380759695652tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:48:33 ---> docker-login.sh 22:48:33 nexus3.edgexfoundry.org:10001 22:48:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:48:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:48:34 Configure a credential helper to remove this warning. See 22:48:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:48:34 22:48:34 Login Succeeded 22:48:34 nexus3.edgexfoundry.org:10002 22:48:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:48:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:48:34 Configure a credential helper to remove this warning. See 22:48:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:48:34 22:48:34 Login Succeeded 22:48:34 nexus3.edgexfoundry.org:10003 22:48:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:48:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:48:35 Configure a credential helper to remove this warning. See 22:48:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:48:35 22:48:35 Login Succeeded 22:48:35 nexus3.edgexfoundry.org:10004 22:48:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:48:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:48:35 Configure a credential helper to remove this warning. See 22:48:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:48:35 22:48:35 Login Succeeded 22:48:35 docker.io 22:48:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:48:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:48:36 Configure a credential helper to remove this warning. See 22:48:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:48:36 22:48:36 Login Succeeded 22:48:36 ---> docker-login.sh ends [Pipeline] } 22:48:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:48:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:48:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:48:36 ========================================================= 22:48:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 22:48:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:48:37 + 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 . 22:48:37 Sending build context to Docker daemon 1.212MB 22:48:37 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 22:48:37 Step 2/12 : FROM ${BASE} AS builder 22:48:37 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:48:37 c41833b44d91: Pulling fs layer 22:48:37 ed15518f5707: Pulling fs layer 22:48:37 feae8fd75edb: Pulling fs layer 22:48:37 242c74f7c9fa: Pulling fs layer 22:48:37 3cdef696dda3: Pulling fs layer 22:48:37 2ced38df9373: Pulling fs layer 22:48:37 58f1dce35555: Pulling fs layer 22:48:37 242c74f7c9fa: Waiting 22:48:37 3cdef696dda3: Waiting 22:48:37 58f1dce35555: Waiting 22:48:37 2ced38df9373: Waiting 22:48:37 ed15518f5707: Download complete 22:48:37 242c74f7c9fa: Verifying Checksum 22:48:37 242c74f7c9fa: Download complete 22:48:37 3cdef696dda3: Verifying Checksum 22:48:37 3cdef696dda3: Download complete 22:48:37 c41833b44d91: Verifying Checksum 22:48:37 c41833b44d91: Download complete 22:48:39 c41833b44d91: Pull complete 22:48:39 58f1dce35555: Verifying Checksum 22:48:39 58f1dce35555: Download complete 22:48:39 ed15518f5707: Pull complete 22:48:40 feae8fd75edb: Verifying Checksum 22:48:40 feae8fd75edb: Download complete 22:48:40 2ced38df9373: Verifying Checksum 22:48:40 2ced38df9373: Download complete 22:48:53 feae8fd75edb: Pull complete 22:48:53 242c74f7c9fa: Pull complete 22:48:53 3cdef696dda3: Pull complete 22:48:58 2ced38df9373: Pull complete 22:49:00 58f1dce35555: Pull complete 22:49:00 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 22:49:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 22:49:00 ---> fadd8f120f05 22:49:00 Step 3/12 : ARG ADD_BUILD_TAGS="" 22:49:02 ---> Running in bcbb578e0c64 22:49:02 Removing intermediate container bcbb578e0c64 22:49:02 ---> 607464d48001 22:49:02 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:49:02 ---> Running in ef35a406a4f7 22:49:02 Removing intermediate container ef35a406a4f7 22:49:02 ---> 9118113caa49 22:49:02 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 22:49:02 ---> Running in f1006c208b05 22:49:03 Removing intermediate container f1006c208b05 22:49:03 ---> 3d5a025084ad 22:49:03 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 22:49:03 ---> Running in 9b1ed2ca61b7 22:49:03 Removing intermediate container 9b1ed2ca61b7 22:49:03 ---> fd606aaf07f6 22:49:03 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:49:03 ---> Running in 12afef8841a8 22:49:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 22:49:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 22:49:06 OK: 263 MiB in 53 packages 22:49:07 Removing intermediate container 12afef8841a8 22:49:07 ---> e52ab14baa5e 22:49:07 Step 8/12 : WORKDIR /app 22:49:07 ---> Running in a2e47fa2815b 22:49:08 Removing intermediate container a2e47fa2815b 22:49:08 ---> d8e0a5314f95 22:49:08 Step 9/12 : COPY go.mod vendor* ./ 22:49:09 ---> d43f487cf986 22:49:09 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:49:09 ---> Running in 6926ec9194a0 22:50:18 Removing intermediate container 6926ec9194a0 22:50:18 ---> 012717e57a24 22:50:18 Step 11/12 : COPY . . 22:50:18 ---> 29b1153d4e6b 22:50:18 Step 12/12 : RUN $MAKE 22:50:18 ---> Running in bc4c8c962ad9 22:50:18 noop 22:50:18 Removing intermediate container bc4c8c962ad9 22:50:18 ---> 2474a4114d59 22:50:18 Successfully built 2474a4114d59 22:50:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:50:18 + docker inspect -f . ci-base-image-arm64 22:50:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:50:18 prd-ubuntu20.04-docker-arm64-4c-16g-14802 does not seem to be running inside a container 22:50:18 $ 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 22:50:20 $ docker top c669e3f7397869400e60d5490a6e9f14f8aa36f79707113ec03e1bae2ef2f19f -eo pid,comm [Pipeline] { [Pipeline] sh 22:50:21 + go version 22:50:21 go version go1.20.2 linux/arm64 [Pipeline] } 22:50:21 $ docker stop --time=1 c669e3f7397869400e60d5490a6e9f14f8aa36f79707113ec03e1bae2ef2f19f 22:50:22 $ docker rm -f --volumes c669e3f7397869400e60d5490a6e9f14f8aa36f79707113ec03e1bae2ef2f19f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:50:23 + docker inspect -f . ci-base-image-arm64 22:50:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:50:24 prd-ubuntu20.04-docker-arm64-4c-16g-14802 does not seem to be running inside a container 22:50:24 $ 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 22:50:25 $ docker top 1bb628a380020843302c7b93a2c85ce42a9e7bd4287b11009dc6e30a7eabcc78 -eo pid,comm [Pipeline] { [Pipeline] sh 22:50:26 + git config --global --add safe.directory /w/workspace/device-rfid-llrp-go/1 [Pipeline] fileExists [Pipeline] sh 22:50:27 + make test 22:50:27 go test ./... -coverprofile=coverage.out ./... 22:51:05 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 22:52:03 # github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 22:52:03 internal/driver/device.go:195:22: d.svc.SetDeviceOpState undefined (type "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".DeviceServiceSDK has no field or method SetDeviceOpState) 22:52:03 internal/driver/device.go:468:17: svc.SetDeviceOpState undefined (type "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".DeviceServiceSDK has no field or method SetDeviceOpState) 22:53:25 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 22:53:28 FAIL github.com/edgexfoundry/device-rfid-llrp-go/internal/driver [build failed] 22:53:50 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.584s coverage: 52.0% of statements 22:53:50 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.035s coverage: 95.5% of statements 22:53:50 FAIL 22:53:50 make: *** [Makefile:31: unittest] Error 1 [Pipeline] } 22:53:50 $ docker stop --time=1 1bb628a380020843302c7b93a2c85ce42a9e7bd4287b11009dc6e30a7eabcc78 22:53:52 $ docker rm -f --volumes 1bb628a380020843302c7b93a2c85ce42a9e7bd4287b11009dc6e30a7eabcc78 [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 22:53:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:53:54 22:53:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:53:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:53:55 arm64: Pulling from edgex-lftools-log-publisher 22:53:55 8998bd30e6a1: Pulling fs layer 22:53:55 04944245beec: Pulling fs layer 22:53:55 699f458cf7ca: Pulling fs layer 22:53:55 765212b225bb: Pulling fs layer 22:53:55 f23df028b6ca: Pulling fs layer 22:53:55 d65c8cfc05b1: Pulling fs layer 22:53:55 2437ff75d9bd: Pulling fs layer 22:53:55 765212b225bb: Waiting 22:53:55 f23df028b6ca: Waiting 22:53:55 2437ff75d9bd: Waiting 22:53:55 04944245beec: Verifying Checksum 22:53:55 04944245beec: Download complete 22:53:55 765212b225bb: Verifying Checksum 22:53:55 765212b225bb: Download complete 22:53:55 f23df028b6ca: Verifying Checksum 22:53:55 f23df028b6ca: Download complete 22:53:55 d65c8cfc05b1: Verifying Checksum 22:53:55 d65c8cfc05b1: Download complete 22:53:55 699f458cf7ca: Verifying Checksum 22:53:55 8998bd30e6a1: Download complete 22:53:58 2437ff75d9bd: Download complete 22:53:59 8998bd30e6a1: Pull complete 22:54:00 04944245beec: Pull complete 22:54:01 699f458cf7ca: Pull complete 22:54:01 765212b225bb: Pull complete 22:54:02 f23df028b6ca: Pull complete 22:54:02 d65c8cfc05b1: Pull complete 22:54:17 2437ff75d9bd: Pull complete 22:54:17 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:54:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:54:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:54:17 prd-ubuntu20.04-docker-arm64-4c-16g-14802 does not seem to be running inside a container 22:54:18 $ 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 22:54:21 $ docker top f99ac6a4d58ef2c776bc07f57f8378230cec447bcdfd44c7eb02a819ccabfac6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:54:22 ---> job-cost.sh 22:54:22 lf-activate-venv: SKIPPING 22:54:22 INFO: No Stack... 22:54:22 INFO: Retrieving Pricing Info for: v3-standard-4 22:54:23 INFO: Archiving Costs [Pipeline] sh 22:54:24 + cat /w/workspace/device-rfid-llrp-go/1/archives/cost.csv 22:54:24 + cut -d, -f6 [Pipeline] lock 22:54:24 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-226-1-stack-cost] 22:54:24 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-226-1-stack-cost] did not exist. Created. 22:54:24 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-226-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:54:25 /w/workspace/device-rfid-llrp-go/1@tmp/durable-d7fdbab9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:54:25 + echo total: 0.10999999940395355 [Pipeline] stash 22:54:25 Warning: overwriting stash ‘stack-cost’ 22:54:26 Stashed 1 file(s) [Pipeline] } 22:54:26 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-226-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:54:26 $ docker stop --time=1 f99ac6a4d58ef2c776bc07f57f8378230cec447bcdfd44c7eb02a819ccabfac6 22:54:28 $ docker rm -f --volumes f99ac6a4d58ef2c776bc07f57f8378230cec447bcdfd44c7eb02a819ccabfac6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:54:28 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 22:54:30 + [ -d /w/workspace/undry_device-rfid-llrp-go_PR-226/archives ] 22:54:30 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-226/archives 22:54:30 total 16 22:54:30 drwxr-xr-x 3 root root 4096 May 9 22:46 . 22:54:30 drwxrwxr-x 12 jenkins jenkins 4096 May 9 22:46 .. 22:54:30 drwxr-xr-x 2 root root 4096 May 9 22:46 cost 22:54:30 -rw-r--r-- 1 root root 91 May 9 22:46 cost.csv 22:54:30 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-rfid-llrp-go_PR-226/archives 22:54:30 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-226/archives 22:54:30 total 16 22:54:30 drwxr-xr-x 3 jenkins jenkins 4096 May 9 22:46 . 22:54:30 drwxrwxr-x 12 jenkins jenkins 4096 May 9 22:46 .. 22:54:30 drwxr-xr-x 2 jenkins jenkins 4096 May 9 22:46 cost 22:54:30 -rw-r--r-- 1 jenkins jenkins 91 May 9 22:46 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:54:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:54:31 ---> package-listing.sh 22:54:31 ++ facter osfamily 22:54:31 ++ tr '[:upper:]' '[:lower:]' 22:54:32 + OS_FAMILY=debian 22:54:32 + workspace=/w/workspace/undry_device-rfid-llrp-go_PR-226 22:54:32 + START_PACKAGES=/tmp/packages_start.txt 22:54:32 + END_PACKAGES=/tmp/packages_end.txt 22:54:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:54:32 + PACKAGES=/tmp/packages_start.txt 22:54:32 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-226 ']' 22:54:32 + PACKAGES=/tmp/packages_end.txt 22:54:32 + case "${OS_FAMILY}" in 22:54:32 + dpkg -l 22:54:32 + grep '^ii' 22:54:32 + '[' -f /tmp/packages_start.txt ']' 22:54:32 + '[' -f /tmp/packages_end.txt ']' 22:54:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:54:32 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-226 ']' 22:54:32 + mkdir -p /w/workspace/undry_device-rfid-llrp-go_PR-226/archives/ 22:54:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-rfid-llrp-go_PR-226/archives/ [Pipeline] echo 22:54:32 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-226/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:54:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:54:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:54:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:54:33 prd-ubuntu20.04-docker-8c-8g-14798 does not seem to be running inside a container 22:54:33 $ 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-226/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-226 -v /w/workspace/undry_device-rfid-llrp-go_PR-226:/w/workspace/undry_device-rfid-llrp-go_PR-226:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-226@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-226@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 22:54:33 $ docker top 47dd5314b1358802744bdd592079cc29d23c68563565974b2facaaa6e249c3db -eo pid,comm [Pipeline] { [Pipeline] sh 22:54:33 + touch /tmp/pre-build-complete [Pipeline] sh 22:54:34 + mkdir -p /var/log/sysstat [Pipeline] sh 22:54:34 + ls /var/log/sa-host 22:54:34 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:54:34 provisioning config files... 22:54:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-226@tmp/config12321686684288884436tmp [Pipeline] { [Pipeline] echo 22:54:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:54:35 ---> create-netrc.sh [Pipeline] } 22:54:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:54:35 ---> python-tools-install.sh [Pipeline] echo 22:54:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:54:35 ---> sudo-logs.sh 22:54:35 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:54:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:54:36 ---> job-cost.sh 22:54:36 lf-activate-venv: SKIPPING 22:54:36 DEBUG: total: 0.2199999988079071 22:54:36 INFO: Retrieving Stack Cost... 22:54:36 INFO: Retrieving Pricing Info for: v3-standard-8 22:54:37 INFO: Archiving Costs [Pipeline] echo 22:54:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:54:37 ---> logs-deploy.sh 22:54:37 lf-activate-venv: SKIPPING 22:54:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rfid-llrp-go/PR-226/1 22:54:37 INFO: archiving workspace using pattern(s): 22:54:38 Archives upload complete. 22:54:38 INFO: archiving logs to Nexus