Pull request #156 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 47de7c666f1af21953724e0bdaeef183cccb98c0+6b046bf6cda952c0c380e7585d2cf1a0cfc64fec (63d62b58f629189b86c8a3c623389a0bb88a7d5f) 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-ssh5108297460495916026.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-ssh16769978974550028541.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-snmp-go/branches/PR-156/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-snmp-go/branches/PR-156/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5681329880069132223.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-snmp-go/branches/PR-156/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6932341702704603610.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-ssh14646149339795137018.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-snmp-go/branches/PR-156/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-snmp-go/branches/PR-156/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh17876978680604225917.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-snmp-go] ========================================================= [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-snmp-go-settings PROJECT: device-snmp-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-snmp 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 Running on prd-ubuntu20.04-docker-8c-8g-21199 in /w/workspace/gexfoundry_device-snmp-go_PR-156 [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-snmp-go.git > git init /w/workspace/gexfoundry_device-snmp-go_PR-156 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-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-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec into PR head commit 47de7c666f1af21953724e0bdaeef183cccb98c0 Merge succeeded, producing 47de7c666f1af21953724e0bdaeef183cccb98c0 Checking out Revision 47de7c666f1af21953724e0bdaeef183cccb98c0 (PR-156) > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-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-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/156/head:refs/remotes/origin/PR-156 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 47de7c666f1af21953724e0bdaeef183cccb98c0 # 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 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 47de7c666f1af21953724e0bdaeef183cccb98c0 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 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 05:04:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:04:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:04:00 ========================================================= 05:04:00 EdgeX Global Pipelines Version Info 05:04:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:04:01 ------------------- 05:04:01 stable info: 05:04:01 ------------------- 05:04:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:04:01 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 05:04:01 Message: update stable to v1.0.221 05:04:02 ------------------- 05:04:02 experimental info: 05:04:02 ------------------- 05:04:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:04:02 Commit SHA: 2d41b7a85c8a62c0c33f5e39ad1462a101ac531d 05:04:02 Message: update experimental to v1.0.222 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:04:02 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 05:04:02 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 05:04:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:04:02 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:04:02 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:04:02 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 05:04:02 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:04:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:04:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:04:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:04:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:04:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 05:04:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:04:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:04:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:04:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:04:03 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:04:03 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:04:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:04:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:04:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:04:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:04:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:04:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:04:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:04:03 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:04:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-156 [Pipeline] echo 05:04:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-156 [Pipeline] echo 05:04:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-156 [Pipeline] echo 05:04:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 47de7c666f1af21953724e0bdaeef183cccb98c0 [Pipeline] echo 05:04:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 47de7c6 [Pipeline] echo 05:04:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:04:03 provisioning config files... 05:04:03 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-156@tmp/config3889564808662150808tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:04:04 ---> docker-login.sh 05:04:04 nexus3.edgexfoundry.org:10001 05:04:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:04 Configure a credential helper to remove this warning. See 05:04:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:04 05:04:04 Login Succeeded 05:04:04 nexus3.edgexfoundry.org:10002 05:04:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:04 Configure a credential helper to remove this warning. See 05:04:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:04 05:04:04 Login Succeeded 05:04:04 nexus3.edgexfoundry.org:10003 05:04:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:05 Configure a credential helper to remove this warning. See 05:04:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:05 05:04:05 Login Succeeded 05:04:05 nexus3.edgexfoundry.org:10004 05:04:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:05 Configure a credential helper to remove this warning. See 05:04:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:05 05:04:05 Login Succeeded 05:04:05 docker.io 05:04:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:05 Configure a credential helper to remove this warning. See 05:04:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:05 05:04:05 Login Succeeded 05:04:05 ---> docker-login.sh ends [Pipeline] } 05:04:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:04:06 + git rev-list -1 --merges 47de7c666f1af21953724e0bdaeef183cccb98c0~1..47de7c666f1af21953724e0bdaeef183cccb98c0 [Pipeline] echo 05:04:06 -----------> git rev-list -1 --merges 47de7c666f1af21953724e0bdaeef183cccb98c0~1..47de7c666f1af21953724e0bdaeef183cccb98c0 47de7c666f1af21953724e0bdaeef183cccb98c0 [false] [Pipeline] sh 05:04:06 + git log --format=format:%s -1 47de7c666f1af21953724e0bdaeef183cccb98c0 [Pipeline] echo 05:04:06 ========================================================= 05:04:06 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:04:06 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:04:07 + git log --format=format:%s -1 47de7c666f1af21953724e0bdaeef183cccb98c0 [Pipeline] echo 05:04:07 [semverPrep] GIT_COMMIT: 47de7c666f1af21953724e0bdaeef183cccb98c0, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 05:04:07 [semverPrep] This is not a build commit. [Pipeline] sh 05:04:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:04:07 + grep -v github /etc/ssh/ssh_known_hosts 05:04:07 + [ -e /tmp/ssh_known_hosts ] 05:04:07 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:04:07 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:04:07 + sudo tee -a /etc/ssh/ssh_known_hosts 05:04:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 05:04:08 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:04:08 05:04:08 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:04:08 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:04:08 latest: Pulling from edgex-devops/git-semver 05:04:08 a0d0a0d46f8b: Pulling fs layer 05:04:08 3e5f54012d9b: Pulling fs layer 05:04:08 4c7163046ea9: Pulling fs layer 05:04:08 0c2d73faf560: Pulling fs layer 05:04:08 0c2d73faf560: Waiting 05:04:08 3e5f54012d9b: Verifying Checksum 05:04:08 3e5f54012d9b: Download complete 05:04:08 a0d0a0d46f8b: Download complete 05:04:08 0c2d73faf560: Verifying Checksum 05:04:08 0c2d73faf560: Download complete 05:04:08 4c7163046ea9: Verifying Checksum 05:04:08 4c7163046ea9: Download complete 05:04:08 a0d0a0d46f8b: Pull complete 05:04:08 3e5f54012d9b: Pull complete 05:04:09 4c7163046ea9: Pull complete 05:04:09 0c2d73faf560: Pull complete 05:04:09 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 05:04:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:04:09 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:04:09 prd-ubuntu20.04-docker-8c-8g-21199 does not seem to be running inside a container 05:04:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-156 -v /w/workspace/gexfoundry_device-snmp-go_PR-156:/w/workspace/gexfoundry_device-snmp-go_PR-156:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-156@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-156@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:04:10 $ docker top ee026df70b7031edb80c2bc0e70415d061ccd37692a2c2aeb8a00ca9f7473193 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:04:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:04:10 [ssh-agent] Looking for ssh-agent implementation... 05:04:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:04:10 $ docker exec ee026df70b7031edb80c2bc0e70415d061ccd37692a2c2aeb8a00ca9f7473193 ssh-agent 05:04:10 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpCAGLo/agent.13 05:04:10 SSH_AGENT_PID=19 05:04:10 Running ssh-add (command line suppressed) 05:04:10 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-156@tmp/private_key_1920728419723737419.key (/w/workspace/gexfoundry_device-snmp-go_PR-156@tmp/private_key_1920728419723737419.key) 05:04:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:04:11 + git tag --points-at HEAD [Pipeline] } 05:04:11 $ docker exec --env ******** --env ******** ee026df70b7031edb80c2bc0e70415d061ccd37692a2c2aeb8a00ca9f7473193 ssh-agent -k 05:04:11 unset SSH_AUTH_SOCK; 05:04:11 unset SSH_AGENT_PID; 05:04:11 echo Agent pid 19 killed; 05:04:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:04:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:04:11 [ssh-agent] Looking for ssh-agent implementation... 05:04:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:04:11 $ docker exec ee026df70b7031edb80c2bc0e70415d061ccd37692a2c2aeb8a00ca9f7473193 ssh-agent 05:04:11 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjbmBdj/agent.51 05:04:11 SSH_AGENT_PID=58 05:04:11 Running ssh-add (command line suppressed) 05:04:11 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-156@tmp/private_key_2816948265422334211.key (/w/workspace/gexfoundry_device-snmp-go_PR-156@tmp/private_key_2816948265422334211.key) 05:04:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:04:12 + git semver init 05:04:12 # -> Open(): unable to determine branch for HEAD 05:04:12 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-156/.git 05:04:12 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-156 05:04:12 # $SEMVER_REMOTE_NAME = origin 05:04:12 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:04:12 # $SEMVER_USER_NAME = edgex-jenkins 05:04:12 # $SEMVER_BRANCH = PR-156 05:04:12 # $SEMVER_TEMP = /tmp/semver-272395391 05:04:12 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 05:04:13 # '/tmp/semver-272395391' -> '/w/workspace/gexfoundry_device-snmp-go_PR-156/.semver' 05:04:13 # -> Force: false 05:04:13 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-156/.semver [Pipeline] } 05:04:13 $ docker exec --env ******** --env ******** ee026df70b7031edb80c2bc0e70415d061ccd37692a2c2aeb8a00ca9f7473193 ssh-agent -k 05:04:13 unset SSH_AUTH_SOCK; 05:04:13 unset SSH_AGENT_PID; 05:04:13 echo Agent pid 58 killed; 05:04:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:04:13 + git semver [Pipeline] } 05:04:13 $ docker stop --time=1 ee026df70b7031edb80c2bc0e70415d061ccd37692a2c2aeb8a00ca9f7473193 05:04:15 $ docker rm -f ee026df70b7031edb80c2bc0e70415d061ccd37692a2c2aeb8a00ca9f7473193 [Pipeline] // withDockerContainer [Pipeline] sh 05:04:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:04:15 Stashed 1 file(s) [Pipeline] echo 05:04:15 [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 05:04:16 provisioning config files... 05:04:16 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-156@tmp/config34923204501393763tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:04:16 ---> docker-login.sh 05:04:16 nexus3.edgexfoundry.org:10001 05:04:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:16 Configure a credential helper to remove this warning. See 05:04:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:16 05:04:16 Login Succeeded 05:04:16 nexus3.edgexfoundry.org:10002 05:04:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:17 Configure a credential helper to remove this warning. See 05:04:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:17 05:04:17 Login Succeeded 05:04:17 nexus3.edgexfoundry.org:10003 05:04:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:17 Configure a credential helper to remove this warning. See 05:04:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:17 05:04:17 Login Succeeded 05:04:17 nexus3.edgexfoundry.org:10004 05:04:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:17 Configure a credential helper to remove this warning. See 05:04:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:17 05:04:17 Login Succeeded 05:04:17 docker.io 05:04:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:17 Configure a credential helper to remove this warning. See 05:04:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:17 05:04:17 Login Succeeded 05:04:17 ---> docker-login.sh ends [Pipeline] } 05:04:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:04:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:04:17 ========================================================= 05:04:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 05:04:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:04:18 + 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 . 05:04:18 Sending build context to Docker daemon 5.249MB 05:04:18 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 05:04:18 Step 2/12 : FROM ${BASE} AS builder 05:04:18 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 05:04:18 59bf1c3509f3: Pulling fs layer 05:04:18 666ba61612fd: Pulling fs layer 05:04:18 8ed8ca486205: Pulling fs layer 05:04:18 4fe6c5a15a65: Pulling fs layer 05:04:18 22a0e8bec74d: Pulling fs layer 05:04:18 640e595b4fbd: Pulling fs layer 05:04:18 763cafe07f6e: Pulling fs layer 05:04:18 0c0b528cf693: Pulling fs layer 05:04:18 10935f4eaf8b: Pulling fs layer 05:04:18 4fe6c5a15a65: Waiting 05:04:18 763cafe07f6e: Waiting 05:04:18 0c0b528cf693: Waiting 05:04:18 22a0e8bec74d: Waiting 05:04:18 640e595b4fbd: Waiting 05:04:18 10935f4eaf8b: Waiting 05:04:18 8ed8ca486205: Verifying Checksum 05:04:18 8ed8ca486205: Download complete 05:04:18 666ba61612fd: Verifying Checksum 05:04:18 666ba61612fd: Download complete 05:04:18 22a0e8bec74d: Download complete 05:04:18 640e595b4fbd: Verifying Checksum 05:04:18 640e595b4fbd: Download complete 05:04:18 763cafe07f6e: Download complete 05:04:18 59bf1c3509f3: Verifying Checksum 05:04:18 59bf1c3509f3: Download complete 05:04:18 0c0b528cf693: Verifying Checksum 05:04:18 0c0b528cf693: Download complete 05:04:18 59bf1c3509f3: Pull complete 05:04:18 666ba61612fd: Pull complete 05:04:18 8ed8ca486205: Pull complete 05:04:19 10935f4eaf8b: Verifying Checksum 05:04:19 10935f4eaf8b: Download complete 05:04:19 4fe6c5a15a65: Verifying Checksum 05:04:19 4fe6c5a15a65: Download complete 05:04:23 4fe6c5a15a65: Pull complete 05:04:23 22a0e8bec74d: Pull complete 05:04:23 640e595b4fbd: Pull complete 05:04:23 763cafe07f6e: Pull complete 05:04:23 0c0b528cf693: Pull complete 05:04:25 10935f4eaf8b: Pull complete 05:04:25 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 05:04:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 05:04:25 ---> 99d49a6021b9 05:04:25 Step 3/12 : ARG MAKE='make build' 05:04:27 ---> Running in 7aae61d5fe7b 05:04:27 Removing intermediate container 7aae61d5fe7b 05:04:27 ---> 8198ac8e44ae 05:04:27 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:04:27 ---> Running in bd1a9d36ee0d 05:04:27 Removing intermediate container bd1a9d36ee0d 05:04:27 ---> 0e4f964edf9d 05:04:27 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 05:04:27 ---> Running in 017c0f3de5b7 05:04:27 Removing intermediate container 017c0f3de5b7 05:04:27 ---> 1462626a3e84 05:04:27 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:04:27 ---> Running in d0d2041ef47f 05:04:28 Removing intermediate container d0d2041ef47f 05:04:28 ---> df0f2f1cfdaf 05:04:28 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:04:28 ---> Running in fe75ff10f088 05:04:28 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:04:29 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:04:29 (1/4) Installing openssh-keygen (8.8_p1-r1) 05:04:29 (2/4) Installing libedit (20210910.3.1-r0) 05:04:30 (3/4) Installing openssh-client-common (8.8_p1-r1) 05:04:30 (4/4) Installing openssh-client-default (8.8_p1-r1) 05:04:30 Executing busybox-1.34.1-r3.trigger 05:04:30 OK: 224 MiB in 56 packages 05:04:30 Removing intermediate container fe75ff10f088 05:04:30 ---> f058a73216d8 05:04:30 Step 8/12 : WORKDIR /device-snmp-go 05:04:30 ---> Running in 81b3ac27a55d 05:04:30 Removing intermediate container 81b3ac27a55d 05:04:30 ---> 5effe179cede 05:04:30 Step 9/12 : COPY go.mod vendor* ./ 05:04:31 ---> e9787fb5dd8e 05:04:31 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:04:31 ---> Running in 71dfa452a414 05:04:31 Still waiting to schedule task 05:04:31 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:04:49 Removing intermediate container 71dfa452a414 05:04:49 ---> a10a5441b8e3 05:04:49 Step 11/12 : COPY . . 05:04:49 ---> e59d528b6b31 05:04:49 Step 12/12 : RUN ${MAKE} 05:04:49 ---> Running in ef8d54ce3971 05:04:49 noop 05:04:49 Removing intermediate container ef8d54ce3971 05:04:49 ---> 19279c7a144e 05:04:49 Successfully built 19279c7a144e 05:04:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:04:49 + docker inspect -f . ci-base-image-x86_64 05:04:49 . [Pipeline] withDockerContainer 05:04:49 prd-ubuntu20.04-docker-8c-8g-21199 does not seem to be running inside a container 05:04:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-156 -v /w/workspace/gexfoundry_device-snmp-go_PR-156:/w/workspace/gexfoundry_device-snmp-go_PR-156:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-156@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-156@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 ******** ci-base-image-x86_64 cat 05:04:50 $ docker top eff67d44ba5de6736a725c98d9b2ffe11f6ac705329ef516c99469cfd32797d8 -eo pid,comm [Pipeline] { [Pipeline] sh 05:04:50 + go version 05:04:50 go version go1.17.6 linux/amd64 [Pipeline] } 05:04:50 $ docker stop --time=1 eff67d44ba5de6736a725c98d9b2ffe11f6ac705329ef516c99469cfd32797d8 05:04:52 $ docker rm -f eff67d44ba5de6736a725c98d9b2ffe11f6ac705329ef516c99469cfd32797d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:04:52 + docker inspect -f . ci-base-image-x86_64 05:04:52 . [Pipeline] withDockerContainer 05:04:52 prd-ubuntu20.04-docker-8c-8g-21199 does not seem to be running inside a container 05:04:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-156 -v /w/workspace/gexfoundry_device-snmp-go_PR-156:/w/workspace/gexfoundry_device-snmp-go_PR-156:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-156@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-156@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 ******** ci-base-image-x86_64 cat 05:04:53 $ docker top 47d75fd2c4015287109256a80b57be1359fbcb94d66e591f556e049a58bb9057 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:04:53 + make test 05:04:53 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:04:54 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:05:02 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:05:02 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.014s coverage: 0.0% of statements 05:05:08 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:05:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:05:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:05:12 ./bin/test-attribution-txt.sh [Pipeline] echo 05:05:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:05:12 $ docker stop --time=1 47d75fd2c4015287109256a80b57be1359fbcb94d66e591f556e049a58bb9057 05:05:14 $ docker rm -f 47d75fd2c4015287109256a80b57be1359fbcb94d66e591f556e049a58bb9057 [Pipeline] // withDockerContainer [Pipeline] sh 05:05:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:05:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:05:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:05:16 + ls -al . 05:05:16 total 184 05:05:16 drwxrwxr-x 9 jenkins jenkins 4096 Apr 18 05:05 . 05:05:16 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 05:03 .. 05:05:16 -rw-rw-r-- 1 jenkins jenkins 6 Apr 18 05:03 .dockerignore 05:05:16 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 05:03 .git 05:05:16 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 05:03 .github 05:05:16 -rw-rw-r-- 1 jenkins jenkins 328 Apr 18 05:03 .gitignore 05:05:16 -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 05:03 .golangci.yml 05:05:16 drwx------ 3 jenkins jenkins 4096 Apr 18 05:04 .semver 05:05:16 -rw-rw-r-- 1 jenkins jenkins 8164 Apr 18 05:03 Attribution.txt 05:05:16 -rw-rw-r-- 1 jenkins jenkins 4401 Apr 18 05:03 CHANGELOG.md 05:05:16 -rw-rw-r-- 1 jenkins jenkins 1516 Apr 18 05:03 Dockerfile 05:05:16 -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 05:03 GOVERNANCE.md 05:05:16 -rw-rw-r-- 1 jenkins jenkins 656 Apr 18 05:03 Jenkinsfile 05:05:16 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 05:03 LICENSE 05:05:16 -rw-rw-r-- 1 jenkins jenkins 1938 Apr 18 05:03 Makefile 05:05:16 -rw-rw-r-- 1 jenkins jenkins 620 Apr 18 05:03 OWNERS.md 05:05:16 -rw-rw-r-- 1 jenkins jenkins 9074 Apr 18 05:03 README.md 05:05:16 -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 05:04 VERSION 05:05:16 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 05:03 bin 05:05:16 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 05:03 cmd 05:05:16 -rw-r--r-- 1 jenkins jenkins 7631 Apr 18 05:05 coverage.out 05:05:16 -rw-rw-r-- 1 jenkins jenkins 3245 Apr 18 05:03 go.mod 05:05:16 -rw-rw-r-- 1 jenkins jenkins 54298 Apr 18 05:03 go.sum 05:05:16 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 05:03 internal 05:05:16 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 05:03 snap 05:05:16 -rw-rw-r-- 1 jenkins jenkins 209 Apr 18 05:03 version.go [Pipeline] isUnix [Pipeline] sh 05:05:16 + docker build -t device-snmp -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=47de7c666f1af21953724e0bdaeef183cccb98c0 --label arch=amd64 --label version=0.0.0 . 05:05:16 Sending build context to Docker daemon 5.257MB 05:05:16 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 05:05:16 Step 2/24 : FROM ${BASE} AS builder 05:05:16 ---> 19279c7a144e 05:05:16 Step 3/24 : ARG MAKE='make build' 05:05:16 ---> Running in beb43902427f 05:05:16 Removing intermediate container beb43902427f 05:05:16 ---> 54d1cf4527fb 05:05:16 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:05:16 ---> Running in 8ab5fcb1cf0b 05:05:16 Removing intermediate container 8ab5fcb1cf0b 05:05:16 ---> 89dc42bdc462 05:05:16 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 05:05:16 ---> Running in 7f7c81b22efa 05:05:16 Removing intermediate container 7f7c81b22efa 05:05:16 ---> 34a494d4b162 05:05:16 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:05:16 ---> Running in 09927568f62d 05:05:17 Removing intermediate container 09927568f62d 05:05:17 ---> be3abda7beb2 05:05:17 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:05:17 ---> Running in 22166dba0bf0 05:05:17 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:05:18 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:05:18 OK: 224 MiB in 56 packages 05:05:19 Removing intermediate container 22166dba0bf0 05:05:19 ---> 9d7e10a640a5 05:05:19 Step 8/24 : WORKDIR /device-snmp-go 05:05:19 ---> Running in 350069391e94 05:05:19 Removing intermediate container 350069391e94 05:05:19 ---> 86beb20e3e1f 05:05:19 Step 9/24 : COPY go.mod vendor* ./ 05:05:19 ---> e66b62ecec6e 05:05:19 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:05:19 ---> Running in b60091fcb46e 05:05:20 Removing intermediate container b60091fcb46e 05:05:20 ---> c2ecd0b9dada 05:05:20 Step 11/24 : COPY . . 05:05:20 ---> c4e3ee18280b 05:05:20 Step 12/24 : RUN ${MAKE} 05:05:20 ---> Running in 5ae3213fc195 05:05:21 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 05:05:43 Removing intermediate container 5ae3213fc195 05:05:43 ---> 0d1431d24b43 05:05:43 Step 13/24 : FROM alpine:3.14 05:05:43 3.14: Pulling from library/alpine 05:05:43 8663204ce13b: Pulling fs layer 05:05:43 8663204ce13b: Verifying Checksum 05:05:43 8663204ce13b: Download complete 05:05:43 8663204ce13b: Pull complete 05:05:43 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 05:05:43 Status: Downloaded newer image for alpine:3.14 05:05:43 ---> e04c818066af 05:05:43 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 05:05:43 ---> Running in c9d977495ee3 05:05:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 05:05:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 05:05:43 (1/6) Installing dumb-init (1.2.5-r1) 05:05:43 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:05:43 (3/6) Installing libsodium (1.0.18-r0) 05:05:43 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:05:43 (5/6) Installing libzmq (4.3.4-r0) 05:05:43 (6/6) Installing zeromq (4.3.4-r0) 05:05:43 Executing busybox-1.33.1-r7.trigger 05:05:43 OK: 8 MiB in 20 packages 05:05:43 Removing intermediate container c9d977495ee3 05:05:43 ---> 248bb0dd7cc9 05:05:43 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 05:05:43 ---> f64807b3ec49 05:05:43 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:05:43 ---> 48541197d0d0 05:05:43 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 05:05:43 ---> c71b6617f328 05:05:43 Step 18/24 : EXPOSE 59993 05:05:43 ---> Running in eeb1515aad43 05:05:43 Removing intermediate container eeb1515aad43 05:05:43 ---> 51d082d3cca8 05:05:43 Step 19/24 : EXPOSE 161 05:05:43 ---> Running in fcc68b62cdeb 05:05:43 Removing intermediate container fcc68b62cdeb 05:05:43 ---> 39e81bd3c47d 05:05:43 Step 20/24 : ENTRYPOINT ["/device-snmp"] 05:05:43 ---> Running in faf7107140ef 05:05:43 Removing intermediate container faf7107140ef 05:05:43 ---> bf48d328db7a 05:05:43 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 05:05:43 ---> Running in 2f17431c75d2 05:05:43 Removing intermediate container 2f17431c75d2 05:05:43 ---> 9763709675a8 05:05:43 Step 22/24 : LABEL arch=amd64 05:05:43 ---> Running in f2a7141d7e0d 05:05:43 Removing intermediate container f2a7141d7e0d 05:05:43 ---> f7185923bbd3 05:05:43 Step 23/24 : LABEL git_sha=47de7c666f1af21953724e0bdaeef183cccb98c0 05:05:43 ---> Running in 263f99020f91 05:05:43 Removing intermediate container 263f99020f91 05:05:43 ---> b75fa8a2fa0a 05:05:43 Step 24/24 : LABEL version=0.0.0 05:05:43 ---> Running in 250c3c16907e 05:05:43 Removing intermediate container 250c3c16907e 05:05:43 ---> 5524e3bf3ae2 05:05:43 [Warning] One or more build-args [ARCH] were not consumed 05:05:43 Successfully built 5524e3bf3ae2 05:05:43 Successfully tagged device-snmp: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 05:05:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:05:44 05:05:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 05:05:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:05:44 latest: Pulling from edgex-lftools-log-publisher 05:05:44 5eb5b503b376: Pulling fs layer 05:05:44 5c69ac0246d0: Pulling fs layer 05:05:44 ec43610c2a17: Pulling fs layer 05:05:44 3a2ae6a8a46f: Pulling fs layer 05:05:44 33b1e0a273af: Pulling fs layer 05:05:44 5d3b04190fa2: Pulling fs layer 05:05:44 2f39f015ded8: Pulling fs layer 05:05:44 3a2ae6a8a46f: Waiting 05:05:44 33b1e0a273af: Waiting 05:05:44 2f39f015ded8: Waiting 05:05:44 5d3b04190fa2: Waiting 05:05:44 5c69ac0246d0: Download complete 05:05:44 3a2ae6a8a46f: Verifying Checksum 05:05:44 3a2ae6a8a46f: Download complete 05:05:44 ec43610c2a17: Verifying Checksum 05:05:44 ec43610c2a17: Download complete 05:05:44 33b1e0a273af: Verifying Checksum 05:05:44 33b1e0a273af: Download complete 05:05:44 5d3b04190fa2: Verifying Checksum 05:05:44 5d3b04190fa2: Download complete 05:05:44 5eb5b503b376: Verifying Checksum 05:05:44 5eb5b503b376: Download complete 05:05:45 2f39f015ded8: Download complete 05:05:46 5eb5b503b376: Pull complete 05:05:46 5c69ac0246d0: Pull complete 05:05:46 ec43610c2a17: Pull complete 05:05:46 3a2ae6a8a46f: Pull complete 05:05:46 33b1e0a273af: Pull complete 05:05:46 5d3b04190fa2: Pull complete 05:05:51 2f39f015ded8: Pull complete 05:05:51 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:05:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:05:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 05:05:51 prd-ubuntu20.04-docker-8c-8g-21199 does not seem to be running inside a container 05:05:51 $ 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/gexfoundry_device-snmp-go_PR-156 -v /w/workspace/gexfoundry_device-snmp-go_PR-156:/w/workspace/gexfoundry_device-snmp-go_PR-156:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-156@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-156@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:05:53 $ docker top ad6dcaca21e7b4112cf37548e244726818815a9e299bbd7852c9badbe1aab532 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:05:53 ---> job-cost.sh 05:05:53 lf-activate-venv: SKIPPING 05:05:53 INFO: No Stack... 05:05:54 INFO: Retrieving Pricing Info for: v3-standard-8 05:05:54 INFO: Archiving Costs [Pipeline] sh 05:05:54 + cut -d, -f6 05:05:54 + cat /w/workspace/gexfoundry_device-snmp-go_PR-156/archives/cost.csv [Pipeline] lock 05:05:54 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-156-1-stack-cost] 05:05:54 Resource [jenkins-edgexfoundry-device-snmp-go-PR-156-1-stack-cost] did not exist. Created. 05:05:54 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-156-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:05:55 + echo total: 0.2199999988079071 [Pipeline] stash 05:05:55 Stashed 1 file(s) [Pipeline] } 05:05:55 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-156-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:05:55 $ docker stop --time=1 ad6dcaca21e7b4112cf37548e244726818815a9e299bbd7852c9badbe1aab532 05:05:56 $ docker rm -f ad6dcaca21e7b4112cf37548e244726818815a9e299bbd7852c9badbe1aab532 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:06:08 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21205 in /w/workspace/gexfoundry_device-snmp-go_PR-156 [Pipeline] { [Pipeline] ws 05:06:08 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 05:06:09 Selected Git installation does not exist. Using Default 05:06:09 The recommended git tool is: NONE 05:06:13 using credential edgex-jenkins-ssh 05:06:13 Cloning the remote Git repository 05:06:14 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 05:06:14 > git init /w/workspace/device-snmp-go/1 # timeout=10 05:06:14 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:06:14 > git --version # timeout=10 05:06:14 > git --version # 'git version 2.25.1' 05:06:14 using GIT_SSH to set credentials SSH Credentials for GitHub 05:06:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:06:16 Merging remotes/origin/main commit 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec into PR head commit 47de7c666f1af21953724e0bdaeef183cccb98c0 05:06:15 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:06:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:06:15 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:06:15 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:06:15 using GIT_SSH to set credentials SSH Credentials for GitHub 05:06:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/156/head:refs/remotes/origin/PR-156 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:06:16 > git config core.sparsecheckout # timeout=10 05:06:16 > git checkout -f 47de7c666f1af21953724e0bdaeef183cccb98c0 # timeout=10 05:06:16 > git remote # timeout=10 05:06:16 > git config --get remote.origin.url # timeout=10 05:06:16 using GIT_SSH to set credentials SSH Credentials for GitHub 05:06:16 > git merge 6b046bf6cda952c0c380e7585d2cf1a0cfc64fec # timeout=10 05:06:16 > git rev-parse HEAD^{commit} # timeout=10 05:06:16 Merge succeeded, producing 47de7c666f1af21953724e0bdaeef183cccb98c0 05:06:16 Checking out Revision 47de7c666f1af21953724e0bdaeef183cccb98c0 (PR-156) 05:06:16 > git config core.sparsecheckout # timeout=10 05:06:16 > git checkout -f 47de7c666f1af21953724e0bdaeef183cccb98c0 # timeout=10 05:06:20 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 05:06:20 > git --version # timeout=10 05:06:21 > git --version # 'git version 2.25.1' 05:06:21 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:06:22 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:06:22 % Total % Received % Xferd Average Speed Time Time Time Current 05:06:22 Dload Upload Total Spent Left Speed 05:06:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 81116 0 --:--:-- --:--:-- --:--:-- 81675 [Pipeline] sh 05:06:22 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:06:22 + sudo tee /etc/docker/daemon.new 05:06:22 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:06:22 { 05:06:22 "registry-mirrors": [ 05:06:22 "https://nexus3.edgexfoundry.org:10001" 05:06:22 ], 05:06:22 "bip": "10.250.0.254/24", 05:06:22 "hosts": [ 05:06:22 "tcp://0.0.0.0:5555", 05:06:22 "unix:///var/run/docker.sock" 05:06:22 ], 05:06:22 "mtu": 1458, 05:06:22 "selinux-enabled": true, 05:06:22 "seccomp-profile": "/etc/docker/seccomp.json" 05:06:22 } [Pipeline] sh 05:06:23 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:06:24 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:06:42 provisioning config files... 05:06:42 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config8464491220149264121tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:06:43 ---> docker-login.sh 05:06:43 nexus3.edgexfoundry.org:10001 05:06:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:43 Configure a credential helper to remove this warning. See 05:06:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:43 05:06:43 Login Succeeded 05:06:43 nexus3.edgexfoundry.org:10002 05:06:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:44 Configure a credential helper to remove this warning. See 05:06:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:44 05:06:44 Login Succeeded 05:06:44 nexus3.edgexfoundry.org:10003 05:06:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:45 Configure a credential helper to remove this warning. See 05:06:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:45 05:06:45 Login Succeeded 05:06:45 nexus3.edgexfoundry.org:10004 05:06:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:45 Configure a credential helper to remove this warning. See 05:06:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:45 05:06:45 Login Succeeded 05:06:45 docker.io 05:06:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:06:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:06:46 Configure a credential helper to remove this warning. See 05:06:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:06:46 05:06:46 Login Succeeded 05:06:46 ---> docker-login.sh ends [Pipeline] } 05:06:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:06:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:06:46 ========================================================= 05:06:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 05:06:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:06:47 + 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 . 05:06:47 Sending build context to Docker daemon 2.728MB 05:06:47 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 05:06:47 Step 2/12 : FROM ${BASE} AS builder 05:06:47 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:06:47 9b3977197b4f: Pulling fs layer 05:06:47 1a89e8eeedd5: Pulling fs layer 05:06:47 94645a83ff95: Pulling fs layer 05:06:47 3f3a8bcf1eab: Pulling fs layer 05:06:47 0c92f367c5e7: Pulling fs layer 05:06:47 f7c0051592d6: Pulling fs layer 05:06:47 a227ed2f7395: Pulling fs layer 05:06:47 7b1c46037f91: Pulling fs layer 05:06:47 3f3a8bcf1eab: Waiting 05:06:47 a227ed2f7395: Waiting 05:06:47 0c92f367c5e7: Waiting 05:06:47 f7c0051592d6: Waiting 05:06:47 94645a83ff95: Download complete 05:06:47 1a89e8eeedd5: Verifying Checksum 05:06:47 1a89e8eeedd5: Download complete 05:06:47 0c92f367c5e7: Download complete 05:06:47 f7c0051592d6: Verifying Checksum 05:06:47 f7c0051592d6: Download complete 05:06:47 9b3977197b4f: Verifying Checksum 05:06:47 9b3977197b4f: Download complete 05:06:47 a227ed2f7395: Verifying Checksum 05:06:47 a227ed2f7395: Download complete 05:06:48 9b3977197b4f: Pull complete 05:06:49 1a89e8eeedd5: Pull complete 05:06:49 94645a83ff95: Pull complete 05:06:50 7b1c46037f91: Verifying Checksum 05:06:50 7b1c46037f91: Download complete 05:06:50 3f3a8bcf1eab: Verifying Checksum 05:06:50 3f3a8bcf1eab: Download complete 05:07:03 3f3a8bcf1eab: Pull complete 05:07:03 0c92f367c5e7: Pull complete 05:07:03 f7c0051592d6: Pull complete 05:07:03 a227ed2f7395: Pull complete 05:07:10 7b1c46037f91: Pull complete 05:07:10 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 05:07:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 05:07:10 ---> f79e39bc4007 05:07:10 Step 3/12 : ARG MAKE='make build' 05:07:11 ---> Running in 07cb2d83039e 05:07:11 Removing intermediate container 07cb2d83039e 05:07:11 ---> 64f1c7d44b6f 05:07:11 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:07:11 ---> Running in 6409a230f837 05:07:11 Removing intermediate container 6409a230f837 05:07:11 ---> 29bca3158afe 05:07:11 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 05:07:11 ---> Running in 23d2fabdf8f6 05:07:12 Removing intermediate container 23d2fabdf8f6 05:07:12 ---> 8f85b9ad1884 05:07:12 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:07:12 ---> Running in 954d19ac3323 05:07:14 Removing intermediate container 954d19ac3323 05:07:14 ---> 44a3aa3a8c16 05:07:14 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:07:14 ---> Running in ae188a6c52f4 05:07:15 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:07:16 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:07:17 (1/4) Installing openssh-keygen (8.8_p1-r1) 05:07:17 (2/4) Installing libedit (20210910.3.1-r0) 05:07:17 (3/4) Installing openssh-client-common (8.8_p1-r1) 05:07:18 (4/4) Installing openssh-client-default (8.8_p1-r1) 05:07:18 Executing busybox-1.34.1-r3.trigger 05:07:18 OK: 224 MiB in 56 packages 05:07:19 Removing intermediate container ae188a6c52f4 05:07:19 ---> 46ef4c0d42f0 05:07:19 Step 8/12 : WORKDIR /device-snmp-go 05:07:19 ---> Running in a7d8fb338a06 05:07:19 Removing intermediate container a7d8fb338a06 05:07:19 ---> c32d54772b79 05:07:19 Step 9/12 : COPY go.mod vendor* ./ 05:07:20 ---> ff764d45641c 05:07:20 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:07:20 ---> Running in d77b40298d69 05:08:17 Removing intermediate container d77b40298d69 05:08:17 ---> 8d03a1049ce4 05:08:17 Step 11/12 : COPY . . 05:08:17 ---> 57dff161300d 05:08:17 Step 12/12 : RUN ${MAKE} 05:08:17 ---> Running in 7c45f043e595 05:08:17 noop 05:08:17 Removing intermediate container 7c45f043e595 05:08:17 ---> 495a96ae887b 05:08:17 Successfully built 495a96ae887b 05:08:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:08:17 + docker inspect -f . ci-base-image-arm64 05:08:17 . [Pipeline] withDockerContainer 05:08:17 prd-ubuntu20.04-docker-arm64-4c-16g-21205 does not seem to be running inside a container 05:08:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-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 ******** ci-base-image-arm64 cat 05:08:19 $ docker top 05a9be6b6f38121c8a5c89cd119b748c148a3101dc5400e6ba07a2079e2c813f -eo pid,comm [Pipeline] { [Pipeline] sh 05:08:20 + go version 05:08:20 go version go1.17.6 linux/arm64 [Pipeline] } 05:08:20 $ docker stop --time=1 05a9be6b6f38121c8a5c89cd119b748c148a3101dc5400e6ba07a2079e2c813f 05:08:21 $ docker rm -f 05a9be6b6f38121c8a5c89cd119b748c148a3101dc5400e6ba07a2079e2c813f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:08:22 + docker inspect -f . ci-base-image-arm64 05:08:22 . [Pipeline] withDockerContainer 05:08:23 prd-ubuntu20.04-docker-arm64-4c-16g-21205 does not seem to be running inside a container 05:08:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-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 ******** ci-base-image-arm64 cat 05:08:24 $ docker top 0983b05242fb03f9def2d59a341ec56363623ec3df9a0158f142d21449f68e30 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:08:25 + make test 05:08:25 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:08:27 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:09:48 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:09:48 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.049s coverage: 0.0% of statements 05:09:49 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:09:49 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:10:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:10:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:10:21 ./bin/test-attribution-txt.sh [Pipeline] echo 05:10:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:10:22 $ docker stop --time=1 0983b05242fb03f9def2d59a341ec56363623ec3df9a0158f142d21449f68e30 05:10:24 $ docker rm -f 0983b05242fb03f9def2d59a341ec56363623ec3df9a0158f142d21449f68e30 [Pipeline] // withDockerContainer [Pipeline] sh 05:10:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:10:25 Warning: overwriting stash ‘coverage-report’ 05:10:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:10:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:10:26 + ls -al . 05:10:26 total 180 05:10:26 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 05:10 . 05:10:26 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 05:06 .. 05:10:26 -rw-rw-r-- 1 jenkins jenkins 6 Apr 18 05:06 .dockerignore 05:10:26 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 05:06 .git 05:10:26 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 05:06 .github 05:10:26 -rw-rw-r-- 1 jenkins jenkins 328 Apr 18 05:06 .gitignore 05:10:26 -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 05:06 .golangci.yml 05:10:26 -rw-rw-r-- 1 jenkins jenkins 8164 Apr 18 05:06 Attribution.txt 05:10:26 -rw-rw-r-- 1 jenkins jenkins 4401 Apr 18 05:06 CHANGELOG.md 05:10:26 -rw-rw-r-- 1 jenkins jenkins 1516 Apr 18 05:06 Dockerfile 05:10:26 -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 05:06 GOVERNANCE.md 05:10:26 -rw-rw-r-- 1 jenkins jenkins 656 Apr 18 05:06 Jenkinsfile 05:10:26 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 05:06 LICENSE 05:10:26 -rw-rw-r-- 1 jenkins jenkins 1938 Apr 18 05:06 Makefile 05:10:26 -rw-rw-r-- 1 jenkins jenkins 620 Apr 18 05:06 OWNERS.md 05:10:26 -rw-rw-r-- 1 jenkins jenkins 9074 Apr 18 05:06 README.md 05:10:26 -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 05:04 VERSION 05:10:26 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 05:06 bin 05:10:26 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 05:06 cmd 05:10:26 -rw-r--r-- 1 jenkins jenkins 7631 Apr 18 05:09 coverage.out 05:10:26 -rw-rw-r-- 1 jenkins jenkins 3245 Apr 18 05:06 go.mod 05:10:26 -rw-rw-r-- 1 jenkins jenkins 54298 Apr 18 05:06 go.sum 05:10:26 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 05:06 internal 05:10:26 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 05:06 snap 05:10:26 -rw-rw-r-- 1 jenkins jenkins 209 Apr 18 05:06 version.go [Pipeline] isUnix [Pipeline] sh 05:10:27 + docker build -t device-snmp-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=47de7c666f1af21953724e0bdaeef183cccb98c0 --label arch=arm64 --label version=0.0.0 . 05:10:27 Sending build context to Docker daemon 2.737MB 05:10:27 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 05:10:27 Step 2/24 : FROM ${BASE} AS builder 05:10:27 ---> 495a96ae887b 05:10:27 Step 3/24 : ARG MAKE='make build' 05:10:27 ---> Running in e99da97d2801 05:10:27 Removing intermediate container e99da97d2801 05:10:27 ---> 703939317874 05:10:27 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:10:27 ---> Running in c686665ae542 05:10:28 Removing intermediate container c686665ae542 05:10:28 ---> f998cdb63b79 05:10:28 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 05:10:28 ---> Running in 84a330385d9d 05:10:28 Removing intermediate container 84a330385d9d 05:10:28 ---> b2266b7b3241 05:10:28 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:10:28 ---> Running in 11fa530554e4 05:10:30 Removing intermediate container 11fa530554e4 05:10:30 ---> 70471d8f651d 05:10:30 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:10:30 ---> Running in cc42c8ab015a 05:10:32 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:10:32 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:10:34 OK: 224 MiB in 56 packages 05:10:34 Removing intermediate container cc42c8ab015a 05:10:34 ---> 1b908dc133e3 05:10:34 Step 8/24 : WORKDIR /device-snmp-go 05:10:34 ---> Running in f578321fdc47 05:10:35 Removing intermediate container f578321fdc47 05:10:35 ---> 91befe2917fd 05:10:35 Step 9/24 : COPY go.mod vendor* ./ 05:10:36 ---> 887cdcf6fa67 05:10:36 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:10:36 ---> Running in a6525be3519a 05:10:38 Removing intermediate container a6525be3519a 05:10:38 ---> b428764d44a8 05:10:38 Step 11/24 : COPY . . 05:10:39 ---> d7bada558071 05:10:39 Step 12/24 : RUN ${MAKE} 05:10:39 ---> Running in d04ef9243e63 05:10:40 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 05:13:02 Removing intermediate container d04ef9243e63 05:13:02 ---> 2a3da92d71cb 05:13:02 Step 13/24 : FROM alpine:3.14 05:13:02 3.14: Pulling from library/alpine 05:13:02 455c02918c45: Pulling fs layer 05:13:02 455c02918c45: Verifying Checksum 05:13:02 455c02918c45: Download complete 05:13:02 455c02918c45: Pull complete 05:13:02 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 05:13:02 Status: Downloaded newer image for alpine:3.14 05:13:02 ---> ac73e934f311 05:13:02 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 05:13:02 ---> Running in 9ddbda7279ab 05:13:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 05:13:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 05:13:03 (1/6) Installing dumb-init (1.2.5-r1) 05:13:03 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:13:03 (3/6) Installing libsodium (1.0.18-r0) 05:13:03 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:13:03 (5/6) Installing libzmq (4.3.4-r0) 05:13:03 (6/6) Installing zeromq (4.3.4-r0) 05:13:03 Executing busybox-1.33.1-r7.trigger 05:13:03 OK: 8 MiB in 20 packages 05:13:04 Removing intermediate container 9ddbda7279ab 05:13:04 ---> a75413a408dc 05:13:04 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 05:13:05 ---> 8b463cf7207c 05:13:05 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:13:06 ---> f17f5d89ef5d 05:13:06 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 05:13:07 ---> cb7f6d26dbdd 05:13:07 Step 18/24 : EXPOSE 59993 05:13:07 ---> Running in 45cafa6a7e20 05:13:07 Removing intermediate container 45cafa6a7e20 05:13:07 ---> 14056b23036d 05:13:07 Step 19/24 : EXPOSE 161 05:13:07 ---> Running in 7275e52079a9 05:13:08 Removing intermediate container 7275e52079a9 05:13:08 ---> 928d42507974 05:13:08 Step 20/24 : ENTRYPOINT ["/device-snmp"] 05:13:08 ---> Running in 14bf4c398243 05:13:08 Removing intermediate container 14bf4c398243 05:13:08 ---> 4132076fda0f 05:13:08 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 05:13:08 ---> Running in 765568067bc1 05:13:08 Removing intermediate container 765568067bc1 05:13:08 ---> 1982b7fb6ff6 05:13:08 Step 22/24 : LABEL arch=arm64 05:13:08 ---> Running in ed563a411018 05:13:09 Removing intermediate container ed563a411018 05:13:09 ---> 22ae3efd0385 05:13:09 Step 23/24 : LABEL git_sha=47de7c666f1af21953724e0bdaeef183cccb98c0 05:13:09 ---> Running in 0949dd736db4 05:13:09 Removing intermediate container 0949dd736db4 05:13:09 ---> d5889eb25dfb 05:13:09 Step 24/24 : LABEL version=0.0.0 05:13:09 ---> Running in 027d00a1686d 05:13:10 Removing intermediate container 027d00a1686d 05:13:10 ---> 39a57147dcba 05:13:10 [Warning] One or more build-args [ARCH] were not consumed 05:13:10 Successfully built 39a57147dcba 05:13:10 Successfully tagged device-snmp-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 05:13:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:13:11 05:13:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 05:13:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:13:11 arm64: Pulling from edgex-lftools-log-publisher 05:13:11 8998bd30e6a1: Pulling fs layer 05:13:11 04944245beec: Pulling fs layer 05:13:11 699f458cf7ca: Pulling fs layer 05:13:11 765212b225bb: Pulling fs layer 05:13:11 f23df028b6ca: Pulling fs layer 05:13:11 d65c8cfc05b1: Pulling fs layer 05:13:11 2437ff75d9bd: Pulling fs layer 05:13:11 765212b225bb: Waiting 05:13:11 f23df028b6ca: Waiting 05:13:11 d65c8cfc05b1: Waiting 05:13:11 2437ff75d9bd: Waiting 05:13:11 04944245beec: Download complete 05:13:11 765212b225bb: Verifying Checksum 05:13:11 765212b225bb: Download complete 05:13:11 f23df028b6ca: Verifying Checksum 05:13:11 f23df028b6ca: Download complete 05:13:11 d65c8cfc05b1: Verifying Checksum 05:13:11 d65c8cfc05b1: Download complete 05:13:12 699f458cf7ca: Verifying Checksum 05:13:12 699f458cf7ca: Download complete 05:13:12 8998bd30e6a1: Download complete 05:13:14 2437ff75d9bd: Download complete 05:13:16 8998bd30e6a1: Pull complete 05:13:17 04944245beec: Pull complete 05:13:19 699f458cf7ca: Pull complete 05:13:19 765212b225bb: Pull complete 05:13:20 f23df028b6ca: Pull complete 05:13:20 d65c8cfc05b1: Pull complete 05:13:35 2437ff75d9bd: Pull complete 05:13:35 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:13:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:13:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 05:13:35 prd-ubuntu20.04-docker-arm64-4c-16g-21205 does not seem to be running inside a container 05:13:36 $ 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-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:13:38 $ docker top f6a2b55de3483426d5303acbc791eee58bc2d0c54fccc337da9eec421bda2dc2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:13:39 ---> job-cost.sh 05:13:39 lf-activate-venv: SKIPPING 05:13:39 INFO: No Stack... 05:13:40 INFO: Retrieving Pricing Info for: v3-standard-4 05:13:41 INFO: Archiving Costs [Pipeline] sh 05:13:42 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 05:13:42 + cut -d, -f6 [Pipeline] lock 05:13:42 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-156-1-stack-cost] 05:13:42 Resource [jenkins-edgexfoundry-device-snmp-go-PR-156-1-stack-cost] did not exist. Created. 05:13:42 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-156-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:13:43 /w/workspace/device-snmp-go/1@tmp/durable-7af715e8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:13:43 + echo total: 0.10999999940395355 [Pipeline] stash 05:13:43 Warning: overwriting stash ‘stack-cost’ 05:13:43 Stashed 1 file(s) [Pipeline] } 05:13:43 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-156-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:13:43 $ docker stop --time=1 f6a2b55de3483426d5303acbc791eee58bc2d0c54fccc337da9eec421bda2dc2 05:13:45 $ docker rm -f f6a2b55de3483426d5303acbc791eee58bc2d0c54fccc337da9eec421bda2dc2 [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 05:13:46 provisioning config files... 05:13:46 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-156@tmp/config8506683158261003039tmp [Pipeline] { [Pipeline] sh 05:13:46 + set +x 05:13:46 + curl -s https://codecov.io/bash 05:13:46 + bash -s -- 05:13:46 05:13:46 _____ _ 05:13:46 / ____| | | 05:13:46 | | ___ __| | ___ ___ _____ __ 05:13:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:13:46 | |___| (_) | (_| | __/ (_| (_) \ V / 05:13:46 \_____\___/ \__,_|\___|\___\___/ \_/ 05:13:46 Bash-1.0.6 05:13:46 05:13:46 05:13:46 ==> git version 2.25.1 found 05:13:46 ==> 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 05:13:46 Release-Date: 2020-01-08 05:13:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:13:46 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:13:46 ==> Jenkins CI detected. 05:13:46 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-156 05:13:46 project root: . 05:13:46 --> token set from env 05:13:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:13:46 ==> Running gcov in . (disable via -X gcov) 05:13:46 ==> Python coveragepy not found 05:13:46 ==> Searching for coverage reports in: 05:13:46 + . 05:13:46 -> Found 1 reports 05:13:46 ==> Detecting git/mercurial file structure 05:13:46 ==> Reading reports 05:13:46 + ./coverage.out bytes=7631 05:13:46 ==> Appending adjustments 05:13:46 https://docs.codecov.io/docs/fixing-reports 05:13:47 + Found adjustments 05:13:47 ==> Gzipping contents 05:13:47 4.0K /tmp/codecov.SWh693.gz 05:13:47 ==> Uploading reports 05:13:47 url: https://codecov.io 05:13:47 query: branch=PR-156&commit=47de7c666f1af21953724e0bdaeef183cccb98c0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-156%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=156&job=&cmd_args= 05:13:47 -> Pinging Codecov 05:13:47 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-156&commit=47de7c666f1af21953724e0bdaeef183cccb98c0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-156%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=156&job=&cmd_args= 05:13:47 -> Uploading to 05:13:47 https://storage.googleapis.com/codecov/v4/raw/2022-04-18/6C56EA5C29638FB4528AC87E60AF5AE0/47de7c666f1af21953724e0bdaeef183cccb98c0/1050cc94-854d-48d5-ba5f-863bcc0fcd16.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220418%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220418T051347Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1a784a3258cf219784455f5d9ae72491f69f9127e3ca0810126e17bb31a174c4 05:13:47 % Total % Received % Xferd Average Speed Time Time Time Current 05:13:47 Dload Upload Total Spent Left Speed 05:13:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1598 0 0 100 1598 0 6800 --:--:-- --:--:-- --:--:-- 6829 05:13:47 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/47de7c666f1af21953724e0bdaeef183cccb98c0 [Pipeline] } 05:13:47 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 05:13:49 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-156/archives ] 05:13:49 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-156/archives 05:13:49 total 16 05:13:49 drwxr-xr-x 3 root root 4096 Apr 18 05:05 . 05:13:49 drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 05:05 .. 05:13:49 drwxr-xr-x 2 root root 4096 Apr 18 05:05 cost 05:13:49 -rw-r--r-- 1 root root 85 Apr 18 05:05 cost.csv 05:13:49 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-156/archives 05:13:49 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-156/archives 05:13:49 total 16 05:13:49 drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 05:05 . 05:13:49 drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 05:05 .. 05:13:49 drwxr-xr-x 2 jenkins jenkins 4096 Apr 18 05:05 cost 05:13:49 -rw-r--r-- 1 jenkins jenkins 85 Apr 18 05:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:13:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:13:50 ---> package-listing.sh 05:13:50 ++ facter osfamily 05:13:50 ++ tr '[:upper:]' '[:lower:]' 05:13:50 + OS_FAMILY=debian 05:13:50 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-156 05:13:50 + START_PACKAGES=/tmp/packages_start.txt 05:13:50 + END_PACKAGES=/tmp/packages_end.txt 05:13:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:13:50 + PACKAGES=/tmp/packages_start.txt 05:13:50 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-156 ']' 05:13:50 + PACKAGES=/tmp/packages_end.txt 05:13:50 + case "${OS_FAMILY}" in 05:13:50 + dpkg -l 05:13:50 + grep '^ii' 05:13:50 + '[' -f /tmp/packages_start.txt ']' 05:13:50 + '[' -f /tmp/packages_end.txt ']' 05:13:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:13:50 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-156 ']' 05:13:50 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-156/archives/ 05:13:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-156/archives/ [Pipeline] echo 05:13:50 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/gexfoundry_device-snmp-go_PR-156/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:13:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:13:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:13:51 . [Pipeline] withDockerContainer 05:13:51 prd-ubuntu20.04-docker-8c-8g-21199 does not seem to be running inside a container 05:13:51 $ 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/gexfoundry_device-snmp-go_PR-156/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-snmp-go_PR-156 -v /w/workspace/gexfoundry_device-snmp-go_PR-156:/w/workspace/gexfoundry_device-snmp-go_PR-156:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-156@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-156@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:13:52 $ docker top 4a9a6d33b6e8a9a1e9a506f2ab89ff4de3bbd432f817d010878b310ac4d2340f -eo pid,comm [Pipeline] { [Pipeline] sh 05:13:52 + touch /tmp/pre-build-complete [Pipeline] sh 05:13:52 + mkdir -p /var/log/sysstat [Pipeline] sh 05:13:53 + ls /var/log/sa-host 05:13:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:13:53 provisioning config files... 05:13:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-156@tmp/config6800988247704551303tmp [Pipeline] { [Pipeline] echo 05:13:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:13:53 ---> create-netrc.sh [Pipeline] } 05:13:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:13:54 ---> python-tools-install.sh [Pipeline] echo 05:13:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:13:54 ---> sudo-logs.sh 05:13:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:13:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:13:55 ---> job-cost.sh 05:13:55 lf-activate-venv: SKIPPING 05:13:55 DEBUG: total: 0.2199999988079071 05:13:55 INFO: Retrieving Stack Cost... 05:13:55 INFO: Retrieving Pricing Info for: v3-standard-8 05:13:55 INFO: Archiving Costs [Pipeline] echo 05:13:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:13:56 ---> logs-deploy.sh 05:13:56 lf-activate-venv: SKIPPING 05:13:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-156/1 05:13:56 INFO: archiving workspace using pattern(s): 05:13:57 Archives upload complete. 05:13:57 INFO: archiving logs to Nexus