Pull request #76 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 marcpfuller for edgexfoundry/device-rfid-llrp-go Loading trusted files from base branch main at c5284296090fc93b1a9c5192dcea8b13ac4a9a89 rather than f82b81e6e6dd6e0808f53e5d0a76bb87f67ab361 Obtained Jenkinsfile from c5284296090fc93b1a9c5192dcea8b13ac4a9a89 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-ssh5379366242762363048.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh847735184146380108.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 c72b16708d6eed9a08be464a432ce22db7d90667 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-76/workspace@libs/edgex-global-pipelines # 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-76/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11699873483557832095.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-76/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh17083915396259644814.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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 shared 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-ssh8021955363278823783.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-76/workspace@libs/lf-pipelines # 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-76/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh15025936170768806671.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 b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 c72b16708d6eed9a08be464a432ce22db7d90667 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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.17 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 [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-23268 in /w/workspace/oundry_device-rfid-llrp-go_PR-76 [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/oundry_device-rfid-llrp-go_PR-76 # 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 c5284296090fc93b1a9c5192dcea8b13ac4a9a89 into PR head commit f82b81e6e6dd6e0808f53e5d0a76bb87f67ab361 Merge succeeded, producing a6839ba9322d5b5e97d537750b2318ec9dadf3c9 Checking out Revision a6839ba9322d5b5e97d537750b2318ec9dadf3c9 (PR-76) > 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/76/head:refs/remotes/origin/PR-76 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f82b81e6e6dd6e0808f53e5d0a76bb87f67ab361 # 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 c5284296090fc93b1a9c5192dcea8b13ac4a9a89 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a6839ba9322d5b5e97d537750b2318ec9dadf3c9 # timeout=10 Commit message: "Merge commit 'c5284296090fc93b1a9c5192dcea8b13ac4a9a89' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:33:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:33:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:33:59 ========================================================= 20:33:59 EdgeX Global Pipelines Version Info 20:33:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:34:00 ------------------- 20:34:00 stable info: 20:34:00 ------------------- 20:34:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:34:00 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 20:34:00 Message: update stable to v1.0.221 20:34:00 ------------------- 20:34:00 experimental info: 20:34:00 ------------------- 20:34:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:34:00 Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b 20:34:00 Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:34:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rfid-llrp-go-settings [Pipeline] echo 20:34:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-rfid-llrp-go [Pipeline] echo 20:34:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:34:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:34:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:34:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 20:34:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:34:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:34:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:34:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:34:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:34:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rfid-llrp [Pipeline] echo 20:34:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:34:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:34:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:34:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:34:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:34:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:34:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:34:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:34:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:34:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:34:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:34:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:34:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:34:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:34:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-76 [Pipeline] echo 20:34:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-76 [Pipeline] echo 20:34:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-76 [Pipeline] echo 20:34:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a6839ba9322d5b5e97d537750b2318ec9dadf3c9 [Pipeline] echo 20:34:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a6839ba [Pipeline] echo 20:34:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:34:02 provisioning config files... 20:34:02 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/oundry_device-rfid-llrp-go_PR-76@tmp/config5165559711936500836tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:34:02 ---> docker-login.sh 20:34:02 nexus3.edgexfoundry.org:10001 20:34:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:02 Configure a credential helper to remove this warning. See 20:34:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:02 20:34:02 Login Succeeded 20:34:02 nexus3.edgexfoundry.org:10002 20:34:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:03 Configure a credential helper to remove this warning. See 20:34:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:03 20:34:03 Login Succeeded 20:34:03 nexus3.edgexfoundry.org:10003 20:34:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:03 Configure a credential helper to remove this warning. See 20:34:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:03 20:34:03 Login Succeeded 20:34:03 nexus3.edgexfoundry.org:10004 20:34:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:03 Configure a credential helper to remove this warning. See 20:34:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:03 20:34:03 Login Succeeded 20:34:03 docker.io 20:34:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:03 Configure a credential helper to remove this warning. See 20:34:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:03 20:34:03 Login Succeeded 20:34:03 ---> docker-login.sh ends [Pipeline] } 20:34:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:34:04 + git rev-list -1 --merges a6839ba9322d5b5e97d537750b2318ec9dadf3c9~1..a6839ba9322d5b5e97d537750b2318ec9dadf3c9 [Pipeline] echo 20:34:04 -----------> git rev-list -1 --merges a6839ba9322d5b5e97d537750b2318ec9dadf3c9~1..a6839ba9322d5b5e97d537750b2318ec9dadf3c9 a6839ba9322d5b5e97d537750b2318ec9dadf3c9 20:34:04 a6839ba9322d5b5e97d537750b2318ec9dadf3c9 [false] [Pipeline] sh 20:34:04 + git log --format=format:%s -1 a6839ba9322d5b5e97d537750b2318ec9dadf3c9 [Pipeline] echo 20:34:04 ========================================================= 20:34:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:34:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:34:05 + git log --format=format:%s -1 a6839ba9322d5b5e97d537750b2318ec9dadf3c9 [Pipeline] echo 20:34:05 [semverPrep] GIT_COMMIT: a6839ba9322d5b5e97d537750b2318ec9dadf3c9, Commit Message: Merge commit 'c5284296090fc93b1a9c5192dcea8b13ac4a9a89' into HEAD [Pipeline] echo 20:34:05 [semverPrep] This is not a build commit. [Pipeline] sh 20:34:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:34:05 + grep -v github /etc/ssh/ssh_known_hosts 20:34:05 + [ -e /tmp/ssh_known_hosts ] 20:34:05 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:34:05 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:34:05 + sudo tee -a /etc/ssh/ssh_known_hosts 20:34:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 20:34:06 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:34:06 20:34:06 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:34:06 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:34:06 latest: Pulling from edgex-devops/git-semver 20:34:06 a0d0a0d46f8b: Pulling fs layer 20:34:06 3e5f54012d9b: Pulling fs layer 20:34:06 4c7163046ea9: Pulling fs layer 20:34:06 0c2d73faf560: Pulling fs layer 20:34:06 0c2d73faf560: Waiting 20:34:06 3e5f54012d9b: Verifying Checksum 20:34:06 3e5f54012d9b: Download complete 20:34:06 a0d0a0d46f8b: Download complete 20:34:06 0c2d73faf560: Verifying Checksum 20:34:06 0c2d73faf560: Download complete 20:34:06 4c7163046ea9: Verifying Checksum 20:34:06 4c7163046ea9: Download complete 20:34:06 a0d0a0d46f8b: Pull complete 20:34:06 3e5f54012d9b: Pull complete 20:34:06 4c7163046ea9: Pull complete 20:34:07 0c2d73faf560: Pull complete 20:34:07 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 20:34:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:34:07 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:34:07 prd-ubuntu20.04-docker-8c-8g-23268 does not seem to be running inside a container 20:34:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-rfid-llrp-go_PR-76 -v /w/workspace/oundry_device-rfid-llrp-go_PR-76:/w/workspace/oundry_device-rfid-llrp-go_PR-76:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-76@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-76@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:34:08 $ docker top fb399a710e7c7e480308d38b79eea2cbfdd9a1d0883313baf4fec07f765a262c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:34:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:34:08 [ssh-agent] Looking for ssh-agent implementation... 20:34:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:34:08 $ docker exec fb399a710e7c7e480308d38b79eea2cbfdd9a1d0883313baf4fec07f765a262c ssh-agent 20:34:08 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfgDFmI/agent.13 20:34:08 SSH_AGENT_PID=20 20:34:08 Running ssh-add (command line suppressed) 20:34:08 Identity added: /w/workspace/oundry_device-rfid-llrp-go_PR-76@tmp/private_key_6958016786444529886.key (/w/workspace/oundry_device-rfid-llrp-go_PR-76@tmp/private_key_6958016786444529886.key) 20:34:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:34:08 + git tag --points-at HEAD [Pipeline] } 20:34:09 $ docker exec --env ******** --env ******** fb399a710e7c7e480308d38b79eea2cbfdd9a1d0883313baf4fec07f765a262c ssh-agent -k 20:34:09 unset SSH_AUTH_SOCK; 20:34:09 unset SSH_AGENT_PID; 20:34:09 echo Agent pid 20 killed; 20:34:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:34:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:34:09 [ssh-agent] Looking for ssh-agent implementation... 20:34:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:34:09 $ docker exec fb399a710e7c7e480308d38b79eea2cbfdd9a1d0883313baf4fec07f765a262c ssh-agent 20:34:09 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGlbAFf/agent.56 20:34:09 SSH_AGENT_PID=62 20:34:09 Running ssh-add (command line suppressed) 20:34:09 Identity added: /w/workspace/oundry_device-rfid-llrp-go_PR-76@tmp/private_key_589772998022327415.key (/w/workspace/oundry_device-rfid-llrp-go_PR-76@tmp/private_key_589772998022327415.key) 20:34:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:34:10 + git semver init 20:34:10 # -> Open(): unable to determine branch for HEAD 20:34:10 # $GIT_DIR = /w/workspace/oundry_device-rfid-llrp-go_PR-76/.git 20:34:10 # $GIT_WORK_TREE = /w/workspace/oundry_device-rfid-llrp-go_PR-76 20:34:10 # $SEMVER_REMOTE_NAME = origin 20:34:10 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:34:10 # $SEMVER_USER_NAME = edgex-jenkins 20:34:10 # $SEMVER_BRANCH = PR-76 20:34:10 # $SEMVER_TEMP = /tmp/semver-127651560 20:34:10 # git clone --branch semver git@github.com:edgexfoundry/device-rfid-llrp-go.git $SEMVER_TEMP 20:34:10 # '/tmp/semver-127651560' -> '/w/workspace/oundry_device-rfid-llrp-go_PR-76/.semver' 20:34:10 # -> Force: false 20:34:10 # $SEMVER_DIR = /w/workspace/oundry_device-rfid-llrp-go_PR-76/.semver [Pipeline] } 20:34:10 $ docker exec --env ******** --env ******** fb399a710e7c7e480308d38b79eea2cbfdd9a1d0883313baf4fec07f765a262c ssh-agent -k 20:34:10 unset SSH_AUTH_SOCK; 20:34:10 unset SSH_AGENT_PID; 20:34:10 echo Agent pid 62 killed; 20:34:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:34:11 + git semver [Pipeline] } 20:34:11 $ docker stop --time=1 fb399a710e7c7e480308d38b79eea2cbfdd9a1d0883313baf4fec07f765a262c 20:34:12 $ docker rm -f fb399a710e7c7e480308d38b79eea2cbfdd9a1d0883313baf4fec07f765a262c [Pipeline] // withDockerContainer [Pipeline] sh 20:34:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:34:13 Stashed 1 file(s) [Pipeline] echo 20:34:13 [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 20:34:13 provisioning config files... 20:34:13 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/oundry_device-rfid-llrp-go_PR-76@tmp/config2530174514402806092tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:34:14 ---> docker-login.sh 20:34:14 nexus3.edgexfoundry.org:10001 20:34:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:14 Configure a credential helper to remove this warning. See 20:34:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:14 20:34:14 Login Succeeded 20:34:14 nexus3.edgexfoundry.org:10002 20:34:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:14 Configure a credential helper to remove this warning. See 20:34:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:14 20:34:14 Login Succeeded 20:34:14 nexus3.edgexfoundry.org:10003 20:34:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:14 Configure a credential helper to remove this warning. See 20:34:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:14 20:34:14 Login Succeeded 20:34:14 nexus3.edgexfoundry.org:10004 20:34:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:14 Configure a credential helper to remove this warning. See 20:34:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:14 20:34:14 Login Succeeded 20:34:14 docker.io 20:34:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:34:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:34:15 Configure a credential helper to remove this warning. See 20:34:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:34:15 20:34:15 Login Succeeded 20:34:15 ---> docker-login.sh ends [Pipeline] } 20:34:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:34:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:34:15 ========================================================= 20:34:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 20:34:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:34:15 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 20:34:15 Sending build context to Docker daemon 1.729MB 20:34:15 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 20:34:15 Step 2/12 : FROM ${BASE} AS builder 20:34:15 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 20:34:15 59bf1c3509f3: Pulling fs layer 20:34:15 666ba61612fd: Pulling fs layer 20:34:15 8ed8ca486205: Pulling fs layer 20:34:15 4fe6c5a15a65: Pulling fs layer 20:34:15 22a0e8bec74d: Pulling fs layer 20:34:15 ca2b28591e48: Pulling fs layer 20:34:15 a51346096db8: Pulling fs layer 20:34:15 daebc70d1ce1: Pulling fs layer 20:34:15 0e18a0eac166: Pulling fs layer 20:34:15 ca2b28591e48: Waiting 20:34:15 4fe6c5a15a65: Waiting 20:34:15 daebc70d1ce1: Waiting 20:34:15 0e18a0eac166: Waiting 20:34:15 22a0e8bec74d: Waiting 20:34:15 8ed8ca486205: Verifying Checksum 20:34:15 8ed8ca486205: Download complete 20:34:15 666ba61612fd: Verifying Checksum 20:34:15 666ba61612fd: Download complete 20:34:15 22a0e8bec74d: Verifying Checksum 20:34:15 22a0e8bec74d: Download complete 20:34:15 ca2b28591e48: Verifying Checksum 20:34:15 ca2b28591e48: Download complete 20:34:15 59bf1c3509f3: Verifying Checksum 20:34:15 59bf1c3509f3: Download complete 20:34:16 a51346096db8: Verifying Checksum 20:34:16 a51346096db8: Download complete 20:34:16 daebc70d1ce1: Download complete 20:34:16 59bf1c3509f3: Pull complete 20:34:16 666ba61612fd: Pull complete 20:34:16 8ed8ca486205: Pull complete 20:34:16 0e18a0eac166: Verifying Checksum 20:34:16 0e18a0eac166: Download complete 20:34:16 4fe6c5a15a65: Verifying Checksum 20:34:16 4fe6c5a15a65: Download complete 20:34:20 4fe6c5a15a65: Pull complete 20:34:20 22a0e8bec74d: Pull complete 20:34:20 ca2b28591e48: Pull complete 20:34:20 a51346096db8: Pull complete 20:34:21 daebc70d1ce1: Pull complete 20:34:22 0e18a0eac166: Pull complete 20:34:23 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 20:34:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 20:34:23 ---> f018257e8ee9 20:34:23 Step 3/12 : ARG MAKE='make build' 20:34:25 ---> Running in d04c47ccdb21 20:34:25 Removing intermediate container d04c47ccdb21 20:34:25 ---> ec233f558e6b 20:34:25 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 20:34:25 ---> Running in 4f206ee38a48 20:34:25 Removing intermediate container 4f206ee38a48 20:34:25 ---> 0f70538699ea 20:34:25 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 20:34:25 ---> Running in 740aad8e15d7 20:34:25 Removing intermediate container 740aad8e15d7 20:34:25 ---> bd0793f010d3 20:34:25 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:34:25 ---> Running in dbdc8e68302d 20:34:25 Removing intermediate container dbdc8e68302d 20:34:25 ---> a287eb14d4e1 20:34:25 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:34:25 ---> Running in c4332d617770 20:34:26 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:34:27 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:34:27 OK: 221 MiB in 52 packages 20:34:27 Removing intermediate container c4332d617770 20:34:27 ---> 2ba7dc30c678 20:34:27 Step 8/12 : WORKDIR /app 20:34:27 ---> Running in 532092424b3b 20:34:27 Removing intermediate container 532092424b3b 20:34:27 ---> cbf71f9b152a 20:34:27 Step 9/12 : COPY go.mod vendor* ./ 20:34:27 ---> ee3c4cc4cafb 20:34:27 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:34:28 ---> Running in 085e2ebc0cfb 20:34:28 Still waiting to schedule task 20:34:28 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:34:55 Removing intermediate container 085e2ebc0cfb 20:34:55 ---> bc1fb3e93ba0 20:34:55 Step 11/12 : COPY . . 20:34:55 ---> 599e8686655f 20:34:55 Step 12/12 : RUN $MAKE 20:34:55 ---> Running in 06dfc5c4a885 20:34:55 noop 20:34:55 Removing intermediate container 06dfc5c4a885 20:34:55 ---> ad8afb1f85d3 20:34:55 Successfully built ad8afb1f85d3 20:34:55 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:34:55 + docker inspect -f . ci-base-image-x86_64 20:34:55 . [Pipeline] withDockerContainer 20:34:55 prd-ubuntu20.04-docker-8c-8g-23268 does not seem to be running inside a container 20:34:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-rfid-llrp-go_PR-76 -v /w/workspace/oundry_device-rfid-llrp-go_PR-76:/w/workspace/oundry_device-rfid-llrp-go_PR-76:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-76@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-76@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 ******** ci-base-image-x86_64 cat 20:34:55 $ docker top c62fbe7124d2746b7e288eb79676fe019606110da66871f939779ffadd3f336e -eo pid,comm [Pipeline] { [Pipeline] sh 20:34:56 + go version 20:34:56 go version go1.17.6 linux/amd64 [Pipeline] } 20:34:56 $ docker stop --time=1 c62fbe7124d2746b7e288eb79676fe019606110da66871f939779ffadd3f336e 20:34:57 $ docker rm -f c62fbe7124d2746b7e288eb79676fe019606110da66871f939779ffadd3f336e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:34:58 + docker inspect -f . ci-base-image-x86_64 20:34:58 . [Pipeline] withDockerContainer 20:34:58 prd-ubuntu20.04-docker-8c-8g-23268 does not seem to be running inside a container 20:34:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-rfid-llrp-go_PR-76 -v /w/workspace/oundry_device-rfid-llrp-go_PR-76:/w/workspace/oundry_device-rfid-llrp-go_PR-76:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-76@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-76@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 ******** ci-base-image-x86_64 cat 20:34:58 $ docker top 1684e8116bffff392665e89becf6e1d70868ea9082c0dcfca3c7df3a110d7359 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:34:59 + make test 20:34:59 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:34:59 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 20:35:06 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 20:35:06 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 20:35:10 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 3.425s coverage: 39.3% of statements 20:35:10 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.258s coverage: 52.0% of statements 20:35:10 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.015s coverage: 94.6% of statements 20:35:16 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:35:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:35:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:35:19 ./bin/test-attribution-txt.sh [Pipeline] echo 20:35:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:35:20 $ docker stop --time=1 1684e8116bffff392665e89becf6e1d70868ea9082c0dcfca3c7df3a110d7359 20:35:21 $ docker rm -f 1684e8116bffff392665e89becf6e1d70868ea9082c0dcfca3c7df3a110d7359 [Pipeline] // withDockerContainer [Pipeline] sh 20:35:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:35:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:35:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:35:23 + ls -al . 20:35:23 total 640 20:35:23 drwxrwxr-x 11 jenkins jenkins 4096 Apr 25 20:35 . 20:35:23 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 20:33 .. 20:35:23 -rw-rw-r-- 1 jenkins jenkins 134 Apr 25 20:33 .dockerignore 20:35:23 drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 20:33 .git 20:35:23 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 20:33 .github 20:35:23 -rw-rw-r-- 1 jenkins jenkins 946 Apr 25 20:33 .gitignore 20:35:23 -rw-rw-r-- 1 jenkins jenkins 41 Apr 25 20:33 .golangci.yml 20:35:23 drwx------ 3 jenkins jenkins 4096 Apr 25 20:34 .semver 20:35:23 -rw-rw-r-- 1 jenkins jenkins 9072 Apr 25 20:33 Attribution.txt 20:35:23 -rw-rw-r-- 1 jenkins jenkins 1514 Apr 25 20:33 Dockerfile 20:35:23 -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 20:33 GOVERNANCE.md 20:35:23 -rw-rw-r-- 1 jenkins jenkins 683 Apr 25 20:33 Jenkinsfile 20:35:23 -rw-rw-r-- 1 jenkins jenkins 11347 Apr 25 20:33 LICENSE 20:35:23 -rw-rw-r-- 1 jenkins jenkins 1435 Apr 25 20:33 Makefile 20:35:23 -rw-rw-r-- 1 jenkins jenkins 625 Apr 25 20:33 OWNERS.md 20:35:23 -rw-rw-r-- 1 jenkins jenkins 28496 Apr 25 20:33 README.md 20:35:23 -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 20:34 VERSION 20:35:23 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 20:33 bin 20:35:23 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 20:33 cmd 20:35:23 -rw-r--r-- 1 jenkins jenkins 460394 Apr 25 20:35 coverage.out 20:35:23 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 20:33 examples 20:35:23 -rw-rw-r-- 1 jenkins jenkins 2899 Apr 25 20:33 go.mod 20:35:23 -rw-rw-r-- 1 jenkins jenkins 49145 Apr 25 20:33 go.sum 20:35:23 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 20:33 images 20:35:23 drwxrwxr-x 5 jenkins jenkins 4096 Apr 25 20:33 internal 20:35:23 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 20:33 snap 20:35:23 -rw-rw-r-- 1 jenkins jenkins 193 Apr 25 20:33 version.go [Pipeline] isUnix [Pipeline] sh 20:35:23 + docker build -t device-rfid-llrp -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=a6839ba9322d5b5e97d537750b2318ec9dadf3c9 --label arch=amd64 --label version=0.0.0 . 20:35:23 Sending build context to Docker daemon 1.729MB 20:35:23 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 20:35:23 Step 2/25 : FROM ${BASE} AS builder 20:35:23 ---> ad8afb1f85d3 20:35:23 Step 3/25 : ARG MAKE='make build' 20:35:23 ---> Running in 6702815291fa 20:35:23 Removing intermediate container 6702815291fa 20:35:23 ---> 6d34cf10dc7a 20:35:23 Step 4/25 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 20:35:24 ---> Running in 82b3673a7307 20:35:24 Removing intermediate container 82b3673a7307 20:35:24 ---> c74c7e46fd3a 20:35:24 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 20:35:24 ---> Running in c6068ed59bc7 20:35:24 Removing intermediate container c6068ed59bc7 20:35:24 ---> 76d60f406193 20:35:24 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:35:24 ---> Running in 5961389f56c5 20:35:24 Removing intermediate container 5961389f56c5 20:35:24 ---> b607ee1d2b1c 20:35:24 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:35:24 ---> Running in 76e6e52e0c73 20:35:25 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:35:26 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:35:26 OK: 221 MiB in 52 packages 20:35:26 Removing intermediate container 76e6e52e0c73 20:35:26 ---> a2d7884d76fd 20:35:26 Step 8/25 : WORKDIR /app 20:35:26 ---> Running in fb6f5b665bee 20:35:26 Removing intermediate container fb6f5b665bee 20:35:26 ---> a5189d2e5dd8 20:35:26 Step 9/25 : COPY go.mod vendor* ./ 20:35:26 ---> 8fe47404e2dc 20:35:26 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:35:26 ---> Running in 162705cf8459 20:35:27 Removing intermediate container 162705cf8459 20:35:27 ---> f1095b4cfbc2 20:35:27 Step 11/25 : COPY . . 20:35:27 ---> 8a194206b553 20:35:27 Step 12/25 : RUN $MAKE 20:35:27 ---> Running in 0f5b524b6159 20:35:28 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rfid-llrp.Version=0.0.0" -o cmd/device-rfid-llrp ./cmd 20:35:36 Removing intermediate container 0f5b524b6159 20:35:36 ---> 673fc1a8aefd 20:35:36 Step 13/25 : FROM alpine:3.14 20:35:36 3.14: Pulling from library/alpine 20:35:36 8663204ce13b: Pulling fs layer 20:35:36 8663204ce13b: Download complete 20:35:36 8663204ce13b: Pull complete 20:35:36 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 20:35:36 Status: Downloaded newer image for alpine:3.14 20:35:36 ---> e04c818066af 20:35:36 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 20:35:36 ---> Running in ad6bf01ef32c 20:35:36 Removing intermediate container ad6bf01ef32c 20:35:36 ---> f7aaf61b9379 20:35:36 Step 15/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:35:36 ---> Running in 55ca1e972a7f 20:35:37 Removing intermediate container 55ca1e972a7f 20:35:37 ---> aec2aba9010b 20:35:37 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 20:35:37 ---> Running in 4426afe7d6ca 20:35:37 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 20:35:38 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 20:35:38 (1/6) Installing dumb-init (1.2.5-r1) 20:35:39 (2/6) Installing libgcc (10.3.1_git20210424-r2) 20:35:39 (3/6) Installing libsodium (1.0.18-r0) 20:35:39 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 20:35:39 (5/6) Installing libzmq (4.3.4-r0) 20:35:39 (6/6) Installing zeromq (4.3.4-r0) 20:35:39 Executing busybox-1.33.1-r7.trigger 20:35:39 OK: 8 MiB in 20 packages 20:35:39 Removing intermediate container 4426afe7d6ca 20:35:39 ---> b194a1c835d7 20:35:39 Step 17/25 : COPY --from=builder /app/LICENSE / 20:35:39 ---> ca1796a3dd6a 20:35:39 Step 18/25 : COPY --from=builder /app/Attribution.txt / 20:35:40 ---> c8cf0ef07b48 20:35:40 Step 19/25 : COPY --from=builder /app/cmd/ / 20:35:40 ---> 4d3d94d68839 20:35:40 Step 20/25 : EXPOSE 59989 20:35:40 ---> Running in 3186feabbc64 20:35:40 Removing intermediate container 3186feabbc64 20:35:40 ---> f25f4b05c354 20:35:40 Step 21/25 : ENTRYPOINT ["/device-rfid-llrp"] 20:35:40 ---> Running in 2db30efca99b 20:35:40 Removing intermediate container 2db30efca99b 20:35:40 ---> 04bb6bf96df3 20:35:40 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:35:40 ---> Running in b90d070dcbf5 20:35:40 Removing intermediate container b90d070dcbf5 20:35:40 ---> c1ec4a579e09 20:35:40 Step 23/25 : LABEL arch=amd64 20:35:40 ---> Running in 5b75085b12d6 20:35:40 Removing intermediate container 5b75085b12d6 20:35:40 ---> 9eceaba93aa1 20:35:40 Step 24/25 : LABEL git_sha=a6839ba9322d5b5e97d537750b2318ec9dadf3c9 20:35:40 ---> Running in d24837344d11 20:35:41 Removing intermediate container d24837344d11 20:35:41 ---> 7da6857b2a78 20:35:41 Step 25/25 : LABEL version=0.0.0 20:35:41 ---> Running in 334955ac8377 20:35:41 Removing intermediate container 334955ac8377 20:35:41 ---> f6df689990e5 20:35:41 [Warning] One or more build-args [ARCH] were not consumed 20:35:41 Successfully built f6df689990e5 20:35:41 Successfully tagged device-rfid-llrp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:35:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:35:41 20:35:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 20:35:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:35:42 latest: Pulling from edgex-lftools-log-publisher 20:35:42 5eb5b503b376: Pulling fs layer 20:35:42 5c69ac0246d0: Pulling fs layer 20:35:42 ec43610c2a17: Pulling fs layer 20:35:42 3a2ae6a8a46f: Pulling fs layer 20:35:42 33b1e0a273af: Pulling fs layer 20:35:42 5d3b04190fa2: Pulling fs layer 20:35:42 2f39f015ded8: Pulling fs layer 20:35:42 33b1e0a273af: Waiting 20:35:42 5d3b04190fa2: Waiting 20:35:42 2f39f015ded8: Waiting 20:35:42 3a2ae6a8a46f: Waiting 20:35:42 5c69ac0246d0: Verifying Checksum 20:35:42 5c69ac0246d0: Download complete 20:35:42 3a2ae6a8a46f: Verifying Checksum 20:35:42 3a2ae6a8a46f: Download complete 20:35:42 33b1e0a273af: Verifying Checksum 20:35:42 33b1e0a273af: Download complete 20:35:42 5d3b04190fa2: Download complete 20:35:42 ec43610c2a17: Verifying Checksum 20:35:42 ec43610c2a17: Download complete 20:35:42 5eb5b503b376: Verifying Checksum 20:35:42 5eb5b503b376: Download complete 20:35:43 2f39f015ded8: Verifying Checksum 20:35:43 2f39f015ded8: Download complete 20:35:43 5eb5b503b376: Pull complete 20:35:43 5c69ac0246d0: Pull complete 20:35:44 ec43610c2a17: Pull complete 20:35:44 3a2ae6a8a46f: Pull complete 20:35:44 33b1e0a273af: Pull complete 20:35:44 5d3b04190fa2: Pull complete 20:35:48 2f39f015ded8: Pull complete 20:35:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:35:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:35:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 20:35:48 prd-ubuntu20.04-docker-8c-8g-23268 does not seem to be running inside a container 20:35:49 $ 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/oundry_device-rfid-llrp-go_PR-76 -v /w/workspace/oundry_device-rfid-llrp-go_PR-76:/w/workspace/oundry_device-rfid-llrp-go_PR-76:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-76@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-76@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:35:50 $ docker top b8d5adab3b810afae988a678fd9571a1435f02b2cb1b18710bdb67a9807c799a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:35:51 ---> job-cost.sh 20:35:51 lf-activate-venv: SKIPPING 20:35:51 INFO: No Stack... 20:35:51 INFO: Retrieving Pricing Info for: v3-standard-8 20:35:52 INFO: Archiving Costs [Pipeline] sh 20:35:52 + cat /w/workspace/oundry_device-rfid-llrp-go_PR-76/archives/cost.csv 20:35:52 + cut -d, -f6 [Pipeline] lock 20:35:52 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-76-1-stack-cost] 20:35:52 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-76-1-stack-cost] did not exist. Created. 20:35:52 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-76-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:35:53 + echo total: 0.2199999988079071 [Pipeline] stash 20:35:53 Stashed 1 file(s) [Pipeline] } 20:35:53 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-76-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:35:53 $ docker stop --time=1 b8d5adab3b810afae988a678fd9571a1435f02b2cb1b18710bdb67a9807c799a 20:35:54 $ docker rm -f b8d5adab3b810afae988a678fd9571a1435f02b2cb1b18710bdb67a9807c799a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:45:08 Running on prd-ubuntu20.04-docker-arm64-4c-16g-23515 in /w/workspace/oundry_device-rfid-llrp-go_PR-76 [Pipeline] { [Pipeline] ws 20:45:08 Running in /w/workspace/device-rfid-llrp-go/1 [Pipeline] { [Pipeline] checkout 20:45:08 Selected Git installation does not exist. Using Default 20:45:08 The recommended git tool is: NONE 20:45:17 using credential edgex-jenkins-ssh 20:45:17 Cloning the remote Git repository 20:45:17 Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git 20:45:17 > git init /w/workspace/device-rfid-llrp-go/1 # timeout=10 20:45:17 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 20:45:17 > git --version # timeout=10 20:45:17 > git --version # 'git version 2.25.1' 20:45:17 using GIT_SSH to set credentials SSH Credentials for GitHub 20:45:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:45:19 Merging remotes/origin/main commit c5284296090fc93b1a9c5192dcea8b13ac4a9a89 into PR head commit f82b81e6e6dd6e0808f53e5d0a76bb87f67ab361 20:45:18 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 20:45:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:45:19 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 20:45:19 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 20:45:19 using GIT_SSH to set credentials SSH Credentials for GitHub 20:45:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/76/head:refs/remotes/origin/PR-76 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:45:19 > git config core.sparsecheckout # timeout=10 20:45:19 > git checkout -f f82b81e6e6dd6e0808f53e5d0a76bb87f67ab361 # timeout=10 20:45:20 Merge succeeded, producing 40798d08aaa18367100b5c1e5a9b20717298746f 20:45:20 Checking out Revision 40798d08aaa18367100b5c1e5a9b20717298746f (PR-76) 20:45:19 > git remote # timeout=10 20:45:19 > git config --get remote.origin.url # timeout=10 20:45:19 using GIT_SSH to set credentials SSH Credentials for GitHub 20:45:19 > git merge c5284296090fc93b1a9c5192dcea8b13ac4a9a89 # timeout=10 20:45:20 > git rev-parse HEAD^{commit} # timeout=10 20:45:20 > git config core.sparsecheckout # timeout=10 20:45:20 > git checkout -f 40798d08aaa18367100b5c1e5a9b20717298746f # timeout=10 20:45:24 Commit message: "Merge commit 'c5284296090fc93b1a9c5192dcea8b13ac4a9a89' into HEAD" 20:45:24 First time build. Skipping changelog. 20:45:25 > git --version # timeout=10 20:45:25 > git --version # 'git version 2.25.1' 20:45:25 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:45:26 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:45:26 % Total % Received % Xferd Average Speed Time Time Time Current 20:45:26 Dload Upload Total Spent Left Speed 20:45:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 180k 0 --:--:-- --:--:-- --:--:-- 183k [Pipeline] sh 20:45:27 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:45:27 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:45:27 + sudo tee /etc/docker/daemon.new 20:45:27 { 20:45:27 "registry-mirrors": [ 20:45:27 "https://nexus3.edgexfoundry.org:10001" 20:45:27 ], 20:45:27 "bip": "10.250.0.254/24", 20:45:27 "hosts": [ 20:45:27 "tcp://0.0.0.0:5555", 20:45:27 "unix:///var/run/docker.sock" 20:45:27 ], 20:45:27 "mtu": 1458, 20:45:27 "selinux-enabled": true, 20:45:27 "seccomp-profile": "/etc/docker/seccomp.json" 20:45:27 } [Pipeline] sh 20:45:27 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:45:28 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:45:46 provisioning config files... 20:45:46 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/device-rfid-llrp-go/1@tmp/config3445174887815492809tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:45:47 ---> docker-login.sh 20:45:47 nexus3.edgexfoundry.org:10001 20:45:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:48 Configure a credential helper to remove this warning. See 20:45:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:48 20:45:48 Login Succeeded 20:45:48 nexus3.edgexfoundry.org:10002 20:45:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:49 Configure a credential helper to remove this warning. See 20:45:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:49 20:45:49 Login Succeeded 20:45:49 nexus3.edgexfoundry.org:10003 20:45:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:49 Configure a credential helper to remove this warning. See 20:45:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:49 20:45:49 Login Succeeded 20:45:49 nexus3.edgexfoundry.org:10004 20:45:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:50 Configure a credential helper to remove this warning. See 20:45:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:50 20:45:50 Login Succeeded 20:45:50 docker.io 20:45:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:45:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:45:51 Configure a credential helper to remove this warning. See 20:45:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:45:51 20:45:51 Login Succeeded 20:45:51 ---> docker-login.sh ends [Pipeline] } 20:45:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:45:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:45:51 ========================================================= 20:45:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 20:45:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:45:52 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 20:45:52 Sending build context to Docker daemon 1.228MB 20:45:52 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 20:45:52 Step 2/12 : FROM ${BASE} AS builder 20:45:52 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:45:52 9b3977197b4f: Pulling fs layer 20:45:52 1a89e8eeedd5: Pulling fs layer 20:45:52 94645a83ff95: Pulling fs layer 20:45:52 3f3a8bcf1eab: Pulling fs layer 20:45:52 0c92f367c5e7: Pulling fs layer 20:45:52 3096ccb668a1: Pulling fs layer 20:45:52 e8cf19c19ddd: Pulling fs layer 20:45:52 a4caa8a26152: Pulling fs layer 20:45:52 3f3a8bcf1eab: Waiting 20:45:52 e8cf19c19ddd: Waiting 20:45:52 0c92f367c5e7: Waiting 20:45:52 a4caa8a26152: Waiting 20:45:52 3096ccb668a1: Waiting 20:45:52 94645a83ff95: Download complete 20:45:52 1a89e8eeedd5: Verifying Checksum 20:45:52 1a89e8eeedd5: Download complete 20:45:52 0c92f367c5e7: Verifying Checksum 20:45:52 0c92f367c5e7: Download complete 20:45:52 3096ccb668a1: Verifying Checksum 20:45:52 3096ccb668a1: Download complete 20:45:52 9b3977197b4f: Verifying Checksum 20:45:52 9b3977197b4f: Download complete 20:45:52 e8cf19c19ddd: Download complete 20:45:53 9b3977197b4f: Pull complete 20:45:54 1a89e8eeedd5: Pull complete 20:45:54 94645a83ff95: Pull complete 20:45:55 a4caa8a26152: Verifying Checksum 20:45:55 a4caa8a26152: Download complete 20:45:56 3f3a8bcf1eab: Verifying Checksum 20:45:56 3f3a8bcf1eab: Download complete 20:46:11 3f3a8bcf1eab: Pull complete 20:46:11 0c92f367c5e7: Pull complete 20:46:11 3096ccb668a1: Pull complete 20:46:11 e8cf19c19ddd: Pull complete 20:46:18 a4caa8a26152: Pull complete 20:46:18 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 20:46:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 20:46:18 ---> 725f1c02e7f9 20:46:18 Step 3/12 : ARG MAKE='make build' 20:46:20 ---> Running in 6757c4e8c415 20:46:20 Removing intermediate container 6757c4e8c415 20:46:20 ---> f7ddf5741c91 20:46:20 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 20:46:20 ---> Running in be84ef966ff3 20:46:20 Removing intermediate container be84ef966ff3 20:46:20 ---> a446543e0100 20:46:20 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 20:46:20 ---> Running in 2dd2f195c25b 20:46:21 Removing intermediate container 2dd2f195c25b 20:46:21 ---> 15b3f559ae37 20:46:21 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:46:21 ---> Running in ed1c3e86c709 20:46:23 Removing intermediate container ed1c3e86c709 20:46:23 ---> 5b0de1fe4c88 20:46:23 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:46:23 ---> Running in 652696869c0d 20:46:24 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:46:25 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:46:27 OK: 220 MiB in 52 packages 20:46:27 Removing intermediate container 652696869c0d 20:46:27 ---> 46ae67366a49 20:46:27 Step 8/12 : WORKDIR /app 20:46:27 ---> Running in 91a48e7002ea 20:46:27 Removing intermediate container 91a48e7002ea 20:46:27 ---> 050408ff2c4d 20:46:27 Step 9/12 : COPY go.mod vendor* ./ 20:46:28 ---> f6a06221d0b5 20:46:28 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:46:28 ---> Running in cf2a23afd7b9 20:47:50 Removing intermediate container cf2a23afd7b9 20:47:50 ---> 35be372a08b6 20:47:50 Step 11/12 : COPY . . 20:47:50 ---> 0c0d32995d8a 20:47:50 Step 12/12 : RUN $MAKE 20:47:50 ---> Running in a16b07f92c57 20:47:50 noop 20:47:51 Removing intermediate container a16b07f92c57 20:47:51 ---> 18459403f61a 20:47:51 Successfully built 18459403f61a 20:47:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:47:51 + docker inspect -f . ci-base-image-arm64 20:47:51 . [Pipeline] withDockerContainer 20:47:51 prd-ubuntu20.04-docker-arm64-4c-16g-23515 does not seem to be running inside a container 20:47:52 $ 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 ******** ci-base-image-arm64 cat 20:47:53 $ docker top 5dcc06cac58d0a20334ba9b0a4f346893c77c7a23b8fc575f5ca9e67f14ea5f9 -eo pid,comm [Pipeline] { [Pipeline] sh 20:47:54 + go version 20:47:54 go version go1.17.6 linux/arm64 [Pipeline] } 20:47:54 $ docker stop --time=1 5dcc06cac58d0a20334ba9b0a4f346893c77c7a23b8fc575f5ca9e67f14ea5f9 20:47:56 $ docker rm -f 5dcc06cac58d0a20334ba9b0a4f346893c77c7a23b8fc575f5ca9e67f14ea5f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:47:57 + docker inspect -f . ci-base-image-arm64 20:47:57 . [Pipeline] withDockerContainer 20:47:57 prd-ubuntu20.04-docker-arm64-4c-16g-23515 does not seem to be running inside a container 20:47:57 $ 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 ******** ci-base-image-arm64 cat 20:47:59 $ docker top 55adeaeeffc32713d75f5d962542730f6adef2a02d8802ee3d435f629dd7ebc7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:48:00 + make test 20:48:00 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:48:01 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 20:49:10 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 20:49:10 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 20:49:42 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 26.549s coverage: 39.3% of statements 20:49:42 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.545s coverage: 51.9% of statements 20:49:42 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.032s coverage: 94.6% of statements 20:49:42 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:49:42 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:50:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:50:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:50:02 ./bin/test-attribution-txt.sh [Pipeline] echo 20:50:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:50:05 $ docker stop --time=1 55adeaeeffc32713d75f5d962542730f6adef2a02d8802ee3d435f629dd7ebc7 20:50:07 $ docker rm -f 55adeaeeffc32713d75f5d962542730f6adef2a02d8802ee3d435f629dd7ebc7 [Pipeline] // withDockerContainer [Pipeline] sh 20:50:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:50:08 Warning: overwriting stash ‘coverage-report’ 20:50:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:50:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:50:10 + ls -al . 20:50:10 total 636 20:50:10 drwxrwxr-x 10 jenkins jenkins 4096 Apr 25 20:50 . 20:50:10 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 20:45 .. 20:50:10 -rw-rw-r-- 1 jenkins jenkins 134 Apr 25 20:45 .dockerignore 20:50:10 drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 20:45 .git 20:50:10 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 20:45 .github 20:50:10 -rw-rw-r-- 1 jenkins jenkins 946 Apr 25 20:45 .gitignore 20:50:10 -rw-rw-r-- 1 jenkins jenkins 41 Apr 25 20:45 .golangci.yml 20:50:10 -rw-rw-r-- 1 jenkins jenkins 9072 Apr 25 20:45 Attribution.txt 20:50:10 -rw-rw-r-- 1 jenkins jenkins 1514 Apr 25 20:45 Dockerfile 20:50:10 -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 20:45 GOVERNANCE.md 20:50:10 -rw-rw-r-- 1 jenkins jenkins 683 Apr 25 20:45 Jenkinsfile 20:50:10 -rw-rw-r-- 1 jenkins jenkins 11347 Apr 25 20:45 LICENSE 20:50:10 -rw-rw-r-- 1 jenkins jenkins 1435 Apr 25 20:45 Makefile 20:50:10 -rw-rw-r-- 1 jenkins jenkins 625 Apr 25 20:45 OWNERS.md 20:50:10 -rw-rw-r-- 1 jenkins jenkins 28496 Apr 25 20:45 README.md 20:50:10 -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 20:34 VERSION 20:50:10 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 20:45 bin 20:50:10 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 20:45 cmd 20:50:10 -rw-r--r-- 1 jenkins jenkins 460394 Apr 25 20:49 coverage.out 20:50:10 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 20:45 examples 20:50:10 -rw-rw-r-- 1 jenkins jenkins 2899 Apr 25 20:45 go.mod 20:50:10 -rw-rw-r-- 1 jenkins jenkins 49145 Apr 25 20:45 go.sum 20:50:10 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 20:45 images 20:50:10 drwxrwxr-x 5 jenkins jenkins 4096 Apr 25 20:45 internal 20:50:10 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 20:45 snap 20:50:10 -rw-rw-r-- 1 jenkins jenkins 193 Apr 25 20:45 version.go [Pipeline] isUnix [Pipeline] sh 20:50:10 + 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=40798d08aaa18367100b5c1e5a9b20717298746f --label arch=arm64 --label version=0.0.0 . 20:50:10 Sending build context to Docker daemon 1.228MB 20:50:11 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 20:50:11 Step 2/25 : FROM ${BASE} AS builder 20:50:11 ---> 18459403f61a 20:50:11 Step 3/25 : ARG MAKE='make build' 20:50:11 ---> Running in 1cf8334c843e 20:50:11 Removing intermediate container 1cf8334c843e 20:50:11 ---> 4d6ac452d51d 20:50:11 Step 4/25 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 20:50:11 ---> Running in 49317b90e132 20:50:11 Removing intermediate container 49317b90e132 20:50:11 ---> 9ac696bae1ec 20:50:11 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 20:50:12 ---> Running in 1551130ad5dc 20:50:12 Removing intermediate container 1551130ad5dc 20:50:12 ---> 443461cbaa9c 20:50:12 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:50:12 ---> Running in 6b4a500cd8ee 20:50:14 Removing intermediate container 6b4a500cd8ee 20:50:14 ---> c4eb2525e78f 20:50:14 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:50:14 ---> Running in cfe7bbe7a055 20:50:15 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:50:16 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:50:17 OK: 220 MiB in 52 packages 20:50:18 Removing intermediate container cfe7bbe7a055 20:50:18 ---> 725c236c316b 20:50:18 Step 8/25 : WORKDIR /app 20:50:18 ---> Running in 28ab7ff64bfa 20:50:18 Removing intermediate container 28ab7ff64bfa 20:50:18 ---> 02568e7919fe 20:50:18 Step 9/25 : COPY go.mod vendor* ./ 20:50:19 ---> c063200a1ca2 20:50:19 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:50:19 ---> Running in 9def1d8323d1 20:50:22 Removing intermediate container 9def1d8323d1 20:50:22 ---> 51cc385cfd16 20:50:22 Step 11/25 : COPY . . 20:50:22 ---> fa027b1069b1 20:50:22 Step 12/25 : RUN $MAKE 20:50:22 ---> Running in efc00013f080 20:50:23 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rfid-llrp.Version=0.0.0" -o cmd/device-rfid-llrp ./cmd 20:51:20 Removing intermediate container efc00013f080 20:51:20 ---> 7a192a07f771 20:51:20 Step 13/25 : FROM alpine:3.14 20:51:20 3.14: Pulling from library/alpine 20:51:20 455c02918c45: Pulling fs layer 20:51:20 455c02918c45: Verifying Checksum 20:51:20 455c02918c45: Pull complete 20:51:20 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 20:51:20 Status: Downloaded newer image for alpine:3.14 20:51:20 ---> ac73e934f311 20:51:20 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 20:51:20 ---> Running in 309693d650c5 20:51:20 Removing intermediate container 309693d650c5 20:51:20 ---> ba9acd7729ed 20:51:20 Step 15/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:51:20 ---> Running in 9596c0414630 20:51:20 Removing intermediate container 9596c0414630 20:51:20 ---> 0200b0136b72 20:51:20 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 20:51:20 ---> Running in 17c94670deca 20:51:20 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 20:51:20 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 20:51:21 (1/6) Installing dumb-init (1.2.5-r1) 20:51:21 (2/6) Installing libgcc (10.3.1_git20210424-r2) 20:51:21 (3/6) Installing libsodium (1.0.18-r0) 20:51:21 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 20:51:21 (5/6) Installing libzmq (4.3.4-r0) 20:51:21 (6/6) Installing zeromq (4.3.4-r0) 20:51:21 Executing busybox-1.33.1-r7.trigger 20:51:21 OK: 8 MiB in 20 packages 20:51:23 Removing intermediate container 17c94670deca 20:51:23 ---> 994c99ee7847 20:51:23 Step 17/25 : COPY --from=builder /app/LICENSE / 20:51:23 ---> 908410d3cddc 20:51:23 Step 18/25 : COPY --from=builder /app/Attribution.txt / 20:51:24 ---> ebe247477173 20:51:24 Step 19/25 : COPY --from=builder /app/cmd/ / 20:51:25 ---> 623ca4b8d346 20:51:25 Step 20/25 : EXPOSE 59989 20:51:25 ---> Running in 5f27b3174307 20:51:25 Removing intermediate container 5f27b3174307 20:51:25 ---> 09c49e28fa33 20:51:25 Step 21/25 : ENTRYPOINT ["/device-rfid-llrp"] 20:51:25 ---> Running in 930bafe44626 20:51:26 Removing intermediate container 930bafe44626 20:51:26 ---> 1ee4104c285e 20:51:26 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:51:26 ---> Running in f30be0c9962d 20:51:26 Removing intermediate container f30be0c9962d 20:51:26 ---> 813b9be2d5bf 20:51:26 Step 23/25 : LABEL arch=arm64 20:51:26 ---> Running in 352eace73f8d 20:51:26 Removing intermediate container 352eace73f8d 20:51:26 ---> 62e0e44c7767 20:51:26 Step 24/25 : LABEL git_sha=40798d08aaa18367100b5c1e5a9b20717298746f 20:51:27 ---> Running in 395aa02a0527 20:51:27 Removing intermediate container 395aa02a0527 20:51:27 ---> b37baa94ba70 20:51:27 Step 25/25 : LABEL version=0.0.0 20:51:27 ---> Running in a17f55e260e9 20:51:27 Removing intermediate container a17f55e260e9 20:51:27 ---> ebdbe0cc8320 20:51:27 [Warning] One or more build-args [ARCH] were not consumed 20:51:28 Successfully built ebdbe0cc8320 20:51:28 Successfully tagged device-rfid-llrp-arm64:latest [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] sh 20:51:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:51:28 20:51:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 20:51:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:51:29 arm64: Pulling from edgex-lftools-log-publisher 20:51:29 8998bd30e6a1: Pulling fs layer 20:51:29 04944245beec: Pulling fs layer 20:51:29 699f458cf7ca: Pulling fs layer 20:51:29 765212b225bb: Pulling fs layer 20:51:29 f23df028b6ca: Pulling fs layer 20:51:29 d65c8cfc05b1: Pulling fs layer 20:51:29 2437ff75d9bd: Pulling fs layer 20:51:29 f23df028b6ca: Waiting 20:51:29 d65c8cfc05b1: Waiting 20:51:29 2437ff75d9bd: Waiting 20:51:29 765212b225bb: Waiting 20:51:29 04944245beec: Verifying Checksum 20:51:29 04944245beec: Download complete 20:51:29 765212b225bb: Verifying Checksum 20:51:29 765212b225bb: Download complete 20:51:29 f23df028b6ca: Verifying Checksum 20:51:29 f23df028b6ca: Download complete 20:51:29 d65c8cfc05b1: Verifying Checksum 20:51:29 d65c8cfc05b1: Download complete 20:51:29 699f458cf7ca: Verifying Checksum 20:51:29 699f458cf7ca: Download complete 20:51:30 8998bd30e6a1: Verifying Checksum 20:51:30 8998bd30e6a1: Download complete 20:51:32 2437ff75d9bd: Verifying Checksum 20:51:32 2437ff75d9bd: Download complete 20:51:34 8998bd30e6a1: Pull complete 20:51:34 04944245beec: Pull complete 20:51:36 699f458cf7ca: Pull complete 20:51:36 765212b225bb: Pull complete 20:51:37 f23df028b6ca: Pull complete 20:51:37 d65c8cfc05b1: Pull complete 20:51:52 2437ff75d9bd: Pull complete 20:51:52 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:51:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:51:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 20:51:52 prd-ubuntu20.04-docker-arm64-4c-16g-23515 does not seem to be running inside a container 20:51:53 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:51:55 $ docker top 1cd0de8b044bef52f5bd1bc1378bca1e4be5083b5bac7518750d1cdd17f41db8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:51:56 ---> job-cost.sh 20:51:56 lf-activate-venv: SKIPPING 20:51:56 INFO: No Stack... 20:51:57 INFO: Retrieving Pricing Info for: v3-standard-4 20:51:58 INFO: Archiving Costs [Pipeline] sh 20:51:59 + cat /w/workspace/device-rfid-llrp-go/1/archives/cost.csv 20:51:59 + cut -d, -f6 [Pipeline] lock 20:51:59 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-76-1-stack-cost] 20:51:59 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-76-1-stack-cost] did not exist. Created. 20:51:59 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-76-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:52:00 /w/workspace/device-rfid-llrp-go/1@tmp/durable-43a16557/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:52:00 + echo total: 0.10999999940395355 [Pipeline] stash 20:52:00 Warning: overwriting stash ‘stack-cost’ 20:52:00 Stashed 1 file(s) [Pipeline] } 20:52:00 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-76-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:52:00 $ docker stop --time=1 1cd0de8b044bef52f5bd1bc1378bca1e4be5083b5bac7518750d1cdd17f41db8 20:52:02 $ docker rm -f 1cd0de8b044bef52f5bd1bc1378bca1e4be5083b5bac7518750d1cdd17f41db8 [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) [Pipeline] unstash [Pipeline] configFileProvider 20:52:03 provisioning config files... 20:52:03 copy managed file [device-rfid-llrp-go-codecov-token] to file:/w/workspace/oundry_device-rfid-llrp-go_PR-76@tmp/config7006291161749822509tmp [Pipeline] { [Pipeline] sh 20:52:04 + set +x 20:52:04 + curl -s+ https://codecov.io/bash 20:52:04 bash -s -- 20:52:04 20:52:04 _____ _ 20:52:04 / ____| | | 20:52:04 | | ___ __| | ___ ___ _____ __ 20:52:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:52:04 | |___| (_) | (_| | __/ (_| (_) \ V / 20:52:04 \_____\___/ \__,_|\___|\___\___/ \_/ 20:52:04 Bash-1.0.6 20:52:04 20:52:04 20:52:04 ==> git version 2.25.1 found 20:52:04 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 20:52:04 Release-Date: 2020-01-08 20:52:04 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:52:04 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:52:04 ==> Jenkins CI detected. 20:52:04 current dir:  /w/workspace/oundry_device-rfid-llrp-go_PR-76 20:52:04 project root: . 20:52:04 --> token set from env 20:52:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:52:04 ==> Running gcov in . (disable via -X gcov) 20:52:04 ==> Python coveragepy not found 20:52:04 ==> Searching for coverage reports in: 20:52:04 + . 20:52:04 -> Found 1 reports 20:52:04 ==> Detecting git/mercurial file structure 20:52:04 ==> Reading reports 20:52:04 + ./coverage.out bytes=460394 20:52:04 ==> Appending adjustments 20:52:04 https://docs.codecov.io/docs/fixing-reports 20:52:04 + Found adjustments 20:52:04 ==> Gzipping contents 20:52:04 52K /tmp/codecov.fXzwEH.gz 20:52:04 ==> Uploading reports 20:52:04 url: https://codecov.io 20:52:04 query: branch=PR-76&commit=a6839ba9322d5b5e97d537750b2318ec9dadf3c9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-76%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=76&job=&cmd_args= 20:52:04 -> Pinging Codecov 20:52:04 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-76&commit=a6839ba9322d5b5e97d537750b2318ec9dadf3c9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-76%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=76&job=&cmd_args= 20:52:04 -> Uploading to 20:52:04 https://storage.googleapis.com/codecov/v4/raw/2022-04-25/581DD39554BDF9B6E22D074273EAD858/a6839ba9322d5b5e97d537750b2318ec9dadf3c9/1c202d5e-34fc-46ed-a682-22242a2979ab.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220425%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220425T205204Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b087c0366c458b745c4937a808ceba8a7d76fa032261bed423dc1d57ddc62f23 20:52:04 % Total % Received % Xferd Average Speed Time Time Time Current 20:52:04 Dload Upload Total Spent Left Speed 20:52:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51750 0 0 100 51750 0 248k --:--:-- --:--:-- --:--:-- 247k 100 51750 0 0 100 51750 0 235k --:--:-- --:--:-- --:--:-- 233k 20:52:04 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/a6839ba9322d5b5e97d537750b2318ec9dadf3c9 [Pipeline] } 20:52:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 20:52:06 + [ -d /w/workspace/oundry_device-rfid-llrp-go_PR-76/archives ] 20:52:06 + ls -al /w/workspace/oundry_device-rfid-llrp-go_PR-76/archives 20:52:06 total 16 20:52:06 drwxr-xr-x 3 root root 4096 Apr 25 20:35 . 20:52:06 drwxrwxr-x 12 jenkins jenkins 4096 Apr 25 20:35 .. 20:52:06 drwxr-xr-x 2 root root 4096 Apr 25 20:35 cost 20:52:06 -rw-r--r-- 1 root root 89 Apr 25 20:35 cost.csv 20:52:06 + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-rfid-llrp-go_PR-76/archives 20:52:06 + ls -al /w/workspace/oundry_device-rfid-llrp-go_PR-76/archives 20:52:06 total 16 20:52:06 drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 20:35 . 20:52:06 drwxrwxr-x 12 jenkins jenkins 4096 Apr 25 20:35 .. 20:52:06 drwxr-xr-x 2 jenkins jenkins 4096 Apr 25 20:35 cost 20:52:06 -rw-r--r-- 1 jenkins jenkins 89 Apr 25 20:35 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:52:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:52:07 ---> package-listing.sh 20:52:07 ++ facter osfamily 20:52:07 ++ tr '[:upper:]' '[:lower:]' 20:52:08 + OS_FAMILY=debian 20:52:08 + workspace=/w/workspace/oundry_device-rfid-llrp-go_PR-76 20:52:08 + START_PACKAGES=/tmp/packages_start.txt 20:52:08 + END_PACKAGES=/tmp/packages_end.txt 20:52:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:52:08 + PACKAGES=/tmp/packages_start.txt 20:52:08 + '[' /w/workspace/oundry_device-rfid-llrp-go_PR-76 ']' 20:52:08 + PACKAGES=/tmp/packages_end.txt 20:52:08 + case "${OS_FAMILY}" in 20:52:08 + dpkg -l 20:52:08 + grep '^ii' 20:52:08 + '[' -f /tmp/packages_start.txt ']' 20:52:08 + '[' -f /tmp/packages_end.txt ']' 20:52:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:52:08 + '[' /w/workspace/oundry_device-rfid-llrp-go_PR-76 ']' 20:52:08 + mkdir -p /w/workspace/oundry_device-rfid-llrp-go_PR-76/archives/ 20:52:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-rfid-llrp-go_PR-76/archives/ [Pipeline] echo 20:52:08 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/oundry_device-rfid-llrp-go_PR-76/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:52:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:52:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:52:08 . [Pipeline] withDockerContainer 20:52:09 prd-ubuntu20.04-docker-8c-8g-23268 does not seem to be running inside a container 20:52:09 $ 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/oundry_device-rfid-llrp-go_PR-76/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-rfid-llrp-go_PR-76 -v /w/workspace/oundry_device-rfid-llrp-go_PR-76:/w/workspace/oundry_device-rfid-llrp-go_PR-76:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-76@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-76@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 20:52:09 $ docker top 8cd313fe5df4c37b67a7769a0f8f192c7bc1caa46fd37c70f215469e4c58d7a4 -eo pid,comm [Pipeline] { [Pipeline] sh 20:52:09 + touch /tmp/pre-build-complete [Pipeline] sh 20:52:10 + mkdir -p /var/log/sysstat [Pipeline] sh 20:52:10 + ls /var/log/sa-host 20:52:10 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:52:10 provisioning config files... 20:52:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-rfid-llrp-go_PR-76@tmp/config5697854888506018863tmp [Pipeline] { [Pipeline] echo 20:52:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:52:10 ---> create-netrc.sh [Pipeline] } 20:52:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:52:11 ---> python-tools-install.sh [Pipeline] echo 20:52:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:52:11 ---> sudo-logs.sh 20:52:11 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:52:11 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:52:12 ---> job-cost.sh 20:52:12 lf-activate-venv: SKIPPING 20:52:12 DEBUG: total: 0.2199999988079071 20:52:12 INFO: Retrieving Stack Cost... 20:52:12 INFO: Retrieving Pricing Info for: v3-standard-8 20:52:12 INFO: Archiving Costs [Pipeline] echo 20:52:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:52:13 ---> logs-deploy.sh 20:52:13 lf-activate-venv: SKIPPING 20:52:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rfid-llrp-go/PR-76/1 20:52:13 INFO: archiving workspace using pattern(s): 20:52:14 Archives upload complete. 20:52:14 INFO: archiving logs to Nexus