Pull request #176 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 lenny-intel for edgexfoundry/device-snmp-go Obtained Jenkinsfile from 5277efcfa7ebb663f8a02312877e07eb3663f5b0+0a73bd19d177e0be9e88e3cec666e4c6d1c018b1 (958506e1f18ef93dab1ceb3ef26c356a9ecbaf56) 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-ssh10328763175955979718.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision eff4ace5e529e22b05c56fc30efd0d4b1d113677 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-ssh6620642454339286076.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 eff4ace5e529e22b05c56fc30efd0d4b1d113677 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-176/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # 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-176/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4736161336904403733.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-176/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7075573798664866280.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision eff4ace5e529e22b05c56fc30efd0d4b1d113677 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f eff4ace5e529e22b05c56fc30efd0d4b1d113677 # timeout=10 Commit message: "Merge pull request #397 from edgexfoundry/us4712" > 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 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-ssh1736215219489564094.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-176/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # 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-176/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh702126739625309743.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 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 eff4ace5e529e22b05c56fc30efd0d4b1d113677 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-1560’ Running on prd-ubuntu20.04-docker-8c-8g-1563 in /w/workspace/gexfoundry_device-snmp-go_PR-176 [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-176 # 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 > 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/176/head:refs/remotes/origin/PR-176 +refs/heads/jakarta:refs/remotes/origin/jakarta # timeout=10 Merging remotes/origin/jakarta commit 0a73bd19d177e0be9e88e3cec666e4c6d1c018b1 into PR head commit 5277efcfa7ebb663f8a02312877e07eb3663f5b0 Merge succeeded, producing 5277efcfa7ebb663f8a02312877e07eb3663f5b0 Checking out Revision 5277efcfa7ebb663f8a02312877e07eb3663f5b0 (PR-176) > git config core.sparsecheckout # timeout=10 > git checkout -f 5277efcfa7ebb663f8a02312877e07eb3663f5b0 # 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 0a73bd19d177e0be9e88e3cec666e4c6d1c018b1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5277efcfa7ebb663f8a02312877e07eb3663f5b0 # timeout=10 Commit message: "build: Update to released SDK and go-mods and change log for 2.1.1 patch" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object eff4ace5e529e22b05c56fc30efd0d4b1d113677 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:16:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:16:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:16:39 ========================================================= 00:16:39 EdgeX Global Pipelines Version Info 00:16:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:16:40 ------------------- 00:16:40 stable info: 00:16:40 ------------------- 00:16:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:16:40 Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 00:16:40 Message: update stable to v1.0.232 00:16:41 ------------------- 00:16:41 experimental info: 00:16:41 ------------------- 00:16:41 Commited By: **** collab-it+edgex@linuxfoundation.org 00:16:41 Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 00:16:41 Message: update experimental to v1.0.232 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:16:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 00:16:41 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 00:16:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:16:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:16:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:16:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 00:16:41 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:16:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:16:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:16:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:16:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:16:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 00:16:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:16:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:16:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:16:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:16:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:16:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:16:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:16:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:16:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:16:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:16:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:16:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:16:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:16:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:16:42 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:16:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-176 [Pipeline] echo 00:16:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-176 [Pipeline] echo 00:16:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-176 [Pipeline] echo 00:16:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5277efcfa7ebb663f8a02312877e07eb3663f5b0 [Pipeline] echo 00:16:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5277efc [Pipeline] echo 00:16:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:16:42 provisioning config files... 00:16:42 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-176@tmp/config8613543219290081938tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:16:43 ---> docker-login.sh 00:16:43 nexus3.edgexfoundry.org:10001 00:16:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:43 Configure a credential helper to remove this warning. See 00:16:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:43 00:16:43 Login Succeeded 00:16:43 nexus3.edgexfoundry.org:10002 00:16:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:43 Configure a credential helper to remove this warning. See 00:16:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:43 00:16:43 Login Succeeded 00:16:43 nexus3.edgexfoundry.org:10003 00:16:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:43 Configure a credential helper to remove this warning. See 00:16:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:43 00:16:43 Login Succeeded 00:16:43 nexus3.edgexfoundry.org:10004 00:16:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:43 Configure a credential helper to remove this warning. See 00:16:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:43 00:16:43 Login Succeeded 00:16:43 docker.io 00:16:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:44 Configure a credential helper to remove this warning. See 00:16:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:44 00:16:44 Login Succeeded 00:16:44 ---> docker-login.sh ends [Pipeline] } 00:16:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:16:44 + git rev-list -1 --merges 5277efcfa7ebb663f8a02312877e07eb3663f5b0~1..5277efcfa7ebb663f8a02312877e07eb3663f5b0 [Pipeline] echo 00:16:44 -----------> git rev-list -1 --merges 5277efcfa7ebb663f8a02312877e07eb3663f5b0~1..5277efcfa7ebb663f8a02312877e07eb3663f5b0 5277efcfa7ebb663f8a02312877e07eb3663f5b0 [false] [Pipeline] sh 00:16:45 + git log --format=format:%s -1 5277efcfa7ebb663f8a02312877e07eb3663f5b0 [Pipeline] echo 00:16:45 ========================================================= 00:16:45 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:16:45 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:16:45 + git log --format=format:%s -1 5277efcfa7ebb663f8a02312877e07eb3663f5b0 [Pipeline] echo 00:16:45 [semverPrep] GIT_COMMIT: 5277efcfa7ebb663f8a02312877e07eb3663f5b0, Commit Message: build: Update to released SDK and go-mods and change log for 2.1.1 patch [Pipeline] echo 00:16:45 [semverPrep] This is not a build commit. [Pipeline] sh 00:16:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:16:46 + grep -v github /etc/ssh/ssh_known_hosts 00:16:46 + [ -e /tmp/ssh_known_hosts ] 00:16:46 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:16:46 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:16:46 + sudo tee -a /etc/ssh/ssh_known_hosts 00:16:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:16:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:16:46 00:16:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:16:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:16:46 0.1.4: Pulling from edgex-devops/py-git-semver 00:16:46 42c077c10790: Pulling fs layer 00:16:46 f63e77b7563a: Pulling fs layer 00:16:46 bd5fdadae976: Pulling fs layer 00:16:46 205491f53016: Pulling fs layer 00:16:46 df18705c85c3: Pulling fs layer 00:16:46 bdb3f477010e: Pulling fs layer 00:16:46 c8a8fc8e1c8f: Pulling fs layer 00:16:46 2c6e9b1d212d: Pulling fs layer 00:16:46 bdb8f0575790: Pulling fs layer 00:16:46 386e3cb2ff24: Pulling fs layer 00:16:46 2343380bae48: Pulling fs layer 00:16:46 c8a8fc8e1c8f: Waiting 00:16:46 2c6e9b1d212d: Waiting 00:16:46 bdb8f0575790: Waiting 00:16:46 386e3cb2ff24: Waiting 00:16:46 2343380bae48: Waiting 00:16:46 205491f53016: Waiting 00:16:46 bdb3f477010e: Waiting 00:16:46 df18705c85c3: Waiting 00:16:46 f63e77b7563a: Verifying Checksum 00:16:46 f63e77b7563a: Download complete 00:16:46 205491f53016: Verifying Checksum 00:16:46 205491f53016: Download complete 00:16:46 df18705c85c3: Verifying Checksum 00:16:46 df18705c85c3: Download complete 00:16:47 bd5fdadae976: Download complete 00:16:47 bdb3f477010e: Download complete 00:16:47 2c6e9b1d212d: Verifying Checksum 00:16:47 2c6e9b1d212d: Download complete 00:16:47 bdb8f0575790: Download complete 00:16:47 386e3cb2ff24: Verifying Checksum 00:16:47 386e3cb2ff24: Download complete 00:16:47 2343380bae48: Verifying Checksum 00:16:47 2343380bae48: Download complete 00:16:47 42c077c10790: Verifying Checksum 00:16:47 42c077c10790: Download complete 00:16:47 c8a8fc8e1c8f: Verifying Checksum 00:16:47 c8a8fc8e1c8f: Download complete 00:16:48 42c077c10790: Pull complete 00:16:48 f63e77b7563a: Pull complete 00:16:48 bd5fdadae976: Pull complete 00:16:48 205491f53016: Pull complete 00:16:49 df18705c85c3: Pull complete 00:16:49 bdb3f477010e: Pull complete 00:16:51 c8a8fc8e1c8f: Pull complete 00:16:51 2c6e9b1d212d: Pull complete 00:16:51 bdb8f0575790: Pull complete 00:16:51 386e3cb2ff24: Pull complete 00:16:51 2343380bae48: Pull complete 00:16:51 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 00:16:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:16:51 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:16:51 prd-ubuntu20.04-docker-8c-8g-1563 does not seem to be running inside a container 00:16:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-176 -v /w/workspace/gexfoundry_device-snmp-go_PR-176:/w/workspace/gexfoundry_device-snmp-go_PR-176:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-176@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-176@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-devops/py-git-semver:0.1.4 cat 00:16:52 $ docker top 141d4ce05dcf010eba7b06f6eda375a8c5363b70140259eeeb2e54f4061b02df -eo pid,comm 00:16:52 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). 00:16:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:16:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:16:53 [ssh-agent] Looking for ssh-agent implementation... 00:16:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:16:53 $ docker exec 141d4ce05dcf010eba7b06f6eda375a8c5363b70140259eeeb2e54f4061b02df ssh-agent 00:16:53 SSH_AUTH_SOCK=/tmp/ssh-twW7bFRz8Tmm/agent.33 00:16:53 SSH_AGENT_PID=39 00:16:53 Running ssh-add (command line suppressed) 00:16:53 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-176@tmp/private_key_3101034390148065454.key (/w/workspace/gexfoundry_device-snmp-go_PR-176@tmp/private_key_3101034390148065454.key) 00:16:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:16:53 + git tag --points-at HEAD [Pipeline] } 00:16:53 $ docker exec --env ******** --env ******** 141d4ce05dcf010eba7b06f6eda375a8c5363b70140259eeeb2e54f4061b02df ssh-agent -k 00:16:53 unset SSH_AUTH_SOCK; 00:16:53 unset SSH_AGENT_PID; 00:16:53 echo Agent pid 39 killed; 00:16:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:16:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:16:54 [ssh-agent] Looking for ssh-agent implementation... 00:16:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:16:54 $ docker exec 141d4ce05dcf010eba7b06f6eda375a8c5363b70140259eeeb2e54f4061b02df ssh-agent 00:16:54 SSH_AUTH_SOCK=/tmp/ssh-tcs5WsKLzQOt/agent.72 00:16:54 SSH_AGENT_PID=78 00:16:54 Running ssh-add (command line suppressed) 00:16:54 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-176@tmp/private_key_1322088374311243991.key (/w/workspace/gexfoundry_device-snmp-go_PR-176@tmp/private_key_1322088374311243991.key) 00:16:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:16:54 + git semver init 00:16:54 2022-06-07 00:16:54,911 [run_init] DEBUG init version:0.0.0 force:False 00:16:54 2022-06-07 00:16:54,911 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-176/.semver 00:16:54 2022-06-07 00:16:54,912 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-176/.semver 00:16:54 2022-06-07 00:16:54,912 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-176/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-176, universal_newlines=False, shell=None, istream=None) 00:16:55 2022-06-07 00:16:55,591 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-176/.git/info/exclude 00:16:55 2022-06-07 00:16:55,592 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-176/.semver/PR-176 with force:False 00:16:55 2022-06-07 00:16:55,592 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-176/.semver/PR-176 00:16:55 2022-06-07 00:16:55,597 [execute] INFO git cat-file --batch-check 00:16:55 2022-06-07 00:16:55,598 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-176/.semver, universal_newlines=False, shell=None, istream=) 00:16:55 2022-06-07 00:16:55,605 [execute] INFO git cat-file --batch 00:16:55 2022-06-07 00:16:55,605 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-176/.semver, universal_newlines=False, shell=None, istream=) 00:16:55 2022-06-07 00:16:55,611 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-176/.semver/PR-176 00:16:55 0.0.0 [Pipeline] } 00:16:55 $ docker exec --env ******** --env ******** 141d4ce05dcf010eba7b06f6eda375a8c5363b70140259eeeb2e54f4061b02df ssh-agent -k 00:16:56 unset SSH_AUTH_SOCK; 00:16:56 unset SSH_AGENT_PID; 00:16:56 echo Agent pid 78 killed; 00:16:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:16:56 + git semver [Pipeline] } 00:16:56 $ docker stop --time=1 141d4ce05dcf010eba7b06f6eda375a8c5363b70140259eeeb2e54f4061b02df 00:16:58 $ docker rm -f 141d4ce05dcf010eba7b06f6eda375a8c5363b70140259eeeb2e54f4061b02df [Pipeline] // withDockerContainer [Pipeline] sh 00:16:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:16:58 Stashed 1 file(s) [Pipeline] echo 00:16:58 [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 00:16:59 provisioning config files... 00:16:59 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-176@tmp/config8523665274959507277tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:16:59 ---> docker-login.sh 00:16:59 nexus3.edgexfoundry.org:10001 00:16:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:59 Configure a credential helper to remove this warning. See 00:16:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:59 00:16:59 Login Succeeded 00:16:59 nexus3.edgexfoundry.org:10002 00:16:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:59 Configure a credential helper to remove this warning. See 00:16:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:59 00:16:59 Login Succeeded 00:17:00 nexus3.edgexfoundry.org:10003 00:17:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:17:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:17:00 Configure a credential helper to remove this warning. See 00:17:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:17:00 00:17:00 Login Succeeded 00:17:00 nexus3.edgexfoundry.org:10004 00:17:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:17:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:17:00 Configure a credential helper to remove this warning. See 00:17:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:17:00 00:17:00 Login Succeeded 00:17:00 docker.io 00:17:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:17:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:17:00 Configure a credential helper to remove this warning. See 00:17:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:17:00 00:17:00 Login Succeeded 00:17:00 ---> docker-login.sh ends [Pipeline] } 00:17:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:17:00 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:17:00 ========================================================= 00:17:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts] 00:17:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:17:01 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts --build-arg MAKE=echo noop --target=builder . 00:17:01 Sending build context to Docker daemon 16.36MB 00:17:01 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 00:17:01 Step 2/11 : FROM ${BASE} AS builder 00:17:01 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base 00:17:01 59bf1c3509f3: Pulling fs layer 00:17:01 666ba61612fd: Pulling fs layer 00:17:01 8ed8ca486205: Pulling fs layer 00:17:01 4fe6c5a15a65: Pulling fs layer 00:17:01 22a0e8bec74d: Pulling fs layer 00:17:01 812f408151ee: Pulling fs layer 00:17:01 bab7bd504b26: Pulling fs layer 00:17:01 070449caade9: Pulling fs layer 00:17:01 8f1a5288e3a6: Pulling fs layer 00:17:01 bab7bd504b26: Waiting 00:17:01 070449caade9: Waiting 00:17:01 8f1a5288e3a6: Waiting 00:17:01 4fe6c5a15a65: Waiting 00:17:01 22a0e8bec74d: Waiting 00:17:01 812f408151ee: Waiting 00:17:01 8ed8ca486205: Verifying Checksum 00:17:01 8ed8ca486205: Download complete 00:17:01 666ba61612fd: Download complete 00:17:01 22a0e8bec74d: Download complete 00:17:01 812f408151ee: Verifying Checksum 00:17:01 812f408151ee: Download complete 00:17:01 bab7bd504b26: Verifying Checksum 00:17:01 bab7bd504b26: Download complete 00:17:01 59bf1c3509f3: Download complete 00:17:01 070449caade9: Verifying Checksum 00:17:01 070449caade9: Download complete 00:17:01 59bf1c3509f3: Pull complete 00:17:01 666ba61612fd: Pull complete 00:17:01 8ed8ca486205: Pull complete 00:17:02 8f1a5288e3a6: Verifying Checksum 00:17:02 8f1a5288e3a6: Download complete 00:17:02 4fe6c5a15a65: Verifying Checksum 00:17:02 4fe6c5a15a65: Download complete 00:17:06 4fe6c5a15a65: Pull complete 00:17:06 22a0e8bec74d: Pull complete 00:17:06 812f408151ee: Pull complete 00:17:06 bab7bd504b26: Pull complete 00:17:06 070449caade9: Pull complete 00:17:08 8f1a5288e3a6: Pull complete 00:17:08 Digest: sha256:53030bcd5b82665afb3cefeba7a6fee19172d9224e433a3be554ad5982a25c96 00:17:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts 00:17:08 ---> c47586b81864 00:17:08 Step 3/11 : ARG MAKE='make build' 00:17:09 ---> Running in 04bdad9a3e83 00:17:09 Removing intermediate container 04bdad9a3e83 00:17:09 ---> c5ef85d3f9dd 00:17:09 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:17:09 ---> Running in f554f273acc8 00:17:09 Removing intermediate container f554f273acc8 00:17:09 ---> 1fa270c0c501 00:17:09 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 00:17:09 ---> Running in 0defd3b325e7 00:17:09 Removing intermediate container 0defd3b325e7 00:17:09 ---> 9f1b61378814 00:17:09 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:17:10 ---> Running in b36df2627e1d 00:17:10 Removing intermediate container b36df2627e1d 00:17:10 ---> b354430f56ea 00:17:10 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:17:10 ---> Running in 9d49da207b68 00:17:10 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 00:17:11 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 00:17:12 (1/4) Installing openssh-keygen (8.8_p1-r1) 00:17:12 (2/4) Installing libedit (20210910.3.1-r0) 00:17:12 (3/4) Installing openssh-client-common (8.8_p1-r1) 00:17:12 (4/4) Installing openssh-client-default (8.8_p1-r1) 00:17:12 Executing busybox-1.34.1-r3.trigger 00:17:12 OK: 224 MiB in 56 packages 00:17:12 Removing intermediate container 9d49da207b68 00:17:12 ---> 3c3291f289ec 00:17:12 Step 8/11 : WORKDIR /device-snmp-go 00:17:12 ---> Running in b8a0a7cb7b6f 00:17:12 Removing intermediate container b8a0a7cb7b6f 00:17:12 ---> c25513e262d8 00:17:12 Step 9/11 : COPY . . 00:17:13 ---> cfdc7f191528 00:17:13 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:17:13 ---> Running in a8a9eb34a7b6 00:17:14 skipping... 00:17:14 Removing intermediate container a8a9eb34a7b6 00:17:14 ---> 3a44302d2b13 00:17:14 Step 11/11 : RUN ${MAKE} 00:17:14 ---> Running in 2d3201efb60a 00:17:14 Still waiting to schedule task 00:17:14 ‘prd-ubuntu20.04-docker-arm64-4c-16g-1561’ is offline 00:17:14 noop 00:17:14 Removing intermediate container 2d3201efb60a 00:17:14 ---> 190b047a3773 00:17:14 Successfully built 190b047a3773 00:17:14 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:17:15 + docker inspect -f . ci-base-image-x86_64 00:17:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:17:15 prd-ubuntu20.04-docker-8c-8g-1563 does not seem to be running inside a container 00:17:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-176 -v /w/workspace/gexfoundry_device-snmp-go_PR-176:/w/workspace/gexfoundry_device-snmp-go_PR-176:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-176@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-176@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 ******** -e ******** ci-base-image-x86_64 cat 00:17:15 $ docker top 582612b177a978d7d9cc4db59d17b6090789340a534298ad98104d9ec1ef145f -eo pid,comm [Pipeline] { [Pipeline] sh 00:17:16 + go version 00:17:16 go version go1.17.6 linux/amd64 [Pipeline] } 00:17:16 $ docker stop --time=1 582612b177a978d7d9cc4db59d17b6090789340a534298ad98104d9ec1ef145f 00:17:17 $ docker rm -f 582612b177a978d7d9cc4db59d17b6090789340a534298ad98104d9ec1ef145f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:17:18 + docker inspect -f . ci-base-image-x86_64 00:17:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:17:18 prd-ubuntu20.04-docker-8c-8g-1563 does not seem to be running inside a container 00:17:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-176 -v /w/workspace/gexfoundry_device-snmp-go_PR-176:/w/workspace/gexfoundry_device-snmp-go_PR-176:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-176@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-176@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 ******** -e ******** ci-base-image-x86_64 cat 00:17:18 $ docker top f13478f14c93ceb90691eb8cad970a8f107c85bed2ca4b136f7f4d7bf7c1bdc8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:17:19 + make test 00:17:19 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 00:17:19 ? github.com/edgexfoundry/device-snmp-go [no test files] 00:17:26 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 00:17:26 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.008s coverage: 0.0% of statements 00:17:26 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:17:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:17:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:17:29 ./bin/test-attribution-txt.sh 00:17:30 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.1 00:17:30 go: downloading github.com/OneOfOne/xxhash v1.2.8 00:17:30 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 00:17:30 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1 00:17:30 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.1 00:17:30 go: downloading github.com/soniah/gosnmp v1.21.0 00:17:30 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1 00:17:30 go: downloading github.com/google/uuid v1.3.0 00:17:30 go: downloading github.com/gorilla/mux v1.8.0 00:17:30 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 00:17:30 go: downloading github.com/pelletier/go-toml v1.9.4 00:17:30 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 00:17:30 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 00:17:30 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 00:17:30 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1 00:17:30 go: downloading github.com/hashicorp/consul/api v1.9.1 00:17:31 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 00:17:31 go: downloading github.com/hashicorp/go-multierror v1.1.0 00:17:31 go: downloading github.com/go-kit/kit v0.11.0 00:17:31 go: downloading github.com/go-playground/validator/v10 v10.9.0 00:17:31 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 00:17:31 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 00:17:31 go: downloading github.com/pebbe/zmq4 v1.2.7 00:17:31 go: downloading github.com/go-redis/redis/v7 v7.3.0 00:17:31 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 00:17:31 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 00:17:31 go: downloading github.com/mitchellh/copystructure v1.0.0 00:17:31 go: downloading github.com/mitchellh/mapstructure v1.1.2 00:17:31 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 00:17:31 go: downloading github.com/go-logfmt/logfmt v0.5.0 00:17:31 go: downloading golang.org/x/text v0.3.6 00:17:31 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 00:17:31 go: downloading github.com/hashicorp/golang-lru v0.5.0 00:17:31 go: downloading github.com/golang/mock v1.4.4 00:17:31 go: downloading github.com/hashicorp/errwrap v1.0.0 00:17:31 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 00:17:31 go: downloading github.com/hashicorp/go-hclog v0.12.0 00:17:31 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 00:17:31 go: downloading github.com/hashicorp/serf v0.9.5 00:17:31 go: downloading github.com/gorilla/websocket v1.4.2 00:17:31 go: downloading github.com/mitchellh/reflectwalk v1.0.0 00:17:31 go: downloading github.com/x448/float16 v0.8.4 00:17:31 go: downloading github.com/go-playground/universal-translator v0.18.0 00:17:31 go: downloading github.com/leodido/go-urn v1.2.1 00:17:31 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 00:17:31 go: downloading github.com/mitchellh/go-homedir v1.1.0 00:17:31 go: downloading github.com/fatih/color v1.9.0 00:17:31 go: downloading github.com/mattn/go-colorable v0.1.6 00:17:31 go: downloading github.com/mattn/go-isatty v0.0.12 00:17:31 go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo 00:17:32 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 00:17:33 + go mod tidy 00:17:33 go: downloading github.com/stretchr/testify v1.7.0 00:17:33 go: downloading github.com/go-playground/assert/v2 v2.0.1 00:17:33 go: downloading github.com/go-stack/stack v1.8.0 00:17:33 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 00:17:33 go: downloading github.com/hashicorp/consul/sdk v0.8.0 00:17:33 go: downloading github.com/hashicorp/go-uuid v1.0.1 00:17:33 go: downloading github.com/onsi/ginkgo v1.10.1 00:17:33 go: downloading github.com/onsi/gomega v1.7.0 00:17:33 go: downloading github.com/hashicorp/go-msgpack v0.5.3 00:17:33 go: downloading github.com/hashicorp/memberlist v0.2.2 00:17:33 go: downloading github.com/pkg/errors v0.9.1 00:17:33 go: downloading github.com/kr/pretty v0.3.0 00:17:33 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 00:17:33 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 00:17:33 go: downloading github.com/davecgh/go-spew v1.1.1 00:17:33 go: downloading github.com/pmezard/go-difflib v1.0.0 00:17:33 go: downloading github.com/stretchr/objx v0.1.1 00:17:33 go: downloading github.com/kr/text v0.2.0 00:17:33 go: downloading github.com/rogpeppe/go-internal v1.8.0 00:17:33 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 00:17:33 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 00:17:33 go: downloading github.com/miekg/dns v1.1.26 00:17:33 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 00:17:33 go: downloading gopkg.in/yaml.v2 v2.3.0 00:17:33 go: downloading github.com/hpcloud/tail v1.0.0 00:17:33 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 00:17:33 go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } 00:17:33 $ docker stop --time=1 f13478f14c93ceb90691eb8cad970a8f107c85bed2ca4b136f7f4d7bf7c1bdc8 00:17:35 $ docker rm -f f13478f14c93ceb90691eb8cad970a8f107c85bed2ca4b136f7f4d7bf7c1bdc8 [Pipeline] // withDockerContainer [Pipeline] sh 00:17:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:17:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:17:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:17:36 + ls -al . 00:17:36 total 180 00:17:36 drwxrwxr-x 10 jenkins jenkins 4096 Jun 7 00:17 . 00:17:36 drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 00:16 .. 00:17:36 -rw-rw-r-- 1 jenkins jenkins 6 Jun 7 00:16 .dockerignore 00:17:36 drwxrwxr-x 8 jenkins jenkins 4096 Jun 7 00:16 .git 00:17:36 drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 00:16 .github 00:17:36 -rw-rw-r-- 1 jenkins jenkins 255 Jun 7 00:16 .gitignore 00:17:36 drwxr-xr-x 3 jenkins jenkins 4096 Jun 7 00:16 .semver 00:17:36 -rw-rw-r-- 1 jenkins jenkins 6926 Jun 7 00:16 Attribution.txt 00:17:36 -rw-rw-r-- 1 jenkins jenkins 4800 Jun 7 00:16 CHANGELOG.md 00:17:36 -rw-rw-r-- 1 jenkins jenkins 1493 Jun 7 00:16 Dockerfile 00:17:36 -rw-rw-r-- 1 jenkins jenkins 677 Jun 7 00:16 GOVERNANCE.md 00:17:36 -rw-rw-r-- 1 jenkins jenkins 656 Jun 7 00:16 Jenkinsfile 00:17:36 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 7 00:16 LICENSE 00:17:36 -rw-rw-r-- 1 jenkins jenkins 1526 Jun 7 00:16 Makefile 00:17:36 -rw-rw-r-- 1 jenkins jenkins 620 Jun 7 00:16 OWNERS.md 00:17:36 -rw-rw-r-- 1 jenkins jenkins 9073 Jun 7 00:16 README.md 00:17:36 -rw-rw-r-- 1 jenkins jenkins 5 Jun 7 00:16 VERSION 00:17:36 drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 00:16 bin 00:17:36 drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 00:16 cmd 00:17:36 -rw-r--r-- 1 jenkins jenkins 7631 Jun 7 00:17 coverage.out 00:17:36 -rw-rw-r-- 1 jenkins jenkins 208 Jun 7 00:17 go.mod 00:17:36 -rw-rw-r-- 1 jenkins jenkins 49477 Jun 7 00:16 go.sum 00:17:36 drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 00:16 internal 00:17:36 drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 00:16 snap 00:17:36 drwxrwxr-x 6 jenkins jenkins 4096 Jun 7 00:16 vendor 00:17:36 -rw-rw-r-- 1 jenkins jenkins 228 Jun 7 00:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:17:37 + 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=5277efcfa7ebb663f8a02312877e07eb3663f5b0 --label arch=amd64 --label version=0.0.0 . 00:17:37 Sending build context to Docker daemon 16.37MB 00:17:37 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 00:17:37 Step 2/23 : FROM ${BASE} AS builder 00:17:37 ---> 190b047a3773 00:17:37 Step 3/23 : ARG MAKE='make build' 00:17:37 ---> Running in 966e4e564d12 00:17:37 Removing intermediate container 966e4e564d12 00:17:37 ---> 508b4407372f 00:17:37 Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:17:37 ---> Running in 373a93f4779e 00:17:37 Removing intermediate container 373a93f4779e 00:17:37 ---> cf70d9b05c13 00:17:37 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 00:17:37 ---> Running in b7e2267c4726 00:17:37 Removing intermediate container b7e2267c4726 00:17:37 ---> e92101ffc226 00:17:37 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:17:37 ---> Running in e1c930c3d8ff 00:17:38 Removing intermediate container e1c930c3d8ff 00:17:38 ---> 1436cc578aba 00:17:38 Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:17:38 ---> Running in 4488c98f919d 00:17:38 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 00:17:39 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 00:17:39 OK: 224 MiB in 56 packages 00:17:40 Removing intermediate container 4488c98f919d 00:17:40 ---> ae96e9212ed4 00:17:40 Step 8/23 : WORKDIR /device-snmp-go 00:17:40 ---> Running in 199d31066c6f 00:17:40 Removing intermediate container 199d31066c6f 00:17:40 ---> a8647acce82c 00:17:40 Step 9/23 : COPY . . 00:17:41 ---> 603f59b161bc 00:17:41 Step 10/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:17:41 ---> Running in 5925902cc3a9 00:17:41 skipping... 00:17:41 Removing intermediate container 5925902cc3a9 00:17:41 ---> 7ae08caf76b0 00:17:41 Step 11/23 : RUN ${MAKE} 00:17:41 ---> Running in 6362adffa426 00:17:42 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.1.1" -o cmd/device-snmp ./cmd 00:17:49 Removing intermediate container 6362adffa426 00:17:49 ---> b5eb5ad09084 00:17:49 Step 12/23 : FROM alpine:3.14 00:17:49 3.14: Pulling from library/alpine 00:17:49 8663204ce13b: Pulling fs layer 00:17:49 8663204ce13b: Download complete 00:17:49 8663204ce13b: Pull complete 00:17:49 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 00:17:49 Status: Downloaded newer image for alpine:3.14 00:17:49 ---> e04c818066af 00:17:49 Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init 00:17:50 ---> Running in f94b401bd817 00:17:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 00:17:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 00:17:50 (1/6) Installing dumb-init (1.2.5-r1) 00:17:50 (2/6) Installing libgcc (10.3.1_git20210424-r2) 00:17:50 (3/6) Installing libsodium (1.0.18-r0) 00:17:50 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 00:17:50 (5/6) Installing libzmq (4.3.4-r0) 00:17:50 (6/6) Installing zeromq (4.3.4-r0) 00:17:50 Executing busybox-1.33.1-r7.trigger 00:17:50 OK: 8 MiB in 20 packages 00:17:50 Removing intermediate container f94b401bd817 00:17:50 ---> 1a9588c37b4d 00:17:50 Step 14/23 : COPY --from=builder /device-snmp-go/cmd / 00:17:51 ---> 4a9ef3d0cb5f 00:17:51 Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / 00:17:51 ---> a4fe81f72d19 00:17:51 Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / 00:17:51 ---> bedfe1544fb8 00:17:51 Step 17/23 : EXPOSE 59993 00:17:51 ---> Running in 54682d132ad8 00:17:51 Removing intermediate container 54682d132ad8 00:17:51 ---> d12ff546b297 00:17:51 Step 18/23 : EXPOSE 161 00:17:51 ---> Running in a99a27bb2570 00:17:51 Removing intermediate container a99a27bb2570 00:17:51 ---> 513eae6f91ad 00:17:51 Step 19/23 : ENTRYPOINT ["/device-snmp"] 00:17:51 ---> Running in f3c7d6d922a5 00:17:52 Removing intermediate container f3c7d6d922a5 00:17:52 ---> 62d709567d74 00:17:52 Step 20/23 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 00:17:52 ---> Running in 7ea3ce413931 00:17:52 Removing intermediate container 7ea3ce413931 00:17:52 ---> 76338f61f176 00:17:52 Step 21/23 : LABEL arch=amd64 00:17:52 ---> Running in 365f6f175c48 00:17:52 Removing intermediate container 365f6f175c48 00:17:52 ---> cb726610ae34 00:17:52 Step 22/23 : LABEL git_sha=5277efcfa7ebb663f8a02312877e07eb3663f5b0 00:17:52 ---> Running in e742b97d6a57 00:17:52 Removing intermediate container e742b97d6a57 00:17:52 ---> 895e0d7eab16 00:17:52 Step 23/23 : LABEL version=0.0.0 00:17:52 ---> Running in ceceb8cc539e 00:17:52 Removing intermediate container ceceb8cc539e 00:17:52 ---> b5716a1c308c 00:17:52 [Warning] One or more build-args [ARCH] were not consumed 00:17:52 Successfully built b5716a1c308c 00:17:52 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 00:17:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:17:53 00:17:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:17:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:17:53 latest: Pulling from edgex-lftools-log-publisher 00:17:53 5eb5b503b376: Pulling fs layer 00:17:53 5c69ac0246d0: Pulling fs layer 00:17:53 ec43610c2a17: Pulling fs layer 00:17:53 3a2ae6a8a46f: Pulling fs layer 00:17:53 33b1e0a273af: Pulling fs layer 00:17:53 5d3b04190fa2: Pulling fs layer 00:17:53 2f39f015ded8: Pulling fs layer 00:17:53 5d3b04190fa2: Waiting 00:17:53 33b1e0a273af: Waiting 00:17:53 3a2ae6a8a46f: Waiting 00:17:53 2f39f015ded8: Waiting 00:17:53 5c69ac0246d0: Download complete 00:17:53 3a2ae6a8a46f: Verifying Checksum 00:17:53 3a2ae6a8a46f: Download complete 00:17:53 33b1e0a273af: Verifying Checksum 00:17:53 33b1e0a273af: Download complete 00:17:53 ec43610c2a17: Verifying Checksum 00:17:53 5d3b04190fa2: Verifying Checksum 00:17:53 5d3b04190fa2: Download complete 00:17:53 5eb5b503b376: Verifying Checksum 00:17:53 5eb5b503b376: Download complete 00:17:54 2f39f015ded8: Download complete 00:17:55 5eb5b503b376: Pull complete 00:17:55 5c69ac0246d0: Pull complete 00:17:55 ec43610c2a17: Pull complete 00:17:55 3a2ae6a8a46f: Pull complete 00:17:55 33b1e0a273af: Pull complete 00:17:56 5d3b04190fa2: Pull complete 00:18:00 2f39f015ded8: Pull complete 00:18:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:18:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:18:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:18:00 prd-ubuntu20.04-docker-8c-8g-1563 does not seem to be running inside a container 00:18:00 $ 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-176 -v /w/workspace/gexfoundry_device-snmp-go_PR-176:/w/workspace/gexfoundry_device-snmp-go_PR-176:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-176@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-176@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:18:01 $ docker top 6c194ef7fcd8bab88de1537b569775a3fdbe36ad6ad6493073177af0f4d2abe1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:18:02 ---> job-cost.sh 00:18:02 lf-activate-venv: SKIPPING 00:18:02 INFO: No Stack... 00:18:02 INFO: Retrieving Pricing Info for: v3-standard-8 00:18:03 INFO: Archiving Costs [Pipeline] sh 00:18:03 + cat /w/workspace/gexfoundry_device-snmp-go_PR-176/archives/cost.csv 00:18:03 + cut -d, -f6 [Pipeline] lock 00:18:03 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-176-1-stack-cost] 00:18:03 Resource [jenkins-edgexfoundry-device-snmp-go-PR-176-1-stack-cost] did not exist. Created. 00:18:03 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-176-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:18:03 + echo total: 0.2199999988079071 [Pipeline] stash 00:18:03 Stashed 1 file(s) [Pipeline] } 00:18:04 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-176-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:18:04 $ docker stop --time=1 6c194ef7fcd8bab88de1537b569775a3fdbe36ad6ad6493073177af0f4d2abe1 00:18:05 $ docker rm -f 6c194ef7fcd8bab88de1537b569775a3fdbe36ad6ad6493073177af0f4d2abe1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:18:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1564 in /w/workspace/gexfoundry_device-snmp-go_PR-176 [Pipeline] { [Pipeline] ws 00:18:50 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 00:18:50 Selected Git installation does not exist. Using Default 00:18:50 The recommended git tool is: NONE 00:18:56 using credential edgex-jenkins-ssh 00:18:56 Cloning the remote Git repository 00:18:57 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 00:18:57 > git init /w/workspace/device-snmp-go/1 # timeout=10 00:18:57 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 00:18:57 > git --version # timeout=10 00:18:57 > git --version # 'git version 2.25.1' 00:18:57 using GIT_SSH to set credentials SSH Credentials for GitHub 00:18:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:18:58 Merging remotes/origin/jakarta commit 0a73bd19d177e0be9e88e3cec666e4c6d1c018b1 into PR head commit 5277efcfa7ebb663f8a02312877e07eb3663f5b0 00:18:58 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 00:18:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:18:58 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 00:18:58 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 00:18:58 using GIT_SSH to set credentials SSH Credentials for GitHub 00:18:58 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/176/head:refs/remotes/origin/PR-176 +refs/heads/jakarta:refs/remotes/origin/jakarta # timeout=10 00:18:58 > git config core.sparsecheckout # timeout=10 00:18:58 > git checkout -f 5277efcfa7ebb663f8a02312877e07eb3663f5b0 # timeout=10 00:18:59 > git remote # timeout=10 00:18:59 > git config --get remote.origin.url # timeout=10 00:18:59 using GIT_SSH to set credentials SSH Credentials for GitHub 00:18:59 > git merge 0a73bd19d177e0be9e88e3cec666e4c6d1c018b1 # timeout=10 00:18:59 > git rev-parse HEAD^{commit} # timeout=10 00:18:59 Merge succeeded, producing 5277efcfa7ebb663f8a02312877e07eb3663f5b0 00:18:59 Checking out Revision 5277efcfa7ebb663f8a02312877e07eb3663f5b0 (PR-176) 00:18:59 > git config core.sparsecheckout # timeout=10 00:18:59 > git checkout -f 5277efcfa7ebb663f8a02312877e07eb3663f5b0 # timeout=10 00:19:04 Commit message: "build: Update to released SDK and go-mods and change log for 2.1.1 patch" 00:19:04 > git --version # timeout=10 00:19:04 > git --version # 'git version 2.25.1' 00:19:04 fatal: bad object eff4ace5e529e22b05c56fc30efd0d4b1d113677 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:19:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:19:05 % Total % Received % Xferd Average Speed Time Time Time Current 00:19:05 Dload Upload Total Spent Left Speed 00:19:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 92825 0 --:--:-- --:--:-- --:--:-- 92825 [Pipeline] sh 00:19:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:19:06 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:19:06 + sudo tee /etc/docker/daemon.new 00:19:06 { 00:19:06 "registry-mirrors": [ 00:19:06 "https://nexus3.edgexfoundry.org:10001" 00:19:06 ], 00:19:06 "bip": "10.250.0.254/24", 00:19:06 "hosts": [ 00:19:06 "tcp://0.0.0.0:5555", 00:19:06 "unix:///var/run/docker.sock" 00:19:06 ], 00:19:06 "mtu": 1458, 00:19:06 "selinux-enabled": true, 00:19:06 "seccomp-profile": "/etc/docker/seccomp.json" 00:19:06 } [Pipeline] sh 00:19:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:19:07 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:19:25 provisioning config files... 00:19:25 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config968778756665558895tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:19:26 ---> docker-login.sh 00:19:26 nexus3.edgexfoundry.org:10001 00:19:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:19:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:19:26 Configure a credential helper to remove this warning. See 00:19:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:19:26 00:19:26 Login Succeeded 00:19:26 nexus3.edgexfoundry.org:10002 00:19:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:19:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:19:27 Configure a credential helper to remove this warning. See 00:19:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:19:27 00:19:27 Login Succeeded 00:19:27 nexus3.edgexfoundry.org:10003 00:19:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:19:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:19:27 Configure a credential helper to remove this warning. See 00:19:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:19:27 00:19:27 Login Succeeded 00:19:27 nexus3.edgexfoundry.org:10004 00:19:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:19:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:19:28 Configure a credential helper to remove this warning. See 00:19:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:19:28 00:19:28 Login Succeeded 00:19:28 docker.io 00:19:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:19:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:19:28 Configure a credential helper to remove this warning. See 00:19:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:19:28 00:19:28 Login Succeeded 00:19:28 ---> docker-login.sh ends [Pipeline] } 00:19:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:19:29 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:19:29 ========================================================= 00:19:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts] 00:19:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:19:29 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts --build-arg MAKE=echo noop --target=builder . 00:19:31 Sending build context to Docker daemon 13.78MB 00:19:31 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 00:19:31 Step 2/11 : FROM ${BASE} AS builder 00:19:31 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 00:19:31 9b3977197b4f: Pulling fs layer 00:19:31 1a89e8eeedd5: Pulling fs layer 00:19:31 94645a83ff95: Pulling fs layer 00:19:31 3f3a8bcf1eab: Pulling fs layer 00:19:31 0c92f367c5e7: Pulling fs layer 00:19:31 63b1bc5785f6: Pulling fs layer 00:19:31 626d30ff41c6: Pulling fs layer 00:19:31 de1d54c125be: Pulling fs layer 00:19:31 3f3a8bcf1eab: Waiting 00:19:31 63b1bc5785f6: Waiting 00:19:31 0c92f367c5e7: Waiting 00:19:31 626d30ff41c6: Waiting 00:19:31 de1d54c125be: Waiting 00:19:31 94645a83ff95: Verifying Checksum 00:19:31 94645a83ff95: Download complete 00:19:31 1a89e8eeedd5: Verifying Checksum 00:19:31 1a89e8eeedd5: Download complete 00:19:31 0c92f367c5e7: Verifying Checksum 00:19:31 0c92f367c5e7: Download complete 00:19:31 63b1bc5785f6: Verifying Checksum 00:19:31 63b1bc5785f6: Download complete 00:19:31 9b3977197b4f: Download complete 00:19:31 626d30ff41c6: Verifying Checksum 00:19:31 626d30ff41c6: Download complete 00:19:31 9b3977197b4f: Pull complete 00:19:32 1a89e8eeedd5: Pull complete 00:19:32 94645a83ff95: Pull complete 00:19:33 de1d54c125be: Verifying Checksum 00:19:33 de1d54c125be: Download complete 00:19:33 3f3a8bcf1eab: Verifying Checksum 00:19:33 3f3a8bcf1eab: Download complete 00:19:46 3f3a8bcf1eab: Pull complete 00:19:46 0c92f367c5e7: Pull complete 00:19:46 63b1bc5785f6: Pull complete 00:19:46 626d30ff41c6: Pull complete 00:19:53 de1d54c125be: Pull complete 00:19:53 Digest: sha256:c13e7f4b3dabbafca41e473b4c3190511df4cc90c6116df0ec0acdea4752f811 00:19:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts 00:19:53 ---> 5f011755c4a2 00:19:53 Step 3/11 : ARG MAKE='make build' 00:19:53 ---> Running in cc60a452e057 00:19:54 Removing intermediate container cc60a452e057 00:19:54 ---> ecd502a85251 00:19:54 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:19:54 ---> Running in d36923fac69a 00:19:54 Removing intermediate container d36923fac69a 00:19:54 ---> 8fcf9ecc050f 00:19:54 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 00:19:54 ---> Running in 4f0449b9940c 00:19:54 Removing intermediate container 4f0449b9940c 00:19:54 ---> de50f9a5e21e 00:19:54 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:19:54 ---> Running in 759b0649d1b8 00:19:56 Removing intermediate container 759b0649d1b8 00:19:56 ---> d73496747bb0 00:19:56 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:19:56 ---> Running in cd36f23894f9 00:19:58 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:19:59 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:20:00 (1/4) Installing openssh-keygen (8.8_p1-r1) 00:20:00 (2/4) Installing libedit (20210910.3.1-r0) 00:20:00 (3/4) Installing openssh-client-common (8.8_p1-r1) 00:20:01 (4/4) Installing openssh-client-default (8.8_p1-r1) 00:20:01 Executing busybox-1.34.1-r3.trigger 00:20:01 OK: 224 MiB in 56 packages 00:20:02 Removing intermediate container cd36f23894f9 00:20:02 ---> 042eeccbebe6 00:20:02 Step 8/11 : WORKDIR /device-snmp-go 00:20:02 ---> Running in 3240514988d9 00:20:02 Removing intermediate container 3240514988d9 00:20:02 ---> d80c51c4cc06 00:20:02 Step 9/11 : COPY . . 00:20:06 ---> dad529a4d67a 00:20:06 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:20:06 ---> Running in dc87d8e4d8ae 00:20:07 skipping... 00:20:07 Removing intermediate container dc87d8e4d8ae 00:20:07 ---> 38f3b849b9b0 00:20:07 Step 11/11 : RUN ${MAKE} 00:20:07 ---> Running in 7636a058c336 00:20:08 noop 00:20:09 Removing intermediate container 7636a058c336 00:20:09 ---> e55c936d93e2 00:20:09 Successfully built e55c936d93e2 00:20:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:20:10 + docker inspect -f . ci-base-image-arm64 00:20:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:20:10 prd-ubuntu20.04-docker-arm64-4c-16g-1564 does not seem to be running inside a container 00:20:10 $ 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 ******** -e ******** ci-base-image-arm64 cat 00:20:11 $ docker top e16ce765268e43aed003dd4935324d76465f4f209f7c8004471d21a8a0f1aa51 -eo pid,comm [Pipeline] { [Pipeline] sh 00:20:12 + go version 00:20:12 go version go1.17.6 linux/arm64 [Pipeline] } 00:20:12 $ docker stop --time=1 e16ce765268e43aed003dd4935324d76465f4f209f7c8004471d21a8a0f1aa51 00:20:14 $ docker rm -f e16ce765268e43aed003dd4935324d76465f4f209f7c8004471d21a8a0f1aa51 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:20:15 + docker inspect -f . ci-base-image-arm64 00:20:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:20:15 prd-ubuntu20.04-docker-arm64-4c-16g-1564 does not seem to be running inside a container 00:20:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:20:17 $ docker top 3dce7a55035e355fd18d6b8e71e1db0c435d081d53512b79716bcda103138417 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:20:18 + make test 00:20:18 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 00:20:19 ? github.com/edgexfoundry/device-snmp-go [no test files] 00:21:06 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 00:21:06 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.040s coverage: 0.0% of statements 00:21:06 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:21:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:21:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:21:24 ./bin/test-attribution-txt.sh 00:21:24 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.1 00:21:24 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.1 00:21:24 go: downloading github.com/soniah/gosnmp v1.21.0 00:21:24 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1 00:21:24 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 00:21:24 go: downloading github.com/OneOfOne/xxhash v1.2.8 00:21:24 go: downloading github.com/google/uuid v1.3.0 00:21:24 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 00:21:24 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1 00:21:24 go: downloading github.com/gorilla/mux v1.8.0 00:21:24 go: downloading github.com/pelletier/go-toml v1.9.4 00:21:24 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 00:21:24 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 00:21:24 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 00:21:24 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1 00:21:24 go: downloading github.com/hashicorp/go-multierror v1.1.0 00:21:24 go: downloading github.com/hashicorp/consul/api v1.9.1 00:21:24 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 00:21:24 go: downloading github.com/go-kit/kit v0.11.0 00:21:24 go: downloading github.com/go-playground/validator/v10 v10.9.0 00:21:24 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 00:21:24 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 00:21:24 go: downloading github.com/pebbe/zmq4 v1.2.7 00:21:25 go: downloading github.com/go-redis/redis/v7 v7.3.0 00:21:25 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 00:21:25 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 00:21:25 go: downloading github.com/mitchellh/copystructure v1.0.0 00:21:25 go: downloading github.com/mitchellh/mapstructure v1.1.2 00:21:25 go: downloading github.com/go-logfmt/logfmt v0.5.0 00:21:25 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 00:21:25 go: downloading golang.org/x/text v0.3.6 00:21:25 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 00:21:25 go: downloading github.com/golang/mock v1.4.4 00:21:26 go: downloading github.com/hashicorp/golang-lru v0.5.0 00:21:26 go: downloading github.com/hashicorp/errwrap v1.0.0 00:21:26 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 00:21:26 go: downloading github.com/hashicorp/go-hclog v0.12.0 00:21:26 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 00:21:26 go: downloading github.com/hashicorp/serf v0.9.5 00:21:26 go: downloading github.com/x448/float16 v0.8.4 00:21:26 go: downloading github.com/go-playground/universal-translator v0.18.0 00:21:26 go: downloading github.com/leodido/go-urn v1.2.1 00:21:27 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 00:21:28 go: downloading github.com/gorilla/websocket v1.4.2 00:21:28 go: downloading github.com/mitchellh/reflectwalk v1.0.0 00:21:28 go: downloading github.com/fatih/color v1.9.0 00:21:28 go: downloading github.com/mattn/go-colorable v0.1.6 00:21:28 go: downloading github.com/mattn/go-isatty v0.0.12 00:21:28 go: downloading github.com/mitchellh/go-homedir v1.1.0 00:21:28 go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo 00:21:32 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 00:21:33 + go mod tidy 00:21:33 go: downloading github.com/stretchr/testify v1.7.0 00:21:33 go: downloading github.com/go-playground/assert/v2 v2.0.1 00:21:33 go: downloading github.com/go-stack/stack v1.8.0 00:21:33 go: downloading github.com/davecgh/go-spew v1.1.1 00:21:33 go: downloading github.com/pmezard/go-difflib v1.0.0 00:21:33 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 00:21:33 go: downloading github.com/stretchr/objx v0.1.1 00:21:33 go: downloading github.com/hashicorp/consul/sdk v0.8.0 00:21:33 go: downloading github.com/hashicorp/go-uuid v1.0.1 00:21:33 go: downloading github.com/kr/pretty v0.3.0 00:21:33 go: downloading github.com/onsi/ginkgo v1.10.1 00:21:33 go: downloading github.com/onsi/gomega v1.7.0 00:21:33 go: downloading github.com/hashicorp/go-msgpack v0.5.3 00:21:33 go: downloading github.com/hashicorp/memberlist v0.2.2 00:21:33 go: downloading github.com/pkg/errors v0.9.1 00:21:34 go: downloading github.com/kr/text v0.2.0 00:21:34 go: downloading github.com/rogpeppe/go-internal v1.8.0 00:21:34 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 00:21:34 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 00:21:34 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 00:21:34 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 00:21:34 go: downloading github.com/miekg/dns v1.1.26 00:21:34 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 00:21:34 go: downloading github.com/hpcloud/tail v1.0.0 00:21:34 go: downloading gopkg.in/yaml.v2 v2.3.0 00:21:34 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 00:21:34 go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } 00:21:34 $ docker stop --time=1 3dce7a55035e355fd18d6b8e71e1db0c435d081d53512b79716bcda103138417 00:21:37 $ docker rm -f 3dce7a55035e355fd18d6b8e71e1db0c435d081d53512b79716bcda103138417 [Pipeline] // withDockerContainer [Pipeline] sh 00:21:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:21:39 Warning: overwriting stash ‘coverage-report’ 00:21:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:21:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:21:41 + ls -al . 00:21:41 total 176 00:21:41 drwxrwxr-x 9 jenkins jenkins 4096 Jun 7 00:21 . 00:21:41 drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 00:18 .. 00:21:41 -rw-rw-r-- 1 jenkins jenkins 6 Jun 7 00:18 .dockerignore 00:21:41 drwxrwxr-x 8 jenkins jenkins 4096 Jun 7 00:19 .git 00:21:41 drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 00:18 .github 00:21:41 -rw-rw-r-- 1 jenkins jenkins 255 Jun 7 00:18 .gitignore 00:21:41 -rw-rw-r-- 1 jenkins jenkins 6926 Jun 7 00:18 Attribution.txt 00:21:41 -rw-rw-r-- 1 jenkins jenkins 4800 Jun 7 00:18 CHANGELOG.md 00:21:41 -rw-rw-r-- 1 jenkins jenkins 1493 Jun 7 00:18 Dockerfile 00:21:41 -rw-rw-r-- 1 jenkins jenkins 677 Jun 7 00:18 GOVERNANCE.md 00:21:41 -rw-rw-r-- 1 jenkins jenkins 656 Jun 7 00:18 Jenkinsfile 00:21:41 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 7 00:18 LICENSE 00:21:41 -rw-rw-r-- 1 jenkins jenkins 1526 Jun 7 00:18 Makefile 00:21:41 -rw-rw-r-- 1 jenkins jenkins 620 Jun 7 00:18 OWNERS.md 00:21:41 -rw-rw-r-- 1 jenkins jenkins 9073 Jun 7 00:18 README.md 00:21:41 -rw-rw-r-- 1 jenkins jenkins 5 Jun 7 00:16 VERSION 00:21:41 drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 00:18 bin 00:21:41 drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 00:18 cmd 00:21:41 -rw-r--r-- 1 jenkins jenkins 7631 Jun 7 00:21 coverage.out 00:21:41 -rw-rw-r-- 1 jenkins jenkins 208 Jun 7 00:21 go.mod 00:21:41 -rw-rw-r-- 1 jenkins jenkins 49477 Jun 7 00:18 go.sum 00:21:41 drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 00:18 internal 00:21:41 drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 00:18 snap 00:21:41 drwxrwxr-x 6 jenkins jenkins 4096 Jun 7 00:18 vendor 00:21:41 -rw-rw-r-- 1 jenkins jenkins 228 Jun 7 00:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:21:41 + 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=5277efcfa7ebb663f8a02312877e07eb3663f5b0 --label arch=arm64 --label version=0.0.0 . 00:21:43 Sending build context to Docker daemon 13.79MB 00:21:43 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 00:21:43 Step 2/23 : FROM ${BASE} AS builder 00:21:43 ---> e55c936d93e2 00:21:43 Step 3/23 : ARG MAKE='make build' 00:21:43 ---> Running in caa140a12559 00:21:43 Removing intermediate container caa140a12559 00:21:43 ---> 7540c2fbad74 00:21:43 Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:21:43 ---> Running in 67ed03aba6c0 00:21:44 Removing intermediate container 67ed03aba6c0 00:21:44 ---> c43a48b5b62a 00:21:44 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 00:21:44 ---> Running in d2e71db24173 00:21:44 Removing intermediate container d2e71db24173 00:21:44 ---> 80a3b1bca0df 00:21:44 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:21:44 ---> Running in e94d3811d683 00:21:46 Removing intermediate container e94d3811d683 00:21:46 ---> 91b2e55f4976 00:21:46 Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:21:46 ---> Running in e374722c37bc 00:21:46 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:21:47 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:21:48 OK: 224 MiB in 56 packages 00:21:49 Removing intermediate container e374722c37bc 00:21:49 ---> 55d0cf7d26ca 00:21:49 Step 8/23 : WORKDIR /device-snmp-go 00:21:49 ---> Running in fe332a039f2e 00:21:50 Removing intermediate container fe332a039f2e 00:21:50 ---> aafab390a73e 00:21:50 Step 9/23 : COPY . . 00:21:54 ---> f9969baa90ba 00:21:54 Step 10/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:21:54 ---> Running in 61af35bcf3dd 00:21:55 skipping... 00:21:55 Removing intermediate container 61af35bcf3dd 00:21:55 ---> 6b192861ac5b 00:21:55 Step 11/23 : RUN ${MAKE} 00:21:55 ---> Running in 0dbed561e19b 00:21:57 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.1.1" -o cmd/device-snmp ./cmd 00:22:44 Removing intermediate container 0dbed561e19b 00:22:44 ---> 22cccfa3995e 00:22:44 Step 12/23 : FROM alpine:3.14 00:22:44 3.14: Pulling from library/alpine 00:22:44 455c02918c45: Pulling fs layer 00:22:44 455c02918c45: Verifying Checksum 00:22:44 455c02918c45: Download complete 00:22:44 455c02918c45: Pull complete 00:22:44 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 00:22:44 Status: Downloaded newer image for alpine:3.14 00:22:44 ---> ac73e934f311 00:22:44 Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init 00:22:44 ---> Running in dcdc955584c0 00:22:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 00:22:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 00:22:44 (1/6) Installing dumb-init (1.2.5-r1) 00:22:44 (2/6) Installing libgcc (10.3.1_git20210424-r2) 00:22:44 (3/6) Installing libsodium (1.0.18-r0) 00:22:44 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 00:22:44 (5/6) Installing libzmq (4.3.4-r0) 00:22:44 (6/6) Installing zeromq (4.3.4-r0) 00:22:44 Executing busybox-1.33.1-r7.trigger 00:22:44 OK: 8 MiB in 20 packages 00:22:44 Removing intermediate container dcdc955584c0 00:22:44 ---> e25b6dab80f6 00:22:44 Step 14/23 : COPY --from=builder /device-snmp-go/cmd / 00:22:44 ---> 8edbd9d7bc00 00:22:44 Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / 00:22:44 ---> 2eabec8b3f5e 00:22:44 Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / 00:22:45 ---> 5a509e28209f 00:22:45 Step 17/23 : EXPOSE 59993 00:22:45 ---> Running in 26d43969b6ac 00:22:45 Removing intermediate container 26d43969b6ac 00:22:45 ---> 882347c54dbe 00:22:45 Step 18/23 : EXPOSE 161 00:22:45 ---> Running in 6133aa089ab8 00:22:46 Removing intermediate container 6133aa089ab8 00:22:46 ---> 8ee0858f62ab 00:22:46 Step 19/23 : ENTRYPOINT ["/device-snmp"] 00:22:46 ---> Running in 24510f2686be 00:22:46 Removing intermediate container 24510f2686be 00:22:46 ---> b91b43d7ea9a 00:22:46 Step 20/23 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 00:22:46 ---> Running in ec719e12d88d 00:22:46 Removing intermediate container ec719e12d88d 00:22:46 ---> b756041021ad 00:22:46 Step 21/23 : LABEL arch=arm64 00:22:46 ---> Running in 31fb458eb78a 00:22:47 Removing intermediate container 31fb458eb78a 00:22:47 ---> 91ed24d4ea54 00:22:47 Step 22/23 : LABEL git_sha=5277efcfa7ebb663f8a02312877e07eb3663f5b0 00:22:47 ---> Running in cc02413dc049 00:22:47 Removing intermediate container cc02413dc049 00:22:47 ---> 91961004df38 00:22:47 Step 23/23 : LABEL version=0.0.0 00:22:47 ---> Running in b7ea676d874c 00:22:47 Removing intermediate container b7ea676d874c 00:22:47 ---> 87abd6340c1d 00:22:47 [Warning] One or more build-args [ARCH] were not consumed 00:22:48 Successfully built 87abd6340c1d 00:22:48 Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 00:22:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:22:48 00:22:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:22:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:22:49 arm64: Pulling from edgex-lftools-log-publisher 00:22:49 8998bd30e6a1: Pulling fs layer 00:22:49 04944245beec: Pulling fs layer 00:22:49 699f458cf7ca: Pulling fs layer 00:22:49 765212b225bb: Pulling fs layer 00:22:49 f23df028b6ca: Pulling fs layer 00:22:49 d65c8cfc05b1: Pulling fs layer 00:22:49 2437ff75d9bd: Pulling fs layer 00:22:49 f23df028b6ca: Waiting 00:22:49 d65c8cfc05b1: Waiting 00:22:49 2437ff75d9bd: Waiting 00:22:49 765212b225bb: Waiting 00:22:49 04944245beec: Verifying Checksum 00:22:49 04944245beec: Download complete 00:22:49 765212b225bb: Verifying Checksum 00:22:49 f23df028b6ca: Verifying Checksum 00:22:49 f23df028b6ca: Download complete 00:22:49 d65c8cfc05b1: Verifying Checksum 00:22:49 d65c8cfc05b1: Download complete 00:22:49 699f458cf7ca: Verifying Checksum 00:22:49 699f458cf7ca: Download complete 00:22:50 8998bd30e6a1: Download complete 00:22:52 2437ff75d9bd: Verifying Checksum 00:22:52 2437ff75d9bd: Download complete 00:22:54 8998bd30e6a1: Pull complete 00:22:54 04944245beec: Pull complete 00:22:56 699f458cf7ca: Pull complete 00:22:56 765212b225bb: Pull complete 00:22:57 f23df028b6ca: Pull complete 00:22:57 d65c8cfc05b1: Pull complete 00:23:12 2437ff75d9bd: Pull complete 00:23:12 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:23:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:23:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:23:13 prd-ubuntu20.04-docker-arm64-4c-16g-1564 does not seem to be running inside a container 00:23:13 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:23:15 $ docker top 7279519b3b4febcb5a941b2b26849db80ad5effbf3b1d26e5499c454886c78e7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:23:16 ---> job-cost.sh 00:23:16 lf-activate-venv: SKIPPING 00:23:16 INFO: No Stack... 00:23:17 INFO: Retrieving Pricing Info for: v3-standard-4 00:23:18 INFO: Archiving Costs [Pipeline] sh 00:23:18 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 00:23:18 + cut -d, -f6 [Pipeline] lock 00:23:18 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-176-1-stack-cost] 00:23:18 Resource [jenkins-edgexfoundry-device-snmp-go-PR-176-1-stack-cost] did not exist. Created. 00:23:18 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-176-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:23:19 /w/workspace/device-snmp-go/1@tmp/durable-1fcc6cf3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:23:20 + echo total: 0.10999999940395355 [Pipeline] stash 00:23:20 Warning: overwriting stash ‘stack-cost’ 00:23:20 Stashed 1 file(s) [Pipeline] } 00:23:20 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-176-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:23:20 $ docker stop --time=1 7279519b3b4febcb5a941b2b26849db80ad5effbf3b1d26e5499c454886c78e7 00:23:22 $ docker rm -f 7279519b3b4febcb5a941b2b26849db80ad5effbf3b1d26e5499c454886c78e7 [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 00:23:23 provisioning config files... 00:23:23 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-176@tmp/config917568555216267692tmp [Pipeline] { [Pipeline] sh 00:23:23 + set +x 00:23:23 + curl -s https://codecov.io/bash 00:23:23 + bash -s -- 00:23:23 00:23:23 _____ _ 00:23:23 / ____| | | 00:23:23 | | ___ __| | ___ ___ _____ __ 00:23:23 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:23:23 | |___| (_) | (_| | __/ (_| (_) \ V / 00:23:23 \_____\___/ \__,_|\___|\___\___/ \_/ 00:23:23 Bash-1.0.6 00:23:23 00:23:23 00:23:23 ==> git version 2.25.1 found 00:23:23 ==> 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 00:23:23 Release-Date: 2020-01-08 00:23:23 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:23:23 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:23:23 ==> Jenkins CI detected. 00:23:23 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-176 00:23:23 project root: . 00:23:23 --> token set from env 00:23:23 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:23:23 ==> Running gcov in . (disable via -X gcov) 00:23:23 ==> Python coveragepy not found 00:23:23 ==> Searching for coverage reports in: 00:23:23 + . 00:23:23 -> Found 1 reports 00:23:23 ==> Detecting git/mercurial file structure 00:23:23 ==> Reading reports 00:23:23 + ./coverage.out bytes=7631 00:23:23 ==> Appending adjustments 00:23:23 https://docs.codecov.io/docs/fixing-reports 00:23:23 + Found adjustments 00:23:23 ==> Gzipping contents 00:23:23 8.0K /tmp/codecov.mhRxNl.gz 00:23:23 ==> Uploading reports 00:23:23 url: https://codecov.io 00:23:23 query: branch=PR-176&commit=5277efcfa7ebb663f8a02312877e07eb3663f5b0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-176%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=176&job=&cmd_args= 00:23:23 -> Pinging Codecov 00:23:23 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-176&commit=5277efcfa7ebb663f8a02312877e07eb3663f5b0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-176%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=176&job=&cmd_args= 00:23:24 -> Uploading to 00:23:24 https://storage.googleapis.com/codecov/v4/raw/2022-06-07/6C56EA5C29638FB4528AC87E60AF5AE0/5277efcfa7ebb663f8a02312877e07eb3663f5b0/0b895f4a-4338-4736-ac94-71e962a936f8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220607%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220607T002323Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=91902cbaf37a7c8fc79a8a361e3412f29b2d1d506c0902b389942e23ab5762d1 00:23:24 % Total % Received % Xferd Average Speed Time Time Time Current 00:23:24 Dload Upload Total Spent Left Speed 00:23:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 7952 0 0 100 7952 0 29343 --:--:-- --:--:-- --:--:-- 29343 00:23:24 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/5277efcfa7ebb663f8a02312877e07eb3663f5b0 [Pipeline] } 00:23:24 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 00:23:26 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-176/archives ] 00:23:26 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-176/archives 00:23:26 total 16 00:23:26 drwxr-xr-x 3 root root 4096 Jun 7 00:18 . 00:23:26 drwxrwxr-x 11 jenkins jenkins 4096 Jun 7 00:18 .. 00:23:26 drwxr-xr-x 2 root root 4096 Jun 7 00:18 cost 00:23:26 -rw-r--r-- 1 root root 85 Jun 7 00:18 cost.csv 00:23:26 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-176/archives 00:23:26 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-176/archives 00:23:26 total 16 00:23:26 drwxr-xr-x 3 jenkins jenkins 4096 Jun 7 00:18 . 00:23:26 drwxrwxr-x 11 jenkins jenkins 4096 Jun 7 00:18 .. 00:23:26 drwxr-xr-x 2 jenkins jenkins 4096 Jun 7 00:18 cost 00:23:26 -rw-r--r-- 1 jenkins jenkins 85 Jun 7 00:18 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:23:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:23:27 ---> package-listing.sh 00:23:27 ++ facter osfamily 00:23:27 ++ tr '[:upper:]' '[:lower:]' 00:23:27 + OS_FAMILY=debian 00:23:27 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-176 00:23:27 + START_PACKAGES=/tmp/packages_start.txt 00:23:27 + END_PACKAGES=/tmp/packages_end.txt 00:23:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:23:27 + PACKAGES=/tmp/packages_start.txt 00:23:27 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-176 ']' 00:23:27 + PACKAGES=/tmp/packages_end.txt 00:23:27 + case "${OS_FAMILY}" in 00:23:27 + dpkg -l 00:23:27 + grep '^ii' 00:23:27 + '[' -f /tmp/packages_start.txt ']' 00:23:27 + '[' -f /tmp/packages_end.txt ']' 00:23:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:23:27 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-176 ']' 00:23:27 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-176/archives/ 00:23:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-176/archives/ [Pipeline] echo 00:23:27 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-176/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:23:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:23:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:23:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:23:28 prd-ubuntu20.04-docker-8c-8g-1563 does not seem to be running inside a container 00:23:28 $ 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-176/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-176 -v /w/workspace/gexfoundry_device-snmp-go_PR-176:/w/workspace/gexfoundry_device-snmp-go_PR-176:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-176@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-176@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:latest cat 00:23:28 $ docker top df17f83341aea186aef5542acd1f3485a0a1238882b04baf347c7f6fb34d6731 -eo pid,comm [Pipeline] { [Pipeline] sh 00:23:29 + touch /tmp/pre-build-complete [Pipeline] sh 00:23:29 + mkdir -p /var/log/sysstat [Pipeline] sh 00:23:29 + ls /var/log/sa-host 00:23:29 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:23:30 provisioning config files... 00:23:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-176@tmp/config9056290101691255883tmp [Pipeline] { [Pipeline] echo 00:23:30 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:23:30 ---> create-netrc.sh [Pipeline] } 00:23:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:23:30 ---> python-tools-install.sh [Pipeline] echo 00:23:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:23:31 ---> sudo-logs.sh 00:23:31 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:23:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:23:31 ---> job-cost.sh 00:23:31 lf-activate-venv: SKIPPING 00:23:31 DEBUG: total: 0.2199999988079071 00:23:31 INFO: Retrieving Stack Cost... 00:23:32 INFO: Retrieving Pricing Info for: v3-standard-8 00:23:32 INFO: Archiving Costs [Pipeline] echo 00:23:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:23:32 ---> logs-deploy.sh 00:23:32 lf-activate-venv: SKIPPING 00:23:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-176/1 00:23:32 INFO: archiving workspace using pattern(s): 00:23:33 Archives upload complete. 00:23:33 INFO: archiving logs to Nexus