Pull request #203 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-rfid-llrp-go Loading trusted files from base branch main at 033b407f9eaa2330e089f27ad80a4426d2f7bae5 rather than ed1eaf7932452773a0707ca15597650d5b617b4b Obtained Jenkinsfile from 033b407f9eaa2330e089f27ad80a4426d2f7bae5 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-ssh12616923768577244755.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh2926825311262982191.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-203/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-203/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17140568383555747655.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-203/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14621812054708696738.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh3468398865561766460.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-203/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-203/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12474341410494071720.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-8380 in /w/workspace/undry_device-rfid-llrp-go_PR-203 [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-203 # 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 ed1eaf7932452773a0707ca15597650d5b617b4b Merge succeeded, producing ed1eaf7932452773a0707ca15597650d5b617b4b Checking out Revision ed1eaf7932452773a0707ca15597650d5b617b4b (PR-203) > 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/203/head:refs/remotes/origin/PR-203 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ed1eaf7932452773a0707ca15597650d5b617b4b # 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 ed1eaf7932452773a0707ca15597650d5b617b4b # timeout=10 Commit message: "feat!: Consume SDK interface changes" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:04:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:04:21 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:04:21 ========================================================= 04:04:21 EdgeX Global Pipelines Version Info 04:04:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:04:22 ------------------- 04:04:22 stable info: 04:04:22 ------------------- 04:04:22 Commited By: Bill Mahoney bill.mahoney@intel.com 04:04:22 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 04:04:22 Message: update stable to v1.0.248 04:04:23 ------------------- 04:04:23 experimental info: 04:04:23 ------------------- 04:04:23 Commited By: **** collab-it+edgex@linuxfoundation.org 04:04:23 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 04:04:23 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:04:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rfid-llrp-go-settings [Pipeline] echo 04:04:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-rfid-llrp-go [Pipeline] echo 04:04:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:04:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:04:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:04:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 04:04:23 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:04:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:04:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rfid-llrp [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-203 [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-203 [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-203 [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ed1eaf7932452773a0707ca15597650d5b617b4b [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ed1eaf7 [Pipeline] echo 04:04:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:04:25 provisioning config files... 04:04:25 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-203@tmp/config12778495663556997264tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:04:25 ---> docker-login.sh 04:04:25 nexus3.edgexfoundry.org:10001 04:04:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:25 Configure a credential helper to remove this warning. See 04:04:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:25 04:04:25 Login Succeeded 04:04:25 nexus3.edgexfoundry.org:10002 04:04:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:25 Configure a credential helper to remove this warning. See 04:04:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:25 04:04:25 Login Succeeded 04:04:25 nexus3.edgexfoundry.org:10003 04:04:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:25 Configure a credential helper to remove this warning. See 04:04:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:25 04:04:25 Login Succeeded 04:04:25 nexus3.edgexfoundry.org:10004 04:04:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:26 Configure a credential helper to remove this warning. See 04:04:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:26 04:04:26 Login Succeeded 04:04:26 docker.io 04:04:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:26 Configure a credential helper to remove this warning. See 04:04:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:26 04:04:26 Login Succeeded 04:04:26 ---> docker-login.sh ends [Pipeline] } 04:04:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:04:27 + git rev-list -1 --merges ed1eaf7932452773a0707ca15597650d5b617b4b~1..ed1eaf7932452773a0707ca15597650d5b617b4b [Pipeline] echo 04:04:27 -----------> git rev-list -1 --merges ed1eaf7932452773a0707ca15597650d5b617b4b~1..ed1eaf7932452773a0707ca15597650d5b617b4b ed1eaf7932452773a0707ca15597650d5b617b4b [false] [Pipeline] sh 04:04:27 + git log --format=format:%s -1 ed1eaf7932452773a0707ca15597650d5b617b4b [Pipeline] echo 04:04:27 ========================================================= 04:04:27 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:04:27 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:04:27 + git log --format=format:%s -1 ed1eaf7932452773a0707ca15597650d5b617b4b [Pipeline] echo 04:04:27 [semverPrep] GIT_COMMIT: ed1eaf7932452773a0707ca15597650d5b617b4b, Commit Message: feat!: Consume SDK interface changes [Pipeline] echo 04:04:27 [semverPrep] This is not a build commit. [Pipeline] sh 04:04:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:04:28 + grep -v github /etc/ssh/ssh_known_hosts 04:04:28 + [ -e /tmp/ssh_known_hosts ] 04:04:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:04:28 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:04:28 + sudo tee -a /etc/ssh/ssh_known_hosts 04:04:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:04:29 04:04:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:04:29 0.1.4: Pulling from edgex-devops/py-git-semver 04:04:29 b85a868b505f: Pulling fs layer 04:04:29 e2be974225ed: Pulling fs layer 04:04:29 339a4e72a1f5: Pulling fs layer 04:04:29 988bab9f4d93: Pulling fs layer 04:04:29 1469e6f7b9e6: Pulling fs layer 04:04:29 eaf3925da568: Pulling fs layer 04:04:29 bab4dde63d76: Pulling fs layer 04:04:29 bde34c3a00c8: Pulling fs layer 04:04:29 b352a97aabf1: Pulling fs layer 04:04:29 4872d77fe225: Pulling fs layer 04:04:29 5851b861e8e6: Pulling fs layer 04:04:29 988bab9f4d93: Waiting 04:04:29 1469e6f7b9e6: Waiting 04:04:29 bde34c3a00c8: Waiting 04:04:29 b352a97aabf1: Waiting 04:04:29 eaf3925da568: Waiting 04:04:29 bab4dde63d76: Waiting 04:04:29 4872d77fe225: Waiting 04:04:29 5851b861e8e6: Waiting 04:04:29 e2be974225ed: Verifying Checksum 04:04:29 e2be974225ed: Download complete 04:04:29 988bab9f4d93: Verifying Checksum 04:04:29 988bab9f4d93: Download complete 04:04:29 1469e6f7b9e6: Verifying Checksum 04:04:29 1469e6f7b9e6: Download complete 04:04:29 339a4e72a1f5: Verifying Checksum 04:04:29 339a4e72a1f5: Download complete 04:04:29 eaf3925da568: Verifying Checksum 04:04:29 eaf3925da568: Download complete 04:04:29 bde34c3a00c8: Verifying Checksum 04:04:29 bde34c3a00c8: Download complete 04:04:29 b352a97aabf1: Verifying Checksum 04:04:29 b352a97aabf1: Download complete 04:04:29 4872d77fe225: Verifying Checksum 04:04:29 4872d77fe225: Download complete 04:04:29 5851b861e8e6: Verifying Checksum 04:04:29 5851b861e8e6: Download complete 04:04:29 b85a868b505f: Verifying Checksum 04:04:29 b85a868b505f: Download complete 04:04:30 bab4dde63d76: Verifying Checksum 04:04:31 b85a868b505f: Pull complete 04:04:31 e2be974225ed: Pull complete 04:04:31 339a4e72a1f5: Pull complete 04:04:31 988bab9f4d93: Pull complete 04:04:32 1469e6f7b9e6: Pull complete 04:04:32 eaf3925da568: Pull complete 04:04:34 bab4dde63d76: Pull complete 04:04:34 bde34c3a00c8: Pull complete 04:04:34 b352a97aabf1: Pull complete 04:04:34 4872d77fe225: Pull complete 04:04:34 5851b861e8e6: Pull complete 04:04:34 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:04:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:04:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:04:34 prd-ubuntu20.04-docker-8c-8g-8380 does not seem to be running inside a container 04:04:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-rfid-llrp-go_PR-203 -v /w/workspace/undry_device-rfid-llrp-go_PR-203:/w/workspace/undry_device-rfid-llrp-go_PR-203:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-203@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-203@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-devops/py-git-semver:0.1.4 cat 04:04:36 $ docker top 1746241452a4679f4e3261fe03fe9e54bf0b001f132c0fcf1158025feef4d31b -eo pid,comm 04:04:37 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). 04:04:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:04:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:04:37 [ssh-agent] Looking for ssh-agent implementation... 04:04:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:04:37 $ docker exec 1746241452a4679f4e3261fe03fe9e54bf0b001f132c0fcf1158025feef4d31b ssh-agent 04:04:37 SSH_AUTH_SOCK=/tmp/ssh-K6wDz6oJ9gPG/agent.32 04:04:37 SSH_AGENT_PID=38 04:04:37 Running ssh-add (command line suppressed) 04:04:37 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-203@tmp/private_key_3207504751556862241.key (/w/workspace/undry_device-rfid-llrp-go_PR-203@tmp/private_key_3207504751556862241.key) 04:04:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:04:37 + git tag --points-at HEAD [Pipeline] } 04:04:37 $ docker exec --env ******** --env ******** 1746241452a4679f4e3261fe03fe9e54bf0b001f132c0fcf1158025feef4d31b ssh-agent -k 04:04:38 unset SSH_AUTH_SOCK; 04:04:38 unset SSH_AGENT_PID; 04:04:38 echo Agent pid 38 killed; 04:04:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:04:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:04:38 [ssh-agent] Looking for ssh-agent implementation... 04:04:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:04:38 $ docker exec 1746241452a4679f4e3261fe03fe9e54bf0b001f132c0fcf1158025feef4d31b ssh-agent 04:04:38 SSH_AUTH_SOCK=/tmp/ssh-92F1UrPQ0mux/agent.70 04:04:38 SSH_AGENT_PID=76 04:04:38 Running ssh-add (command line suppressed) 04:04:38 Identity added: /w/workspace/undry_device-rfid-llrp-go_PR-203@tmp/private_key_7368616801536357452.key (/w/workspace/undry_device-rfid-llrp-go_PR-203@tmp/private_key_7368616801536357452.key) 04:04:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:04:38 + git semver init 04:04:39 2023-04-13 04:04:39,045 [run_init] DEBUG init version:0.0.0 force:False 04:04:39 2023-04-13 04:04:39,046 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-rfid-llrp-go_PR-203/.semver 04:04:39 2023-04-13 04:04:39,046 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rfid-llrp-go.git /w/workspace/undry_device-rfid-llrp-go_PR-203/.semver 04:04:39 2023-04-13 04:04:39,046 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rfid-llrp-go.git', '/w/workspace/undry_device-rfid-llrp-go_PR-203/.semver'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-203, universal_newlines=False, shell=None, istream=None) 04:04:40 2023-04-13 04:04:39,810 [append_file] DEBUG append to file:/w/workspace/undry_device-rfid-llrp-go_PR-203/.git/info/exclude 04:04:40 2023-04-13 04:04:39,810 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-rfid-llrp-go_PR-203/.semver/PR-203 with force:False 04:04:40 2023-04-13 04:04:39,811 [write_file] DEBUG write to file:/w/workspace/undry_device-rfid-llrp-go_PR-203/.semver/PR-203 04:04:40 2023-04-13 04:04:39,815 [execute] INFO git cat-file --batch-check 04:04:40 2023-04-13 04:04:39,815 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-203/.semver, universal_newlines=False, shell=None, istream=) 04:04:40 2023-04-13 04:04:39,823 [execute] INFO git cat-file --batch 04:04:40 2023-04-13 04:04:39,824 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-rfid-llrp-go_PR-203/.semver, universal_newlines=False, shell=None, istream=) 04:04:40 2023-04-13 04:04:39,829 [read_version] DEBUG read version from /w/workspace/undry_device-rfid-llrp-go_PR-203/.semver/PR-203 04:04:40 0.0.0 [Pipeline] } 04:04:40 $ docker exec --env ******** --env ******** 1746241452a4679f4e3261fe03fe9e54bf0b001f132c0fcf1158025feef4d31b ssh-agent -k 04:04:40 unset SSH_AUTH_SOCK; 04:04:40 unset SSH_AGENT_PID; 04:04:40 echo Agent pid 76 killed; 04:04:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:04:40 + git semver [Pipeline] } 04:04:40 $ docker stop --time=1 1746241452a4679f4e3261fe03fe9e54bf0b001f132c0fcf1158025feef4d31b 04:04:42 $ docker rm -f --volumes 1746241452a4679f4e3261fe03fe9e54bf0b001f132c0fcf1158025feef4d31b [Pipeline] // withDockerContainer [Pipeline] sh 04:04:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:04:42 Stashed 1 file(s) [Pipeline] echo 04:04:42 [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 04:04:43 provisioning config files... 04:04:43 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-203@tmp/config15522119642685310994tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:04:43 ---> docker-login.sh 04:04:43 nexus3.edgexfoundry.org:10001 04:04:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:43 Configure a credential helper to remove this warning. See 04:04:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:43 04:04:43 Login Succeeded 04:04:43 nexus3.edgexfoundry.org:10002 04:04:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:43 Configure a credential helper to remove this warning. See 04:04:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:43 04:04:43 Login Succeeded 04:04:43 nexus3.edgexfoundry.org:10003 04:04:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:44 Configure a credential helper to remove this warning. See 04:04:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:44 04:04:44 Login Succeeded 04:04:44 nexus3.edgexfoundry.org:10004 04:04:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:44 Configure a credential helper to remove this warning. See 04:04:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:44 04:04:44 Login Succeeded 04:04:44 docker.io 04:04:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:44 Configure a credential helper to remove this warning. See 04:04:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:44 04:04:44 Login Succeeded 04:04:44 ---> docker-login.sh ends [Pipeline] } 04:04:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:04:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:04:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:04:44 ========================================================= 04:04:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 04:04:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:45 + 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 . 04:04:45 Sending build context to Docker daemon 4.208MB 04:04:45 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 04:04:45 Step 2/12 : FROM ${BASE} AS builder 04:04:45 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 04:04:45 63b65145d645: Pulling fs layer 04:04:45 a2d21d5440eb: Pulling fs layer 04:04:45 935e6c44a52c: Pulling fs layer 04:04:45 94cc34f8dd06: Pulling fs layer 04:04:45 30dea6a524f1: Pulling fs layer 04:04:45 a2aff8979fd8: Pulling fs layer 04:04:45 94cc34f8dd06: Waiting 04:04:45 30dea6a524f1: Waiting 04:04:45 6808be2612f2: Pulling fs layer 04:04:45 a2aff8979fd8: Waiting 04:04:45 f25807f1079a: Pulling fs layer 04:04:45 6808be2612f2: Waiting 04:04:45 f25807f1079a: Waiting 04:04:45 a2d21d5440eb: Verifying Checksum 04:04:45 a2d21d5440eb: Download complete 04:04:45 94cc34f8dd06: Download complete 04:04:45 30dea6a524f1: Verifying Checksum 04:04:45 30dea6a524f1: Download complete 04:04:45 63b65145d645: Verifying Checksum 04:04:45 63b65145d645: Download complete 04:04:45 a2aff8979fd8: Verifying Checksum 04:04:45 a2aff8979fd8: Download complete 04:04:45 63b65145d645: Pull complete 04:04:45 a2d21d5440eb: Pull complete 04:04:45 f25807f1079a: Verifying Checksum 04:04:45 f25807f1079a: Download complete 04:04:46 935e6c44a52c: Verifying Checksum 04:04:46 935e6c44a52c: Download complete 04:04:46 6808be2612f2: Verifying Checksum 04:04:46 6808be2612f2: Download complete 04:04:50 935e6c44a52c: Pull complete 04:04:50 94cc34f8dd06: Pull complete 04:04:50 30dea6a524f1: Pull complete 04:04:50 a2aff8979fd8: Pull complete 04:04:52 6808be2612f2: Pull complete 04:04:53 f25807f1079a: Pull complete 04:04:53 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 04:04:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 04:04:53 ---> 3b553350e43f 04:04:53 Step 3/12 : ARG ADD_BUILD_TAGS="" 04:04:57 ---> Running in d2bde893c40b 04:04:57 Removing intermediate container d2bde893c40b 04:04:57 ---> f6220aeb1ccf 04:04:57 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:04:57 ---> Running in 4e64fa180a62 04:04:57 Removing intermediate container 4e64fa180a62 04:04:57 ---> 33269dc462f9 04:04:57 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 04:04:57 ---> Running in ce1ea47a6249 04:04:57 Removing intermediate container ce1ea47a6249 04:04:57 ---> d753dd843f05 04:04:57 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 04:04:57 ---> Running in 92f57bcb9733 04:04:57 Removing intermediate container 92f57bcb9733 04:04:57 ---> 8764fcbbdba0 04:04:57 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:04:57 ---> Running in 43f218a16319 04:04:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:04:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:04:58 OK: 265 MiB in 53 packages 04:04:58 Removing intermediate container 43f218a16319 04:04:58 ---> c721ea548d13 04:04:58 Step 8/12 : WORKDIR /app 04:04:58 ---> Running in 709555f35a55 04:04:58 Removing intermediate container 709555f35a55 04:04:58 ---> 1ecb26c01a2e 04:04:58 Step 9/12 : COPY go.mod vendor* ./ 04:04:58 Still waiting to schedule task 04:04:58 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:04:58 ---> 947b19f73a24 04:04:58 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:04:58 ---> Running in 510a3e3da5bb 04:05:30 Removing intermediate container 510a3e3da5bb 04:05:30 ---> 155654abc162 04:05:30 Step 11/12 : COPY . . 04:05:30 ---> fc230f053b4f 04:05:30 Step 12/12 : RUN $MAKE 04:05:30 ---> Running in e6cab94ae9c7 04:05:30 noop 04:05:30 Removing intermediate container e6cab94ae9c7 04:05:30 ---> 3be4e995057c 04:05:30 Successfully built 3be4e995057c 04:05:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:31 + docker inspect -f . ci-base-image-x86_64 04:05:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:05:31 prd-ubuntu20.04-docker-8c-8g-8380 does not seem to be running inside a container 04:05:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-rfid-llrp-go_PR-203 -v /w/workspace/undry_device-rfid-llrp-go_PR-203:/w/workspace/undry_device-rfid-llrp-go_PR-203:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-203@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-203@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:05:31 $ docker top d568f9c1fbc00335cbc4f8fb1b5f7aef04a6ef4b4d3f22c63cca1442672864f6 -eo pid,comm [Pipeline] { [Pipeline] sh 04:05:31 + go version 04:05:31 go version go1.20.2 linux/amd64 [Pipeline] } 04:05:32 $ docker stop --time=1 d568f9c1fbc00335cbc4f8fb1b5f7aef04a6ef4b4d3f22c63cca1442672864f6 04:05:33 $ docker rm -f --volumes d568f9c1fbc00335cbc4f8fb1b5f7aef04a6ef4b4d3f22c63cca1442672864f6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:34 + docker inspect -f . ci-base-image-x86_64 04:05:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:05:34 prd-ubuntu20.04-docker-8c-8g-8380 does not seem to be running inside a container 04:05:34 $ 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-203 -v /w/workspace/undry_device-rfid-llrp-go_PR-203:/w/workspace/undry_device-rfid-llrp-go_PR-203:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-203@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-203@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:05:34 $ docker top e031d7ed9602c46822a92873659d838330340de3d0fcff692da66623630bfea0 -eo pid,comm [Pipeline] { [Pipeline] sh 04:05:35 + git config --global --add safe.directory /w/workspace/undry_device-rfid-llrp-go_PR-203 [Pipeline] fileExists [Pipeline] sh 04:05:35 + make test 04:05:35 go test ./... -coverprofile=coverage.out ./... 04:05:40 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 04:05:52 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 04:05:52 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 04:05:55 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 4.210s coverage: 40.6% of statements 04:05:55 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.250s coverage: 51.9% of statements 04:05:55 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.008s coverage: 95.5% of statements 04:06:03 internal/driver/driver.go:723:14: Error return value of `d.Discover` is not checked (errcheck) 04:06:03 d.Discover() 04:06:03 ^ 04:06:03 make: *** [Makefile:35: lint] Error 1 [Pipeline] } 04:06:03 $ docker stop --time=1 e031d7ed9602c46822a92873659d838330340de3d0fcff692da66623630bfea0 04:06:06 $ docker rm -f --volumes e031d7ed9602c46822a92873659d838330340de3d0fcff692da66623630bfea0 [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 04:06:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:06:07 04:06:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:06:08 latest: Pulling from edgex-lftools-log-publisher 04:06:08 5eb5b503b376: Pulling fs layer 04:06:08 5c69ac0246d0: Pulling fs layer 04:06:08 ec43610c2a17: Pulling fs layer 04:06:08 3a2ae6a8a46f: Pulling fs layer 04:06:08 33b1e0a273af: Pulling fs layer 04:06:08 5d3b04190fa2: Pulling fs layer 04:06:08 2f39f015ded8: Pulling fs layer 04:06:08 3a2ae6a8a46f: Waiting 04:06:08 33b1e0a273af: Waiting 04:06:08 2f39f015ded8: Waiting 04:06:08 5d3b04190fa2: Waiting 04:06:08 5c69ac0246d0: Download complete 04:06:08 3a2ae6a8a46f: Download complete 04:06:08 33b1e0a273af: Verifying Checksum 04:06:08 33b1e0a273af: Download complete 04:06:08 5d3b04190fa2: Download complete 04:06:08 ec43610c2a17: Verifying Checksum 04:06:08 ec43610c2a17: Download complete 04:06:08 5eb5b503b376: Download complete 04:06:09 2f39f015ded8: Verifying Checksum 04:06:09 2f39f015ded8: Download complete 04:06:09 5eb5b503b376: Pull complete 04:06:09 5c69ac0246d0: Pull complete 04:06:10 ec43610c2a17: Pull complete 04:06:10 3a2ae6a8a46f: Pull complete 04:06:10 33b1e0a273af: Pull complete 04:06:10 5d3b04190fa2: Pull complete 04:06:14 2f39f015ded8: Pull complete 04:06:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:06:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:06:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:06:15 prd-ubuntu20.04-docker-8c-8g-8380 does not seem to be running inside a container 04:06:15 $ 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-203 -v /w/workspace/undry_device-rfid-llrp-go_PR-203:/w/workspace/undry_device-rfid-llrp-go_PR-203:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-203@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-203@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:06:18 $ docker top 42b5af8ce039c718578447f9972b4ad3348a7240edf442e2f70d3ad089762846 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:06:18 ---> job-cost.sh 04:06:18 lf-activate-venv: SKIPPING 04:06:18 INFO: No Stack... 04:06:19 INFO: Retrieving Pricing Info for: v3-standard-8 04:06:19 INFO: Archiving Costs [Pipeline] sh 04:06:20 + cat /w/workspace/undry_device-rfid-llrp-go_PR-203/archives/cost.csv 04:06:20 + cut -d, -f6 [Pipeline] lock 04:06:20 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-203-1-stack-cost] 04:06:20 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-203-1-stack-cost] did not exist. Created. 04:06:20 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-203-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:06:20 + echo total: 0.2199999988079071 [Pipeline] stash 04:06:20 Stashed 1 file(s) [Pipeline] } 04:06:20 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-203-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:06:20 $ docker stop --time=1 42b5af8ce039c718578447f9972b4ad3348a7240edf442e2f70d3ad089762846 04:06:21 $ docker rm -f --volumes 42b5af8ce039c718578447f9972b4ad3348a7240edf442e2f70d3ad089762846 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:06:22 Failed in branch amd64 04:07:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8383 in /w/workspace/undry_device-rfid-llrp-go_PR-203 [Pipeline] { [Pipeline] ws 04:07:37 Running in /w/workspace/device-rfid-llrp-go/1 [Pipeline] { [Pipeline] checkout 04:07:37 Selected Git installation does not exist. Using Default 04:07:37 The recommended git tool is: NONE 04:07:46 using credential edgex-jenkins-ssh 04:07:46 Cloning the remote Git repository 04:07:46 Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git 04:07:46 > git init /w/workspace/device-rfid-llrp-go/1 # timeout=10 04:07:46 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 04:07:46 > git --version # timeout=10 04:07:46 > git --version # 'git version 2.25.1' 04:07:46 using GIT_SSH to set credentials SSH Credentials for GitHub 04:07:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:07:47 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 04:07:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:07:49 Merging remotes/origin/main commit 033b407f9eaa2330e089f27ad80a4426d2f7bae5 into PR head commit ed1eaf7932452773a0707ca15597650d5b617b4b 04:07:49 Merge succeeded, producing ed1eaf7932452773a0707ca15597650d5b617b4b 04:07:49 Checking out Revision ed1eaf7932452773a0707ca15597650d5b617b4b (PR-203) 04:07:48 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 04:07:48 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 04:07:48 using GIT_SSH to set credentials SSH Credentials for GitHub 04:07:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/203/head:refs/remotes/origin/PR-203 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:07:49 > git config core.sparsecheckout # timeout=10 04:07:49 > git checkout -f ed1eaf7932452773a0707ca15597650d5b617b4b # timeout=10 04:07:49 > git remote # timeout=10 04:07:49 > git config --get remote.origin.url # timeout=10 04:07:49 using GIT_SSH to set credentials SSH Credentials for GitHub 04:07:49 > git merge 033b407f9eaa2330e089f27ad80a4426d2f7bae5 # timeout=10 04:07:49 > git rev-parse HEAD^{commit} # timeout=10 04:07:49 > git config core.sparsecheckout # timeout=10 04:07:49 > git checkout -f ed1eaf7932452773a0707ca15597650d5b617b4b # timeout=10 04:07:53 Commit message: "feat!: Consume SDK interface changes" 04:07:53 > git --version # timeout=10 04:07:53 > git --version # 'git version 2.25.1' 04:07:53 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:07:54 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:07:54 % Total % Received % Xferd Average Speed Time Time Time Current 04:07:54 Dload Upload Total Spent Left Speed 04:07:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 218k 0 --:--:-- --:--:-- --:--:-- 222k [Pipeline] sh 04:07:55 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:07:55 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:07:55 + sudo tee /etc/docker/daemon.new 04:07:55 { 04:07:55 "registry-mirrors": [ 04:07:55 "https://nexus3.edgexfoundry.org:10001" 04:07:55 ], 04:07:55 "bip": "10.250.0.254/24", 04:07:55 "hosts": [ 04:07:55 "tcp://0.0.0.0:5555", 04:07:55 "unix:///var/run/docker.sock" 04:07:55 ], 04:07:55 "mtu": 1458, 04:07:55 "selinux-enabled": true, 04:07:55 "seccomp-profile": "/etc/docker/seccomp.json" 04:07:55 } [Pipeline] sh 04:07:55 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:07:56 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:08:14 provisioning config files... 04:08:14 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/device-rfid-llrp-go/1@tmp/config5284194723256976799tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:08:15 ---> docker-login.sh 04:08:15 nexus3.edgexfoundry.org:10001 04:08:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:15 Configure a credential helper to remove this warning. See 04:08:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:15 04:08:15 Login Succeeded 04:08:15 nexus3.edgexfoundry.org:10002 04:08:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:16 Configure a credential helper to remove this warning. See 04:08:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:16 04:08:16 Login Succeeded 04:08:16 nexus3.edgexfoundry.org:10003 04:08:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:16 Configure a credential helper to remove this warning. See 04:08:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:16 04:08:16 Login Succeeded 04:08:16 nexus3.edgexfoundry.org:10004 04:08:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:16 Configure a credential helper to remove this warning. See 04:08:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:16 04:08:16 Login Succeeded 04:08:16 docker.io 04:08:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:17 Configure a credential helper to remove this warning. See 04:08:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:17 04:08:17 Login Succeeded 04:08:17 ---> docker-login.sh ends [Pipeline] } 04:08:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:08:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:08:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:08:17 ========================================================= 04:08:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 04:08:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:18 + 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 . 04:08:18 Sending build context to Docker daemon 1.211MB 04:08:18 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 04:08:18 Step 2/12 : FROM ${BASE} AS builder 04:08:18 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:08:18 af6eaf76a39c: Pulling fs layer 04:08:18 55522c791124: Pulling fs layer 04:08:18 ce5c4a1c91eb: Pulling fs layer 04:08:18 169dfbe0d373: Pulling fs layer 04:08:18 e1ff8fa3b103: Pulling fs layer 04:08:18 169dfbe0d373: Waiting 04:08:18 52ebb69f0ebf: Pulling fs layer 04:08:18 5abe8eddf0d5: Pulling fs layer 04:08:18 e1ff8fa3b103: Waiting 04:08:18 52ebb69f0ebf: Waiting 04:08:18 5abe8eddf0d5: Waiting 04:08:18 55522c791124: Download complete 04:08:18 169dfbe0d373: Verifying Checksum 04:08:18 169dfbe0d373: Download complete 04:08:18 e1ff8fa3b103: Verifying Checksum 04:08:18 e1ff8fa3b103: Download complete 04:08:18 af6eaf76a39c: Verifying Checksum 04:08:18 af6eaf76a39c: Download complete 04:08:19 af6eaf76a39c: Pull complete 04:08:19 5abe8eddf0d5: Verifying Checksum 04:08:19 5abe8eddf0d5: Download complete 04:08:20 55522c791124: Pull complete 04:08:21 ce5c4a1c91eb: Verifying Checksum 04:08:21 ce5c4a1c91eb: Download complete 04:08:21 52ebb69f0ebf: Verifying Checksum 04:08:21 52ebb69f0ebf: Download complete 04:08:33 ce5c4a1c91eb: Pull complete 04:08:33 169dfbe0d373: Pull complete 04:08:33 e1ff8fa3b103: Pull complete 04:08:39 52ebb69f0ebf: Pull complete 04:08:40 5abe8eddf0d5: Pull complete 04:08:40 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 04:08:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 04:08:40 ---> 6cb57ee374ae 04:08:40 Step 3/12 : ARG ADD_BUILD_TAGS="" 04:08:42 ---> Running in a80fa9a30194 04:08:42 Removing intermediate container a80fa9a30194 04:08:42 ---> 424395dea5f9 04:08:42 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:08:42 ---> Running in 0cc6ead0cee2 04:08:42 Removing intermediate container 0cc6ead0cee2 04:08:42 ---> ddd1562d60d4 04:08:42 Step 5/12 : ARG ALPINE_PKG_BASE="make git" 04:08:42 ---> Running in f2f76dd2c7e3 04:08:43 Removing intermediate container f2f76dd2c7e3 04:08:43 ---> d6bc66a6b937 04:08:43 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 04:08:43 ---> Running in 6d10281a0d15 04:08:43 Removing intermediate container 6d10281a0d15 04:08:43 ---> 10c88347a1ef 04:08:43 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:08:43 ---> Running in ae958ce9e687 04:08:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:08:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:08:45 OK: 263 MiB in 53 packages 04:08:46 Removing intermediate container ae958ce9e687 04:08:46 ---> b6c1e9e33fd4 04:08:46 Step 8/12 : WORKDIR /app 04:08:46 ---> Running in de4b218ebbff 04:08:47 Removing intermediate container de4b218ebbff 04:08:47 ---> 9be93655ca51 04:08:47 Step 9/12 : COPY go.mod vendor* ./ 04:08:47 ---> 7fa54bcbca6c 04:08:47 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:08:47 ---> Running in ca3d56577f9e 04:09:55 Removing intermediate container ca3d56577f9e 04:09:55 ---> 10ea1285a56f 04:09:55 Step 11/12 : COPY . . 04:09:55 ---> 62faf6cee188 04:09:55 Step 12/12 : RUN $MAKE 04:09:55 ---> Running in 61a08e8cb0f1 04:09:55 noop 04:09:55 Removing intermediate container 61a08e8cb0f1 04:09:55 ---> 2bc3b5abaac5 04:09:55 Successfully built 2bc3b5abaac5 04:09:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:56 + docker inspect -f . ci-base-image-arm64 04:09:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:09:56 prd-ubuntu20.04-docker-arm64-4c-16g-8383 does not seem to be running inside a container 04:09:56 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:09:57 $ docker top 9a619c0134dde49df599f41c05d4dfce44e1d5d26656b3b2ddb01b2f19fedbd3 -eo pid,comm [Pipeline] { [Pipeline] sh 04:09:58 + go version 04:09:58 go version go1.20.2 linux/arm64 [Pipeline] } 04:09:58 $ docker stop --time=1 9a619c0134dde49df599f41c05d4dfce44e1d5d26656b3b2ddb01b2f19fedbd3 04:10:00 $ docker rm -f --volumes 9a619c0134dde49df599f41c05d4dfce44e1d5d26656b3b2ddb01b2f19fedbd3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:10:01 + docker inspect -f . ci-base-image-arm64 04:10:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:10:01 prd-ubuntu20.04-docker-arm64-4c-16g-8383 does not seem to be running inside a container 04:10:01 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:10:02 $ docker top 2bddbbd446c8955b39d6af6ede1999d9746e2938ef9601a2ac00278683c9f386 -eo pid,comm [Pipeline] { [Pipeline] sh 04:10:03 + git config --global --add safe.directory /w/workspace/device-rfid-llrp-go/1 [Pipeline] fileExists [Pipeline] sh 04:10:04 + make test 04:10:04 go test ./... -coverprofile=coverage.out ./... 04:10:43 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 04:13:05 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 04:13:05 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 04:13:52 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 29.452s coverage: 40.6% of statements 04:13:52 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.572s coverage: 52.0% of statements 04:13:52 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.039s coverage: 96.4% of statements 04:13:52 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:13:52 go vet ./... 04:14:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:14:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:14:18 ./bin/test-attribution-txt.sh 04:14:18 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add 04:14:18 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 04:14:18 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 04:14:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:14:18 $ docker stop --time=1 2bddbbd446c8955b39d6af6ede1999d9746e2938ef9601a2ac00278683c9f386 04:14:20 $ docker rm -f --volumes 2bddbbd446c8955b39d6af6ede1999d9746e2938ef9601a2ac00278683c9f386 [Pipeline] // withDockerContainer [Pipeline] sh 04:14:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:14:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:14:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:14:23 + ls -al . 04:14:23 total 624 04:14:23 drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 04:10 . 04:14:23 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 04:07 .. 04:14:23 -rw-rw-r-- 1 jenkins jenkins 134 Apr 13 04:07 .dockerignore 04:14:23 drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 04:07 .git 04:14:23 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 04:07 .github 04:14:23 -rw-rw-r-- 1 jenkins jenkins 946 Apr 13 04:07 .gitignore 04:14:23 -rw-rw-r-- 1 jenkins jenkins 41 Apr 13 04:07 .golangci.yml 04:14:23 -rw-rw-r-- 1 jenkins jenkins 10664 Apr 13 04:07 Attribution.txt 04:14:23 -rw-rw-r-- 1 jenkins jenkins 5905 Apr 13 04:07 CHANGELOG.md 04:14:23 -rw-rw-r-- 1 jenkins jenkins 1347 Apr 13 04:07 Dockerfile 04:14:23 -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 04:07 GOVERNANCE.md 04:14:23 -rw-rw-r-- 1 jenkins jenkins 683 Apr 13 04:07 Jenkinsfile 04:14:23 -rw-rw-r-- 1 jenkins jenkins 11347 Apr 13 04:07 LICENSE 04:14:23 -rw-rw-r-- 1 jenkins jenkins 2053 Apr 13 04:07 Makefile 04:14:23 -rw-rw-r-- 1 jenkins jenkins 625 Apr 13 04:07 OWNERS.md 04:14:23 -rw-rw-r-- 1 jenkins jenkins 28505 Apr 13 04:07 README.md 04:14:23 -rw-rw-r-- 1 jenkins jenkins 5 Apr 13 04:04 VERSION 04:14:23 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 04:07 bin 04:14:23 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 04:07 cmd 04:14:23 -rw-r--r-- 1 jenkins jenkins 457862 Apr 13 04:13 coverage.out 04:14:23 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 04:07 examples 04:14:23 -rw-rw-r-- 1 jenkins jenkins 3419 Apr 13 04:07 go.mod 04:14:23 -rw-rw-r-- 1 jenkins jenkins 31303 Apr 13 04:07 go.sum 04:14:23 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 04:07 images 04:14:23 drwxrwxr-x 5 jenkins jenkins 4096 Apr 13 04:07 internal 04:14:23 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 04:07 snap 04:14:23 -rw-rw-r-- 1 jenkins jenkins 193 Apr 13 04:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:14:24 + docker build -t device-rfid-llrp-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=ed1eaf7932452773a0707ca15597650d5b617b4b --label arch=arm64 --label version=0.0.0 . 04:14:24 Sending build context to Docker daemon 1.211MB 04:14:24 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 04:14:24 Step 2/24 : FROM ${BASE} AS builder 04:14:24 ---> 2bc3b5abaac5 04:14:24 Step 3/24 : ARG ADD_BUILD_TAGS="" 04:14:24 ---> Running in d636b0509030 04:14:25 Removing intermediate container d636b0509030 04:14:25 ---> f70a6c556e19 04:14:25 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:14:25 ---> Running in 2860d1cb8c93 04:14:25 Removing intermediate container 2860d1cb8c93 04:14:25 ---> fb621e3eee56 04:14:25 Step 5/24 : ARG ALPINE_PKG_BASE="make git" 04:14:25 ---> Running in 73224d9cb79a 04:14:25 Removing intermediate container 73224d9cb79a 04:14:25 ---> 46594bd1f6aa 04:14:25 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 04:14:25 ---> Running in 8bf71b09a9a5 04:14:26 Removing intermediate container 8bf71b09a9a5 04:14:26 ---> 1764fd7494c1 04:14:26 Step 7/24 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:14:26 ---> Running in d3b609cb7e25 04:14:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:14:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:14:29 OK: 263 MiB in 53 packages 04:14:29 Removing intermediate container d3b609cb7e25 04:14:29 ---> b99827f28f1b 04:14:29 Step 8/24 : WORKDIR /app 04:14:30 ---> Running in 9aed9656011d 04:14:30 Removing intermediate container 9aed9656011d 04:14:30 ---> e69c22a52abb 04:14:30 Step 9/24 : COPY go.mod vendor* ./ 04:14:30 ---> 7fe740b044c5 04:14:30 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:14:30 ---> Running in 6e46054d8720 04:14:33 Removing intermediate container 6e46054d8720 04:14:33 ---> 634af9b4319e 04:14:33 Step 11/24 : COPY . . 04:14:34 ---> 1f119d4dee76 04:14:34 Step 12/24 : RUN $MAKE 04:14:34 ---> Running in e099032222f5 04:14:35 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rfid-llrp-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rfid-llrp ./cmd 04:16:57 Removing intermediate container e099032222f5 04:16:57 ---> fae2e35574ee 04:16:57 Step 13/24 : FROM alpine:3.17 04:16:57 3.17: Pulling from library/alpine 04:16:57 c41833b44d91: Pulling fs layer 04:16:57 c41833b44d91: Verifying Checksum 04:16:57 c41833b44d91: Download complete 04:16:57 c41833b44d91: Pull complete 04:16:57 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 04:16:57 Status: Downloaded newer image for alpine:3.17 04:16:57 ---> 51e60588ff2c 04:16:57 Step 14/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:16:57 ---> Running in a09b0e518073 04:16:57 Removing intermediate container a09b0e518073 04:16:57 ---> 5c2497330a17 04:16:57 Step 15/24 : RUN apk add --update --no-cache dumb-init 04:16:57 ---> Running in cd3872bd6942 04:16:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:16:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:16:57 (1/1) Installing dumb-init (1.2.5-r2) 04:16:57 Executing busybox-1.35.0-r29.trigger 04:16:57 OK: 8 MiB in 16 packages 04:16:57 Removing intermediate container cd3872bd6942 04:16:57 ---> 256d4bc1e78e 04:16:57 Step 16/24 : COPY --from=builder /app/LICENSE / 04:16:57 ---> e8bb048f6e3e 04:16:57 Step 17/24 : COPY --from=builder /app/Attribution.txt / 04:16:58 ---> 6098f9aac215 04:16:58 Step 18/24 : COPY --from=builder /app/cmd/ / 04:16:59 ---> eddf023bb34c 04:16:59 Step 19/24 : EXPOSE 59989 04:16:59 ---> Running in 7aa1ceb8e5e6 04:17:00 Removing intermediate container 7aa1ceb8e5e6 04:17:00 ---> 0c0322ca1623 04:17:00 Step 20/24 : ENTRYPOINT ["/device-rfid-llrp"] 04:17:00 ---> Running in 349f063d066a 04:17:00 Removing intermediate container 349f063d066a 04:17:00 ---> 549e57edd747 04:17:00 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:17:00 ---> Running in 5bc14eddbc31 04:17:01 Removing intermediate container 5bc14eddbc31 04:17:01 ---> eb5ef580b780 04:17:01 Step 22/24 : LABEL arch=arm64 04:17:01 ---> Running in 14d4fb0c5b6f 04:17:01 Removing intermediate container 14d4fb0c5b6f 04:17:01 ---> 5fda8a73a554 04:17:01 Step 23/24 : LABEL git_sha=ed1eaf7932452773a0707ca15597650d5b617b4b 04:17:01 ---> Running in 22c85e834ed8 04:17:01 Removing intermediate container 22c85e834ed8 04:17:01 ---> d34a3eb7719c 04:17:01 Step 24/24 : LABEL version=0.0.0 04:17:01 ---> Running in 9cf7b9c4fa2e 04:17:02 Removing intermediate container 9cf7b9c4fa2e 04:17:02 ---> 74470aecb5f7 04:17:02 [Warning] One or more build-args [ARCH] were not consumed 04:17:02 Successfully built 74470aecb5f7 04:17:02 Successfully tagged device-rfid-llrp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:17:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:17:03 04:17:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:17:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:17:03 arm64: Pulling from edgex-lftools-log-publisher 04:17:03 8998bd30e6a1: Pulling fs layer 04:17:03 04944245beec: Pulling fs layer 04:17:03 699f458cf7ca: Pulling fs layer 04:17:03 765212b225bb: Pulling fs layer 04:17:03 f23df028b6ca: Pulling fs layer 04:17:03 d65c8cfc05b1: Pulling fs layer 04:17:03 2437ff75d9bd: Pulling fs layer 04:17:03 f23df028b6ca: Waiting 04:17:03 d65c8cfc05b1: Waiting 04:17:03 2437ff75d9bd: Waiting 04:17:03 765212b225bb: Waiting 04:17:03 04944245beec: Verifying Checksum 04:17:03 04944245beec: Download complete 04:17:03 765212b225bb: Verifying Checksum 04:17:03 765212b225bb: Download complete 04:17:03 f23df028b6ca: Verifying Checksum 04:17:03 f23df028b6ca: Download complete 04:17:03 d65c8cfc05b1: Verifying Checksum 04:17:03 d65c8cfc05b1: Download complete 04:17:04 699f458cf7ca: Verifying Checksum 04:17:04 699f458cf7ca: Download complete 04:17:04 8998bd30e6a1: Verifying Checksum 04:17:04 8998bd30e6a1: Download complete 04:17:07 2437ff75d9bd: Verifying Checksum 04:17:07 2437ff75d9bd: Download complete 04:17:08 8998bd30e6a1: Pull complete 04:17:09 04944245beec: Pull complete 04:17:11 699f458cf7ca: Pull complete 04:17:11 765212b225bb: Pull complete 04:17:12 f23df028b6ca: Pull complete 04:17:12 d65c8cfc05b1: Pull complete 04:17:27 2437ff75d9bd: Pull complete 04:17:27 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:17:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:17:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:17:28 prd-ubuntu20.04-docker-arm64-4c-16g-8383 does not seem to be running inside a container 04:17:28 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:17:31 $ docker top 028e795b92c21b025bf5ec0fbaf85396ecc5f9c73fb54a3da95913cdf3990d99 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:17:31 ---> job-cost.sh 04:17:31 lf-activate-venv: SKIPPING 04:17:31 INFO: No Stack... 04:17:32 INFO: Retrieving Pricing Info for: v3-standard-4 04:17:33 INFO: Archiving Costs [Pipeline] sh 04:17:33 + cat /w/workspace/device-rfid-llrp-go/1/archives/cost.csv 04:17:33 + cut -d, -f6 [Pipeline] lock 04:17:33 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-203-1-stack-cost] 04:17:33 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-203-1-stack-cost] did not exist. Created. 04:17:33 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-203-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:17:34 /w/workspace/device-rfid-llrp-go/1@tmp/durable-ecd6c2ed/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:17:35 + echo total: 0.10999999940395355 [Pipeline] stash 04:17:35 Warning: overwriting stash ‘stack-cost’ 04:17:35 Stashed 1 file(s) [Pipeline] } 04:17:35 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-203-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:17:35 $ docker stop --time=1 028e795b92c21b025bf5ec0fbaf85396ecc5f9c73fb54a3da95913cdf3990d99 04:17:37 $ docker rm -f --volumes 028e795b92c21b025bf5ec0fbaf85396ecc5f9c73fb54a3da95913cdf3990d99 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [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 04:17:39 + [ -d /w/workspace/undry_device-rfid-llrp-go_PR-203/archives ] 04:17:39 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-203/archives 04:17:39 total 16 04:17:39 drwxr-xr-x 3 root root 4096 Apr 13 04:06 . 04:17:39 drwxrwxr-x 12 jenkins jenkins 4096 Apr 13 04:06 .. 04:17:39 drwxr-xr-x 2 root root 4096 Apr 13 04:06 cost 04:17:39 -rw-r--r-- 1 root root 91 Apr 13 04:06 cost.csv 04:17:39 + sudo chown -R jenkins:jenkins /w/workspace/undry_device-rfid-llrp-go_PR-203/archives 04:17:39 + ls -al /w/workspace/undry_device-rfid-llrp-go_PR-203/archives 04:17:39 total 16 04:17:39 drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 04:06 . 04:17:39 drwxrwxr-x 12 jenkins jenkins 4096 Apr 13 04:06 .. 04:17:39 drwxr-xr-x 2 jenkins jenkins 4096 Apr 13 04:06 cost 04:17:39 -rw-r--r-- 1 jenkins jenkins 91 Apr 13 04:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:17:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:17:40 ---> package-listing.sh 04:17:40 ++ facter osfamily 04:17:40 ++ tr '[:upper:]' '[:lower:]' 04:17:41 + OS_FAMILY=debian 04:17:41 + workspace=/w/workspace/undry_device-rfid-llrp-go_PR-203 04:17:41 + START_PACKAGES=/tmp/packages_start.txt 04:17:41 + END_PACKAGES=/tmp/packages_end.txt 04:17:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:17:41 + PACKAGES=/tmp/packages_start.txt 04:17:41 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-203 ']' 04:17:41 + PACKAGES=/tmp/packages_end.txt 04:17:41 + case "${OS_FAMILY}" in 04:17:41 + dpkg -l 04:17:41 + grep '^ii' 04:17:41 + '[' -f /tmp/packages_start.txt ']' 04:17:41 + '[' -f /tmp/packages_end.txt ']' 04:17:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:17:41 + '[' /w/workspace/undry_device-rfid-llrp-go_PR-203 ']' 04:17:41 + mkdir -p /w/workspace/undry_device-rfid-llrp-go_PR-203/archives/ 04:17:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-rfid-llrp-go_PR-203/archives/ [Pipeline] echo 04:17:41 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-203/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:17:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:17:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:17:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:17:42 prd-ubuntu20.04-docker-8c-8g-8380 does not seem to be running inside a container 04:17:42 $ 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-203/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-203 -v /w/workspace/undry_device-rfid-llrp-go_PR-203:/w/workspace/undry_device-rfid-llrp-go_PR-203:rw,z -v /w/workspace/undry_device-rfid-llrp-go_PR-203@tmp:/w/workspace/undry_device-rfid-llrp-go_PR-203@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:17:42 $ docker top 96d7321179b864c19ebdc3a0ef50bdb80e545b100536f25a989703d9dd97f3e9 -eo pid,comm [Pipeline] { [Pipeline] sh 04:17:42 + touch /tmp/pre-build-complete [Pipeline] sh 04:17:43 + mkdir -p /var/log/sysstat [Pipeline] sh 04:17:43 + ls /var/log/sa-host 04:17:43 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:17:43 provisioning config files... 04:17:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-rfid-llrp-go_PR-203@tmp/config6248472195911243610tmp [Pipeline] { [Pipeline] echo 04:17:43 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:17:43 ---> create-netrc.sh [Pipeline] } 04:17:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:17:44 ---> python-tools-install.sh [Pipeline] echo 04:17:44 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:17:44 ---> sudo-logs.sh 04:17:44 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:17:44 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:17:45 ---> job-cost.sh 04:17:45 lf-activate-venv: SKIPPING 04:17:45 DEBUG: total: 0.2199999988079071 04:17:45 INFO: Retrieving Stack Cost... 04:17:45 INFO: Retrieving Pricing Info for: v3-standard-8 04:17:45 INFO: Archiving Costs [Pipeline] echo 04:17:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:17:46 ---> logs-deploy.sh 04:17:46 lf-activate-venv: SKIPPING 04:17:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rfid-llrp-go/PR-203/1 04:17:46 INFO: archiving workspace using pattern(s): 04:17:47 Archives upload complete. 04:17:47 INFO: archiving logs to Nexus