Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2d9b8506c97d509b1a4ca3b087cfa1db5dcd50a0+5b207c8f16228b7da7ed0fec4433fb1350251bb7 (96862478bed80974c304f2eedf13f317374ea071) 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-ssh1317521324866888565.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-ssh12273606158047493845.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/PR-65/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-65/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8223093939309377668.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 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-ssh14328343674432409125.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rfid-llrp-go/branches/PR-65/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-65/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh15488908951965516020.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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-21707 in /w/workspace/oundry_device-rfid-llrp-go_PR-65 [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-65 # 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 5b207c8f16228b7da7ed0fec4433fb1350251bb7 into PR head commit 2d9b8506c97d509b1a4ca3b087cfa1db5dcd50a0 Merge succeeded, producing 2764010338e38b09347312c70d38d716ce9bb000 Checking out Revision 2764010338e38b09347312c70d38d716ce9bb000 (PR-65) > 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/65/head:refs/remotes/origin/PR-65 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2d9b8506c97d509b1a4ca3b087cfa1db5dcd50a0 # 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 5b207c8f16228b7da7ed0fec4433fb1350251bb7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2764010338e38b09347312c70d38d716ce9bb000 # timeout=10 Commit message: "Merge commit '5b207c8f16228b7da7ed0fec4433fb1350251bb7' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:08:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:08:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:08:31 ========================================================= 01:08:31 EdgeX Global Pipelines Version Info 01:08:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 01d8018d9370df1fac62385646e11aa1f1375cfb # timeout=10 01:08:32 ------------------- 01:08:32 stable info: 01:08:32 ------------------- 01:08:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:08:32 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 01:08:32 Message: update stable to v1.0.221 01:08:32 ------------------- 01:08:32 experimental info: 01:08:32 ------------------- 01:08:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:08:32 Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b 01:08:32 Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:08:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rfid-llrp-go-settings [Pipeline] echo 01:08:33 [edgeXSetupEnvironment]: set envvar PROJECT = device-rfid-llrp-go [Pipeline] echo 01:08:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:08:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:08:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:08:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 01:08:33 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:08:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:08:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:08:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:08:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:08:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rfid-llrp [Pipeline] echo 01:08:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:08:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:08:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:08:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:08:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:08:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:08:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:08:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:08:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:08:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:08:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:08:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:08:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:08:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:08:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-65 [Pipeline] echo 01:08:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-65 [Pipeline] echo 01:08:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-65 [Pipeline] echo 01:08:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2764010338e38b09347312c70d38d716ce9bb000 [Pipeline] echo 01:08:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2764010 [Pipeline] echo 01:08:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:08:33 provisioning config files... 01:08:33 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/oundry_device-rfid-llrp-go_PR-65@tmp/config2413247031338560806tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:08:33 ---> docker-login.sh 01:08:33 nexus3.edgexfoundry.org:10001 01:08:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:34 Configure a credential helper to remove this warning. See 01:08:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:34 01:08:34 Login Succeeded 01:08:34 nexus3.edgexfoundry.org:10002 01:08:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:34 Configure a credential helper to remove this warning. See 01:08:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:34 01:08:34 Login Succeeded 01:08:34 nexus3.edgexfoundry.org:10003 01:08:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:34 Configure a credential helper to remove this warning. See 01:08:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:34 01:08:34 Login Succeeded 01:08:34 nexus3.edgexfoundry.org:10004 01:08:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:34 Configure a credential helper to remove this warning. See 01:08:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:34 01:08:34 Login Succeeded 01:08:34 docker.io 01:08:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:35 Configure a credential helper to remove this warning. See 01:08:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:35 01:08:35 Login Succeeded 01:08:35 ---> docker-login.sh ends [Pipeline] } 01:08:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:08:35 + git rev-list -1 --merges 2764010338e38b09347312c70d38d716ce9bb000~1..2764010338e38b09347312c70d38d716ce9bb000 [Pipeline] echo 01:08:35 -----------> git rev-list -1 --merges 2764010338e38b09347312c70d38d716ce9bb000~1..2764010338e38b09347312c70d38d716ce9bb000 2764010338e38b09347312c70d38d716ce9bb000 01:08:35 2764010338e38b09347312c70d38d716ce9bb000 [false] [Pipeline] sh 01:08:35 + git log --format=format:%s -1 2764010338e38b09347312c70d38d716ce9bb000 [Pipeline] echo 01:08:36 ========================================================= 01:08:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:08:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:08:36 + git log --format=format:%s -1 2764010338e38b09347312c70d38d716ce9bb000 [Pipeline] echo 01:08:36 [semverPrep] GIT_COMMIT: 2764010338e38b09347312c70d38d716ce9bb000, Commit Message: Merge commit '5b207c8f16228b7da7ed0fec4433fb1350251bb7' into HEAD [Pipeline] echo 01:08:36 [semverPrep] This is not a build commit. [Pipeline] sh 01:08:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:08:36 + grep -v github /etc/ssh/ssh_known_hosts 01:08:36 + [ -e /tmp/ssh_known_hosts ] 01:08:36 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:08:36 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:08:36 + sudo tee -a /etc/ssh/ssh_known_hosts 01:08:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 01:08:37 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:08:37 01:08:37 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 01:08:37 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:08:37 latest: Pulling from edgex-devops/git-semver 01:08:37 a0d0a0d46f8b: Pulling fs layer 01:08:37 3e5f54012d9b: Pulling fs layer 01:08:37 4c7163046ea9: Pulling fs layer 01:08:37 0c2d73faf560: Pulling fs layer 01:08:37 0c2d73faf560: Waiting 01:08:37 3e5f54012d9b: Verifying Checksum 01:08:37 3e5f54012d9b: Download complete 01:08:37 0c2d73faf560: Verifying Checksum 01:08:37 0c2d73faf560: Download complete 01:08:37 4c7163046ea9: Verifying Checksum 01:08:37 4c7163046ea9: Download complete 01:08:37 a0d0a0d46f8b: Verifying Checksum 01:08:37 a0d0a0d46f8b: Download complete 01:08:37 a0d0a0d46f8b: Pull complete 01:08:38 3e5f54012d9b: Pull complete 01:08:38 4c7163046ea9: Pull complete 01:08:38 0c2d73faf560: Pull complete 01:08:38 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 01:08:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:08:38 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 01:08:38 prd-ubuntu20.04-docker-8c-8g-21707 does not seem to be running inside a container 01:08:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-rfid-llrp-go_PR-65 -v /w/workspace/oundry_device-rfid-llrp-go_PR-65:/w/workspace/oundry_device-rfid-llrp-go_PR-65:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-65@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-65@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 01:08:39 $ docker top 630c8b6a5cfd1f70992dd5d9cf52ec0e7bbe1462bb6a83a99f6859d792b3ab30 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:08:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:08:39 [ssh-agent] Looking for ssh-agent implementation... 01:08:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:08:39 $ docker exec 630c8b6a5cfd1f70992dd5d9cf52ec0e7bbe1462bb6a83a99f6859d792b3ab30 ssh-agent 01:08:39 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkjKkPM/agent.13 01:08:39 SSH_AGENT_PID=19 01:08:39 Running ssh-add (command line suppressed) 01:08:39 Identity added: /w/workspace/oundry_device-rfid-llrp-go_PR-65@tmp/private_key_8375055155910720147.key (/w/workspace/oundry_device-rfid-llrp-go_PR-65@tmp/private_key_8375055155910720147.key) 01:08:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:08:40 + git tag --points-at HEAD [Pipeline] } 01:08:40 $ docker exec --env ******** --env ******** 630c8b6a5cfd1f70992dd5d9cf52ec0e7bbe1462bb6a83a99f6859d792b3ab30 ssh-agent -k 01:08:40 unset SSH_AUTH_SOCK; 01:08:40 unset SSH_AGENT_PID; 01:08:40 echo Agent pid 19 killed; 01:08:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:08:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:08:40 [ssh-agent] Looking for ssh-agent implementation... 01:08:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:08:40 $ docker exec 630c8b6a5cfd1f70992dd5d9cf52ec0e7bbe1462bb6a83a99f6859d792b3ab30 ssh-agent 01:08:40 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbLipgo/agent.53 01:08:40 SSH_AGENT_PID=59 01:08:40 Running ssh-add (command line suppressed) 01:08:40 Identity added: /w/workspace/oundry_device-rfid-llrp-go_PR-65@tmp/private_key_5702481748943275176.key (/w/workspace/oundry_device-rfid-llrp-go_PR-65@tmp/private_key_5702481748943275176.key) 01:08:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:08:40 + git semver init 01:08:40 # -> Open(): unable to determine branch for HEAD 01:08:40 # $GIT_DIR = /w/workspace/oundry_device-rfid-llrp-go_PR-65/.git 01:08:40 # $GIT_WORK_TREE = /w/workspace/oundry_device-rfid-llrp-go_PR-65 01:08:40 # $SEMVER_REMOTE_NAME = origin 01:08:40 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:08:40 # $SEMVER_USER_NAME = edgex-jenkins 01:08:40 # $SEMVER_BRANCH = PR-65 01:08:40 # $SEMVER_TEMP = /tmp/semver-583009037 01:08:40 # git clone --branch semver git@github.com:edgexfoundry/device-rfid-llrp-go.git $SEMVER_TEMP 01:08:41 # '/tmp/semver-583009037' -> '/w/workspace/oundry_device-rfid-llrp-go_PR-65/.semver' 01:08:41 # -> Force: false 01:08:41 # $SEMVER_DIR = /w/workspace/oundry_device-rfid-llrp-go_PR-65/.semver [Pipeline] } 01:08:41 $ docker exec --env ******** --env ******** 630c8b6a5cfd1f70992dd5d9cf52ec0e7bbe1462bb6a83a99f6859d792b3ab30 ssh-agent -k 01:08:41 unset SSH_AUTH_SOCK; 01:08:41 unset SSH_AGENT_PID; 01:08:41 echo Agent pid 59 killed; 01:08:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:08:42 + git semver [Pipeline] } 01:08:42 $ docker stop --time=1 630c8b6a5cfd1f70992dd5d9cf52ec0e7bbe1462bb6a83a99f6859d792b3ab30 01:08:43 $ docker rm -f 630c8b6a5cfd1f70992dd5d9cf52ec0e7bbe1462bb6a83a99f6859d792b3ab30 [Pipeline] // withDockerContainer [Pipeline] sh 01:08:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:08:44 Stashed 1 file(s) [Pipeline] echo 01:08:44 [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 01:08:44 provisioning config files... 01:08:44 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/oundry_device-rfid-llrp-go_PR-65@tmp/config8520271206079662737tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:08:44 ---> docker-login.sh 01:08:44 nexus3.edgexfoundry.org:10001 01:08:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:44 Configure a credential helper to remove this warning. See 01:08:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:44 01:08:44 Login Succeeded 01:08:44 nexus3.edgexfoundry.org:10002 01:08:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:44 Configure a credential helper to remove this warning. See 01:08:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:44 01:08:44 Login Succeeded 01:08:44 nexus3.edgexfoundry.org:10003 01:08:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:44 Configure a credential helper to remove this warning. See 01:08:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:44 01:08:44 Login Succeeded 01:08:44 nexus3.edgexfoundry.org:10004 01:08:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:45 Configure a credential helper to remove this warning. See 01:08:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:45 01:08:45 Login Succeeded 01:08:45 docker.io 01:08:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:08:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:08:45 Configure a credential helper to remove this warning. See 01:08:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:08:45 01:08:45 Login Succeeded 01:08:45 ---> docker-login.sh ends [Pipeline] } 01:08:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:08:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:08:45 ========================================================= 01:08:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 01:08:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 01:08:45 + 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 . 01:08:45 Sending build context to Docker daemon 1.724MB 01:08:45 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 01:08:45 Step 2/12 : FROM ${BASE} AS builder 01:08:46 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 01:08:46 59bf1c3509f3: Pulling fs layer 01:08:46 666ba61612fd: Pulling fs layer 01:08:46 8ed8ca486205: Pulling fs layer 01:08:46 4fe6c5a15a65: Pulling fs layer 01:08:46 22a0e8bec74d: Pulling fs layer 01:08:46 640e595b4fbd: Pulling fs layer 01:08:46 763cafe07f6e: Pulling fs layer 01:08:46 0c0b528cf693: Pulling fs layer 01:08:46 10935f4eaf8b: Pulling fs layer 01:08:46 4fe6c5a15a65: Waiting 01:08:46 22a0e8bec74d: Waiting 01:08:46 640e595b4fbd: Waiting 01:08:46 763cafe07f6e: Waiting 01:08:46 0c0b528cf693: Waiting 01:08:46 10935f4eaf8b: Waiting 01:08:46 8ed8ca486205: Download complete 01:08:46 666ba61612fd: Verifying Checksum 01:08:46 666ba61612fd: Download complete 01:08:46 22a0e8bec74d: Download complete 01:08:46 640e595b4fbd: Verifying Checksum 01:08:46 640e595b4fbd: Download complete 01:08:46 763cafe07f6e: Verifying Checksum 01:08:46 763cafe07f6e: Download complete 01:08:46 59bf1c3509f3: Verifying Checksum 01:08:46 59bf1c3509f3: Download complete 01:08:46 0c0b528cf693: Verifying Checksum 01:08:46 0c0b528cf693: Download complete 01:08:46 59bf1c3509f3: Pull complete 01:08:46 666ba61612fd: Pull complete 01:08:47 10935f4eaf8b: Verifying Checksum 01:08:47 10935f4eaf8b: Download complete 01:08:47 8ed8ca486205: Pull complete 01:08:47 4fe6c5a15a65: Verifying Checksum 01:08:47 4fe6c5a15a65: Download complete 01:08:51 4fe6c5a15a65: Pull complete 01:08:51 22a0e8bec74d: Pull complete 01:08:51 640e595b4fbd: Pull complete 01:08:51 763cafe07f6e: Pull complete 01:08:51 0c0b528cf693: Pull complete 01:08:54 10935f4eaf8b: Pull complete 01:08:54 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 01:08:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 01:08:54 ---> 99d49a6021b9 01:08:54 Step 3/12 : ARG MAKE='make build' 01:08:55 ---> Running in 1d289c74c1ec 01:08:55 Removing intermediate container 1d289c74c1ec 01:08:55 ---> b8eb9a34bb37 01:08:55 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 01:08:55 ---> Running in 190281119d0c 01:08:55 Removing intermediate container 190281119d0c 01:08:55 ---> ca499bdba1bb 01:08:55 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 01:08:55 ---> Running in 5fdb8389aec9 01:08:55 Removing intermediate container 5fdb8389aec9 01:08:55 ---> 32d6508e6a0a 01:08:55 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:08:55 ---> Running in 06f264499590 01:08:56 Removing intermediate container 06f264499590 01:08:56 ---> e31eb9651f39 01:08:56 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:08:56 ---> Running in 1bd4a44836dd 01:08:57 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:08:57 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:08:58 OK: 221 MiB in 52 packages 01:08:58 Removing intermediate container 1bd4a44836dd 01:08:58 ---> 9226e788b331 01:08:58 Step 8/12 : WORKDIR /app 01:08:58 ---> Running in d9a1c52e9883 01:08:58 Removing intermediate container d9a1c52e9883 01:08:58 ---> dfcc824b1b45 01:08:58 Step 9/12 : COPY go.mod vendor* ./ 01:08:58 ---> 11f30825448f 01:08:58 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:08:58 ---> Running in 6954e93c764f 01:08:59 Still waiting to schedule task 01:08:59 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 01:09:25 Removing intermediate container 6954e93c764f 01:09:25 ---> de67cd08e7e1 01:09:25 Step 11/12 : COPY . . 01:09:25 ---> bfeef8e85f61 01:09:25 Step 12/12 : RUN $MAKE 01:09:25 ---> Running in 1184118d147d 01:09:25 noop 01:09:25 Removing intermediate container 1184118d147d 01:09:25 ---> f5aa718a4348 01:09:25 Successfully built f5aa718a4348 01:09:25 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 01:09:25 + docker inspect -f . ci-base-image-x86_64 01:09:25 . [Pipeline] withDockerContainer 01:09:25 prd-ubuntu20.04-docker-8c-8g-21707 does not seem to be running inside a container 01:09:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-rfid-llrp-go_PR-65 -v /w/workspace/oundry_device-rfid-llrp-go_PR-65:/w/workspace/oundry_device-rfid-llrp-go_PR-65:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-65@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-65@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 01:09:26 $ docker top 98fa6f06ec9875361cbf2a4783eaf169e0010870ffae84778356c96cb071a54d -eo pid,comm [Pipeline] { [Pipeline] sh 01:09:26 + go version 01:09:26 go version go1.17.6 linux/amd64 [Pipeline] } 01:09:26 $ docker stop --time=1 98fa6f06ec9875361cbf2a4783eaf169e0010870ffae84778356c96cb071a54d 01:09:27 $ docker rm -f 98fa6f06ec9875361cbf2a4783eaf169e0010870ffae84778356c96cb071a54d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:09:28 + docker inspect -f . ci-base-image-x86_64 01:09:28 . [Pipeline] withDockerContainer 01:09:28 prd-ubuntu20.04-docker-8c-8g-21707 does not seem to be running inside a container 01:09:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-rfid-llrp-go_PR-65 -v /w/workspace/oundry_device-rfid-llrp-go_PR-65:/w/workspace/oundry_device-rfid-llrp-go_PR-65:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-65@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-65@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 01:09:28 $ docker top 0cc4ff3039503c72d47b4a867f280695f4f2be1fb08c9249a8ac40ae8e95fde2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:09:29 + make test 01:09:29 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:09:29 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 01:09:37 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 01:09:37 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 01:09:40 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 3.941s coverage: 39.3% of statements 01:09:40 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.251s coverage: 52.0% of statements 01:09:40 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.011s coverage: 95.5% of statements 01:09:47 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:09:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:09:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:09:50 ./bin/test-attribution-txt.sh [Pipeline] echo 01:09:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:09:50 $ docker stop --time=1 0cc4ff3039503c72d47b4a867f280695f4f2be1fb08c9249a8ac40ae8e95fde2 01:09:52 $ docker rm -f 0cc4ff3039503c72d47b4a867f280695f4f2be1fb08c9249a8ac40ae8e95fde2 [Pipeline] // withDockerContainer [Pipeline] sh 01:09:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:09:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:09:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:09:53 + ls -al . 01:09:53 total 644 01:09:53 drwxrwxr-x 11 jenkins jenkins 4096 Apr 22 01:09 . 01:09:53 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 01:08 .. 01:09:53 -rw-rw-r-- 1 jenkins jenkins 134 Apr 22 01:08 .dockerignore 01:09:53 drwxrwxr-x 8 jenkins jenkins 4096 Apr 22 01:08 .git 01:09:53 drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 01:08 .github 01:09:53 -rw-rw-r-- 1 jenkins jenkins 946 Apr 22 01:08 .gitignore 01:09:53 -rw-rw-r-- 1 jenkins jenkins 41 Apr 22 01:08 .golangci.yml 01:09:53 drwx------ 3 jenkins jenkins 4096 Apr 22 01:08 .semver 01:09:53 -rw-rw-r-- 1 jenkins jenkins 9072 Apr 22 01:08 Attribution.txt 01:09:53 -rw-rw-r-- 1 jenkins jenkins 1514 Apr 22 01:08 Dockerfile 01:09:53 -rw-rw-r-- 1 jenkins jenkins 677 Apr 22 01:08 GOVERNANCE.md 01:09:53 -rw-rw-r-- 1 jenkins jenkins 683 Apr 22 01:08 Jenkinsfile 01:09:53 -rw-rw-r-- 1 jenkins jenkins 11347 Apr 22 01:08 LICENSE 01:09:53 -rw-rw-r-- 1 jenkins jenkins 1435 Apr 22 01:08 Makefile 01:09:53 -rw-rw-r-- 1 jenkins jenkins 625 Apr 22 01:08 OWNERS.md 01:09:53 -rw-rw-r-- 1 jenkins jenkins 28508 Apr 22 01:08 README.md 01:09:53 -rw-rw-r-- 1 jenkins jenkins 5 Apr 22 01:08 VERSION 01:09:53 drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 01:08 bin 01:09:53 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 01:08 cmd 01:09:53 -rw-r--r-- 1 jenkins jenkins 460394 Apr 22 01:09 coverage.out 01:09:53 drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 01:08 examples 01:09:53 -rw-rw-r-- 1 jenkins jenkins 2899 Apr 22 01:08 go.mod 01:09:53 -rw-rw-r-- 1 jenkins jenkins 49235 Apr 22 01:08 go.sum 01:09:53 drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 01:08 images 01:09:53 drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 01:08 internal 01:09:53 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 01:08 snap 01:09:53 -rw-rw-r-- 1 jenkins jenkins 193 Apr 22 01:08 version.go [Pipeline] isUnix [Pipeline] sh 01:09:54 + 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=2764010338e38b09347312c70d38d716ce9bb000 --label arch=amd64 --label version=0.0.0 . 01:09:54 Sending build context to Docker daemon 1.724MB 01:09:54 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 01:09:54 Step 2/25 : FROM ${BASE} AS builder 01:09:54 ---> f5aa718a4348 01:09:54 Step 3/25 : ARG MAKE='make build' 01:09:54 ---> Running in d489f56c87fe 01:09:54 Removing intermediate container d489f56c87fe 01:09:54 ---> b04d3d989661 01:09:54 Step 4/25 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 01:09:54 ---> Running in 8383a036cb11 01:09:54 Removing intermediate container 8383a036cb11 01:09:54 ---> 48da83860c21 01:09:54 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 01:09:54 ---> Running in c16358aa5d49 01:09:54 Removing intermediate container c16358aa5d49 01:09:54 ---> c74121ca44bd 01:09:54 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:09:54 ---> Running in 85b13b9fb47a 01:09:55 Removing intermediate container 85b13b9fb47a 01:09:55 ---> 84c192d76a02 01:09:55 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:09:55 ---> Running in e614269c3200 01:09:55 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:09:56 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:09:56 OK: 221 MiB in 52 packages 01:09:57 Removing intermediate container e614269c3200 01:09:57 ---> 825ec038715b 01:09:57 Step 8/25 : WORKDIR /app 01:09:57 ---> Running in 034f2f74a712 01:09:57 Removing intermediate container 034f2f74a712 01:09:57 ---> c04c744851ae 01:09:57 Step 9/25 : COPY go.mod vendor* ./ 01:09:57 ---> 68ed02ef10fc 01:09:57 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:09:57 ---> Running in a0a735fe2134 01:09:58 Removing intermediate container a0a735fe2134 01:09:58 ---> 8ba615275e3a 01:09:58 Step 11/25 : COPY . . 01:09:58 ---> 28324aca2ab9 01:09:58 Step 12/25 : RUN $MAKE 01:09:58 ---> Running in 3136568fe266 01:09:58 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 01:10:06 Removing intermediate container 3136568fe266 01:10:06 ---> 78dc0c45a3ee 01:10:06 Step 13/25 : FROM alpine:3.14 01:10:06 3.14: Pulling from library/alpine 01:10:06 8663204ce13b: Pulling fs layer 01:10:06 8663204ce13b: Verifying Checksum 01:10:06 8663204ce13b: Download complete 01:10:07 8663204ce13b: Pull complete 01:10:07 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 01:10:07 Status: Downloaded newer image for alpine:3.14 01:10:07 ---> e04c818066af 01:10:07 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 01:10:07 ---> Running in 94172aa38bec 01:10:07 Removing intermediate container 94172aa38bec 01:10:07 ---> e53e2025e078 01:10:07 Step 15/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:10:07 ---> Running in a8f54758d8b9 01:10:08 Removing intermediate container a8f54758d8b9 01:10:08 ---> 9eb6d1b1a008 01:10:08 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 01:10:08 ---> Running in 861adfb5bc03 01:10:08 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 01:10:09 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 01:10:09 (1/6) Installing dumb-init (1.2.5-r1) 01:10:09 (2/6) Installing libgcc (10.3.1_git20210424-r2) 01:10:09 (3/6) Installing libsodium (1.0.18-r0) 01:10:09 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 01:10:10 (5/6) Installing libzmq (4.3.4-r0) 01:10:10 (6/6) Installing zeromq (4.3.4-r0) 01:10:10 Executing busybox-1.33.1-r7.trigger 01:10:10 OK: 8 MiB in 20 packages 01:10:10 Removing intermediate container 861adfb5bc03 01:10:10 ---> a37e345dbc08 01:10:10 Step 17/25 : COPY --from=builder /app/LICENSE / 01:10:11 ---> c1681d57b1a4 01:10:11 Step 18/25 : COPY --from=builder /app/Attribution.txt / 01:10:11 ---> 875f09476f71 01:10:11 Step 19/25 : COPY --from=builder /app/cmd/ / 01:10:11 ---> 2d495daf5934 01:10:11 Step 20/25 : EXPOSE 59989 01:10:11 ---> Running in 1fe2029cb791 01:10:11 Removing intermediate container 1fe2029cb791 01:10:11 ---> 44bf70c59fc4 01:10:11 Step 21/25 : ENTRYPOINT ["/device-rfid-llrp"] 01:10:11 ---> Running in 8f5bd7c97cb2 01:10:11 Removing intermediate container 8f5bd7c97cb2 01:10:11 ---> 3a6bc386125a 01:10:11 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 01:10:11 ---> Running in 2dc1b4745c79 01:10:11 Removing intermediate container 2dc1b4745c79 01:10:11 ---> 71a0886bbce2 01:10:11 Step 23/25 : LABEL arch=amd64 01:10:11 ---> Running in a51c56a61a14 01:10:12 Removing intermediate container a51c56a61a14 01:10:12 ---> 1ebd692d058b 01:10:12 Step 24/25 : LABEL git_sha=2764010338e38b09347312c70d38d716ce9bb000 01:10:12 ---> Running in f22bf4765449 01:10:12 Removing intermediate container f22bf4765449 01:10:12 ---> d62619468c57 01:10:12 Step 25/25 : LABEL version=0.0.0 01:10:12 ---> Running in 1e841af78f5c 01:10:12 Removing intermediate container 1e841af78f5c 01:10:12 ---> fa7abee203e9 01:10:12 [Warning] One or more build-args [ARCH] were not consumed 01:10:12 Successfully built fa7abee203e9 01:10:12 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 01:10:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:10:12 01:10:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 01:10:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:10:13 latest: Pulling from edgex-lftools-log-publisher 01:10:13 5eb5b503b376: Pulling fs layer 01:10:13 5c69ac0246d0: Pulling fs layer 01:10:13 ec43610c2a17: Pulling fs layer 01:10:13 3a2ae6a8a46f: Pulling fs layer 01:10:13 33b1e0a273af: Pulling fs layer 01:10:13 5d3b04190fa2: Pulling fs layer 01:10:13 2f39f015ded8: Pulling fs layer 01:10:13 3a2ae6a8a46f: Waiting 01:10:13 33b1e0a273af: Waiting 01:10:13 5d3b04190fa2: Waiting 01:10:13 2f39f015ded8: Waiting 01:10:13 5c69ac0246d0: Download complete 01:10:13 3a2ae6a8a46f: Verifying Checksum 01:10:13 3a2ae6a8a46f: Download complete 01:10:13 33b1e0a273af: Verifying Checksum 01:10:13 33b1e0a273af: Download complete 01:10:13 5d3b04190fa2: Verifying Checksum 01:10:13 5d3b04190fa2: Download complete 01:10:13 ec43610c2a17: Download complete 01:10:13 5eb5b503b376: Verifying Checksum 01:10:13 5eb5b503b376: Download complete 01:10:13 2f39f015ded8: Download complete 01:10:14 5eb5b503b376: Pull complete 01:10:14 5c69ac0246d0: Pull complete 01:10:15 ec43610c2a17: Pull complete 01:10:15 3a2ae6a8a46f: Pull complete 01:10:15 33b1e0a273af: Pull complete 01:10:15 5d3b04190fa2: Pull complete 01:10:19 2f39f015ded8: Pull complete 01:10:19 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:10:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:10:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 01:10:19 prd-ubuntu20.04-docker-8c-8g-21707 does not seem to be running inside a container 01:10:19 $ 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-65 -v /w/workspace/oundry_device-rfid-llrp-go_PR-65:/w/workspace/oundry_device-rfid-llrp-go_PR-65:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-65@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-65@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 01:10:21 $ docker top 587d17bcd52926f49e2f681f7d132f1691f7b4999c8d1d39966717873b97258c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:10:22 ---> job-cost.sh 01:10:22 lf-activate-venv: SKIPPING 01:10:22 INFO: No Stack... 01:10:22 INFO: Retrieving Pricing Info for: v3-standard-8 01:10:23 INFO: Archiving Costs [Pipeline] sh 01:10:23 + cat /w/workspace/oundry_device-rfid-llrp-go_PR-65/archives/cost.csv 01:10:23 + cut -d, -f6 [Pipeline] lock 01:10:23 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-65-4-stack-cost] 01:10:23 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-65-4-stack-cost] did not exist. Created. 01:10:23 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-65-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:10:23 + echo total: 0.2199999988079071 [Pipeline] stash 01:10:23 Stashed 1 file(s) [Pipeline] } 01:10:23 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-65-4-stack-cost] [Pipeline] // lock [Pipeline] } 01:10:23 $ docker stop --time=1 587d17bcd52926f49e2f681f7d132f1691f7b4999c8d1d39966717873b97258c 01:10:25 $ docker rm -f 587d17bcd52926f49e2f681f7d132f1691f7b4999c8d1d39966717873b97258c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:11:57 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21710 in /w/workspace/oundry_device-rfid-llrp-go_PR-65 [Pipeline] { [Pipeline] ws 01:11:57 Running in /w/workspace/device-rfid-llrp-go/4 [Pipeline] { [Pipeline] checkout 01:11:58 Selected Git installation does not exist. Using Default 01:11:58 The recommended git tool is: NONE 01:12:04 using credential edgex-jenkins-ssh 01:12:04 Cloning the remote Git repository 01:12:04 Cloning repository git@github.com:edgexfoundry/device-rfid-llrp-go.git 01:12:04 > git init /w/workspace/device-rfid-llrp-go/4 # timeout=10 01:12:04 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 01:12:04 > git --version # timeout=10 01:12:04 > git --version # 'git version 2.25.1' 01:12:04 using GIT_SSH to set credentials SSH Credentials for GitHub 01:12:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:12:05 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 01:12:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:12:05 > git config remote.origin.url git@github.com:edgexfoundry/device-rfid-llrp-go.git # timeout=10 01:12:05 Fetching upstream changes from git@github.com:edgexfoundry/device-rfid-llrp-go.git 01:12:05 using GIT_SSH to set credentials SSH Credentials for GitHub 01:12:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rfid-llrp-go.git +refs/pull/65/head:refs/remotes/origin/PR-65 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:12:06 Merging remotes/origin/main commit 5b207c8f16228b7da7ed0fec4433fb1350251bb7 into PR head commit 2d9b8506c97d509b1a4ca3b087cfa1db5dcd50a0 01:12:06 Merge succeeded, producing 5eda31a2708c833d0ac814e5eb5038376af867ef 01:12:06 Checking out Revision 5eda31a2708c833d0ac814e5eb5038376af867ef (PR-65) 01:12:06 > git config core.sparsecheckout # timeout=10 01:12:06 > git checkout -f 2d9b8506c97d509b1a4ca3b087cfa1db5dcd50a0 # timeout=10 01:12:06 > git remote # timeout=10 01:12:06 > git config --get remote.origin.url # timeout=10 01:12:06 using GIT_SSH to set credentials SSH Credentials for GitHub 01:12:06 > git merge 5b207c8f16228b7da7ed0fec4433fb1350251bb7 # timeout=10 01:12:06 > git rev-parse HEAD^{commit} # timeout=10 01:12:06 > git config core.sparsecheckout # timeout=10 01:12:06 > git checkout -f 5eda31a2708c833d0ac814e5eb5038376af867ef # timeout=10 01:12:10 Commit message: "Merge commit '5b207c8f16228b7da7ed0fec4433fb1350251bb7' into HEAD" 01:12:10 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:12:10 > git rev-list --no-walk 01d8018d9370df1fac62385646e11aa1f1375cfb # timeout=10 01:12:11 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:12:11 % Total % Received % Xferd Average Speed Time Time Time Current 01:12:11 Dload Upload Total Spent Left Speed 01:12:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 87080 0 --:--:-- --:--:-- --:--:-- 87080 [Pipeline] sh 01:12:12 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:12:12 + sudo tee /etc/docker/daemon.new 01:12:12 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:12:12 { 01:12:12 "registry-mirrors": [ 01:12:12 "https://nexus3.edgexfoundry.org:10001" 01:12:12 ], 01:12:12 "bip": "10.250.0.254/24", 01:12:12 "hosts": [ 01:12:12 "tcp://0.0.0.0:5555", 01:12:12 "unix:///var/run/docker.sock" 01:12:12 ], 01:12:12 "mtu": 1458, 01:12:12 "selinux-enabled": true, 01:12:12 "seccomp-profile": "/etc/docker/seccomp.json" 01:12:12 } [Pipeline] sh 01:12:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:12:13 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:12:31 provisioning config files... 01:12:31 copy managed file [device-rfid-llrp-go-settings] to file:/w/workspace/device-rfid-llrp-go/4@tmp/config8397108184457408781tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:12:32 ---> docker-login.sh 01:12:32 nexus3.edgexfoundry.org:10001 01:12:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:12:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:12:33 Configure a credential helper to remove this warning. See 01:12:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:12:33 01:12:33 Login Succeeded 01:12:33 nexus3.edgexfoundry.org:10002 01:12:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:12:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:12:33 Configure a credential helper to remove this warning. See 01:12:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:12:33 01:12:33 Login Succeeded 01:12:33 nexus3.edgexfoundry.org:10003 01:12:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:12:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:12:34 Configure a credential helper to remove this warning. See 01:12:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:12:34 01:12:34 Login Succeeded 01:12:34 nexus3.edgexfoundry.org:10004 01:12:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:12:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:12:34 Configure a credential helper to remove this warning. See 01:12:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:12:34 01:12:34 Login Succeeded 01:12:34 docker.io 01:12:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:12:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:12:35 Configure a credential helper to remove this warning. See 01:12:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:12:35 01:12:35 Login Succeeded 01:12:35 ---> docker-login.sh ends [Pipeline] } 01:12:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:12:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:12:36 ========================================================= 01:12:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 01:12:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 01:12:36 + 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 . 01:12:37 Sending build context to Docker daemon 1.227MB 01:12:37 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 01:12:37 Step 2/12 : FROM ${BASE} AS builder 01:12:37 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:12:37 9b3977197b4f: Pulling fs layer 01:12:37 1a89e8eeedd5: Pulling fs layer 01:12:37 94645a83ff95: Pulling fs layer 01:12:37 3f3a8bcf1eab: Pulling fs layer 01:12:37 0c92f367c5e7: Pulling fs layer 01:12:37 f7c0051592d6: Pulling fs layer 01:12:37 a227ed2f7395: Pulling fs layer 01:12:37 7b1c46037f91: Pulling fs layer 01:12:37 3f3a8bcf1eab: Waiting 01:12:37 0c92f367c5e7: Waiting 01:12:37 f7c0051592d6: Waiting 01:12:37 a227ed2f7395: Waiting 01:12:37 7b1c46037f91: Waiting 01:12:37 94645a83ff95: Verifying Checksum 01:12:37 1a89e8eeedd5: Verifying Checksum 01:12:37 1a89e8eeedd5: Download complete 01:12:37 0c92f367c5e7: Verifying Checksum 01:12:37 0c92f367c5e7: Download complete 01:12:37 f7c0051592d6: Verifying Checksum 01:12:37 f7c0051592d6: Download complete 01:12:37 9b3977197b4f: Download complete 01:12:37 a227ed2f7395: Verifying Checksum 01:12:37 a227ed2f7395: Download complete 01:12:38 9b3977197b4f: Pull complete 01:12:38 1a89e8eeedd5: Pull complete 01:12:39 94645a83ff95: Pull complete 01:12:39 7b1c46037f91: Verifying Checksum 01:12:39 7b1c46037f91: Download complete 01:12:40 3f3a8bcf1eab: Verifying Checksum 01:12:40 3f3a8bcf1eab: Download complete 01:12:52 3f3a8bcf1eab: Pull complete 01:12:52 0c92f367c5e7: Pull complete 01:12:52 f7c0051592d6: Pull complete 01:12:52 a227ed2f7395: Pull complete 01:12:58 7b1c46037f91: Pull complete 01:12:58 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 01:12:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 01:12:58 ---> f79e39bc4007 01:12:58 Step 3/12 : ARG MAKE='make build' 01:13:00 ---> Running in 2812dea4109f 01:13:00 Removing intermediate container 2812dea4109f 01:13:00 ---> 3d65c116ac08 01:13:00 Step 4/12 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 01:13:00 ---> Running in dbfd26d036aa 01:13:00 Removing intermediate container dbfd26d036aa 01:13:00 ---> 5b68d6b9bcd4 01:13:00 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 01:13:01 ---> Running in a341d9b574fb 01:13:01 Removing intermediate container a341d9b574fb 01:13:01 ---> 266bb655e21b 01:13:01 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:13:01 ---> Running in c8a37ac1b1d9 01:13:04 Removing intermediate container c8a37ac1b1d9 01:13:04 ---> 401e20d17c06 01:13:04 Step 7/12 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:13:04 ---> Running in d812068eb751 01:13:05 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 01:13:06 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 01:13:07 OK: 220 MiB in 52 packages 01:13:08 Removing intermediate container d812068eb751 01:13:08 ---> 25042b265494 01:13:08 Step 8/12 : WORKDIR /app 01:13:08 ---> Running in 10ffa6ee40be 01:13:09 Removing intermediate container 10ffa6ee40be 01:13:09 ---> c50932152c42 01:13:09 Step 9/12 : COPY go.mod vendor* ./ 01:13:09 ---> 01098e16177a 01:13:09 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:13:10 ---> Running in b204f217cf5b 01:14:31 Removing intermediate container b204f217cf5b 01:14:31 ---> 6c4d75253c66 01:14:31 Step 11/12 : COPY . . 01:14:31 ---> ee58758fbf39 01:14:31 Step 12/12 : RUN $MAKE 01:14:31 ---> Running in c9818e1ed0e1 01:14:31 noop 01:14:31 Removing intermediate container c9818e1ed0e1 01:14:31 ---> 5fdd1c394610 01:14:31 Successfully built 5fdd1c394610 01:14:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 01:14:32 + docker inspect -f . ci-base-image-arm64 01:14:32 . [Pipeline] withDockerContainer 01:14:32 prd-ubuntu20.04-docker-arm64-4c-16g-21710 does not seem to be running inside a container 01:14:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rfid-llrp-go/4 -v /w/workspace/device-rfid-llrp-go/4:/w/workspace/device-rfid-llrp-go/4:rw,z -v /w/workspace/device-rfid-llrp-go/4@tmp:/w/workspace/device-rfid-llrp-go/4@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 01:14:33 $ docker top 6c9aa2aeb77a2a2d41a1c252f0b27925f10102daddcdb9f55276a45275b48255 -eo pid,comm [Pipeline] { [Pipeline] sh 01:14:34 + go version 01:14:34 go version go1.17.6 linux/arm64 [Pipeline] } 01:14:34 $ docker stop --time=1 6c9aa2aeb77a2a2d41a1c252f0b27925f10102daddcdb9f55276a45275b48255 01:14:36 $ docker rm -f 6c9aa2aeb77a2a2d41a1c252f0b27925f10102daddcdb9f55276a45275b48255 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:14:37 + docker inspect -f . ci-base-image-arm64 01:14:37 . [Pipeline] withDockerContainer 01:14:37 prd-ubuntu20.04-docker-arm64-4c-16g-21710 does not seem to be running inside a container 01:14:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rfid-llrp-go/4 -v /w/workspace/device-rfid-llrp-go/4:/w/workspace/device-rfid-llrp-go/4:rw,z -v /w/workspace/device-rfid-llrp-go/4@tmp:/w/workspace/device-rfid-llrp-go/4@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 01:14:38 $ docker top b705cd656df3534a6982c01d84dc41c8573000c67919b34c01bad2204c2c3f2f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:14:39 + make test 01:14:39 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:14:41 ? github.com/edgexfoundry/device-rfid-llrp-go [no test files] 01:15:49 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd [no test files] 01:15:49 ? github.com/edgexfoundry/device-rfid-llrp-go/cmd/llrp [no test files] 01:16:11 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/driver 25.780s coverage: 39.3% of statements 01:16:11 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/llrp 0.527s coverage: 52.0% of statements 01:16:11 ok github.com/edgexfoundry/device-rfid-llrp-go/internal/retry 0.024s coverage: 95.5% of statements 01:16:11 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:16:11 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:16:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:16:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:16:35 ./bin/test-attribution-txt.sh [Pipeline] echo 01:16:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:16:38 $ docker stop --time=1 b705cd656df3534a6982c01d84dc41c8573000c67919b34c01bad2204c2c3f2f 01:16:40 $ docker rm -f b705cd656df3534a6982c01d84dc41c8573000c67919b34c01bad2204c2c3f2f [Pipeline] // withDockerContainer [Pipeline] sh 01:16:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:16:41 Warning: overwriting stash ‘coverage-report’ 01:16:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:16:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:16:42 + ls -al . 01:16:42 total 640 01:16:42 drwxrwxr-x 10 jenkins jenkins 4096 Apr 22 01:16 . 01:16:42 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 01:12 .. 01:16:42 -rw-rw-r-- 1 jenkins jenkins 134 Apr 22 01:12 .dockerignore 01:16:42 drwxrwxr-x 8 jenkins jenkins 4096 Apr 22 01:12 .git 01:16:42 drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 01:12 .github 01:16:42 -rw-rw-r-- 1 jenkins jenkins 946 Apr 22 01:12 .gitignore 01:16:42 -rw-rw-r-- 1 jenkins jenkins 41 Apr 22 01:12 .golangci.yml 01:16:42 -rw-rw-r-- 1 jenkins jenkins 9072 Apr 22 01:12 Attribution.txt 01:16:42 -rw-rw-r-- 1 jenkins jenkins 1514 Apr 22 01:12 Dockerfile 01:16:42 -rw-rw-r-- 1 jenkins jenkins 677 Apr 22 01:12 GOVERNANCE.md 01:16:42 -rw-rw-r-- 1 jenkins jenkins 683 Apr 22 01:12 Jenkinsfile 01:16:42 -rw-rw-r-- 1 jenkins jenkins 11347 Apr 22 01:12 LICENSE 01:16:42 -rw-rw-r-- 1 jenkins jenkins 1435 Apr 22 01:12 Makefile 01:16:42 -rw-rw-r-- 1 jenkins jenkins 625 Apr 22 01:12 OWNERS.md 01:16:42 -rw-rw-r-- 1 jenkins jenkins 28508 Apr 22 01:12 README.md 01:16:42 -rw-rw-r-- 1 jenkins jenkins 5 Apr 22 01:08 VERSION 01:16:42 drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 01:12 bin 01:16:42 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 01:12 cmd 01:16:42 -rw-r--r-- 1 jenkins jenkins 460394 Apr 22 01:16 coverage.out 01:16:42 drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 01:12 examples 01:16:42 -rw-rw-r-- 1 jenkins jenkins 2899 Apr 22 01:12 go.mod 01:16:42 -rw-rw-r-- 1 jenkins jenkins 49235 Apr 22 01:12 go.sum 01:16:42 drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 01:12 images 01:16:42 drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 01:12 internal 01:16:42 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 01:12 snap 01:16:42 -rw-rw-r-- 1 jenkins jenkins 193 Apr 22 01:12 version.go [Pipeline] isUnix [Pipeline] sh 01:16:43 + 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=5eda31a2708c833d0ac814e5eb5038376af867ef --label arch=arm64 --label version=0.0.0 . 01:16:43 Sending build context to Docker daemon 1.227MB 01:16:43 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 01:16:43 Step 2/25 : FROM ${BASE} AS builder 01:16:43 ---> 5fdd1c394610 01:16:43 Step 3/25 : ARG MAKE='make build' 01:16:43 ---> Running in 275192ffc0c4 01:16:44 Removing intermediate container 275192ffc0c4 01:16:44 ---> 369d358af58c 01:16:44 Step 4/25 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev" 01:16:44 ---> Running in 5ea3a288f6cb 01:16:44 Removing intermediate container 5ea3a288f6cb 01:16:44 ---> c1c4b3fd0099 01:16:44 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 01:16:44 ---> Running in 75e42afc1768 01:16:44 Removing intermediate container 75e42afc1768 01:16:44 ---> 39a1f4a1e389 01:16:44 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:16:44 ---> Running in 5dc8acdc7e5f 01:16:46 Removing intermediate container 5dc8acdc7e5f 01:16:46 ---> f7cb2b9e3d99 01:16:46 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:16:47 ---> Running in 8b16f70104a1 01:16:48 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 01:16:49 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 01:16:50 OK: 220 MiB in 52 packages 01:16:51 Removing intermediate container 8b16f70104a1 01:16:51 ---> 149762659391 01:16:51 Step 8/25 : WORKDIR /app 01:16:51 ---> Running in a9b3e715423c 01:16:51 Removing intermediate container a9b3e715423c 01:16:51 ---> d5616c850193 01:16:51 Step 9/25 : COPY go.mod vendor* ./ 01:16:52 ---> 4e097c2c4a9c 01:16:52 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:16:52 ---> Running in da6a67c4fcae 01:16:54 Removing intermediate container da6a67c4fcae 01:16:54 ---> 8ca1b09e971c 01:16:54 Step 11/25 : COPY . . 01:16:55 ---> 8fdd2e5d140c 01:16:55 Step 12/25 : RUN $MAKE 01:16:55 ---> Running in b2809c938ed8 01:16:56 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 01:17:53 Removing intermediate container b2809c938ed8 01:17:53 ---> bcfbdcfe60f3 01:17:53 Step 13/25 : FROM alpine:3.14 01:17:53 3.14: Pulling from library/alpine 01:17:53 455c02918c45: Pulling fs layer 01:17:53 455c02918c45: Verifying Checksum 01:17:53 455c02918c45: Download complete 01:17:53 455c02918c45: Pull complete 01:17:53 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 01:17:53 Status: Downloaded newer image for alpine:3.14 01:17:53 ---> ac73e934f311 01:17:53 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2021: Intel' 01:17:53 ---> Running in f9dbc35f97c7 01:17:53 Removing intermediate container f9dbc35f97c7 01:17:53 ---> 5904bfb6ec4b 01:17:53 Step 15/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:17:53 ---> Running in bd3e1f170923 01:17:53 Removing intermediate container bd3e1f170923 01:17:53 ---> 6aaea18c166b 01:17:53 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 01:17:53 ---> Running in 4bbc03d04969 01:17:53 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 01:17:54 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 01:17:55 (1/6) Installing dumb-init (1.2.5-r1) 01:17:55 (2/6) Installing libgcc (10.3.1_git20210424-r2) 01:17:55 (3/6) Installing libsodium (1.0.18-r0) 01:17:55 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 01:17:55 (5/6) Installing libzmq (4.3.4-r0) 01:17:55 (6/6) Installing zeromq (4.3.4-r0) 01:17:56 Executing busybox-1.33.1-r7.trigger 01:17:56 OK: 8 MiB in 20 packages 01:17:57 Removing intermediate container 4bbc03d04969 01:17:57 ---> 6f5c48e3566f 01:17:57 Step 17/25 : COPY --from=builder /app/LICENSE / 01:17:57 ---> 085e7749f9c5 01:17:57 Step 18/25 : COPY --from=builder /app/Attribution.txt / 01:17:58 ---> dddf5ba652a5 01:17:58 Step 19/25 : COPY --from=builder /app/cmd/ / 01:17:59 ---> f0cf560074bd 01:17:59 Step 20/25 : EXPOSE 59989 01:17:59 ---> Running in 7f2de01c5f5a 01:18:00 Removing intermediate container 7f2de01c5f5a 01:18:00 ---> c09a8ca18ea5 01:18:00 Step 21/25 : ENTRYPOINT ["/device-rfid-llrp"] 01:18:00 ---> Running in 00e786ecdc5c 01:18:00 Removing intermediate container 00e786ecdc5c 01:18:00 ---> 9e65b35b66f3 01:18:00 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 01:18:00 ---> Running in 3cd1c1266c2f 01:18:00 Removing intermediate container 3cd1c1266c2f 01:18:00 ---> 17935081d612 01:18:00 Step 23/25 : LABEL arch=arm64 01:18:00 ---> Running in 6943df9a6121 01:18:01 Removing intermediate container 6943df9a6121 01:18:01 ---> 35545db3ee26 01:18:01 Step 24/25 : LABEL git_sha=5eda31a2708c833d0ac814e5eb5038376af867ef 01:18:01 ---> Running in 4f49a99121ab 01:18:01 Removing intermediate container 4f49a99121ab 01:18:01 ---> a0d7e444e91f 01:18:01 Step 25/25 : LABEL version=0.0.0 01:18:01 ---> Running in 4d18f81cc116 01:18:02 Removing intermediate container 4d18f81cc116 01:18:02 ---> 2bde84533817 01:18:02 [Warning] One or more build-args [ARCH] were not consumed 01:18:02 Successfully built 2bde84533817 01:18:02 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 01:18:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:18:02 01:18:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 01:18:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:18:03 arm64: Pulling from edgex-lftools-log-publisher 01:18:03 8998bd30e6a1: Pulling fs layer 01:18:03 04944245beec: Pulling fs layer 01:18:03 699f458cf7ca: Pulling fs layer 01:18:03 765212b225bb: Pulling fs layer 01:18:03 f23df028b6ca: Pulling fs layer 01:18:03 d65c8cfc05b1: Pulling fs layer 01:18:03 2437ff75d9bd: Pulling fs layer 01:18:03 f23df028b6ca: Waiting 01:18:03 d65c8cfc05b1: Waiting 01:18:03 2437ff75d9bd: Waiting 01:18:03 765212b225bb: Waiting 01:18:03 04944245beec: Download complete 01:18:03 765212b225bb: Verifying Checksum 01:18:03 765212b225bb: Download complete 01:18:03 f23df028b6ca: Verifying Checksum 01:18:03 f23df028b6ca: Download complete 01:18:03 d65c8cfc05b1: Verifying Checksum 01:18:03 d65c8cfc05b1: Download complete 01:18:03 699f458cf7ca: Verifying Checksum 01:18:03 699f458cf7ca: Download complete 01:18:03 8998bd30e6a1: Download complete 01:18:06 2437ff75d9bd: Verifying Checksum 01:18:06 2437ff75d9bd: Download complete 01:18:07 8998bd30e6a1: Pull complete 01:18:08 04944245beec: Pull complete 01:18:09 699f458cf7ca: Pull complete 01:18:10 765212b225bb: Pull complete 01:18:11 f23df028b6ca: Pull complete 01:18:11 d65c8cfc05b1: Pull complete 01:18:26 2437ff75d9bd: Pull complete 01:18:26 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:18:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:18:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 01:18:26 prd-ubuntu20.04-docker-arm64-4c-16g-21710 does not seem to be running inside a container 01:18:26 $ 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/4 -v /w/workspace/device-rfid-llrp-go/4:/w/workspace/device-rfid-llrp-go/4:rw,z -v /w/workspace/device-rfid-llrp-go/4@tmp:/w/workspace/device-rfid-llrp-go/4@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 01:18:29 $ docker top de9422a912e869a6d71c29b7a6f8015990d8bc6899bc8a759ac862ca4b63c9d5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:18:31 ---> job-cost.sh 01:18:31 lf-activate-venv: SKIPPING 01:18:31 INFO: No Stack... 01:18:31 INFO: Retrieving Pricing Info for: v3-standard-4 01:18:32 INFO: Archiving Costs [Pipeline] sh 01:18:33 + cut -d, -f6 01:18:33 + cat /w/workspace/device-rfid-llrp-go/4/archives/cost.csv [Pipeline] lock 01:18:33 Trying to acquire lock on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-65-4-stack-cost] 01:18:33 Resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-65-4-stack-cost] did not exist. Created. 01:18:33 Lock acquired on [jenkins-edgexfoundry-device-rfid-llrp-go-PR-65-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:18:34 /w/workspace/device-rfid-llrp-go/4@tmp/durable-fd12c7f4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:18:34 + echo total: 0.10999999940395355 [Pipeline] stash 01:18:34 Warning: overwriting stash ‘stack-cost’ 01:18:34 Stashed 1 file(s) [Pipeline] } 01:18:34 Lock released on resource [jenkins-edgexfoundry-device-rfid-llrp-go-PR-65-4-stack-cost] [Pipeline] // lock [Pipeline] } 01:18:34 $ docker stop --time=1 de9422a912e869a6d71c29b7a6f8015990d8bc6899bc8a759ac862ca4b63c9d5 01:18:36 $ docker rm -f de9422a912e869a6d71c29b7a6f8015990d8bc6899bc8a759ac862ca4b63c9d5 [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 01:18:36 provisioning config files... 01:18:37 copy managed file [device-rfid-llrp-go-codecov-token] to file:/w/workspace/oundry_device-rfid-llrp-go_PR-65@tmp/config7757619721313418536tmp [Pipeline] { [Pipeline] sh 01:18:37 + set +x 01:18:37 + curl -s https://codecov.io/bash 01:18:37 + bash -s -- 01:18:37 01:18:37 _____ _ 01:18:37 / ____| | | 01:18:37 | | ___ __| | ___ ___ _____ __ 01:18:37 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:18:37 | |___| (_) | (_| | __/ (_| (_) \ V / 01:18:37 \_____\___/ \__,_|\___|\___\___/ \_/ 01:18:37 Bash-1.0.6 01:18:37 01:18:37 01:18:37 ==> git version 2.25.1 found 01:18:37 ==> 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 01:18:37 Release-Date: 2020-01-08 01:18:37 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:18:37 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:18:37 ==> Jenkins CI detected. 01:18:37 current dir:  /w/workspace/oundry_device-rfid-llrp-go_PR-65 01:18:37 project root: . 01:18:37 --> token set from env 01:18:37 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:18:37 ==> Running gcov in . (disable via -X gcov) 01:18:37 ==> Python coveragepy not found 01:18:37 ==> Searching for coverage reports in: 01:18:37 + . 01:18:37 -> Found 1 reports 01:18:37 ==> Detecting git/mercurial file structure 01:18:37 ==> Reading reports 01:18:37 + ./coverage.out bytes=460394 01:18:37 ==> Appending adjustments 01:18:37 https://docs.codecov.io/docs/fixing-reports 01:18:37 + Found adjustments 01:18:37 ==> Gzipping contents 01:18:37 52K /tmp/codecov.5VE4qP.gz 01:18:37 ==> Uploading reports 01:18:37 url: https://codecov.io 01:18:37 query: branch=PR-65&commit=2764010338e38b09347312c70d38d716ce9bb000&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-65%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=65&job=&cmd_args= 01:18:37 -> Pinging Codecov 01:18:37 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=0703e47f-c946-4a15-b96a-5e99ca1c8fb5&branch=PR-65&commit=2764010338e38b09347312c70d38d716ce9bb000&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rfid-llrp-go%2Fjob%2FPR-65%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rfid-llrp-go&service=jenkins&flags=&pr=65&job=&cmd_args= 01:18:37 -> Uploading to 01:18:37 https://storage.googleapis.com/codecov/v4/raw/2022-04-22/581DD39554BDF9B6E22D074273EAD858/2764010338e38b09347312c70d38d716ce9bb000/ef2946f3-3c03-47e9-aa3a-bf0d0b727ef7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220422%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220422T011837Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=177a50c6e9c43ee4bdb8f109c5dc5fced6879eb43974e510c5d79ad91b84e5f1 01:18:38 % Total % Received % Xferd Average Speed Time Time Time Current 01:18:38 Dload Upload Total Spent Left Speed 01:18:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51793 0 0 100 51793 0 172k --:--:-- --:--:-- --:--:-- 172k 01:18:38 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rfid-llrp-go/commit/2764010338e38b09347312c70d38d716ce9bb000 [Pipeline] } 01:18:38 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 01:18:39 + [ -d /w/workspace/oundry_device-rfid-llrp-go_PR-65/archives ] 01:18:39 + ls -al /w/workspace/oundry_device-rfid-llrp-go_PR-65/archives 01:18:39 total 16 01:18:39 drwxr-xr-x 3 root root 4096 Apr 22 01:10 . 01:18:39 drwxrwxr-x 12 jenkins jenkins 4096 Apr 22 01:10 .. 01:18:39 drwxr-xr-x 2 root root 4096 Apr 22 01:10 cost 01:18:39 -rw-r--r-- 1 root root 89 Apr 22 01:10 cost.csv 01:18:39 + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-rfid-llrp-go_PR-65/archives 01:18:39 + ls -al /w/workspace/oundry_device-rfid-llrp-go_PR-65/archives 01:18:39 total 16 01:18:39 drwxr-xr-x 3 jenkins jenkins 4096 Apr 22 01:10 . 01:18:39 drwxrwxr-x 12 jenkins jenkins 4096 Apr 22 01:10 .. 01:18:39 drwxr-xr-x 2 jenkins jenkins 4096 Apr 22 01:10 cost 01:18:39 -rw-r--r-- 1 jenkins jenkins 89 Apr 22 01:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:18:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:18:40 ---> package-listing.sh 01:18:40 ++ facter osfamily 01:18:40 ++ tr '[:upper:]' '[:lower:]' 01:18:40 + OS_FAMILY=debian 01:18:40 + workspace=/w/workspace/oundry_device-rfid-llrp-go_PR-65 01:18:40 + START_PACKAGES=/tmp/packages_start.txt 01:18:40 + END_PACKAGES=/tmp/packages_end.txt 01:18:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:18:40 + PACKAGES=/tmp/packages_start.txt 01:18:40 + '[' /w/workspace/oundry_device-rfid-llrp-go_PR-65 ']' 01:18:40 + PACKAGES=/tmp/packages_end.txt 01:18:40 + case "${OS_FAMILY}" in 01:18:40 + dpkg -l 01:18:40 + grep '^ii' 01:18:40 + '[' -f /tmp/packages_start.txt ']' 01:18:40 + '[' -f /tmp/packages_end.txt ']' 01:18:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:18:40 + '[' /w/workspace/oundry_device-rfid-llrp-go_PR-65 ']' 01:18:40 + mkdir -p /w/workspace/oundry_device-rfid-llrp-go_PR-65/archives/ 01:18:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-rfid-llrp-go_PR-65/archives/ [Pipeline] echo 01:18:40 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-65/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:18:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 01:18:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:18:41 . [Pipeline] withDockerContainer 01:18:41 prd-ubuntu20.04-docker-8c-8g-21707 does not seem to be running inside a container 01:18:41 $ 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-65/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-65 -v /w/workspace/oundry_device-rfid-llrp-go_PR-65:/w/workspace/oundry_device-rfid-llrp-go_PR-65:rw,z -v /w/workspace/oundry_device-rfid-llrp-go_PR-65@tmp:/w/workspace/oundry_device-rfid-llrp-go_PR-65@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 01:18:41 $ docker top 8e209369283d764ab248514376b9ee60642438ec37a08744829cc74dee4aed7a -eo pid,comm [Pipeline] { [Pipeline] sh 01:18:42 + touch /tmp/pre-build-complete [Pipeline] sh 01:18:42 + mkdir -p /var/log/sysstat [Pipeline] sh 01:18:42 + ls /var/log/sa-host 01:18:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:18:42 provisioning config files... 01:18:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-rfid-llrp-go_PR-65@tmp/config5629244673621798820tmp [Pipeline] { [Pipeline] echo 01:18:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:18:43 ---> create-netrc.sh [Pipeline] } 01:18:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:18:43 ---> python-tools-install.sh [Pipeline] echo 01:18:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:18:43 ---> sudo-logs.sh 01:18:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:18:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:18:43 ---> job-cost.sh 01:18:43 lf-activate-venv: SKIPPING 01:18:43 DEBUG: total: 0.2199999988079071 01:18:43 INFO: Retrieving Stack Cost... 01:18:44 INFO: Retrieving Pricing Info for: v3-standard-8 01:18:44 INFO: Archiving Costs [Pipeline] echo 01:18:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:18:45 ---> logs-deploy.sh 01:18:45 lf-activate-venv: SKIPPING 01:18:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rfid-llrp-go/PR-65/4 01:18:45 INFO: archiving workspace using pattern(s): 01:18:46 Archives upload complete. 01:18:46 INFO: archiving logs to Nexus