Pull request #167 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-snmp-go Loading trusted files from base branch main at d555bf136e773009b6ef88c6c814540d1eb4cbee rather than cb7395c9c1e46a9d5fe682f644b9ad9263a0d4a3 Obtained Jenkinsfile from d555bf136e773009b6ef88c6c814540d1eb4cbee 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-ssh1323537670941026777.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-ssh7275183439314284150.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-167/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-167/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh18016418392327755448.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-167/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6217752815160825217.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-ssh2220515497076141132.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-167/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-167/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh18116676481908686163.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 Running on prd-ubuntu20.04-docker-8c-8g-40544 in /w/workspace/gexfoundry_device-snmp-go_PR-167 [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-167 # 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 d555bf136e773009b6ef88c6c814540d1eb4cbee into PR head commit cb7395c9c1e46a9d5fe682f644b9ad9263a0d4a3 Merge succeeded, producing 0756feeefc7585bf0d34551aba14cd169a4f726e Checking out Revision 0756feeefc7585bf0d34551aba14cd169a4f726e (PR-167) > 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/167/head:refs/remotes/origin/PR-167 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cb7395c9c1e46a9d5fe682f644b9ad9263a0d4a3 # 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 d555bf136e773009b6ef88c6c814540d1eb4cbee # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0756feeefc7585bf0d34551aba14cd169a4f726e # timeout=10 Commit message: "Merge commit 'd555bf136e773009b6ef88c6c814540d1eb4cbee' into HEAD" 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 06:41:35 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:41:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:41:35 ========================================================= 06:41:35 EdgeX Global Pipelines Version Info 06:41:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:41:36 ------------------- 06:41:36 stable info: 06:41:36 ------------------- 06:41:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:41:36 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 06:41:36 Message: update stable to v1.0.227 06:41:36 ------------------- 06:41:36 experimental info: 06:41:36 ------------------- 06:41:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:41:36 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 06:41:36 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:41:37 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 06:41:37 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 06:41:37 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:41:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:41:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:41:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 06:41:37 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:41:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:41:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:41:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:41:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:41:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 06:41:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:41:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:41:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:41:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:41:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:41:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:41:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:41:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:41:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:41:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:41:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:41:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:41:38 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:41:38 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:41:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-167 [Pipeline] echo 06:41:38 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-167 [Pipeline] echo 06:41:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-167 [Pipeline] echo 06:41:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0756feeefc7585bf0d34551aba14cd169a4f726e [Pipeline] echo 06:41:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0756fee [Pipeline] echo 06:41:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:41:38 provisioning config files... 06:41:38 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-167@tmp/config4349920106841518086tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:41:38 ---> docker-login.sh 06:41:38 nexus3.edgexfoundry.org:10001 06:41:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:41:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:41:39 Configure a credential helper to remove this warning. See 06:41:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:41:39 06:41:39 Login Succeeded 06:41:39 nexus3.edgexfoundry.org:10002 06:41:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:41:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:41:39 Configure a credential helper to remove this warning. See 06:41:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:41:39 06:41:39 Login Succeeded 06:41:39 nexus3.edgexfoundry.org:10003 06:41:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:41:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:41:39 Configure a credential helper to remove this warning. See 06:41:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:41:39 06:41:39 Login Succeeded 06:41:39 nexus3.edgexfoundry.org:10004 06:41:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:41:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:41:39 Configure a credential helper to remove this warning. See 06:41:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:41:39 06:41:39 Login Succeeded 06:41:39 docker.io 06:41:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:41:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:41:40 Configure a credential helper to remove this warning. See 06:41:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:41:40 06:41:40 Login Succeeded 06:41:40 ---> docker-login.sh ends [Pipeline] } 06:41:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:41:40 + git rev-list -1 --merges 0756feeefc7585bf0d34551aba14cd169a4f726e~1..0756feeefc7585bf0d34551aba14cd169a4f726e [Pipeline] echo 06:41:40 -----------> git rev-list -1 --merges 0756feeefc7585bf0d34551aba14cd169a4f726e~1..0756feeefc7585bf0d34551aba14cd169a4f726e 0756feeefc7585bf0d34551aba14cd169a4f726e 06:41:40 0756feeefc7585bf0d34551aba14cd169a4f726e [false] [Pipeline] sh 06:41:41 + git log --format=format:%s -1 0756feeefc7585bf0d34551aba14cd169a4f726e [Pipeline] echo 06:41:41 ========================================================= 06:41:41 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:41:41 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:41:41 + git log --format=format:%s -1 0756feeefc7585bf0d34551aba14cd169a4f726e [Pipeline] echo 06:41:41 [semverPrep] GIT_COMMIT: 0756feeefc7585bf0d34551aba14cd169a4f726e, Commit Message: Merge commit 'd555bf136e773009b6ef88c6c814540d1eb4cbee' into HEAD [Pipeline] echo 06:41:41 [semverPrep] This is not a build commit. [Pipeline] sh 06:41:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:41:42 + grep -v github /etc/ssh/ssh_known_hosts 06:41:42 + [ -e /tmp/ssh_known_hosts ] 06:41:42 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:41:42 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:41:42 + sudo tee -a /etc/ssh/ssh_known_hosts 06:41:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 06:41:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:41:42 06:41:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:41:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:41:42 latest: Pulling from edgex-devops/py-git-semver 06:41:42 1fe172e4850f: Pulling fs layer 06:41:42 caf521ccaac6: Pulling fs layer 06:41:42 3ead6fa29328: Pulling fs layer 06:41:42 5c2a1cbceb83: Pulling fs layer 06:41:42 a8d5f1318db7: Pulling fs layer 06:41:42 c427282e49a2: Pulling fs layer 06:41:42 1827001aaf11: Pulling fs layer 06:41:42 5c2a1cbceb83: Waiting 06:41:42 a8d5f1318db7: Waiting 06:41:42 c427282e49a2: Waiting 06:41:42 0714d37db230: Pulling fs layer 06:41:42 ac28cf19c067: Pulling fs layer 06:41:42 0714d37db230: Waiting 06:41:42 ca983d60f3e2: Pulling fs layer 06:41:42 9f894cec8388: Pulling fs layer 06:41:42 ac28cf19c067: Waiting 06:41:42 9f894cec8388: Waiting 06:41:42 ca983d60f3e2: Waiting 06:41:42 caf521ccaac6: Download complete 06:41:42 5c2a1cbceb83: Verifying Checksum 06:41:42 5c2a1cbceb83: Download complete 06:41:43 a8d5f1318db7: Verifying Checksum 06:41:43 a8d5f1318db7: Download complete 06:41:43 3ead6fa29328: Verifying Checksum 06:41:43 3ead6fa29328: Download complete 06:41:43 c427282e49a2: Verifying Checksum 06:41:43 c427282e49a2: Download complete 06:41:43 0714d37db230: Download complete 06:41:43 ac28cf19c067: Download complete 06:41:43 ca983d60f3e2: Download complete 06:41:43 9f894cec8388: Verifying Checksum 06:41:43 9f894cec8388: Download complete 06:41:43 1fe172e4850f: Verifying Checksum 06:41:43 1fe172e4850f: Download complete 06:41:43 1827001aaf11: Verifying Checksum 06:41:43 1827001aaf11: Download complete 06:41:44 1fe172e4850f: Pull complete 06:41:44 caf521ccaac6: Pull complete 06:41:45 3ead6fa29328: Pull complete 06:41:45 5c2a1cbceb83: Pull complete 06:41:45 a8d5f1318db7: Pull complete 06:41:45 c427282e49a2: Pull complete 06:41:47 1827001aaf11: Pull complete 06:41:47 0714d37db230: Pull complete 06:41:47 ac28cf19c067: Pull complete 06:41:48 ca983d60f3e2: Pull complete 06:41:48 9f894cec8388: Pull complete 06:41:48 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 06:41:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:41:48 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 06:41:48 prd-ubuntu20.04-docker-8c-8g-40544 does not seem to be running inside a container 06:41:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-167 -v /w/workspace/gexfoundry_device-snmp-go_PR-167:/w/workspace/gexfoundry_device-snmp-go_PR-167:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-167@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-167@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-devops/py-git-semver:latest cat 06:41:49 $ docker top bb5b45b8a4692884882d1ca0f4373405a8884cebe6496d23522adf91db901203 -eo pid,comm 06:41:49 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). 06:41:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:41:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:41:49 [ssh-agent] Looking for ssh-agent implementation... 06:41:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:41:50 $ docker exec bb5b45b8a4692884882d1ca0f4373405a8884cebe6496d23522adf91db901203 ssh-agent 06:41:50 SSH_AUTH_SOCK=/tmp/ssh-FyfMTfXxjreG/agent.32 06:41:50 SSH_AGENT_PID=38 06:41:50 Running ssh-add (command line suppressed) 06:41:50 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-167@tmp/private_key_6268421871182462830.key (/w/workspace/gexfoundry_device-snmp-go_PR-167@tmp/private_key_6268421871182462830.key) 06:41:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:41:50 + git tag --points-at HEAD [Pipeline] } 06:41:50 $ docker exec --env ******** --env ******** bb5b45b8a4692884882d1ca0f4373405a8884cebe6496d23522adf91db901203 ssh-agent -k 06:41:50 unset SSH_AUTH_SOCK; 06:41:50 unset SSH_AGENT_PID; 06:41:50 echo Agent pid 38 killed; 06:41:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:41:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:41:50 [ssh-agent] Looking for ssh-agent implementation... 06:41:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:41:51 $ docker exec bb5b45b8a4692884882d1ca0f4373405a8884cebe6496d23522adf91db901203 ssh-agent 06:41:51 SSH_AUTH_SOCK=/tmp/ssh-QpZYXJYc1qsn/agent.70 06:41:51 SSH_AGENT_PID=77 06:41:51 Running ssh-add (command line suppressed) 06:41:51 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-167@tmp/private_key_9092438461108580126.key (/w/workspace/gexfoundry_device-snmp-go_PR-167@tmp/private_key_9092438461108580126.key) 06:41:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:41:51 + git semver init 06:41:51 2022-05-06 06:41:51,874 [run_init] DEBUG init version:0.0.0 force:False 06:41:51 2022-05-06 06:41:51,875 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-167/.semver 06:41:51 2022-05-06 06:41:51,876 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-167/.semver 06:41:51 2022-05-06 06:41:51,876 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-167/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-167, universal_newlines=False, shell=None, istream=None) 06:41:52 2022-05-06 06:41:52,691 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-167/.git/info/exclude 06:41:52 2022-05-06 06:41:52,691 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-167/.semver/PR-167 with force:False 06:41:52 2022-05-06 06:41:52,692 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-167/.semver/PR-167 06:41:52 2022-05-06 06:41:52,696 [execute] INFO git cat-file --batch-check 06:41:52 2022-05-06 06:41:52,697 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-167/.semver, universal_newlines=False, shell=None, istream=) 06:41:52 2022-05-06 06:41:52,704 [execute] INFO git cat-file --batch 06:41:52 2022-05-06 06:41:52,704 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-167/.semver, universal_newlines=False, shell=None, istream=) 06:41:52 2022-05-06 06:41:52,710 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-167/.semver/PR-167 06:41:52 0.0.0 [Pipeline] } 06:41:52 $ docker exec --env ******** --env ******** bb5b45b8a4692884882d1ca0f4373405a8884cebe6496d23522adf91db901203 ssh-agent -k 06:41:53 unset SSH_AUTH_SOCK; 06:41:53 unset SSH_AGENT_PID; 06:41:53 echo Agent pid 77 killed; 06:41:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:41:53 + git semver [Pipeline] } 06:41:53 $ docker stop --time=1 bb5b45b8a4692884882d1ca0f4373405a8884cebe6496d23522adf91db901203 06:41:55 $ docker rm -f bb5b45b8a4692884882d1ca0f4373405a8884cebe6496d23522adf91db901203 [Pipeline] // withDockerContainer [Pipeline] sh 06:41:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:41:55 Stashed 1 file(s) [Pipeline] echo 06:41:55 [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 06:41:56 provisioning config files... 06:41:56 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-167@tmp/config6392632718333868151tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:41:56 ---> docker-login.sh 06:41:56 nexus3.edgexfoundry.org:10001 06:41:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:41:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:41:56 Configure a credential helper to remove this warning. See 06:41:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:41:56 06:41:56 Login Succeeded 06:41:56 nexus3.edgexfoundry.org:10002 06:41:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:41:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:41:57 Configure a credential helper to remove this warning. See 06:41:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:41:57 06:41:57 Login Succeeded 06:41:57 nexus3.edgexfoundry.org:10003 06:41:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:41:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:41:57 Configure a credential helper to remove this warning. See 06:41:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:41:57 06:41:57 Login Succeeded 06:41:57 nexus3.edgexfoundry.org:10004 06:41:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:41:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:41:57 Configure a credential helper to remove this warning. See 06:41:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:41:57 06:41:57 Login Succeeded 06:41:57 docker.io 06:41:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:41:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:41:57 Configure a credential helper to remove this warning. See 06:41:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:41:57 06:41:57 Login Succeeded 06:41:57 ---> docker-login.sh ends [Pipeline] } 06:41:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:41:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:41:57 ========================================================= 06:41:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 06:41:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 06:41:58 + 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 . 06:41:58 Sending build context to Docker daemon 5.333MB 06:41:58 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 06:41:58 Step 2/12 : FROM ${BASE} AS builder 06:41:58 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 06:41:58 59bf1c3509f3: Pulling fs layer 06:41:58 666ba61612fd: Pulling fs layer 06:41:58 8ed8ca486205: Pulling fs layer 06:41:58 4fe6c5a15a65: Pulling fs layer 06:41:58 22a0e8bec74d: Pulling fs layer 06:41:58 ca2b28591e48: Pulling fs layer 06:41:58 a51346096db8: Pulling fs layer 06:41:58 4fe6c5a15a65: Waiting 06:41:58 daebc70d1ce1: Pulling fs layer 06:41:58 0e18a0eac166: Pulling fs layer 06:41:58 22a0e8bec74d: Waiting 06:41:58 ca2b28591e48: Waiting 06:41:58 daebc70d1ce1: Waiting 06:41:58 8ed8ca486205: Verifying Checksum 06:41:58 8ed8ca486205: Download complete 06:41:58 666ba61612fd: Verifying Checksum 06:41:58 666ba61612fd: Download complete 06:41:58 22a0e8bec74d: Verifying Checksum 06:41:58 22a0e8bec74d: Download complete 06:41:58 ca2b28591e48: Verifying Checksum 06:41:58 ca2b28591e48: Download complete 06:41:58 59bf1c3509f3: Verifying Checksum 06:41:58 59bf1c3509f3: Download complete 06:41:58 a51346096db8: Verifying Checksum 06:41:58 a51346096db8: Download complete 06:41:58 daebc70d1ce1: Verifying Checksum 06:41:58 daebc70d1ce1: Download complete 06:41:58 59bf1c3509f3: Pull complete 06:41:58 666ba61612fd: Pull complete 06:41:58 8ed8ca486205: Pull complete 06:41:59 0e18a0eac166: Verifying Checksum 06:41:59 0e18a0eac166: Download complete 06:41:59 4fe6c5a15a65: Verifying Checksum 06:41:59 4fe6c5a15a65: Download complete 06:42:03 4fe6c5a15a65: Pull complete 06:42:03 22a0e8bec74d: Pull complete 06:42:03 ca2b28591e48: Pull complete 06:42:03 a51346096db8: Pull complete 06:42:03 daebc70d1ce1: Pull complete 06:42:05 0e18a0eac166: Pull complete 06:42:05 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 06:42:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 06:42:05 ---> f018257e8ee9 06:42:05 Step 3/12 : ARG MAKE='make build' 06:42:07 ---> Running in 09319d937660 06:42:07 Removing intermediate container 09319d937660 06:42:07 ---> a450fb16a463 06:42:07 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:42:07 ---> Running in 5dd06cf7ea9c 06:42:07 Removing intermediate container 5dd06cf7ea9c 06:42:07 ---> 42c3b6584b30 06:42:07 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 06:42:07 ---> Running in 995f81322784 06:42:07 Removing intermediate container 995f81322784 06:42:07 ---> 4efa76caf3c6 06:42:07 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:42:07 ---> Running in 0113c1222b47 06:42:08 Removing intermediate container 0113c1222b47 06:42:08 ---> 5629f354035f 06:42:08 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:42:08 ---> Running in 8923184ba55c 06:42:08 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:42:09 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:42:09 (1/4) Installing openssh-keygen (8.8_p1-r1) 06:42:09 (2/4) Installing libedit (20210910.3.1-r0) 06:42:10 (3/4) Installing openssh-client-common (8.8_p1-r1) 06:42:10 (4/4) Installing openssh-client-default (8.8_p1-r1) 06:42:10 Executing busybox-1.34.1-r3.trigger 06:42:10 OK: 224 MiB in 56 packages 06:42:10 Removing intermediate container 8923184ba55c 06:42:10 ---> 0dcc7dcaf5a0 06:42:10 Step 8/12 : WORKDIR /device-snmp-go 06:42:10 ---> Running in 0744be36a492 06:42:10 Removing intermediate container 0744be36a492 06:42:10 ---> acf2e2e0f71a 06:42:10 Step 9/12 : COPY go.mod vendor* ./ 06:42:10 ---> 94ef55b5d4b6 06:42:10 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:42:10 ---> Running in fdfacea856eb 06:42:11 Still waiting to schedule task 06:42:11 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 06:42:25 Removing intermediate container fdfacea856eb 06:42:25 ---> 788c451be7a7 06:42:25 Step 11/12 : COPY . . 06:42:25 ---> 614db5ea116c 06:42:25 Step 12/12 : RUN ${MAKE} 06:42:25 ---> Running in c9c649aea9a3 06:42:25 noop 06:42:26 Removing intermediate container c9c649aea9a3 06:42:26 ---> d5417325c589 06:42:26 Successfully built d5417325c589 06:42:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:42:26 + docker inspect -f . ci-base-image-x86_64 06:42:26 . [Pipeline] withDockerContainer 06:42:26 prd-ubuntu20.04-docker-8c-8g-40544 does not seem to be running inside a container 06:42:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-167 -v /w/workspace/gexfoundry_device-snmp-go_PR-167:/w/workspace/gexfoundry_device-snmp-go_PR-167:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-167@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-167@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:42:26 $ docker top 1042ba5ee0b4d1fd2ab381251a3444e064a79e9664705ff0ecd29196c47ffccd -eo pid,comm [Pipeline] { [Pipeline] sh 06:42:27 + go version 06:42:27 go version go1.17.6 linux/amd64 [Pipeline] } 06:42:27 $ docker stop --time=1 1042ba5ee0b4d1fd2ab381251a3444e064a79e9664705ff0ecd29196c47ffccd 06:42:28 $ docker rm -f 1042ba5ee0b4d1fd2ab381251a3444e064a79e9664705ff0ecd29196c47ffccd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:42:29 + docker inspect -f . ci-base-image-x86_64 06:42:29 . [Pipeline] withDockerContainer 06:42:29 prd-ubuntu20.04-docker-8c-8g-40544 does not seem to be running inside a container 06:42:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-167 -v /w/workspace/gexfoundry_device-snmp-go_PR-167:/w/workspace/gexfoundry_device-snmp-go_PR-167:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-167@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-167@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:42:29 $ docker top f3d11e2ff512e9a7339abf8597eb13ab100268468f321622ca05897c00563333 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 06:42:30 + make test 06:42:30 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:42:30 ? github.com/edgexfoundry/device-snmp-go [no test files] 06:42:40 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 06:42:40 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.015s coverage: 0.0% of statements 06:42:48 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:42:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:42:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:42:52 ./bin/test-attribution-txt.sh [Pipeline] echo 06:42:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:42:52 $ docker stop --time=1 f3d11e2ff512e9a7339abf8597eb13ab100268468f321622ca05897c00563333 06:42:54 $ docker rm -f f3d11e2ff512e9a7339abf8597eb13ab100268468f321622ca05897c00563333 [Pipeline] // withDockerContainer [Pipeline] sh 06:42:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:42:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:42:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:42:55 + ls -al . 06:42:55 total 168 06:42:55 drwxrwxr-x 9 jenkins jenkins 4096 May 6 06:42 . 06:42:55 drwxrwxr-x 4 jenkins jenkins 4096 May 6 06:41 .. 06:42:55 -rw-rw-r-- 1 jenkins jenkins 6 May 6 06:41 .dockerignore 06:42:55 drwxrwxr-x 8 jenkins jenkins 4096 May 6 06:41 .git 06:42:55 drwxrwxr-x 3 jenkins jenkins 4096 May 6 06:41 .github 06:42:55 -rw-rw-r-- 1 jenkins jenkins 328 May 6 06:41 .gitignore 06:42:55 -rw-rw-r-- 1 jenkins jenkins 41 May 6 06:41 .golangci.yml 06:42:55 drwxr-xr-x 3 jenkins jenkins 4096 May 6 06:41 .semver 06:42:55 -rw-rw-r-- 1 jenkins jenkins 8296 May 6 06:41 Attribution.txt 06:42:55 -rw-rw-r-- 1 jenkins jenkins 4401 May 6 06:41 CHANGELOG.md 06:42:55 -rw-rw-r-- 1 jenkins jenkins 1516 May 6 06:41 Dockerfile 06:42:55 -rw-rw-r-- 1 jenkins jenkins 677 May 6 06:41 GOVERNANCE.md 06:42:55 -rw-rw-r-- 1 jenkins jenkins 656 May 6 06:41 Jenkinsfile 06:42:55 -rw-rw-r-- 1 jenkins jenkins 11340 May 6 06:41 LICENSE 06:42:55 -rw-rw-r-- 1 jenkins jenkins 1938 May 6 06:41 Makefile 06:42:55 -rw-rw-r-- 1 jenkins jenkins 620 May 6 06:41 OWNERS.md 06:42:55 -rw-rw-r-- 1 jenkins jenkins 9390 May 6 06:41 README.md 06:42:55 -rw-rw-r-- 1 jenkins jenkins 5 May 6 06:41 VERSION 06:42:55 drwxrwxr-x 2 jenkins jenkins 4096 May 6 06:41 bin 06:42:55 drwxrwxr-x 3 jenkins jenkins 4096 May 6 06:41 cmd 06:42:55 -rw-r--r-- 1 jenkins jenkins 7631 May 6 06:42 coverage.out 06:42:55 -rw-rw-r-- 1 jenkins jenkins 3296 May 6 06:41 go.mod 06:42:55 -rw-rw-r-- 1 jenkins jenkins 35911 May 6 06:41 go.sum 06:42:55 drwxrwxr-x 3 jenkins jenkins 4096 May 6 06:41 internal 06:42:55 drwxrwxr-x 3 jenkins jenkins 4096 May 6 06:41 snap 06:42:55 -rw-rw-r-- 1 jenkins jenkins 209 May 6 06:41 version.go [Pipeline] isUnix [Pipeline] sh 06:42:56 + 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=0756feeefc7585bf0d34551aba14cd169a4f726e --label arch=amd64 --label version=0.0.0 . 06:42:56 Sending build context to Docker daemon 5.341MB 06:42:56 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 06:42:56 Step 2/24 : FROM ${BASE} AS builder 06:42:56 ---> d5417325c589 06:42:56 Step 3/24 : ARG MAKE='make build' 06:42:56 ---> Running in 828acc1ba756 06:42:56 Removing intermediate container 828acc1ba756 06:42:56 ---> 9b56d59089f2 06:42:56 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:42:56 ---> Running in 266d59a3cc1e 06:42:56 Removing intermediate container 266d59a3cc1e 06:42:56 ---> 8c42ab4898d1 06:42:56 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 06:42:56 ---> Running in ea357f0dcfc4 06:42:56 Removing intermediate container ea357f0dcfc4 06:42:56 ---> a4a4014d028a 06:42:56 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:42:56 ---> Running in c075fd6ecc7d 06:42:57 Removing intermediate container c075fd6ecc7d 06:42:57 ---> 4ec52920f6cf 06:42:57 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:42:57 ---> Running in 5ed6e3788898 06:42:57 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:42:58 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:42:58 OK: 224 MiB in 56 packages 06:42:58 Removing intermediate container 5ed6e3788898 06:42:58 ---> bb3ef0297ba6 06:42:58 Step 8/24 : WORKDIR /device-snmp-go 06:42:59 ---> Running in b938d5180539 06:42:59 Removing intermediate container b938d5180539 06:42:59 ---> 170b8f965ae9 06:42:59 Step 9/24 : COPY go.mod vendor* ./ 06:42:59 ---> b7237dff2708 06:42:59 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:42:59 ---> Running in cc3c83b43c0a 06:43:00 Removing intermediate container cc3c83b43c0a 06:43:00 ---> dd5ae59e0ddb 06:43:00 Step 11/24 : COPY . . 06:43:00 ---> c836c15c3852 06:43:00 Step 12/24 : RUN ${MAKE} 06:43:00 ---> Running in d48675e57eba 06:43:00 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 06:43:22 Removing intermediate container d48675e57eba 06:43:22 ---> df75d05024dd 06:43:22 Step 13/24 : FROM alpine:3.14 06:43:22 3.14: Pulling from library/alpine 06:43:22 8663204ce13b: Pulling fs layer 06:43:22 8663204ce13b: Verifying Checksum 06:43:22 8663204ce13b: Download complete 06:43:22 8663204ce13b: Pull complete 06:43:22 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 06:43:22 Status: Downloaded newer image for alpine:3.14 06:43:22 ---> e04c818066af 06:43:22 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 06:43:23 ---> Running in c5190c6dfeae 06:43:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 06:43:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 06:43:23 (1/6) Installing dumb-init (1.2.5-r1) 06:43:23 (2/6) Installing libgcc (10.3.1_git20210424-r2) 06:43:23 (3/6) Installing libsodium (1.0.18-r0) 06:43:23 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 06:43:23 (5/6) Installing libzmq (4.3.4-r0) 06:43:23 (6/6) Installing zeromq (4.3.4-r0) 06:43:23 Executing busybox-1.33.1-r7.trigger 06:43:23 OK: 8 MiB in 20 packages 06:43:24 Removing intermediate container c5190c6dfeae 06:43:24 ---> dcad9faf8d7b 06:43:24 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 06:43:24 ---> a585fbc80e7a 06:43:24 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 06:43:24 ---> 47f1dd448609 06:43:24 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 06:43:25 ---> dc3841374d98 06:43:25 Step 18/24 : EXPOSE 59993 06:43:25 ---> Running in 94d005419c70 06:43:25 Removing intermediate container 94d005419c70 06:43:25 ---> 237d6eff88a1 06:43:25 Step 19/24 : EXPOSE 161 06:43:25 ---> Running in 682618c1f1b4 06:43:25 Removing intermediate container 682618c1f1b4 06:43:25 ---> 5b4a22e4554e 06:43:25 Step 20/24 : ENTRYPOINT ["/device-snmp"] 06:43:25 ---> Running in 56e5c62596e5 06:43:25 Removing intermediate container 56e5c62596e5 06:43:25 ---> 18007df41a4d 06:43:25 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 06:43:25 ---> Running in e495667edb5b 06:43:25 Removing intermediate container e495667edb5b 06:43:25 ---> 32e84a42605b 06:43:25 Step 22/24 : LABEL arch=amd64 06:43:25 ---> Running in 54d05b1f05ed 06:43:25 Removing intermediate container 54d05b1f05ed 06:43:25 ---> 5e1718b68bfc 06:43:25 Step 23/24 : LABEL git_sha=0756feeefc7585bf0d34551aba14cd169a4f726e 06:43:25 ---> Running in c80dfec8aa2e 06:43:25 Removing intermediate container c80dfec8aa2e 06:43:25 ---> 12c62805abbb 06:43:25 Step 24/24 : LABEL version=0.0.0 06:43:25 ---> Running in fded6f4789fa 06:43:25 Removing intermediate container fded6f4789fa 06:43:25 ---> 9319c13c2a68 06:43:25 [Warning] One or more build-args [ARCH] were not consumed 06:43:25 Successfully built 9319c13c2a68 06:43:25 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 06:43:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:43:26 06:43:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 06:43:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:43:26 latest: Pulling from edgex-lftools-log-publisher 06:43:26 5eb5b503b376: Pulling fs layer 06:43:26 5c69ac0246d0: Pulling fs layer 06:43:26 ec43610c2a17: Pulling fs layer 06:43:26 3a2ae6a8a46f: Pulling fs layer 06:43:26 33b1e0a273af: Pulling fs layer 06:43:26 5d3b04190fa2: Pulling fs layer 06:43:26 2f39f015ded8: Pulling fs layer 06:43:26 3a2ae6a8a46f: Waiting 06:43:26 33b1e0a273af: Waiting 06:43:26 5d3b04190fa2: Waiting 06:43:26 5c69ac0246d0: Download complete 06:43:26 3a2ae6a8a46f: Verifying Checksum 06:43:26 3a2ae6a8a46f: Download complete 06:43:26 33b1e0a273af: Verifying Checksum 06:43:26 33b1e0a273af: Download complete 06:43:26 ec43610c2a17: Verifying Checksum 06:43:26 ec43610c2a17: Download complete 06:43:26 5d3b04190fa2: Download complete 06:43:27 5eb5b503b376: Verifying Checksum 06:43:27 5eb5b503b376: Download complete 06:43:27 2f39f015ded8: Download complete 06:43:28 5eb5b503b376: Pull complete 06:43:28 5c69ac0246d0: Pull complete 06:43:29 ec43610c2a17: Pull complete 06:43:29 3a2ae6a8a46f: Pull complete 06:43:29 33b1e0a273af: Pull complete 06:43:29 5d3b04190fa2: Pull complete 06:43:33 2f39f015ded8: Pull complete 06:43:33 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:43:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:43:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 06:43:33 prd-ubuntu20.04-docker-8c-8g-40544 does not seem to be running inside a container 06:43:33 $ 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-167 -v /w/workspace/gexfoundry_device-snmp-go_PR-167:/w/workspace/gexfoundry_device-snmp-go_PR-167:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-167@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-167@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:43:35 $ docker top 4c282a1e9ee1d32e70975f43625c63f05f41c6ff7bf9d3e5209df77270bdcb59 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:43:36 ---> job-cost.sh 06:43:36 lf-activate-venv: SKIPPING 06:43:36 INFO: No Stack... 06:43:36 INFO: Retrieving Pricing Info for: v3-standard-8 06:43:37 INFO: Archiving Costs [Pipeline] sh 06:43:37 + cat /w/workspace/gexfoundry_device-snmp-go_PR-167/archives/cost.csv 06:43:37 + cut -d, -f6 [Pipeline] lock 06:43:37 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-167-1-stack-cost] 06:43:37 Resource [jenkins-edgexfoundry-device-snmp-go-PR-167-1-stack-cost] did not exist. Created. 06:43:37 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-167-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:43:38 + echo total: 0.2199999988079071 [Pipeline] stash 06:43:38 Stashed 1 file(s) [Pipeline] } 06:43:38 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-167-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:43:38 $ docker stop --time=1 4c282a1e9ee1d32e70975f43625c63f05f41c6ff7bf9d3e5209df77270bdcb59 06:43:39 $ docker rm -f 4c282a1e9ee1d32e70975f43625c63f05f41c6ff7bf9d3e5209df77270bdcb59 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:45:30 Running on prd-ubuntu20.04-docker-arm64-4c-16g-40546 in /w/workspace/gexfoundry_device-snmp-go_PR-167 [Pipeline] { [Pipeline] ws 06:45:30 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 06:45:31 Selected Git installation does not exist. Using Default 06:45:31 The recommended git tool is: NONE 06:45:38 using credential edgex-jenkins-ssh 06:45:38 Cloning the remote Git repository 06:45:38 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 06:45:38 > git init /w/workspace/device-snmp-go/1 # timeout=10 06:45:38 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 06:45:38 > git --version # timeout=10 06:45:38 > git --version # 'git version 2.25.1' 06:45:38 using GIT_SSH to set credentials SSH Credentials for GitHub 06:45:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:45:40 Merging remotes/origin/main commit d555bf136e773009b6ef88c6c814540d1eb4cbee into PR head commit cb7395c9c1e46a9d5fe682f644b9ad9263a0d4a3 06:45:39 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 06:45:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:45:39 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 06:45:40 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 06:45:40 using GIT_SSH to set credentials SSH Credentials for GitHub 06:45:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/167/head:refs/remotes/origin/PR-167 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:45:40 > git config core.sparsecheckout # timeout=10 06:45:40 > git checkout -f cb7395c9c1e46a9d5fe682f644b9ad9263a0d4a3 # timeout=10 06:45:40 Merge succeeded, producing 259017e6f559af30df475305c910dffc7077af35 06:45:40 Checking out Revision 259017e6f559af30df475305c910dffc7077af35 (PR-167) 06:45:40 > git remote # timeout=10 06:45:40 > git config --get remote.origin.url # timeout=10 06:45:40 using GIT_SSH to set credentials SSH Credentials for GitHub 06:45:40 > git merge d555bf136e773009b6ef88c6c814540d1eb4cbee # timeout=10 06:45:40 > git rev-parse HEAD^{commit} # timeout=10 06:45:40 > git config core.sparsecheckout # timeout=10 06:45:40 > git checkout -f 259017e6f559af30df475305c910dffc7077af35 # timeout=10 06:45:45 Commit message: "Merge commit 'd555bf136e773009b6ef88c6c814540d1eb4cbee' into HEAD" 06:45:45 First time build. Skipping changelog. 06:45:45 > git --version # timeout=10 06:45:45 > git --version # 'git version 2.25.1' 06:45:45 fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:45:46 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:45:46 % Total % Received % Xferd Average Speed Time Time Time Current 06:45:46 Dload Upload Total Spent Left Speed 06:45:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 91806 0 --:--:-- --:--:-- --:--:-- 91806 [Pipeline] sh 06:45:46 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:45:47 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:45:47 + sudo tee /etc/docker/daemon.new 06:45:47 { 06:45:47 "registry-mirrors": [ 06:45:47 "https://nexus3.edgexfoundry.org:10001" 06:45:47 ], 06:45:47 "bip": "10.250.0.254/24", 06:45:47 "hosts": [ 06:45:47 "tcp://0.0.0.0:5555", 06:45:47 "unix:///var/run/docker.sock" 06:45:47 ], 06:45:47 "mtu": 1458, 06:45:47 "selinux-enabled": true, 06:45:47 "seccomp-profile": "/etc/docker/seccomp.json" 06:45:47 } [Pipeline] sh 06:45:47 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:45:48 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:46:06 provisioning config files... 06:46:06 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config3334933471146415226tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:46:07 ---> docker-login.sh 06:46:07 nexus3.edgexfoundry.org:10001 06:46:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:46:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:46:08 Configure a credential helper to remove this warning. See 06:46:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:46:08 06:46:08 Login Succeeded 06:46:08 nexus3.edgexfoundry.org:10002 06:46:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:46:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:46:08 Configure a credential helper to remove this warning. See 06:46:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:46:08 06:46:08 Login Succeeded 06:46:08 nexus3.edgexfoundry.org:10003 06:46:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:46:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:46:09 Configure a credential helper to remove this warning. See 06:46:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:46:09 06:46:09 Login Succeeded 06:46:09 nexus3.edgexfoundry.org:10004 06:46:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:46:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:46:09 Configure a credential helper to remove this warning. See 06:46:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:46:09 06:46:09 Login Succeeded 06:46:09 docker.io 06:46:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:46:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:46:10 Configure a credential helper to remove this warning. See 06:46:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:46:10 06:46:10 Login Succeeded 06:46:10 ---> docker-login.sh ends [Pipeline] } 06:46:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:46:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:46:10 ========================================================= 06:46:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 06:46:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 06:46:11 + 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 . 06:46:11 Sending build context to Docker daemon 2.766MB 06:46:11 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 06:46:11 Step 2/12 : FROM ${BASE} AS builder 06:46:11 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:46:11 9b3977197b4f: Pulling fs layer 06:46:11 1a89e8eeedd5: Pulling fs layer 06:46:11 94645a83ff95: Pulling fs layer 06:46:11 3f3a8bcf1eab: Pulling fs layer 06:46:11 0c92f367c5e7: Pulling fs layer 06:46:11 3096ccb668a1: Pulling fs layer 06:46:11 e8cf19c19ddd: Pulling fs layer 06:46:11 a4caa8a26152: Pulling fs layer 06:46:11 3f3a8bcf1eab: Waiting 06:46:11 0c92f367c5e7: Waiting 06:46:11 3096ccb668a1: Waiting 06:46:11 e8cf19c19ddd: Waiting 06:46:11 a4caa8a26152: Waiting 06:46:11 94645a83ff95: Download complete 06:46:11 1a89e8eeedd5: Download complete 06:46:11 0c92f367c5e7: Verifying Checksum 06:46:11 0c92f367c5e7: Download complete 06:46:11 3096ccb668a1: Verifying Checksum 06:46:11 3096ccb668a1: Download complete 06:46:11 9b3977197b4f: Verifying Checksum 06:46:11 9b3977197b4f: Download complete 06:46:11 e8cf19c19ddd: Verifying Checksum 06:46:11 e8cf19c19ddd: Download complete 06:46:12 9b3977197b4f: Pull complete 06:46:13 1a89e8eeedd5: Pull complete 06:46:13 94645a83ff95: Pull complete 06:46:13 a4caa8a26152: Verifying Checksum 06:46:13 a4caa8a26152: Download complete 06:46:14 3f3a8bcf1eab: Download complete 06:46:26 3f3a8bcf1eab: Pull complete 06:46:26 0c92f367c5e7: Pull complete 06:46:27 3096ccb668a1: Pull complete 06:46:27 e8cf19c19ddd: Pull complete 06:46:34 a4caa8a26152: Pull complete 06:46:34 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 06:46:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 06:46:34 ---> 725f1c02e7f9 06:46:34 Step 3/12 : ARG MAKE='make build' 06:46:35 ---> Running in 63c36ee5b689 06:46:35 Removing intermediate container 63c36ee5b689 06:46:35 ---> 7f594db6ae1d 06:46:35 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:46:35 ---> Running in fa4e4575d243 06:46:36 Removing intermediate container fa4e4575d243 06:46:36 ---> 1c0aa28b6202 06:46:36 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 06:46:36 ---> Running in 01308f5978b5 06:46:36 Removing intermediate container 01308f5978b5 06:46:36 ---> 15dff870f09d 06:46:36 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:46:36 ---> Running in a5fa7d866dca 06:46:38 Removing intermediate container a5fa7d866dca 06:46:38 ---> bf04f3d586e0 06:46:38 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:46:38 ---> Running in 03565acbab5f 06:46:39 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 06:46:40 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 06:46:41 (1/4) Installing openssh-keygen (8.8_p1-r1) 06:46:41 (2/4) Installing libedit (20210910.3.1-r0) 06:46:41 (3/4) Installing openssh-client-common (8.8_p1-r1) 06:46:41 (4/4) Installing openssh-client-default (8.8_p1-r1) 06:46:41 Executing busybox-1.34.1-r3.trigger 06:46:41 OK: 224 MiB in 56 packages 06:46:42 Removing intermediate container 03565acbab5f 06:46:42 ---> 7b8832a5b15f 06:46:42 Step 8/12 : WORKDIR /device-snmp-go 06:46:42 ---> Running in 7034a330a66c 06:46:42 Removing intermediate container 7034a330a66c 06:46:42 ---> 77e8f21b97b2 06:46:42 Step 9/12 : COPY go.mod vendor* ./ 06:46:43 ---> 9abe75a76ae2 06:46:43 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:46:43 ---> Running in 968f98c17819 06:47:30 Removing intermediate container 968f98c17819 06:47:30 ---> 90379f85f3be 06:47:30 Step 11/12 : COPY . . 06:47:30 ---> 655c867dab59 06:47:30 Step 12/12 : RUN ${MAKE} 06:47:30 ---> Running in 0a0920b03f1e 06:47:30 noop 06:47:30 Removing intermediate container 0a0920b03f1e 06:47:30 ---> f8326846a65b 06:47:30 Successfully built f8326846a65b 06:47:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:47:30 + docker inspect -f . ci-base-image-arm64 06:47:30 . [Pipeline] withDockerContainer 06:47:31 prd-ubuntu20.04-docker-arm64-4c-16g-40546 does not seem to be running inside a container 06:47:31 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:47:32 $ docker top 375eb4f5591b7a8cf0aa7ff27608d3aeb26513c2962d759f45b3fc0ef9418825 -eo pid,comm [Pipeline] { [Pipeline] sh 06:47:33 + go version 06:47:33 go version go1.17.6 linux/arm64 [Pipeline] } 06:47:33 $ docker stop --time=1 375eb4f5591b7a8cf0aa7ff27608d3aeb26513c2962d759f45b3fc0ef9418825 06:47:35 $ docker rm -f 375eb4f5591b7a8cf0aa7ff27608d3aeb26513c2962d759f45b3fc0ef9418825 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:47:36 + docker inspect -f . ci-base-image-arm64 06:47:36 . [Pipeline] withDockerContainer 06:47:36 prd-ubuntu20.04-docker-arm64-4c-16g-40546 does not seem to be running inside a container 06:47:36 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:47:37 $ docker top 4121cdadfb83290be4552caf6a74d4d22645d6d4dc1dfd2031206a24cc003c9b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 06:47:38 + make test 06:47:38 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:47:40 ? github.com/edgexfoundry/device-snmp-go [no test files] 06:49:02 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 06:49:02 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.044s coverage: 0.0% of statements 06:49:02 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:49:02 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:49:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:49:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:49:24 ./bin/test-attribution-txt.sh [Pipeline] echo 06:49:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:49:28 $ docker stop --time=1 4121cdadfb83290be4552caf6a74d4d22645d6d4dc1dfd2031206a24cc003c9b 06:49:29 $ docker rm -f 4121cdadfb83290be4552caf6a74d4d22645d6d4dc1dfd2031206a24cc003c9b [Pipeline] // withDockerContainer [Pipeline] sh 06:49:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:49:30 Warning: overwriting stash ‘coverage-report’ 06:49:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:49:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:49:32 + ls -al . 06:49:32 total 164 06:49:32 drwxrwxr-x 8 jenkins jenkins 4096 May 6 06:49 . 06:49:32 drwxrwxr-x 4 jenkins jenkins 4096 May 6 06:45 .. 06:49:32 -rw-rw-r-- 1 jenkins jenkins 6 May 6 06:45 .dockerignore 06:49:32 drwxrwxr-x 8 jenkins jenkins 4096 May 6 06:45 .git 06:49:32 drwxrwxr-x 3 jenkins jenkins 4096 May 6 06:45 .github 06:49:32 -rw-rw-r-- 1 jenkins jenkins 328 May 6 06:45 .gitignore 06:49:32 -rw-rw-r-- 1 jenkins jenkins 41 May 6 06:45 .golangci.yml 06:49:32 -rw-rw-r-- 1 jenkins jenkins 8296 May 6 06:45 Attribution.txt 06:49:32 -rw-rw-r-- 1 jenkins jenkins 4401 May 6 06:45 CHANGELOG.md 06:49:32 -rw-rw-r-- 1 jenkins jenkins 1516 May 6 06:45 Dockerfile 06:49:32 -rw-rw-r-- 1 jenkins jenkins 677 May 6 06:45 GOVERNANCE.md 06:49:32 -rw-rw-r-- 1 jenkins jenkins 656 May 6 06:45 Jenkinsfile 06:49:32 -rw-rw-r-- 1 jenkins jenkins 11340 May 6 06:45 LICENSE 06:49:32 -rw-rw-r-- 1 jenkins jenkins 1938 May 6 06:45 Makefile 06:49:32 -rw-rw-r-- 1 jenkins jenkins 620 May 6 06:45 OWNERS.md 06:49:32 -rw-rw-r-- 1 jenkins jenkins 9390 May 6 06:45 README.md 06:49:32 -rw-rw-r-- 1 jenkins jenkins 5 May 6 06:41 VERSION 06:49:32 drwxrwxr-x 2 jenkins jenkins 4096 May 6 06:45 bin 06:49:32 drwxrwxr-x 3 jenkins jenkins 4096 May 6 06:45 cmd 06:49:32 -rw-r--r-- 1 jenkins jenkins 7631 May 6 06:48 coverage.out 06:49:32 -rw-rw-r-- 1 jenkins jenkins 3296 May 6 06:45 go.mod 06:49:32 -rw-rw-r-- 1 jenkins jenkins 35911 May 6 06:45 go.sum 06:49:32 drwxrwxr-x 3 jenkins jenkins 4096 May 6 06:45 internal 06:49:32 drwxrwxr-x 3 jenkins jenkins 4096 May 6 06:45 snap 06:49:32 -rw-rw-r-- 1 jenkins jenkins 209 May 6 06:45 version.go [Pipeline] isUnix [Pipeline] sh 06:49:32 + 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=259017e6f559af30df475305c910dffc7077af35 --label arch=arm64 --label version=0.0.0 . 06:49:33 Sending build context to Docker daemon 2.775MB 06:49:33 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 06:49:33 Step 2/24 : FROM ${BASE} AS builder 06:49:33 ---> f8326846a65b 06:49:33 Step 3/24 : ARG MAKE='make build' 06:49:33 ---> Running in 05dfddeb6eaf 06:49:33 Removing intermediate container 05dfddeb6eaf 06:49:33 ---> f16a70c60c5b 06:49:33 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:49:34 ---> Running in 6966994a852a 06:49:34 Removing intermediate container 6966994a852a 06:49:34 ---> 8bf1d38fef41 06:49:34 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 06:49:34 ---> Running in 40def48d9b32 06:49:34 Removing intermediate container 40def48d9b32 06:49:34 ---> 327ccc70be90 06:49:34 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:49:34 ---> Running in 7ac2d8e755ba 06:49:36 Removing intermediate container 7ac2d8e755ba 06:49:36 ---> d15721ce2b5c 06:49:36 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:49:36 ---> Running in b099361e87e2 06:49:37 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 06:49:38 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 06:49:39 OK: 224 MiB in 56 packages 06:49:40 Removing intermediate container b099361e87e2 06:49:40 ---> 837ceeab1535 06:49:40 Step 8/24 : WORKDIR /device-snmp-go 06:49:40 ---> Running in 2fb2e00c18f9 06:49:40 Removing intermediate container 2fb2e00c18f9 06:49:40 ---> a54c14c5b639 06:49:40 Step 9/24 : COPY go.mod vendor* ./ 06:49:41 ---> 5956ccffb354 06:49:41 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:49:41 ---> Running in 9e52e6b0c418 06:49:43 Removing intermediate container 9e52e6b0c418 06:49:43 ---> e7b676f5f66e 06:49:43 Step 11/24 : COPY . . 06:49:44 ---> 0a86275f36a2 06:49:44 Step 12/24 : RUN ${MAKE} 06:49:44 ---> Running in f2a3d68f74f1 06:49:45 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 06:51:52 Removing intermediate container f2a3d68f74f1 06:51:52 ---> 6bddfd415d77 06:51:52 Step 13/24 : FROM alpine:3.14 06:51:52 3.14: Pulling from library/alpine 06:51:52 455c02918c45: Pulling fs layer 06:51:52 455c02918c45: Verifying Checksum 06:51:52 455c02918c45: Download complete 06:51:52 455c02918c45: Pull complete 06:51:52 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 06:51:52 Status: Downloaded newer image for alpine:3.14 06:51:52 ---> ac73e934f311 06:51:52 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 06:51:52 ---> Running in 9611027f3784 06:51:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 06:51:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 06:51:52 (1/6) Installing dumb-init (1.2.5-r1) 06:51:52 (2/6) Installing libgcc (10.3.1_git20210424-r2) 06:51:52 (3/6) Installing libsodium (1.0.18-r0) 06:51:52 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 06:51:52 (5/6) Installing libzmq (4.3.4-r0) 06:51:52 (6/6) Installing zeromq (4.3.4-r0) 06:51:52 Executing busybox-1.33.1-r7.trigger 06:51:52 OK: 8 MiB in 20 packages 06:51:53 Removing intermediate container 9611027f3784 06:51:53 ---> 46773b4a9a21 06:51:53 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 06:51:55 ---> ffa83f5877da 06:51:55 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 06:51:55 ---> e4cfcd988757 06:51:55 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 06:51:56 ---> ebb404242467 06:51:56 Step 18/24 : EXPOSE 59993 06:51:56 ---> Running in b9779321f021 06:51:56 Removing intermediate container b9779321f021 06:51:56 ---> b1d2bf9a789c 06:51:56 Step 19/24 : EXPOSE 161 06:51:56 ---> Running in 0fdb96556bea 06:51:56 Removing intermediate container 0fdb96556bea 06:51:56 ---> 164cde492969 06:51:56 Step 20/24 : ENTRYPOINT ["/device-snmp"] 06:51:56 ---> Running in 589d9989155a 06:51:57 Removing intermediate container 589d9989155a 06:51:57 ---> a6c47ab45abe 06:51:57 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 06:51:57 ---> Running in b607d5dac90f 06:51:57 Removing intermediate container b607d5dac90f 06:51:57 ---> 9760ce4189df 06:51:57 Step 22/24 : LABEL arch=arm64 06:51:57 ---> Running in a2ace43e73af 06:51:58 Removing intermediate container a2ace43e73af 06:51:58 ---> dd5d962b5c05 06:51:58 Step 23/24 : LABEL git_sha=259017e6f559af30df475305c910dffc7077af35 06:51:58 ---> Running in 6a561724f2eb 06:51:58 Removing intermediate container 6a561724f2eb 06:51:58 ---> 1827b2ad30ce 06:51:58 Step 24/24 : LABEL version=0.0.0 06:51:58 ---> Running in 06ea8466b666 06:51:58 Removing intermediate container 06ea8466b666 06:51:58 ---> 6593876532d9 06:51:58 [Warning] One or more build-args [ARCH] were not consumed 06:51:58 Successfully built 6593876532d9 06:51:58 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 06:51:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:51:59 06:51:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 06:51:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:52:00 arm64: Pulling from edgex-lftools-log-publisher 06:52:00 8998bd30e6a1: Pulling fs layer 06:52:00 04944245beec: Pulling fs layer 06:52:00 699f458cf7ca: Pulling fs layer 06:52:00 765212b225bb: Pulling fs layer 06:52:00 f23df028b6ca: Pulling fs layer 06:52:00 d65c8cfc05b1: Pulling fs layer 06:52:00 2437ff75d9bd: Pulling fs layer 06:52:00 765212b225bb: Waiting 06:52:00 f23df028b6ca: Waiting 06:52:00 d65c8cfc05b1: Waiting 06:52:00 2437ff75d9bd: Waiting 06:52:00 04944245beec: Verifying Checksum 06:52:00 04944245beec: Download complete 06:52:00 765212b225bb: Verifying Checksum 06:52:00 765212b225bb: Download complete 06:52:00 f23df028b6ca: Verifying Checksum 06:52:00 f23df028b6ca: Download complete 06:52:00 d65c8cfc05b1: Verifying Checksum 06:52:00 d65c8cfc05b1: Download complete 06:52:00 699f458cf7ca: Verifying Checksum 06:52:00 699f458cf7ca: Download complete 06:52:00 8998bd30e6a1: Verifying Checksum 06:52:00 8998bd30e6a1: Download complete 06:52:03 2437ff75d9bd: Verifying Checksum 06:52:03 2437ff75d9bd: Download complete 06:52:05 8998bd30e6a1: Pull complete 06:52:05 04944245beec: Pull complete 06:52:07 699f458cf7ca: Pull complete 06:52:07 765212b225bb: Pull complete 06:52:08 f23df028b6ca: Pull complete 06:52:08 d65c8cfc05b1: Pull complete 06:52:23 2437ff75d9bd: Pull complete 06:52:23 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:52:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:52:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 06:52:23 prd-ubuntu20.04-docker-arm64-4c-16g-40546 does not seem to be running inside a container 06:52:23 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:52:26 $ docker top f2675045e87e1e8a3662bceb1bf7cf8ee6ec56e62e4c1dc6dde43c142292b95e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:52:27 ---> job-cost.sh 06:52:27 lf-activate-venv: SKIPPING 06:52:27 INFO: No Stack... 06:52:27 INFO: Retrieving Pricing Info for: v3-standard-4 06:52:28 INFO: Archiving Costs [Pipeline] sh 06:52:29 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 06:52:29 + cut -d, -f6 [Pipeline] lock 06:52:29 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-167-1-stack-cost] 06:52:29 Resource [jenkins-edgexfoundry-device-snmp-go-PR-167-1-stack-cost] did not exist. Created. 06:52:29 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-167-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:52:30 /w/workspace/device-snmp-go/1@tmp/durable-14f51c6d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:52:31 + echo total: 0.10999999940395355 [Pipeline] stash 06:52:31 Warning: overwriting stash ‘stack-cost’ 06:52:31 Stashed 1 file(s) [Pipeline] } 06:52:31 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-167-1-stack-cost] [Pipeline] // lock [Pipeline] } 06:52:31 $ docker stop --time=1 f2675045e87e1e8a3662bceb1bf7cf8ee6ec56e62e4c1dc6dde43c142292b95e 06:52:32 $ docker rm -f f2675045e87e1e8a3662bceb1bf7cf8ee6ec56e62e4c1dc6dde43c142292b95e [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 06:52:33 provisioning config files... 06:52:33 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-167@tmp/config2307387088278619695tmp [Pipeline] { [Pipeline] sh 06:52:34 + set +x 06:52:34 + curl -s https://codecov.io/bash 06:52:34 + bash -s -- 06:52:34 06:52:34 _____ _ 06:52:34 / ____| | | 06:52:34 | | ___ __| | ___ ___ _____ __ 06:52:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:52:34 | |___| (_) | (_| | __/ (_| (_) \ V / 06:52:34 \_____\___/ \__,_|\___|\___\___/ \_/ 06:52:34 Bash-1.0.6 06:52:34 06:52:34 06:52:34 ==> git version 2.25.1 found 06:52:34 ==> 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 06:52:34 Release-Date: 2020-01-08 06:52:34 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:52:34 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:52:34 ==> Jenkins CI detected. 06:52:34 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-167 06:52:34 project root: . 06:52:34 --> token set from env 06:52:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:52:34 ==> Running gcov in . (disable via -X gcov) 06:52:34 ==> Python coveragepy not found 06:52:34 ==> Searching for coverage reports in: 06:52:34 + . 06:52:34 -> Found 1 reports 06:52:34 ==> Detecting git/mercurial file structure 06:52:34 ==> Reading reports 06:52:34 + ./coverage.out bytes=7631 06:52:34 ==> Appending adjustments 06:52:34 https://docs.codecov.io/docs/fixing-reports 06:52:34 + Found adjustments 06:52:34 ==> Gzipping contents 06:52:34 4.0K /tmp/codecov.OHia4o.gz 06:52:34 ==> Uploading reports 06:52:34 url: https://codecov.io 06:52:34 query: branch=PR-167&commit=0756feeefc7585bf0d34551aba14cd169a4f726e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-167%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=167&job=&cmd_args= 06:52:34 -> Pinging Codecov 06:52:34 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-167&commit=0756feeefc7585bf0d34551aba14cd169a4f726e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-167%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=167&job=&cmd_args= 06:52:34 -> Uploading to 06:52:34 https://storage.googleapis.com/codecov/v4/raw/2022-05-06/6C56EA5C29638FB4528AC87E60AF5AE0/0756feeefc7585bf0d34551aba14cd169a4f726e/52e714f1-75e6-40dc-aaea-291812a474e7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220506%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220506T065234Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9a3e7beb75ab72ce183613f18580c0abcafcdf3afe317c521579f3a9cd958034 06:52:34 % Total % Received % Xferd Average Speed Time Time Time Current 06:52:34 Dload Upload Total Spent Left Speed 06:52:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1602 0 0 100 1602 0 5680 --:--:-- --:--:-- --:--:-- 5680 06:52:35 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/0756feeefc7585bf0d34551aba14cd169a4f726e [Pipeline] } 06:52:35 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 06:52:37 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-167/archives ] 06:52:37 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-167/archives 06:52:37 total 16 06:52:37 drwxr-xr-x 3 root root 4096 May 6 06:43 . 06:52:37 drwxrwxr-x 10 jenkins jenkins 4096 May 6 06:43 .. 06:52:37 drwxr-xr-x 2 root root 4096 May 6 06:43 cost 06:52:37 -rw-r--r-- 1 root root 85 May 6 06:43 cost.csv 06:52:37 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-167/archives 06:52:37 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-167/archives 06:52:37 total 16 06:52:37 drwxr-xr-x 3 jenkins jenkins 4096 May 6 06:43 . 06:52:37 drwxrwxr-x 10 jenkins jenkins 4096 May 6 06:43 .. 06:52:37 drwxr-xr-x 2 jenkins jenkins 4096 May 6 06:43 cost 06:52:37 -rw-r--r-- 1 jenkins jenkins 85 May 6 06:43 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:52:37 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:52:38 ---> package-listing.sh 06:52:38 ++ facter osfamily 06:52:38 ++ tr '[:upper:]' '[:lower:]' 06:52:38 + OS_FAMILY=debian 06:52:38 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-167 06:52:38 + START_PACKAGES=/tmp/packages_start.txt 06:52:38 + END_PACKAGES=/tmp/packages_end.txt 06:52:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:52:38 + PACKAGES=/tmp/packages_start.txt 06:52:38 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-167 ']' 06:52:38 + PACKAGES=/tmp/packages_end.txt 06:52:38 + case "${OS_FAMILY}" in 06:52:38 + dpkg -l 06:52:38 + grep '^ii' 06:52:38 + '[' -f /tmp/packages_start.txt ']' 06:52:38 + '[' -f /tmp/packages_end.txt ']' 06:52:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:52:38 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-167 ']' 06:52:38 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-167/archives/ 06:52:38 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-167/archives/ [Pipeline] echo 06:52:38 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-167/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:52:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:52:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:52:39 . [Pipeline] withDockerContainer 06:52:39 prd-ubuntu20.04-docker-8c-8g-40544 does not seem to be running inside a container 06:52:39 $ 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-167/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-167 -v /w/workspace/gexfoundry_device-snmp-go_PR-167:/w/workspace/gexfoundry_device-snmp-go_PR-167:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-167@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-167@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:52:39 $ docker top 752f99335ba1be22ba90b737e69ace51c828f16a0ef1d7106f1012ee66742919 -eo pid,comm [Pipeline] { [Pipeline] sh 06:52:40 + touch /tmp/pre-build-complete [Pipeline] sh 06:52:40 + mkdir -p /var/log/sysstat [Pipeline] sh 06:52:40 + ls /var/log/sa-host 06:52:40 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:52:41 provisioning config files... 06:52:41 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-167@tmp/config6548931393802401228tmp [Pipeline] { [Pipeline] echo 06:52:41 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:52:41 ---> create-netrc.sh [Pipeline] } 06:52:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:52:41 ---> python-tools-install.sh [Pipeline] echo 06:52:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:52:42 ---> sudo-logs.sh 06:52:42 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:52:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:52:42 ---> job-cost.sh 06:52:42 lf-activate-venv: SKIPPING 06:52:42 DEBUG: total: 0.2199999988079071 06:52:42 INFO: Retrieving Stack Cost... 06:52:42 INFO: Retrieving Pricing Info for: v3-standard-8 06:52:43 INFO: Archiving Costs [Pipeline] echo 06:52:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:52:43 ---> logs-deploy.sh 06:52:43 lf-activate-venv: SKIPPING 06:52:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-167/1 06:52:43 INFO: archiving workspace using pattern(s): 06:52:44 Archives upload complete. 06:52:44 INFO: archiving logs to Nexus