Pull request #165 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d3a0476db4081a110be7875d7563183586f98bed+a672eeb6ec92b4d90420405cd1acfac3e3196a2e (77feda8cdfa65d310818e87268e721ec54ffd963) 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-ssh16686477470962919082.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh15252391061007092344.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-165/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-165/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7544274138310093654.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-165/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7486686798394760943.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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-ssh7843940762193578403.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-165/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-165/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1653580696366587842.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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 on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-34417 in /w/workspace/gexfoundry_device-snmp-go_PR-165 [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-165 # 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 a672eeb6ec92b4d90420405cd1acfac3e3196a2e into PR head commit d3a0476db4081a110be7875d7563183586f98bed Merge succeeded, producing d3a0476db4081a110be7875d7563183586f98bed Checking out Revision d3a0476db4081a110be7875d7563183586f98bed (PR-165) > 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/165/head:refs/remotes/origin/PR-165 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d3a0476db4081a110be7875d7563183586f98bed # 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 a672eeb6ec92b4d90420405cd1acfac3e3196a2e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d3a0476db4081a110be7875d7563183586f98bed # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:09:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:09:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:09:34 ========================================================= 05:09:34 EdgeX Global Pipelines Version Info 05:09:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:09:35 ------------------- 05:09:35 stable info: 05:09:35 ------------------- 05:09:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:09:35 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 05:09:35 Message: update stable to v1.0.227 05:09:36 ------------------- 05:09:36 experimental info: 05:09:36 ------------------- 05:09:36 Commited By: **** collab-it+edgex@linuxfoundation.org 05:09:36 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 05:09:36 Message: update experimental to v1.0.227 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:09:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 05:09:36 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 05:09:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:09:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:09:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:09:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 05:09:36 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:09:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:09:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:09:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:09:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:09:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 05:09:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:09:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:09:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:09:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:09:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:09:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:09:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:09:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:09:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:09:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:09:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:09:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:09:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:09:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:09:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-165 [Pipeline] echo 05:09:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-165 [Pipeline] echo 05:09:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-165 [Pipeline] echo 05:09:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d3a0476db4081a110be7875d7563183586f98bed [Pipeline] echo 05:09:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d3a0476 [Pipeline] echo 05:09:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:09:38 provisioning config files... 05:09:38 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-165@tmp/config4060480484730419549tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:09:38 ---> docker-login.sh 05:09:38 nexus3.edgexfoundry.org:10001 05:09:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:38 Configure a credential helper to remove this warning. See 05:09:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:38 05:09:38 Login Succeeded 05:09:38 nexus3.edgexfoundry.org:10002 05:09:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:38 Configure a credential helper to remove this warning. See 05:09:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:38 05:09:38 Login Succeeded 05:09:38 nexus3.edgexfoundry.org:10003 05:09:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:39 Configure a credential helper to remove this warning. See 05:09:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:39 05:09:39 Login Succeeded 05:09:39 nexus3.edgexfoundry.org:10004 05:09:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:39 Configure a credential helper to remove this warning. See 05:09:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:39 05:09:39 Login Succeeded 05:09:39 docker.io 05:09:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:39 Configure a credential helper to remove this warning. See 05:09:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:39 05:09:39 Login Succeeded 05:09:39 ---> docker-login.sh ends [Pipeline] } 05:09:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:09:40 + git rev-list -1 --merges d3a0476db4081a110be7875d7563183586f98bed~1..d3a0476db4081a110be7875d7563183586f98bed [Pipeline] echo 05:09:40 -----------> git rev-list -1 --merges d3a0476db4081a110be7875d7563183586f98bed~1..d3a0476db4081a110be7875d7563183586f98bed d3a0476db4081a110be7875d7563183586f98bed [false] [Pipeline] sh 05:09:40 + git log --format=format:%s -1 d3a0476db4081a110be7875d7563183586f98bed [Pipeline] echo 05:09:40 ========================================================= 05:09:40 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:09:40 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:09:41 + git log --format=format:%s -1 d3a0476db4081a110be7875d7563183586f98bed [Pipeline] echo 05:09:41 [semverPrep] GIT_COMMIT: d3a0476db4081a110be7875d7563183586f98bed, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 05:09:41 [semverPrep] This is not a build commit. [Pipeline] sh 05:09:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:09:41 + grep -v github /etc/ssh/ssh_known_hosts 05:09:41 + [ -e /tmp/ssh_known_hosts ] 05:09:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:09:41 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:09:41 + sudo tee -a /etc/ssh/ssh_known_hosts 05:09:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 05:09:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 05:09:42 05:09:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:09:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 05:09:42 latest: Pulling from edgex-devops/py-git-semver 05:09:42 1fe172e4850f: Pulling fs layer 05:09:42 caf521ccaac6: Pulling fs layer 05:09:42 3ead6fa29328: Pulling fs layer 05:09:42 5c2a1cbceb83: Pulling fs layer 05:09:42 a8d5f1318db7: Pulling fs layer 05:09:42 c427282e49a2: Pulling fs layer 05:09:42 1827001aaf11: Pulling fs layer 05:09:42 0714d37db230: Pulling fs layer 05:09:42 ac28cf19c067: Pulling fs layer 05:09:42 ca983d60f3e2: Pulling fs layer 05:09:42 9f894cec8388: Pulling fs layer 05:09:42 1827001aaf11: Waiting 05:09:42 ca983d60f3e2: Waiting 05:09:42 ac28cf19c067: Waiting 05:09:42 a8d5f1318db7: Waiting 05:09:42 9f894cec8388: Waiting 05:09:42 0714d37db230: Waiting 05:09:42 caf521ccaac6: Verifying Checksum 05:09:42 caf521ccaac6: Download complete 05:09:42 5c2a1cbceb83: Download complete 05:09:42 a8d5f1318db7: Verifying Checksum 05:09:42 a8d5f1318db7: Download complete 05:09:42 c427282e49a2: Download complete 05:09:42 3ead6fa29328: Verifying Checksum 05:09:42 3ead6fa29328: Download complete 05:09:42 0714d37db230: Verifying Checksum 05:09:42 0714d37db230: Download complete 05:09:42 ac28cf19c067: Verifying Checksum 05:09:42 ac28cf19c067: Download complete 05:09:42 ca983d60f3e2: Download complete 05:09:42 9f894cec8388: Verifying Checksum 05:09:42 9f894cec8388: Download complete 05:09:42 1fe172e4850f: Verifying Checksum 05:09:42 1fe172e4850f: Download complete 05:09:42 1827001aaf11: Verifying Checksum 05:09:42 1827001aaf11: Download complete 05:09:44 1fe172e4850f: Pull complete 05:09:44 caf521ccaac6: Pull complete 05:09:44 3ead6fa29328: Pull complete 05:09:44 5c2a1cbceb83: Pull complete 05:09:45 a8d5f1318db7: Pull complete 05:09:45 c427282e49a2: Pull complete 05:09:48 1827001aaf11: Pull complete 05:09:48 0714d37db230: Pull complete 05:09:48 ac28cf19c067: Pull complete 05:09:48 ca983d60f3e2: Pull complete 05:09:48 9f894cec8388: Pull complete 05:09:48 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 05:09:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 05:09:48 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 05:09:48 prd-ubuntu20.04-docker-8c-8g-34417 does not seem to be running inside a container 05:09:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-165 -v /w/workspace/gexfoundry_device-snmp-go_PR-165:/w/workspace/gexfoundry_device-snmp-go_PR-165:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-165@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-165@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:10003/edgex-devops/py-git-semver:latest cat 05:09:50 $ docker top bb7e9cd976bc81bd77416631a4c41c64ff59d196819b9f3f04654401fb73f47b -eo pid,comm 05:09:50 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:09:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:09:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:09:50 [ssh-agent] Looking for ssh-agent implementation... 05:09:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:09:50 $ docker exec bb7e9cd976bc81bd77416631a4c41c64ff59d196819b9f3f04654401fb73f47b ssh-agent 05:09:50 SSH_AUTH_SOCK=/tmp/ssh-fbe1ovsuuGga/agent.34 05:09:50 SSH_AGENT_PID=40 05:09:50 Running ssh-add (command line suppressed) 05:09:50 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-165@tmp/private_key_7518615214803461114.key (/w/workspace/gexfoundry_device-snmp-go_PR-165@tmp/private_key_7518615214803461114.key) 05:09:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:09:51 + git tag --points-at HEAD [Pipeline] } 05:09:51 $ docker exec --env ******** --env ******** bb7e9cd976bc81bd77416631a4c41c64ff59d196819b9f3f04654401fb73f47b ssh-agent -k 05:09:51 unset SSH_AUTH_SOCK; 05:09:51 unset SSH_AGENT_PID; 05:09:51 echo Agent pid 40 killed; 05:09:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:09:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:09:51 [ssh-agent] Looking for ssh-agent implementation... 05:09:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:09:51 $ docker exec bb7e9cd976bc81bd77416631a4c41c64ff59d196819b9f3f04654401fb73f47b ssh-agent 05:09:51 SSH_AUTH_SOCK=/tmp/ssh-7pncO0S8xjzO/agent.75 05:09:51 SSH_AGENT_PID=82 05:09:51 Running ssh-add (command line suppressed) 05:09:51 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-165@tmp/private_key_8924943669334585148.key (/w/workspace/gexfoundry_device-snmp-go_PR-165@tmp/private_key_8924943669334585148.key) 05:09:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:09:52 + git semver init 05:09:52 2022-05-02 05:09:52,408 [run_init] DEBUG init version:0.0.0 force:False 05:09:52 2022-05-02 05:09:52,409 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-165/.semver 05:09:52 2022-05-02 05:09:52,409 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-165/.semver 05:09:52 2022-05-02 05:09:52,409 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-165/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-165, universal_newlines=False, shell=None, istream=None) 05:09:53 2022-05-02 05:09:53,261 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-165/.git/info/exclude 05:09:53 2022-05-02 05:09:53,261 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-165/.semver/PR-165 with force:False 05:09:53 2022-05-02 05:09:53,262 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-165/.semver/PR-165 05:09:53 2022-05-02 05:09:53,267 [execute] INFO git cat-file --batch-check 05:09:53 2022-05-02 05:09:53,267 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-165/.semver, universal_newlines=False, shell=None, istream=) 05:09:53 2022-05-02 05:09:53,273 [execute] INFO git cat-file --batch 05:09:53 2022-05-02 05:09:53,274 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-165/.semver, universal_newlines=False, shell=None, istream=) 05:09:53 2022-05-02 05:09:53,279 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-165/.semver/PR-165 05:09:53 0.0.0 [Pipeline] } 05:09:53 $ docker exec --env ******** --env ******** bb7e9cd976bc81bd77416631a4c41c64ff59d196819b9f3f04654401fb73f47b ssh-agent -k 05:09:53 unset SSH_AUTH_SOCK; 05:09:53 unset SSH_AGENT_PID; 05:09:53 echo Agent pid 82 killed; 05:09:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:09:54 + git semver [Pipeline] } 05:09:54 $ docker stop --time=1 bb7e9cd976bc81bd77416631a4c41c64ff59d196819b9f3f04654401fb73f47b 05:09:56 $ docker rm -f bb7e9cd976bc81bd77416631a4c41c64ff59d196819b9f3f04654401fb73f47b [Pipeline] // withDockerContainer [Pipeline] sh 05:09:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:09:56 Stashed 1 file(s) [Pipeline] echo 05:09:56 [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:09:57 provisioning config files... 05:09:57 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-165@tmp/config7086735408570656785tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:09:57 ---> docker-login.sh 05:09:57 nexus3.edgexfoundry.org:10001 05:09:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:57 Configure a credential helper to remove this warning. See 05:09:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:57 05:09:57 Login Succeeded 05:09:57 nexus3.edgexfoundry.org:10002 05:09:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:58 Configure a credential helper to remove this warning. See 05:09:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:58 05:09:58 Login Succeeded 05:09:58 nexus3.edgexfoundry.org:10003 05:09:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:58 Configure a credential helper to remove this warning. See 05:09:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:58 05:09:58 Login Succeeded 05:09:58 nexus3.edgexfoundry.org:10004 05:09:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:58 Configure a credential helper to remove this warning. See 05:09:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:58 05:09:58 Login Succeeded 05:09:58 docker.io 05:09:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:09:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:09:58 Configure a credential helper to remove this warning. See 05:09:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:09:58 05:09:58 Login Succeeded 05:09:58 ---> docker-login.sh ends [Pipeline] } 05:09:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:09:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:09:58 ========================================================= 05:09:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 05:09:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:09:59 + 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:09:59 Sending build context to Docker daemon 5.314MB 05:09:59 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 05:09:59 Step 2/12 : FROM ${BASE} AS builder 05:09:59 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 05:09:59 59bf1c3509f3: Pulling fs layer 05:09:59 666ba61612fd: Pulling fs layer 05:09:59 8ed8ca486205: Pulling fs layer 05:09:59 4fe6c5a15a65: Pulling fs layer 05:09:59 22a0e8bec74d: Pulling fs layer 05:09:59 ca2b28591e48: Pulling fs layer 05:09:59 a51346096db8: Pulling fs layer 05:09:59 daebc70d1ce1: Pulling fs layer 05:09:59 0e18a0eac166: Pulling fs layer 05:09:59 daebc70d1ce1: Waiting 05:09:59 0e18a0eac166: Waiting 05:09:59 ca2b28591e48: Waiting 05:09:59 4fe6c5a15a65: Waiting 05:09:59 a51346096db8: Waiting 05:09:59 8ed8ca486205: Verifying Checksum 05:09:59 8ed8ca486205: Download complete 05:09:59 666ba61612fd: Download complete 05:09:59 22a0e8bec74d: Verifying Checksum 05:09:59 22a0e8bec74d: Download complete 05:09:59 ca2b28591e48: Verifying Checksum 05:09:59 ca2b28591e48: Download complete 05:09:59 59bf1c3509f3: Verifying Checksum 05:09:59 59bf1c3509f3: Download complete 05:09:59 a51346096db8: Download complete 05:09:59 daebc70d1ce1: Verifying Checksum 05:09:59 daebc70d1ce1: Download complete 05:09:59 59bf1c3509f3: Pull complete 05:09:59 666ba61612fd: Pull complete 05:09:59 8ed8ca486205: Pull complete 05:10:00 0e18a0eac166: Verifying Checksum 05:10:00 0e18a0eac166: Download complete 05:10:00 4fe6c5a15a65: Verifying Checksum 05:10:00 4fe6c5a15a65: Download complete 05:10:04 4fe6c5a15a65: Pull complete 05:10:04 22a0e8bec74d: Pull complete 05:10:04 ca2b28591e48: Pull complete 05:10:04 a51346096db8: Pull complete 05:10:04 daebc70d1ce1: Pull complete 05:10:07 0e18a0eac166: Pull complete 05:10:07 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 05:10:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 05:10:07 ---> f018257e8ee9 05:10:07 Step 3/12 : ARG MAKE='make build' 05:10:09 ---> Running in 6c20ed1a80c2 05:10:10 Removing intermediate container 6c20ed1a80c2 05:10:10 ---> 45975991b5a4 05:10:10 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:10:10 ---> Running in 24772fa6f72b 05:10:10 Removing intermediate container 24772fa6f72b 05:10:10 ---> 2f9a2a1c2041 05:10:10 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 05:10:10 ---> Running in 983d9fcfbf4d 05:10:10 Removing intermediate container 983d9fcfbf4d 05:10:10 ---> eff608fc4112 05:10:10 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:10:11 ---> Running in 37448556d354 05:10:11 Removing intermediate container 37448556d354 05:10:11 ---> 100d48244a81 05:10:11 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:10:11 ---> Running in a4f99b774112 05:10:12 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:10:12 Still waiting to schedule task 05:10:12 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 05:10:13 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:10:13 (1/4) Installing openssh-keygen (8.8_p1-r1) 05:10:13 (2/4) Installing libedit (20210910.3.1-r0) 05:10:13 (3/4) Installing openssh-client-common (8.8_p1-r1) 05:10:13 (4/4) Installing openssh-client-default (8.8_p1-r1) 05:10:13 Executing busybox-1.34.1-r3.trigger 05:10:13 OK: 224 MiB in 56 packages 05:10:14 Removing intermediate container a4f99b774112 05:10:14 ---> 19aa320301f8 05:10:14 Step 8/12 : WORKDIR /device-snmp-go 05:10:14 ---> Running in 4e61003c375f 05:10:14 Removing intermediate container 4e61003c375f 05:10:14 ---> 71968ef08469 05:10:14 Step 9/12 : COPY go.mod vendor* ./ 05:10:14 ---> fa8bf5be2a66 05:10:14 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:10:15 ---> Running in de033af040b6 05:10:37 Removing intermediate container de033af040b6 05:10:37 ---> 1270a7573424 05:10:37 Step 11/12 : COPY . . 05:10:37 ---> b3d1c04c494c 05:10:37 Step 12/12 : RUN ${MAKE} 05:10:37 ---> Running in f9d8a396816d 05:10:37 noop 05:10:37 Removing intermediate container f9d8a396816d 05:10:37 ---> 1629ec19e611 05:10:37 Successfully built 1629ec19e611 05:10:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:10:37 + docker inspect -f . ci-base-image-x86_64 05:10:37 . [Pipeline] withDockerContainer 05:10:37 prd-ubuntu20.04-docker-8c-8g-34417 does not seem to be running inside a container 05:10:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-165 -v /w/workspace/gexfoundry_device-snmp-go_PR-165:/w/workspace/gexfoundry_device-snmp-go_PR-165:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-165@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-165@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:10:38 $ docker top d410b8e4c0b71225d97abcb60496e3726a335812e270972a4915e2d8e36e6ddb -eo pid,comm [Pipeline] { [Pipeline] sh 05:10:38 + go version 05:10:38 go version go1.17.6 linux/amd64 [Pipeline] } 05:10:38 $ docker stop --time=1 d410b8e4c0b71225d97abcb60496e3726a335812e270972a4915e2d8e36e6ddb 05:10:40 $ docker rm -f d410b8e4c0b71225d97abcb60496e3726a335812e270972a4915e2d8e36e6ddb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:10:40 + docker inspect -f . ci-base-image-x86_64 05:10:40 . [Pipeline] withDockerContainer 05:10:41 prd-ubuntu20.04-docker-8c-8g-34417 does not seem to be running inside a container 05:10:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-165 -v /w/workspace/gexfoundry_device-snmp-go_PR-165:/w/workspace/gexfoundry_device-snmp-go_PR-165:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-165@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-165@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:10:41 $ docker top 34ee8f371d6d8c13a89292d9caf0f88d2ac8c42172ae23026d509334d1681929 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:10:41 + make test 05:10:41 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:10:42 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:10:52 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:10:52 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.008s coverage: 0.0% of statements 05:11:00 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:11:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:11:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:11:03 ./bin/test-attribution-txt.sh [Pipeline] echo 05:11:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:11:04 $ docker stop --time=1 34ee8f371d6d8c13a89292d9caf0f88d2ac8c42172ae23026d509334d1681929 05:11:06 $ docker rm -f 34ee8f371d6d8c13a89292d9caf0f88d2ac8c42172ae23026d509334d1681929 [Pipeline] // withDockerContainer [Pipeline] sh 05:11:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:11:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:11:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:11:07 + ls -al . 05:11:07 total 168 05:11:07 drwxrwxr-x 9 jenkins jenkins 4096 May 2 05:11 . 05:11:07 drwxrwxr-x 4 jenkins jenkins 4096 May 2 05:09 .. 05:11:07 -rw-rw-r-- 1 jenkins jenkins 6 May 2 05:09 .dockerignore 05:11:07 drwxrwxr-x 8 jenkins jenkins 4096 May 2 05:09 .git 05:11:07 drwxrwxr-x 3 jenkins jenkins 4096 May 2 05:09 .github 05:11:07 -rw-rw-r-- 1 jenkins jenkins 328 May 2 05:09 .gitignore 05:11:07 -rw-rw-r-- 1 jenkins jenkins 41 May 2 05:09 .golangci.yml 05:11:07 drwxr-xr-x 3 jenkins jenkins 4096 May 2 05:09 .semver 05:11:07 -rw-rw-r-- 1 jenkins jenkins 8296 May 2 05:09 Attribution.txt 05:11:07 -rw-rw-r-- 1 jenkins jenkins 4401 May 2 05:09 CHANGELOG.md 05:11:07 -rw-rw-r-- 1 jenkins jenkins 1516 May 2 05:09 Dockerfile 05:11:07 -rw-rw-r-- 1 jenkins jenkins 677 May 2 05:09 GOVERNANCE.md 05:11:07 -rw-rw-r-- 1 jenkins jenkins 656 May 2 05:09 Jenkinsfile 05:11:07 -rw-rw-r-- 1 jenkins jenkins 11340 May 2 05:09 LICENSE 05:11:07 -rw-rw-r-- 1 jenkins jenkins 1938 May 2 05:09 Makefile 05:11:07 -rw-rw-r-- 1 jenkins jenkins 620 May 2 05:09 OWNERS.md 05:11:07 -rw-rw-r-- 1 jenkins jenkins 9074 May 2 05:09 README.md 05:11:07 -rw-rw-r-- 1 jenkins jenkins 5 May 2 05:09 VERSION 05:11:07 drwxrwxr-x 2 jenkins jenkins 4096 May 2 05:09 bin 05:11:07 drwxrwxr-x 3 jenkins jenkins 4096 May 2 05:09 cmd 05:11:07 -rw-r--r-- 1 jenkins jenkins 7631 May 2 05:10 coverage.out 05:11:07 -rw-rw-r-- 1 jenkins jenkins 3296 May 2 05:09 go.mod 05:11:07 -rw-rw-r-- 1 jenkins jenkins 35793 May 2 05:09 go.sum 05:11:07 drwxrwxr-x 3 jenkins jenkins 4096 May 2 05:09 internal 05:11:07 drwxrwxr-x 3 jenkins jenkins 4096 May 2 05:09 snap 05:11:07 -rw-rw-r-- 1 jenkins jenkins 209 May 2 05:09 version.go [Pipeline] isUnix [Pipeline] sh 05:11:08 + 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=d3a0476db4081a110be7875d7563183586f98bed --label arch=amd64 --label version=0.0.0 . 05:11:08 Sending build context to Docker daemon 5.322MB 05:11:08 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 05:11:08 Step 2/24 : FROM ${BASE} AS builder 05:11:08 ---> 1629ec19e611 05:11:08 Step 3/24 : ARG MAKE='make build' 05:11:08 ---> Running in 15f7cd9a0203 05:11:08 Removing intermediate container 15f7cd9a0203 05:11:08 ---> 57e6e8e26c90 05:11:08 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:11:08 ---> Running in c1f29882d2cd 05:11:08 Removing intermediate container c1f29882d2cd 05:11:08 ---> 5cb717f1755c 05:11:08 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 05:11:08 ---> Running in 4288303c53a2 05:11:09 Removing intermediate container 4288303c53a2 05:11:09 ---> 7f5f4182fc45 05:11:09 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:11:09 ---> Running in d7690c1d45cb 05:11:09 Removing intermediate container d7690c1d45cb 05:11:09 ---> 6c3d0937d214 05:11:09 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:11:09 ---> Running in 45c86b80fcb8 05:11:10 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:11:11 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:11:11 OK: 224 MiB in 56 packages 05:11:11 Removing intermediate container 45c86b80fcb8 05:11:11 ---> 5db99bc80929 05:11:11 Step 8/24 : WORKDIR /device-snmp-go 05:11:11 ---> Running in cf342a14cb75 05:11:11 Removing intermediate container cf342a14cb75 05:11:11 ---> ca0248708bfb 05:11:11 Step 9/24 : COPY go.mod vendor* ./ 05:11:11 ---> 4f265ff6c18b 05:11:11 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:11:11 ---> Running in 1fe367cbbc6b 05:11:12 Removing intermediate container 1fe367cbbc6b 05:11:12 ---> de4ec60e2287 05:11:12 Step 11/24 : COPY . . 05:11:13 ---> acdde38b5d49 05:11:13 Step 12/24 : RUN ${MAKE} 05:11:13 ---> Running in dad55c186fba 05:11:13 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:11:35 Removing intermediate container dad55c186fba 05:11:35 ---> ef02439585e8 05:11:35 Step 13/24 : FROM alpine:3.14 05:11:35 3.14: Pulling from library/alpine 05:11:35 8663204ce13b: Pulling fs layer 05:11:35 8663204ce13b: Verifying Checksum 05:11:35 8663204ce13b: Download complete 05:11:35 8663204ce13b: Pull complete 05:11:35 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 05:11:35 Status: Downloaded newer image for alpine:3.14 05:11:35 ---> e04c818066af 05:11:35 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 05:11:35 ---> Running in 9cbf81caaec3 05:11:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 05:11:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 05:11:35 (1/6) Installing dumb-init (1.2.5-r1) 05:11:35 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:11:35 (3/6) Installing libsodium (1.0.18-r0) 05:11:35 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:11:35 (5/6) Installing libzmq (4.3.4-r0) 05:11:35 (6/6) Installing zeromq (4.3.4-r0) 05:11:35 Executing busybox-1.33.1-r7.trigger 05:11:35 OK: 8 MiB in 20 packages 05:11:35 Removing intermediate container 9cbf81caaec3 05:11:35 ---> 704028c02e59 05:11:35 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 05:11:36 ---> 47bd6ad8d455 05:11:36 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:11:36 ---> 51ff8bc9e937 05:11:36 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 05:11:36 ---> 1e3a5dee4a68 05:11:36 Step 18/24 : EXPOSE 59993 05:11:36 ---> Running in 747d8e6c9a00 05:11:36 Removing intermediate container 747d8e6c9a00 05:11:36 ---> 3ec4dbe9e076 05:11:36 Step 19/24 : EXPOSE 161 05:11:36 ---> Running in b3a94f5af124 05:11:37 Removing intermediate container b3a94f5af124 05:11:37 ---> 1725bedadc3a 05:11:37 Step 20/24 : ENTRYPOINT ["/device-snmp"] 05:11:37 ---> Running in c137c3b52539 05:11:37 Removing intermediate container c137c3b52539 05:11:37 ---> 1dc75792d896 05:11:37 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 05:11:37 ---> Running in 5e65d0b9812b 05:11:37 Removing intermediate container 5e65d0b9812b 05:11:37 ---> 9b1182b64aca 05:11:37 Step 22/24 : LABEL arch=amd64 05:11:37 ---> Running in b1a4615205a2 05:11:37 Removing intermediate container b1a4615205a2 05:11:37 ---> 37b7bd41fbe8 05:11:37 Step 23/24 : LABEL git_sha=d3a0476db4081a110be7875d7563183586f98bed 05:11:37 ---> Running in e228e1a1a2b3 05:11:37 Removing intermediate container e228e1a1a2b3 05:11:37 ---> 4c56df0fb9da 05:11:37 Step 24/24 : LABEL version=0.0.0 05:11:37 ---> Running in a3e4ed4b01f7 05:11:37 Removing intermediate container a3e4ed4b01f7 05:11:37 ---> 838fb498306c 05:11:37 [Warning] One or more build-args [ARCH] were not consumed 05:11:37 Successfully built 838fb498306c 05:11:37 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:11:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:11:38 05:11:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 05:11:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:11:38 latest: Pulling from edgex-lftools-log-publisher 05:11:38 5eb5b503b376: Pulling fs layer 05:11:38 5c69ac0246d0: Pulling fs layer 05:11:38 ec43610c2a17: Pulling fs layer 05:11:38 3a2ae6a8a46f: Pulling fs layer 05:11:38 33b1e0a273af: Pulling fs layer 05:11:38 5d3b04190fa2: Pulling fs layer 05:11:38 2f39f015ded8: Pulling fs layer 05:11:38 33b1e0a273af: Waiting 05:11:38 5d3b04190fa2: Waiting 05:11:38 2f39f015ded8: Waiting 05:11:38 3a2ae6a8a46f: Waiting 05:11:38 5c69ac0246d0: Verifying Checksum 05:11:38 5c69ac0246d0: Download complete 05:11:38 33b1e0a273af: Verifying Checksum 05:11:38 33b1e0a273af: Download complete 05:11:38 5d3b04190fa2: Verifying Checksum 05:11:38 5d3b04190fa2: Download complete 05:11:38 ec43610c2a17: Verifying Checksum 05:11:38 ec43610c2a17: Download complete 05:11:39 5eb5b503b376: Verifying Checksum 05:11:39 5eb5b503b376: Download complete 05:11:39 2f39f015ded8: Download complete 05:11:40 5eb5b503b376: Pull complete 05:11:40 5c69ac0246d0: Pull complete 05:11:41 ec43610c2a17: Pull complete 05:11:41 3a2ae6a8a46f: Pull complete 05:11:41 33b1e0a273af: Pull complete 05:11:41 5d3b04190fa2: Pull complete 05:11:46 2f39f015ded8: Pull complete 05:11:46 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:11:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:11:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 05:11:46 prd-ubuntu20.04-docker-8c-8g-34417 does not seem to be running inside a container 05:11:46 $ 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-165 -v /w/workspace/gexfoundry_device-snmp-go_PR-165:/w/workspace/gexfoundry_device-snmp-go_PR-165:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-165@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-165@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:11:49 $ docker top 1c28b4d8b0c770658b030c352497aca4b99353166fd50967d5165edc903c1f47 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:11:50 ---> job-cost.sh 05:11:50 lf-activate-venv: SKIPPING 05:11:50 INFO: No Stack... 05:11:50 INFO: Retrieving Pricing Info for: v3-standard-8 05:11:50 INFO: Archiving Costs [Pipeline] sh 05:11:51 + cat /w/workspace/gexfoundry_device-snmp-go_PR-165/archives/cost.csv 05:11:51 + cut -d, -f6 [Pipeline] lock 05:11:51 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-165-1-stack-cost] 05:11:51 Resource [jenkins-edgexfoundry-device-snmp-go-PR-165-1-stack-cost] did not exist. Created. 05:11:51 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-165-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:11:51 + echo total: 0.2199999988079071 [Pipeline] stash 05:11:51 Stashed 1 file(s) [Pipeline] } 05:11:51 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-165-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:11:51 $ docker stop --time=1 1c28b4d8b0c770658b030c352497aca4b99353166fd50967d5165edc903c1f47 05:11:53 $ docker rm -f 1c28b4d8b0c770658b030c352497aca4b99353166fd50967d5165edc903c1f47 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:14:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-34459 in /w/workspace/gexfoundry_device-snmp-go_PR-165 [Pipeline] { [Pipeline] ws 05:14:55 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 05:14:55 Selected Git installation does not exist. Using Default 05:14:55 The recommended git tool is: NONE 05:15:03 using credential edgex-jenkins-ssh 05:15:03 Cloning the remote Git repository 05:15:03 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 05:15:03 > git init /w/workspace/device-snmp-go/1 # timeout=10 05:15:03 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:15:03 > git --version # timeout=10 05:15:03 > git --version # 'git version 2.25.1' 05:15:03 using GIT_SSH to set credentials SSH Credentials for GitHub 05:15:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:15:04 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:15:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:15:04 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:15:04 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:15:04 using GIT_SSH to set credentials SSH Credentials for GitHub 05:15:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/165/head:refs/remotes/origin/PR-165 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:15:05 Merging remotes/origin/main commit a672eeb6ec92b4d90420405cd1acfac3e3196a2e into PR head commit d3a0476db4081a110be7875d7563183586f98bed 05:15:05 Merge succeeded, producing d3a0476db4081a110be7875d7563183586f98bed 05:15:05 Checking out Revision d3a0476db4081a110be7875d7563183586f98bed (PR-165) 05:15:05 > git config core.sparsecheckout # timeout=10 05:15:05 > git checkout -f d3a0476db4081a110be7875d7563183586f98bed # timeout=10 05:15:05 > git remote # timeout=10 05:15:05 > git config --get remote.origin.url # timeout=10 05:15:05 using GIT_SSH to set credentials SSH Credentials for GitHub 05:15:05 > git merge a672eeb6ec92b4d90420405cd1acfac3e3196a2e # timeout=10 05:15:05 > git rev-parse HEAD^{commit} # timeout=10 05:15:05 > git config core.sparsecheckout # timeout=10 05:15:05 > git checkout -f d3a0476db4081a110be7875d7563183586f98bed # timeout=10 05:15:09 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" 05:15:10 > git --version # timeout=10 05:15:10 > git --version # 'git version 2.25.1' 05:15:10 fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:15:11 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:15:11 % Total % Received % Xferd Average Speed Time Time Time Current 05:15:11 Dload Upload Total Spent Left Speed 05:15:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 80564 0 --:--:-- --:--:-- --:--:-- 80564 [Pipeline] sh 05:15:16 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:15:16 + sudo tee /etc/docker/daemon.new 05:15:16 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:15:16 { 05:15:16 "registry-mirrors": [ 05:15:16 "https://nexus3.edgexfoundry.org:10001" 05:15:16 ], 05:15:16 "bip": "10.250.0.254/24", 05:15:16 "hosts": [ 05:15:16 "tcp://0.0.0.0:5555", 05:15:16 "unix:///var/run/docker.sock" 05:15:16 ], 05:15:16 "mtu": 1458, 05:15:16 "selinux-enabled": true, 05:15:16 "seccomp-profile": "/etc/docker/seccomp.json" 05:15:16 } [Pipeline] sh 05:15:17 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:15:17 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:15:36 provisioning config files... 05:15:36 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config7815979883315080718tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:15:36 ---> docker-login.sh 05:15:36 nexus3.edgexfoundry.org:10001 05:15:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:15:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:15:37 Configure a credential helper to remove this warning. See 05:15:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:15:37 05:15:37 Login Succeeded 05:15:37 nexus3.edgexfoundry.org:10002 05:15:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:15:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:15:38 Configure a credential helper to remove this warning. See 05:15:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:15:38 05:15:38 Login Succeeded 05:15:38 nexus3.edgexfoundry.org:10003 05:15:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:15:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:15:38 Configure a credential helper to remove this warning. See 05:15:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:15:38 05:15:38 Login Succeeded 05:15:38 nexus3.edgexfoundry.org:10004 05:15:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:15:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:15:38 Configure a credential helper to remove this warning. See 05:15:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:15:38 05:15:38 Login Succeeded 05:15:38 docker.io 05:15:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:15:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:15:39 Configure a credential helper to remove this warning. See 05:15:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:15:39 05:15:39 Login Succeeded 05:15:39 ---> docker-login.sh ends [Pipeline] } 05:15:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:15:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:15:40 ========================================================= 05:15:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 05:15:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:15:40 + 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:15:41 Sending build context to Docker daemon 2.749MB 05:15:41 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 05:15:41 Step 2/12 : FROM ${BASE} AS builder 05:15:41 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:15:41 9b3977197b4f: Pulling fs layer 05:15:41 1a89e8eeedd5: Pulling fs layer 05:15:41 94645a83ff95: Pulling fs layer 05:15:41 3f3a8bcf1eab: Pulling fs layer 05:15:41 0c92f367c5e7: Pulling fs layer 05:15:41 3096ccb668a1: Pulling fs layer 05:15:41 e8cf19c19ddd: Pulling fs layer 05:15:41 a4caa8a26152: Pulling fs layer 05:15:41 3096ccb668a1: Waiting 05:15:41 e8cf19c19ddd: Waiting 05:15:41 a4caa8a26152: Waiting 05:15:41 3f3a8bcf1eab: Waiting 05:15:41 0c92f367c5e7: Waiting 05:15:41 94645a83ff95: Verifying Checksum 05:15:41 94645a83ff95: Download complete 05:15:41 1a89e8eeedd5: Verifying Checksum 05:15:41 1a89e8eeedd5: Download complete 05:15:41 0c92f367c5e7: Download complete 05:15:41 3096ccb668a1: Verifying Checksum 05:15:41 3096ccb668a1: Download complete 05:15:41 9b3977197b4f: Verifying Checksum 05:15:41 9b3977197b4f: Download complete 05:15:41 e8cf19c19ddd: Verifying Checksum 05:15:41 e8cf19c19ddd: Download complete 05:15:42 9b3977197b4f: Pull complete 05:15:42 1a89e8eeedd5: Pull complete 05:15:42 94645a83ff95: Pull complete 05:15:43 a4caa8a26152: Verifying Checksum 05:15:43 a4caa8a26152: Download complete 05:15:44 3f3a8bcf1eab: Verifying Checksum 05:15:44 3f3a8bcf1eab: Download complete 05:15:56 3f3a8bcf1eab: Pull complete 05:15:56 0c92f367c5e7: Pull complete 05:15:56 3096ccb668a1: Pull complete 05:15:56 e8cf19c19ddd: Pull complete 05:16:01 a4caa8a26152: Pull complete 05:16:01 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 05:16:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 05:16:01 ---> 725f1c02e7f9 05:16:01 Step 3/12 : ARG MAKE='make build' 05:16:03 ---> Running in c28987141860 05:16:03 Removing intermediate container c28987141860 05:16:03 ---> c79f964aca8c 05:16:03 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:16:04 ---> Running in c8e041a66e0c 05:16:04 Removing intermediate container c8e041a66e0c 05:16:04 ---> ac09b6fe0272 05:16:04 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 05:16:04 ---> Running in a910c93cec12 05:16:05 Removing intermediate container a910c93cec12 05:16:05 ---> 362e53a073ad 05:16:05 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:16:05 ---> Running in 465f38d36a58 05:16:07 Removing intermediate container 465f38d36a58 05:16:07 ---> 37ca7a61755a 05:16:07 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:16:07 ---> Running in 802a89ddac3c 05:16:08 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:16:09 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:16:10 (1/4) Installing openssh-keygen (8.8_p1-r1) 05:16:10 (2/4) Installing libedit (20210910.3.1-r0) 05:16:10 (3/4) Installing openssh-client-common (8.8_p1-r1) 05:16:10 (4/4) Installing openssh-client-default (8.8_p1-r1) 05:16:10 Executing busybox-1.34.1-r3.trigger 05:16:10 OK: 224 MiB in 56 packages 05:16:11 Removing intermediate container 802a89ddac3c 05:16:11 ---> 1b62f576e895 05:16:11 Step 8/12 : WORKDIR /device-snmp-go 05:16:11 ---> Running in 51770358f9c3 05:16:11 Removing intermediate container 51770358f9c3 05:16:11 ---> 24241e15c9b7 05:16:11 Step 9/12 : COPY go.mod vendor* ./ 05:16:12 ---> da8a249ddcf3 05:16:12 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:16:12 ---> Running in 94f60889f153 05:17:09 Removing intermediate container 94f60889f153 05:17:09 ---> 57c611e66374 05:17:09 Step 11/12 : COPY . . 05:17:09 ---> 05659c2e1669 05:17:09 Step 12/12 : RUN ${MAKE} 05:17:09 ---> Running in 791481fa5055 05:17:09 noop 05:17:09 Removing intermediate container 791481fa5055 05:17:09 ---> 600085c2c5a8 05:17:09 Successfully built 600085c2c5a8 05:17:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:17:09 + docker inspect -f . ci-base-image-arm64 05:17:09 . [Pipeline] withDockerContainer 05:17:09 prd-ubuntu20.04-docker-arm64-4c-16g-34459 does not seem to be running inside a container 05:17:09 $ 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 ******** -e ******** ci-base-image-arm64 cat 05:17:11 $ docker top de785239f14917b8453110812cc9f27c98d9e12d07da046c220486c64fa733cf -eo pid,comm [Pipeline] { [Pipeline] sh 05:17:12 + go version 05:17:12 go version go1.17.6 linux/arm64 [Pipeline] } 05:17:12 $ docker stop --time=1 de785239f14917b8453110812cc9f27c98d9e12d07da046c220486c64fa733cf 05:17:13 $ docker rm -f de785239f14917b8453110812cc9f27c98d9e12d07da046c220486c64fa733cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:17:15 + docker inspect -f . ci-base-image-arm64 05:17:15 . [Pipeline] withDockerContainer 05:17:15 prd-ubuntu20.04-docker-arm64-4c-16g-34459 does not seem to be running inside a container 05:17:15 $ 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 ******** -e ******** ci-base-image-arm64 cat 05:17:16 $ docker top 8c66ca7f235a28b2d04a1e7dbf6913284db798e6631536fe14b8ee5455364007 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:17:17 + make test 05:17:17 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:17:19 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:18:56 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:18:56 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.050s coverage: 0.0% of statements 05:18:56 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:18:56 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:19:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:19:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:19:23 ./bin/test-attribution-txt.sh [Pipeline] echo 05:19:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:19:23 $ docker stop --time=1 8c66ca7f235a28b2d04a1e7dbf6913284db798e6631536fe14b8ee5455364007 05:19:25 $ docker rm -f 8c66ca7f235a28b2d04a1e7dbf6913284db798e6631536fe14b8ee5455364007 [Pipeline] // withDockerContainer [Pipeline] sh 05:19:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:19:26 Warning: overwriting stash ‘coverage-report’ 05:19:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:19:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:19:28 + ls -al . 05:19:28 total 164 05:19:28 drwxrwxr-x 8 jenkins jenkins 4096 May 2 05:19 . 05:19:28 drwxrwxr-x 4 jenkins jenkins 4096 May 2 05:15 .. 05:19:28 -rw-rw-r-- 1 jenkins jenkins 6 May 2 05:15 .dockerignore 05:19:28 drwxrwxr-x 8 jenkins jenkins 4096 May 2 05:15 .git 05:19:28 drwxrwxr-x 3 jenkins jenkins 4096 May 2 05:15 .github 05:19:28 -rw-rw-r-- 1 jenkins jenkins 328 May 2 05:15 .gitignore 05:19:28 -rw-rw-r-- 1 jenkins jenkins 41 May 2 05:15 .golangci.yml 05:19:28 -rw-rw-r-- 1 jenkins jenkins 8296 May 2 05:15 Attribution.txt 05:19:28 -rw-rw-r-- 1 jenkins jenkins 4401 May 2 05:15 CHANGELOG.md 05:19:28 -rw-rw-r-- 1 jenkins jenkins 1516 May 2 05:15 Dockerfile 05:19:28 -rw-rw-r-- 1 jenkins jenkins 677 May 2 05:15 GOVERNANCE.md 05:19:28 -rw-rw-r-- 1 jenkins jenkins 656 May 2 05:15 Jenkinsfile 05:19:28 -rw-rw-r-- 1 jenkins jenkins 11340 May 2 05:15 LICENSE 05:19:28 -rw-rw-r-- 1 jenkins jenkins 1938 May 2 05:15 Makefile 05:19:28 -rw-rw-r-- 1 jenkins jenkins 620 May 2 05:15 OWNERS.md 05:19:28 -rw-rw-r-- 1 jenkins jenkins 9074 May 2 05:15 README.md 05:19:28 -rw-rw-r-- 1 jenkins jenkins 5 May 2 05:09 VERSION 05:19:28 drwxrwxr-x 2 jenkins jenkins 4096 May 2 05:15 bin 05:19:28 drwxrwxr-x 3 jenkins jenkins 4096 May 2 05:15 cmd 05:19:28 -rw-r--r-- 1 jenkins jenkins 7631 May 2 05:18 coverage.out 05:19:28 -rw-rw-r-- 1 jenkins jenkins 3296 May 2 05:15 go.mod 05:19:28 -rw-rw-r-- 1 jenkins jenkins 35793 May 2 05:15 go.sum 05:19:28 drwxrwxr-x 3 jenkins jenkins 4096 May 2 05:15 internal 05:19:28 drwxrwxr-x 3 jenkins jenkins 4096 May 2 05:15 snap 05:19:28 -rw-rw-r-- 1 jenkins jenkins 209 May 2 05:15 version.go [Pipeline] isUnix [Pipeline] sh 05:19:28 + 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=d3a0476db4081a110be7875d7563183586f98bed --label arch=arm64 --label version=0.0.0 . 05:19:29 Sending build context to Docker daemon 2.757MB 05:19:29 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 05:19:29 Step 2/24 : FROM ${BASE} AS builder 05:19:29 ---> 600085c2c5a8 05:19:29 Step 3/24 : ARG MAKE='make build' 05:19:29 ---> Running in f064fe9bc6dc 05:19:29 Removing intermediate container f064fe9bc6dc 05:19:29 ---> 5b76bd7ded63 05:19:29 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:19:29 ---> Running in 00042fb153a4 05:19:30 Removing intermediate container 00042fb153a4 05:19:30 ---> c0604e11e7b2 05:19:30 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 05:19:30 ---> Running in 98b229a8496e 05:19:30 Removing intermediate container 98b229a8496e 05:19:30 ---> aebade00597a 05:19:30 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:19:30 ---> Running in d8f44f5cad2b 05:19:32 Removing intermediate container d8f44f5cad2b 05:19:32 ---> 72763a09013d 05:19:32 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:19:32 ---> Running in b139ce198e19 05:19:33 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:19:34 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:19:35 OK: 224 MiB in 56 packages 05:19:36 Removing intermediate container b139ce198e19 05:19:36 ---> 13d69f9779dd 05:19:36 Step 8/24 : WORKDIR /device-snmp-go 05:19:36 ---> Running in 7a02b0ad2fea 05:19:36 Removing intermediate container 7a02b0ad2fea 05:19:36 ---> c6eaaad414b1 05:19:36 Step 9/24 : COPY go.mod vendor* ./ 05:19:37 ---> ab2888e26071 05:19:37 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:19:37 ---> Running in 8836975338bc 05:19:39 Removing intermediate container 8836975338bc 05:19:39 ---> 7c6e75e08916 05:19:39 Step 11/24 : COPY . . 05:19:40 ---> ac3792dc45d5 05:19:40 Step 12/24 : RUN ${MAKE} 05:19:40 ---> Running in b807277656e8 05:19:41 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:22:03 Removing intermediate container b807277656e8 05:22:03 ---> 881080a6d2cc 05:22:03 Step 13/24 : FROM alpine:3.14 05:22:03 3.14: Pulling from library/alpine 05:22:03 455c02918c45: Pulling fs layer 05:22:03 455c02918c45: Verifying Checksum 05:22:03 455c02918c45: Download complete 05:22:03 455c02918c45: Pull complete 05:22:03 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 05:22:03 Status: Downloaded newer image for alpine:3.14 05:22:03 ---> ac73e934f311 05:22:03 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 05:22:03 ---> Running in 4314396ed981 05:22:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 05:22:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 05:22:03 (1/6) Installing dumb-init (1.2.5-r1) 05:22:03 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:22:03 (3/6) Installing libsodium (1.0.18-r0) 05:22:03 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:22:03 (5/6) Installing libzmq (4.3.4-r0) 05:22:03 (6/6) Installing zeromq (4.3.4-r0) 05:22:03 Executing busybox-1.33.1-r7.trigger 05:22:03 OK: 8 MiB in 20 packages 05:22:03 Removing intermediate container 4314396ed981 05:22:03 ---> 60587ccdf9e2 05:22:03 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 05:22:03 ---> e5696c4c7920 05:22:03 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:22:03 ---> f06520b9c35d 05:22:03 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 05:22:03 ---> 1fbf73760019 05:22:03 Step 18/24 : EXPOSE 59993 05:22:03 ---> Running in a432cbd4dfc1 05:22:03 Removing intermediate container a432cbd4dfc1 05:22:03 ---> aab954a2f69c 05:22:03 Step 19/24 : EXPOSE 161 05:22:03 ---> Running in 8cf11f7fb3d6 05:22:04 Removing intermediate container 8cf11f7fb3d6 05:22:04 ---> c86c119b8373 05:22:04 Step 20/24 : ENTRYPOINT ["/device-snmp"] 05:22:04 ---> Running in 5013401b6c03 05:22:04 Removing intermediate container 5013401b6c03 05:22:04 ---> 519192a30f03 05:22:04 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 05:22:04 ---> Running in f72a9680fad8 05:22:05 Removing intermediate container f72a9680fad8 05:22:05 ---> f8acd4f15980 05:22:05 Step 22/24 : LABEL arch=arm64 05:22:05 ---> Running in f98e051f3cfb 05:22:05 Removing intermediate container f98e051f3cfb 05:22:05 ---> 13879c0915a2 05:22:05 Step 23/24 : LABEL git_sha=d3a0476db4081a110be7875d7563183586f98bed 05:22:05 ---> Running in a2318e503078 05:22:06 Removing intermediate container a2318e503078 05:22:06 ---> 754737459909 05:22:06 Step 24/24 : LABEL version=0.0.0 05:22:06 ---> Running in b1ec9dfb6032 05:22:06 Removing intermediate container b1ec9dfb6032 05:22:06 ---> a26b64523c06 05:22:06 [Warning] One or more build-args [ARCH] were not consumed 05:22:06 Successfully built a26b64523c06 05:22:06 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:22:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:22:07 05:22:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 05:22:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:22:07 arm64: Pulling from edgex-lftools-log-publisher 05:22:07 8998bd30e6a1: Pulling fs layer 05:22:07 04944245beec: Pulling fs layer 05:22:07 699f458cf7ca: Pulling fs layer 05:22:07 765212b225bb: Pulling fs layer 05:22:07 f23df028b6ca: Pulling fs layer 05:22:07 d65c8cfc05b1: Pulling fs layer 05:22:07 2437ff75d9bd: Pulling fs layer 05:22:07 f23df028b6ca: Waiting 05:22:07 d65c8cfc05b1: Waiting 05:22:07 765212b225bb: Waiting 05:22:07 04944245beec: Verifying Checksum 05:22:07 04944245beec: Download complete 05:22:07 765212b225bb: Verifying Checksum 05:22:07 765212b225bb: Download complete 05:22:08 f23df028b6ca: Verifying Checksum 05:22:08 f23df028b6ca: Download complete 05:22:08 d65c8cfc05b1: Verifying Checksum 05:22:08 d65c8cfc05b1: Download complete 05:22:08 699f458cf7ca: Download complete 05:22:08 8998bd30e6a1: Verifying Checksum 05:22:08 8998bd30e6a1: Download complete 05:22:10 2437ff75d9bd: Verifying Checksum 05:22:10 2437ff75d9bd: Download complete 05:22:13 8998bd30e6a1: Pull complete 05:22:13 04944245beec: Pull complete 05:22:14 699f458cf7ca: Pull complete 05:22:15 765212b225bb: Pull complete 05:22:16 f23df028b6ca: Pull complete 05:22:16 d65c8cfc05b1: Pull complete 05:22:31 2437ff75d9bd: Pull complete 05:22:31 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:22:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:22:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 05:22:31 prd-ubuntu20.04-docker-arm64-4c-16g-34459 does not seem to be running inside a container 05:22:31 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:22:35 $ docker top 6e2acbe5ef376e7d4c8c169f7f080374a9a52015c6ec24e9c9b543ab4f3a38c9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:22:36 ---> job-cost.sh 05:22:36 lf-activate-venv: SKIPPING 05:22:36 INFO: No Stack... 05:22:36 INFO: Retrieving Pricing Info for: v3-standard-4 05:22:37 INFO: Archiving Costs [Pipeline] sh 05:22:38 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 05:22:38 + cut -d, -f6 [Pipeline] lock 05:22:38 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-165-1-stack-cost] 05:22:38 Resource [jenkins-edgexfoundry-device-snmp-go-PR-165-1-stack-cost] did not exist. Created. 05:22:38 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-165-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:22:39 /w/workspace/device-snmp-go/1@tmp/durable-7d0b0b86/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:22:40 + echo total: 0.10999999940395355 [Pipeline] stash 05:22:40 Warning: overwriting stash ‘stack-cost’ 05:22:40 Stashed 1 file(s) [Pipeline] } 05:22:40 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-165-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:22:40 $ docker stop --time=1 6e2acbe5ef376e7d4c8c169f7f080374a9a52015c6ec24e9c9b543ab4f3a38c9 05:22:41 $ docker rm -f 6e2acbe5ef376e7d4c8c169f7f080374a9a52015c6ec24e9c9b543ab4f3a38c9 [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:22:43 provisioning config files... 05:22:43 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-165@tmp/config5964951937138332456tmp [Pipeline] { [Pipeline] sh 05:22:43 + set +x 05:22:43 + curl -s https://codecov.io/bash 05:22:43 + bash -s -- 05:22:43 05:22:43 _____ _ 05:22:43 / ____| | | 05:22:43 | | ___ __| | ___ ___ _____ __ 05:22:43 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:22:43 | |___| (_) | (_| | __/ (_| (_) \ V / 05:22:43 \_____\___/ \__,_|\___|\___\___/ \_/ 05:22:43 Bash-1.0.6 05:22:43 05:22:43 05:22:43 ==> git version 2.25.1 found 05:22:43 ==> 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:22:43 Release-Date: 2020-01-08 05:22:43 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:22:43 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:22:43 ==> Jenkins CI detected. 05:22:43 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-165 05:22:43 project root: . 05:22:43 --> token set from env 05:22:43 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:22:43 ==> Running gcov in . (disable via -X gcov) 05:22:43 ==> Python coveragepy not found 05:22:43 ==> Searching for coverage reports in: 05:22:43 + . 05:22:43 -> Found 1 reports 05:22:43 ==> Detecting git/mercurial file structure 05:22:43 ==> Reading reports 05:22:43 + ./coverage.out bytes=7631 05:22:43 ==> Appending adjustments 05:22:43 https://docs.codecov.io/docs/fixing-reports 05:22:43 + Found adjustments 05:22:43 ==> Gzipping contents 05:22:43 4.0K /tmp/codecov.taZjIU.gz 05:22:43 ==> Uploading reports 05:22:43 url: https://codecov.io 05:22:43 query: branch=PR-165&commit=d3a0476db4081a110be7875d7563183586f98bed&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-165%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=165&job=&cmd_args= 05:22:43 -> Pinging Codecov 05:22:43 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-165&commit=d3a0476db4081a110be7875d7563183586f98bed&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-165%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=165&job=&cmd_args= 05:22:43 -> Uploading to 05:22:43 https://storage.googleapis.com/codecov/v4/raw/2022-05-02/6C56EA5C29638FB4528AC87E60AF5AE0/d3a0476db4081a110be7875d7563183586f98bed/57f679ff-b519-4ab7-b68a-9d3f502f13d4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220502%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220502T052243Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=583399f61fa82d0ead934aeb82965121ca0becfbc4e59ccf7c9943c2e526a801 05:22:43 % Total % Received % Xferd Average Speed Time Time Time Current 05:22:43 Dload Upload Total Spent Left Speed 05:22:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1602 0 0 100 1602 0 7485 --:--:-- --:--:-- --:--:-- 7485 05:22:44 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/d3a0476db4081a110be7875d7563183586f98bed [Pipeline] } 05:22:44 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:22:45 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-165/archives ] 05:22:45 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-165/archives 05:22:45 total 16 05:22:45 drwxr-xr-x 3 root root 4096 May 2 05:11 . 05:22:45 drwxrwxr-x 10 jenkins jenkins 4096 May 2 05:11 .. 05:22:45 drwxr-xr-x 2 root root 4096 May 2 05:11 cost 05:22:45 -rw-r--r-- 1 root root 85 May 2 05:11 cost.csv 05:22:45 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-165/archives 05:22:45 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-165/archives 05:22:45 total 16 05:22:45 drwxr-xr-x 3 jenkins jenkins 4096 May 2 05:11 . 05:22:45 drwxrwxr-x 10 jenkins jenkins 4096 May 2 05:11 .. 05:22:45 drwxr-xr-x 2 jenkins jenkins 4096 May 2 05:11 cost 05:22:45 -rw-r--r-- 1 jenkins jenkins 85 May 2 05:11 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:22:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:22:47 ---> package-listing.sh 05:22:47 ++ facter osfamily 05:22:47 ++ tr '[:upper:]' '[:lower:]' 05:22:47 + OS_FAMILY=debian 05:22:47 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-165 05:22:47 + START_PACKAGES=/tmp/packages_start.txt 05:22:47 + END_PACKAGES=/tmp/packages_end.txt 05:22:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:22:47 + PACKAGES=/tmp/packages_start.txt 05:22:47 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-165 ']' 05:22:47 + PACKAGES=/tmp/packages_end.txt 05:22:47 + case "${OS_FAMILY}" in 05:22:47 + dpkg -l 05:22:47 + grep '^ii' 05:22:47 + '[' -f /tmp/packages_start.txt ']' 05:22:47 + '[' -f /tmp/packages_end.txt ']' 05:22:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:22:47 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-165 ']' 05:22:47 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-165/archives/ 05:22:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-165/archives/ [Pipeline] echo 05:22:47 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-165/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:22:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:22:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:22:48 . [Pipeline] withDockerContainer 05:22:48 prd-ubuntu20.04-docker-8c-8g-34417 does not seem to be running inside a container 05:22:48 $ 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-165/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-165 -v /w/workspace/gexfoundry_device-snmp-go_PR-165:/w/workspace/gexfoundry_device-snmp-go_PR-165:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-165@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-165@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:22:48 $ docker top 4f0062ecca72040a90402817d08574f6667293647509b7e11a842e1c3e9d0255 -eo pid,comm [Pipeline] { [Pipeline] sh 05:22:49 + touch /tmp/pre-build-complete [Pipeline] sh 05:22:49 + mkdir -p /var/log/sysstat [Pipeline] sh 05:22:49 + ls /var/log/sa-host 05:22:49 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:22:49 provisioning config files... 05:22:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-165@tmp/config3285266844057707821tmp [Pipeline] { [Pipeline] echo 05:22:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:22:50 ---> create-netrc.sh [Pipeline] } 05:22:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:22:50 ---> python-tools-install.sh [Pipeline] echo 05:22:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:22:51 ---> sudo-logs.sh 05:22:51 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:22:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:22:51 ---> job-cost.sh 05:22:51 lf-activate-venv: SKIPPING 05:22:51 DEBUG: total: 0.2199999988079071 05:22:51 INFO: Retrieving Stack Cost... 05:22:52 INFO: Retrieving Pricing Info for: v3-standard-8 05:22:52 INFO: Archiving Costs [Pipeline] echo 05:22:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:22:52 ---> logs-deploy.sh 05:22:52 lf-activate-venv: SKIPPING 05:22:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-165/1 05:22:52 INFO: archiving workspace using pattern(s): 05:22:53 Archives upload complete. 05:22:53 INFO: archiving logs to Nexus