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 [2022-06-07T00:16:39.296Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-07T00:16:39.478Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-07T00:16:39.596Z] ========================================================= [2022-06-07T00:16:39.596Z] EdgeX Global Pipelines Version Info [2022-06-07T00:16:39.596Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-07T00:16:40.466Z] ------------------- [2022-06-07T00:16:40.466Z] stable info: [2022-06-07T00:16:40.466Z] ------------------- [2022-06-07T00:16:40.466Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-07T00:16:40.466Z] Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 [2022-06-07T00:16:40.466Z] Message: update stable to v1.0.232 [2022-06-07T00:16:41.040Z] ------------------- [2022-06-07T00:16:41.040Z] experimental info: [2022-06-07T00:16:41.040Z] ------------------- [2022-06-07T00:16:41.040Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-07T00:16:41.040Z] Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 [2022-06-07T00:16:41.040Z] Message: update experimental to v1.0.232 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-07T00:16:41.439Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-06-07T00:16:41.477Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-06-07T00:16:41.517Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-07T00:16:41.553Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-07T00:16:41.588Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-07T00:16:41.625Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-07T00:16:41.662Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-07T00:16:41.697Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-07T00:16:41.732Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-07T00:16:41.777Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-07T00:16:41.814Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-07T00:16:41.851Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-06-07T00:16:41.887Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-07T00:16:41.922Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-07T00:16:41.956Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-07T00:16:41.994Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-07T00:16:42.032Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-07T00:16:42.070Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-07T00:16:42.108Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-07T00:16:42.146Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-07T00:16:42.182Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-07T00:16:42.222Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-07T00:16:42.260Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-07T00:16:42.300Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-07T00:16:42.338Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-07T00:16:42.375Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-07T00:16:42.411Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-07T00:16:42.447Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-176 [Pipeline] echo [2022-06-07T00:16:42.487Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-176 [Pipeline] echo [2022-06-07T00:16:42.525Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-176 [Pipeline] echo [2022-06-07T00:16:42.561Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5277efcfa7ebb663f8a02312877e07eb3663f5b0 [Pipeline] echo [2022-06-07T00:16:42.604Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5277efc [Pipeline] echo [2022-06-07T00:16:42.643Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-07T00:16:42.751Z] provisioning config files... [2022-06-07T00:16:42.765Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-176@tmp/config8613543219290081938tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T00:16:43.101Z] ---> docker-login.sh [2022-06-07T00:16:43.101Z] nexus3.edgexfoundry.org:10001 [2022-06-07T00:16:43.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T00:16:43.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T00:16:43.362Z] Configure a credential helper to remove this warning. See [2022-06-07T00:16:43.362Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T00:16:43.362Z] [2022-06-07T00:16:43.362Z] Login Succeeded [2022-06-07T00:16:43.362Z] nexus3.edgexfoundry.org:10002 [2022-06-07T00:16:43.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T00:16:43.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T00:16:43.625Z] Configure a credential helper to remove this warning. See [2022-06-07T00:16:43.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T00:16:43.625Z] [2022-06-07T00:16:43.625Z] Login Succeeded [2022-06-07T00:16:43.625Z] nexus3.edgexfoundry.org:10003 [2022-06-07T00:16:43.625Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T00:16:43.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T00:16:43.625Z] Configure a credential helper to remove this warning. See [2022-06-07T00:16:43.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T00:16:43.625Z] [2022-06-07T00:16:43.625Z] Login Succeeded [2022-06-07T00:16:43.625Z] nexus3.edgexfoundry.org:10004 [2022-06-07T00:16:43.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T00:16:43.887Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T00:16:43.887Z] Configure a credential helper to remove this warning. See [2022-06-07T00:16:43.887Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T00:16:43.887Z] [2022-06-07T00:16:43.887Z] Login Succeeded [2022-06-07T00:16:43.887Z] docker.io [2022-06-07T00:16:43.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T00:16:44.149Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T00:16:44.149Z] Configure a credential helper to remove this warning. See [2022-06-07T00:16:44.149Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T00:16:44.149Z] [2022-06-07T00:16:44.149Z] Login Succeeded [2022-06-07T00:16:44.149Z] ---> docker-login.sh ends [Pipeline] } [2022-06-07T00:16:44.174Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-07T00:16:44.770Z] + git rev-list -1 --merges 5277efcfa7ebb663f8a02312877e07eb3663f5b0~1..5277efcfa7ebb663f8a02312877e07eb3663f5b0 [Pipeline] echo [2022-06-07T00:16:44.821Z] -----------> git rev-list -1 --merges 5277efcfa7ebb663f8a02312877e07eb3663f5b0~1..5277efcfa7ebb663f8a02312877e07eb3663f5b0 5277efcfa7ebb663f8a02312877e07eb3663f5b0 [false] [Pipeline] sh [2022-06-07T00:16:45.139Z] + git log --format=format:%s -1 5277efcfa7ebb663f8a02312877e07eb3663f5b0 [Pipeline] echo [2022-06-07T00:16:45.174Z] ========================================================= [2022-06-07T00:16:45.174Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-07T00:16:45.174Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-07T00:16:45.612Z] + git log --format=format:%s -1 5277efcfa7ebb663f8a02312877e07eb3663f5b0 [Pipeline] echo [2022-06-07T00:16:45.653Z] [semverPrep] GIT_COMMIT: 5277efcfa7ebb663f8a02312877e07eb3663f5b0, Commit Message: build: Update to released SDK and go-mods and change log for 2.1.1 patch [Pipeline] echo [2022-06-07T00:16:45.682Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-07T00:16:46.055Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-07T00:16:46.055Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-07T00:16:46.055Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-07T00:16:46.055Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-07T00:16:46.055Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-07T00:16:46.055Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-07T00:16:46.055Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:16:46.492Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-07T00:16:46.492Z] [2022-06-07T00:16:46.493Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:16:46.905Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-07T00:16:46.905Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-07T00:16:46.905Z] 42c077c10790: Pulling fs layer [2022-06-07T00:16:46.905Z] f63e77b7563a: Pulling fs layer [2022-06-07T00:16:46.905Z] bd5fdadae976: Pulling fs layer [2022-06-07T00:16:46.905Z] 205491f53016: Pulling fs layer [2022-06-07T00:16:46.905Z] df18705c85c3: Pulling fs layer [2022-06-07T00:16:46.905Z] bdb3f477010e: Pulling fs layer [2022-06-07T00:16:46.905Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-07T00:16:46.905Z] 2c6e9b1d212d: Pulling fs layer [2022-06-07T00:16:46.905Z] bdb8f0575790: Pulling fs layer [2022-06-07T00:16:46.905Z] 386e3cb2ff24: Pulling fs layer [2022-06-07T00:16:46.905Z] 2343380bae48: Pulling fs layer [2022-06-07T00:16:46.905Z] c8a8fc8e1c8f: Waiting [2022-06-07T00:16:46.905Z] 2c6e9b1d212d: Waiting [2022-06-07T00:16:46.905Z] bdb8f0575790: Waiting [2022-06-07T00:16:46.905Z] 386e3cb2ff24: Waiting [2022-06-07T00:16:46.905Z] 2343380bae48: Waiting [2022-06-07T00:16:46.905Z] 205491f53016: Waiting [2022-06-07T00:16:46.905Z] bdb3f477010e: Waiting [2022-06-07T00:16:46.905Z] df18705c85c3: Waiting [2022-06-07T00:16:46.905Z] f63e77b7563a: Verifying Checksum [2022-06-07T00:16:46.905Z] f63e77b7563a: Download complete [2022-06-07T00:16:46.905Z] 205491f53016: Verifying Checksum [2022-06-07T00:16:46.905Z] 205491f53016: Download complete [2022-06-07T00:16:46.905Z] df18705c85c3: Verifying Checksum [2022-06-07T00:16:46.906Z] df18705c85c3: Download complete [2022-06-07T00:16:47.179Z] bd5fdadae976: Download complete [2022-06-07T00:16:47.179Z] bdb3f477010e: Download complete [2022-06-07T00:16:47.179Z] 2c6e9b1d212d: Verifying Checksum [2022-06-07T00:16:47.179Z] 2c6e9b1d212d: Download complete [2022-06-07T00:16:47.179Z] bdb8f0575790: Download complete [2022-06-07T00:16:47.179Z] 386e3cb2ff24: Verifying Checksum [2022-06-07T00:16:47.179Z] 386e3cb2ff24: Download complete [2022-06-07T00:16:47.179Z] 2343380bae48: Verifying Checksum [2022-06-07T00:16:47.179Z] 2343380bae48: Download complete [2022-06-07T00:16:47.179Z] 42c077c10790: Verifying Checksum [2022-06-07T00:16:47.179Z] 42c077c10790: Download complete [2022-06-07T00:16:47.439Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-07T00:16:47.439Z] c8a8fc8e1c8f: Download complete [2022-06-07T00:16:48.379Z] 42c077c10790: Pull complete [2022-06-07T00:16:48.379Z] f63e77b7563a: Pull complete [2022-06-07T00:16:48.949Z] bd5fdadae976: Pull complete [2022-06-07T00:16:48.949Z] 205491f53016: Pull complete [2022-06-07T00:16:49.209Z] df18705c85c3: Pull complete [2022-06-07T00:16:49.209Z] bdb3f477010e: Pull complete [2022-06-07T00:16:51.122Z] c8a8fc8e1c8f: Pull complete [2022-06-07T00:16:51.122Z] 2c6e9b1d212d: Pull complete [2022-06-07T00:16:51.122Z] bdb8f0575790: Pull complete [2022-06-07T00:16:51.383Z] 386e3cb2ff24: Pull complete [2022-06-07T00:16:51.383Z] 2343380bae48: Pull complete [2022-06-07T00:16:51.383Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-07T00:16:51.383Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-07T00:16:51.383Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T00:16:51.590Z] prd-ubuntu20.04-docker-8c-8g-1563 does not seem to be running inside a container [2022-06-07T00:16:51.618Z] $ 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 [2022-06-07T00:16:52.875Z] $ docker top 141d4ce05dcf010eba7b06f6eda375a8c5363b70140259eeeb2e54f4061b02df -eo pid,comm [2022-06-07T00:16:52.943Z] 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). [2022-06-07T00:16:52.943Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-07T00:16:53.068Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-07T00:16:53.068Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-07T00:16:53.199Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-07T00:16:53.195Z] $ docker exec 141d4ce05dcf010eba7b06f6eda375a8c5363b70140259eeeb2e54f4061b02df ssh-agent [2022-06-07T00:16:53.321Z] SSH_AUTH_SOCK=/tmp/ssh-twW7bFRz8Tmm/agent.33 [2022-06-07T00:16:53.321Z] SSH_AGENT_PID=39 [2022-06-07T00:16:53.327Z] Running ssh-add (command line suppressed) [2022-06-07T00:16:53.438Z] 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) [2022-06-07T00:16:53.459Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-07T00:16:53.785Z] + git tag --points-at HEAD [Pipeline] } [2022-06-07T00:16:53.804Z] $ docker exec --env ******** --env ******** 141d4ce05dcf010eba7b06f6eda375a8c5363b70140259eeeb2e54f4061b02df ssh-agent -k [2022-06-07T00:16:53.900Z] unset SSH_AUTH_SOCK; [2022-06-07T00:16:53.901Z] unset SSH_AGENT_PID; [2022-06-07T00:16:53.901Z] echo Agent pid 39 killed; [2022-06-07T00:16:53.918Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-07T00:16:54.003Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-07T00:16:54.003Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-07T00:16:54.121Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-07T00:16:54.118Z] $ docker exec 141d4ce05dcf010eba7b06f6eda375a8c5363b70140259eeeb2e54f4061b02df ssh-agent [2022-06-07T00:16:54.231Z] SSH_AUTH_SOCK=/tmp/ssh-tcs5WsKLzQOt/agent.72 [2022-06-07T00:16:54.231Z] SSH_AGENT_PID=78 [2022-06-07T00:16:54.235Z] Running ssh-add (command line suppressed) [2022-06-07T00:16:54.353Z] 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) [2022-06-07T00:16:54.374Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-07T00:16:54.709Z] + git semver init [2022-06-07T00:16:54.970Z] 2022-06-07 00:16:54,911 [run_init] DEBUG init version:0.0.0 force:False [2022-06-07T00:16:54.970Z] 2022-06-07 00:16:54,911 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-176/.semver [2022-06-07T00:16:54.970Z] 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 [2022-06-07T00:16:54.970Z] 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) [2022-06-07T00:16:55.915Z] 2022-06-07 00:16:55,591 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-176/.git/info/exclude [2022-06-07T00:16:55.915Z] 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 [2022-06-07T00:16:55.915Z] 2022-06-07 00:16:55,592 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-176/.semver/PR-176 [2022-06-07T00:16:55.915Z] 2022-06-07 00:16:55,597 [execute] INFO git cat-file --batch-check [2022-06-07T00:16:55.915Z] 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=) [2022-06-07T00:16:55.915Z] 2022-06-07 00:16:55,605 [execute] INFO git cat-file --batch [2022-06-07T00:16:55.915Z] 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=) [2022-06-07T00:16:55.915Z] 2022-06-07 00:16:55,611 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-176/.semver/PR-176 [2022-06-07T00:16:55.915Z] 0.0.0 [Pipeline] } [2022-06-07T00:16:55.941Z] $ docker exec --env ******** --env ******** 141d4ce05dcf010eba7b06f6eda375a8c5363b70140259eeeb2e54f4061b02df ssh-agent -k [2022-06-07T00:16:56.065Z] unset SSH_AUTH_SOCK; [2022-06-07T00:16:56.065Z] unset SSH_AGENT_PID; [2022-06-07T00:16:56.065Z] echo Agent pid 78 killed; [2022-06-07T00:16:56.082Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-07T00:16:56.525Z] + git semver [Pipeline] } [2022-06-07T00:16:56.824Z] $ docker stop --time=1 141d4ce05dcf010eba7b06f6eda375a8c5363b70140259eeeb2e54f4061b02df [2022-06-07T00:16:58.122Z] $ docker rm -f 141d4ce05dcf010eba7b06f6eda375a8c5363b70140259eeeb2e54f4061b02df [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-07T00:16:58.536Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-07T00:16:58.837Z] Stashed 1 file(s) [Pipeline] echo [2022-06-07T00:16:58.855Z] [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 [2022-06-07T00:16:59.558Z] provisioning config files... [2022-06-07T00:16:59.567Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-176@tmp/config8523665274959507277tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T00:16:59.907Z] ---> docker-login.sh [2022-06-07T00:16:59.907Z] nexus3.edgexfoundry.org:10001 [2022-06-07T00:16:59.907Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T00:16:59.907Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T00:16:59.907Z] Configure a credential helper to remove this warning. See [2022-06-07T00:16:59.907Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T00:16:59.907Z] [2022-06-07T00:16:59.907Z] Login Succeeded [2022-06-07T00:16:59.907Z] nexus3.edgexfoundry.org:10002 [2022-06-07T00:16:59.907Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T00:16:59.907Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T00:16:59.907Z] Configure a credential helper to remove this warning. See [2022-06-07T00:16:59.907Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T00:16:59.907Z] [2022-06-07T00:16:59.907Z] Login Succeeded [2022-06-07T00:17:00.169Z] nexus3.edgexfoundry.org:10003 [2022-06-07T00:17:00.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T00:17:00.169Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T00:17:00.169Z] Configure a credential helper to remove this warning. See [2022-06-07T00:17:00.169Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T00:17:00.169Z] [2022-06-07T00:17:00.169Z] Login Succeeded [2022-06-07T00:17:00.169Z] nexus3.edgexfoundry.org:10004 [2022-06-07T00:17:00.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T00:17:00.430Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T00:17:00.430Z] Configure a credential helper to remove this warning. See [2022-06-07T00:17:00.430Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T00:17:00.430Z] [2022-06-07T00:17:00.430Z] Login Succeeded [2022-06-07T00:17:00.430Z] docker.io [2022-06-07T00:17:00.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T00:17:00.692Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T00:17:00.692Z] Configure a credential helper to remove this warning. See [2022-06-07T00:17:00.692Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T00:17:00.692Z] [2022-06-07T00:17:00.692Z] Login Succeeded [2022-06-07T00:17:00.692Z] ---> docker-login.sh ends [Pipeline] } [2022-06-07T00:17:00.720Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-07T00:17:00.914Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-07T00:17:00.943Z] ========================================================= [2022-06-07T00:17:00.943Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts] [2022-06-07T00:17:00.943Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:17:01.403Z] + 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 . [2022-06-07T00:17:01.403Z] Sending build context to Docker daemon 16.36MB [2022-06-07T00:17:01.663Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2022-06-07T00:17:01.663Z] Step 2/11 : FROM ${BASE} AS builder [2022-06-07T00:17:01.663Z] 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base [2022-06-07T00:17:01.663Z] 59bf1c3509f3: Pulling fs layer [2022-06-07T00:17:01.663Z] 666ba61612fd: Pulling fs layer [2022-06-07T00:17:01.663Z] 8ed8ca486205: Pulling fs layer [2022-06-07T00:17:01.663Z] 4fe6c5a15a65: Pulling fs layer [2022-06-07T00:17:01.663Z] 22a0e8bec74d: Pulling fs layer [2022-06-07T00:17:01.663Z] 812f408151ee: Pulling fs layer [2022-06-07T00:17:01.663Z] bab7bd504b26: Pulling fs layer [2022-06-07T00:17:01.663Z] 070449caade9: Pulling fs layer [2022-06-07T00:17:01.663Z] 8f1a5288e3a6: Pulling fs layer [2022-06-07T00:17:01.663Z] bab7bd504b26: Waiting [2022-06-07T00:17:01.663Z] 070449caade9: Waiting [2022-06-07T00:17:01.663Z] 8f1a5288e3a6: Waiting [2022-06-07T00:17:01.663Z] 4fe6c5a15a65: Waiting [2022-06-07T00:17:01.663Z] 22a0e8bec74d: Waiting [2022-06-07T00:17:01.663Z] 812f408151ee: Waiting [2022-06-07T00:17:01.663Z] 8ed8ca486205: Verifying Checksum [2022-06-07T00:17:01.663Z] 8ed8ca486205: Download complete [2022-06-07T00:17:01.663Z] 666ba61612fd: Download complete [2022-06-07T00:17:01.663Z] 22a0e8bec74d: Download complete [2022-06-07T00:17:01.663Z] 812f408151ee: Verifying Checksum [2022-06-07T00:17:01.663Z] 812f408151ee: Download complete [2022-06-07T00:17:01.663Z] bab7bd504b26: Verifying Checksum [2022-06-07T00:17:01.663Z] bab7bd504b26: Download complete [2022-06-07T00:17:01.663Z] 59bf1c3509f3: Download complete [2022-06-07T00:17:01.663Z] 070449caade9: Verifying Checksum [2022-06-07T00:17:01.663Z] 070449caade9: Download complete [2022-06-07T00:17:01.924Z] 59bf1c3509f3: Pull complete [2022-06-07T00:17:01.924Z] 666ba61612fd: Pull complete [2022-06-07T00:17:01.924Z] 8ed8ca486205: Pull complete [2022-06-07T00:17:02.494Z] 8f1a5288e3a6: Verifying Checksum [2022-06-07T00:17:02.494Z] 8f1a5288e3a6: Download complete [2022-06-07T00:17:02.494Z] 4fe6c5a15a65: Verifying Checksum [2022-06-07T00:17:02.494Z] 4fe6c5a15a65: Download complete [2022-06-07T00:17:06.686Z] 4fe6c5a15a65: Pull complete [2022-06-07T00:17:06.686Z] 22a0e8bec74d: Pull complete [2022-06-07T00:17:06.686Z] 812f408151ee: Pull complete [2022-06-07T00:17:06.686Z] bab7bd504b26: Pull complete [2022-06-07T00:17:06.686Z] 070449caade9: Pull complete [2022-06-07T00:17:08.592Z] 8f1a5288e3a6: Pull complete [2022-06-07T00:17:08.592Z] Digest: sha256:53030bcd5b82665afb3cefeba7a6fee19172d9224e433a3be554ad5982a25c96 [2022-06-07T00:17:08.592Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts [2022-06-07T00:17:08.592Z] ---> c47586b81864 [2022-06-07T00:17:08.593Z] Step 3/11 : ARG MAKE='make build' [2022-06-07T00:17:09.542Z] ---> Running in 04bdad9a3e83 [2022-06-07T00:17:09.805Z] Removing intermediate container 04bdad9a3e83 [2022-06-07T00:17:09.805Z] ---> c5ef85d3f9dd [2022-06-07T00:17:09.805Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-07T00:17:09.805Z] ---> Running in f554f273acc8 [2022-06-07T00:17:09.805Z] Removing intermediate container f554f273acc8 [2022-06-07T00:17:09.805Z] ---> 1fa270c0c501 [2022-06-07T00:17:09.805Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2022-06-07T00:17:09.805Z] ---> Running in 0defd3b325e7 [2022-06-07T00:17:09.805Z] Removing intermediate container 0defd3b325e7 [2022-06-07T00:17:09.805Z] ---> 9f1b61378814 [2022-06-07T00:17:09.805Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-07T00:17:10.065Z] ---> Running in b36df2627e1d [2022-06-07T00:17:10.638Z] Removing intermediate container b36df2627e1d [2022-06-07T00:17:10.638Z] ---> b354430f56ea [2022-06-07T00:17:10.638Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-07T00:17:10.638Z] ---> Running in 9d49da207b68 [2022-06-07T00:17:10.898Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-07T00:17:11.843Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-07T00:17:12.104Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-07T00:17:12.104Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-07T00:17:12.104Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-07T00:17:12.365Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-07T00:17:12.365Z] Executing busybox-1.34.1-r3.trigger [2022-06-07T00:17:12.365Z] OK: 224 MiB in 56 packages [2022-06-07T00:17:12.631Z] Removing intermediate container 9d49da207b68 [2022-06-07T00:17:12.631Z] ---> 3c3291f289ec [2022-06-07T00:17:12.631Z] Step 8/11 : WORKDIR /device-snmp-go [2022-06-07T00:17:12.893Z] ---> Running in b8a0a7cb7b6f [2022-06-07T00:17:12.893Z] Removing intermediate container b8a0a7cb7b6f [2022-06-07T00:17:12.893Z] ---> c25513e262d8 [2022-06-07T00:17:12.893Z] Step 9/11 : COPY . . [2022-06-07T00:17:13.831Z] ---> cfdc7f191528 [2022-06-07T00:17:13.831Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-07T00:17:13.831Z] ---> Running in a8a9eb34a7b6 [2022-06-07T00:17:14.090Z] skipping... [2022-06-07T00:17:14.350Z] Removing intermediate container a8a9eb34a7b6 [2022-06-07T00:17:14.350Z] ---> 3a44302d2b13 [2022-06-07T00:17:14.350Z] Step 11/11 : RUN ${MAKE} [2022-06-07T00:17:14.350Z] ---> Running in 2d3201efb60a [2022-06-07T00:17:14.387Z] Still waiting to schedule task [2022-06-07T00:17:14.387Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-1561’ is offline [2022-06-07T00:17:14.609Z] noop [2022-06-07T00:17:14.869Z] Removing intermediate container 2d3201efb60a [2022-06-07T00:17:14.869Z] ---> 190b047a3773 [2022-06-07T00:17:14.869Z] Successfully built 190b047a3773 [2022-06-07T00:17:14.869Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:17:15.320Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-07T00:17:15.320Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T00:17:15.471Z] prd-ubuntu20.04-docker-8c-8g-1563 does not seem to be running inside a container [2022-06-07T00:17:15.510Z] $ 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 [2022-06-07T00:17:15.859Z] $ docker top 582612b177a978d7d9cc4db59d17b6090789340a534298ad98104d9ec1ef145f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-07T00:17:16.248Z] + go version [2022-06-07T00:17:16.248Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-06-07T00:17:16.284Z] $ docker stop --time=1 582612b177a978d7d9cc4db59d17b6090789340a534298ad98104d9ec1ef145f [2022-06-07T00:17:17.581Z] $ 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 [2022-06-07T00:17:18.252Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-07T00:17:18.252Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T00:17:18.411Z] prd-ubuntu20.04-docker-8c-8g-1563 does not seem to be running inside a container [2022-06-07T00:17:18.450Z] $ 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 [2022-06-07T00:17:18.863Z] $ docker top f13478f14c93ceb90691eb8cad970a8f107c85bed2ca4b136f7f4d7bf7c1bdc8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-07T00:17:19.358Z] + make test [2022-06-07T00:17:19.358Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-07T00:17:19.618Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-06-07T00:17:26.232Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-06-07T00:17:26.232Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.008s coverage: 0.0% of statements [2022-06-07T00:17:26.232Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-07T00:17:29.524Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-07T00:17:29.524Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-07T00:17:29.524Z] ./bin/test-attribution-txt.sh [2022-06-07T00:17:30.909Z] go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.1 [2022-06-07T00:17:30.909Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2022-06-07T00:17:30.909Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-06-07T00:17:30.909Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1 [2022-06-07T00:17:30.909Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.1 [2022-06-07T00:17:30.909Z] go: downloading github.com/soniah/gosnmp v1.21.0 [2022-06-07T00:17:30.909Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1 [2022-06-07T00:17:30.909Z] go: downloading github.com/google/uuid v1.3.0 [2022-06-07T00:17:30.909Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-06-07T00:17:30.909Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 [2022-06-07T00:17:30.909Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2022-06-07T00:17:30.909Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-06-07T00:17:30.909Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2022-06-07T00:17:30.909Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 [2022-06-07T00:17:30.909Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1 [2022-06-07T00:17:30.909Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-06-07T00:17:31.177Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-06-07T00:17:31.177Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2022-06-07T00:17:31.177Z] go: downloading github.com/go-kit/kit v0.11.0 [2022-06-07T00:17:31.177Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2022-06-07T00:17:31.177Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2022-06-07T00:17:31.177Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2022-06-07T00:17:31.177Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-06-07T00:17:31.177Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-06-07T00:17:31.177Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-06-07T00:17:31.177Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-06-07T00:17:31.177Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-06-07T00:17:31.177Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-06-07T00:17:31.177Z] go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 [2022-06-07T00:17:31.177Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2022-06-07T00:17:31.177Z] go: downloading golang.org/x/text v0.3.6 [2022-06-07T00:17:31.177Z] go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 [2022-06-07T00:17:31.177Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-06-07T00:17:31.177Z] go: downloading github.com/golang/mock v1.4.4 [2022-06-07T00:17:31.437Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-06-07T00:17:31.437Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-06-07T00:17:31.437Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-06-07T00:17:31.437Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-06-07T00:17:31.437Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-06-07T00:17:31.437Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-06-07T00:17:31.437Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-06-07T00:17:31.437Z] go: downloading github.com/x448/float16 v0.8.4 [2022-06-07T00:17:31.437Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-06-07T00:17:31.437Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-06-07T00:17:31.437Z] go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 [2022-06-07T00:17:31.437Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2022-06-07T00:17:31.437Z] go: downloading github.com/fatih/color v1.9.0 [2022-06-07T00:17:31.437Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-06-07T00:17:31.437Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-06-07T00:17:31.437Z] go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo [2022-06-07T00:17:32.852Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2022-06-07T00:17:33.206Z] + go mod tidy [2022-06-07T00:17:33.206Z] go: downloading github.com/stretchr/testify v1.7.0 [2022-06-07T00:17:33.206Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2022-06-07T00:17:33.206Z] go: downloading github.com/go-stack/stack v1.8.0 [2022-06-07T00:17:33.206Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2022-06-07T00:17:33.206Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2022-06-07T00:17:33.206Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2022-06-07T00:17:33.206Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2022-06-07T00:17:33.206Z] go: downloading github.com/onsi/gomega v1.7.0 [2022-06-07T00:17:33.206Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2022-06-07T00:17:33.206Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2022-06-07T00:17:33.206Z] go: downloading github.com/pkg/errors v0.9.1 [2022-06-07T00:17:33.206Z] go: downloading github.com/kr/pretty v0.3.0 [2022-06-07T00:17:33.206Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2022-06-07T00:17:33.206Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2022-06-07T00:17:33.206Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-06-07T00:17:33.206Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-06-07T00:17:33.206Z] go: downloading github.com/stretchr/objx v0.1.1 [2022-06-07T00:17:33.206Z] go: downloading github.com/kr/text v0.2.0 [2022-06-07T00:17:33.206Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2022-06-07T00:17:33.206Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2022-06-07T00:17:33.206Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2022-06-07T00:17:33.206Z] go: downloading github.com/miekg/dns v1.1.26 [2022-06-07T00:17:33.206Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2022-06-07T00:17:33.465Z] go: downloading gopkg.in/yaml.v2 v2.3.0 [2022-06-07T00:17:33.465Z] go: downloading github.com/hpcloud/tail v1.0.0 [2022-06-07T00:17:33.465Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2022-06-07T00:17:33.465Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } [2022-06-07T00:17:33.507Z] $ docker stop --time=1 f13478f14c93ceb90691eb8cad970a8f107c85bed2ca4b136f7f4d7bf7c1bdc8 [2022-06-07T00:17:35.380Z] $ docker rm -f f13478f14c93ceb90691eb8cad970a8f107c85bed2ca4b136f7f4d7bf7c1bdc8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-07T00:17:35.956Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-07T00:17:36.040Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-07T00:17:36.625Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-07T00:17:36.943Z] + ls -al . [2022-06-07T00:17:36.943Z] total 180 [2022-06-07T00:17:36.943Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 7 00:17 . [2022-06-07T00:17:36.943Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 00:16 .. [2022-06-07T00:17:36.943Z] -rw-rw-r-- 1 jenkins jenkins 6 Jun 7 00:16 .dockerignore [2022-06-07T00:17:36.943Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 7 00:16 .git [2022-06-07T00:17:36.943Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 00:16 .github [2022-06-07T00:17:36.943Z] -rw-rw-r-- 1 jenkins jenkins 255 Jun 7 00:16 .gitignore [2022-06-07T00:17:36.943Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 7 00:16 .semver [2022-06-07T00:17:36.943Z] -rw-rw-r-- 1 jenkins jenkins 6926 Jun 7 00:16 Attribution.txt [2022-06-07T00:17:36.943Z] -rw-rw-r-- 1 jenkins jenkins 4800 Jun 7 00:16 CHANGELOG.md [2022-06-07T00:17:36.943Z] -rw-rw-r-- 1 jenkins jenkins 1493 Jun 7 00:16 Dockerfile [2022-06-07T00:17:36.943Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 7 00:16 GOVERNANCE.md [2022-06-07T00:17:36.943Z] -rw-rw-r-- 1 jenkins jenkins 656 Jun 7 00:16 Jenkinsfile [2022-06-07T00:17:36.943Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 7 00:16 LICENSE [2022-06-07T00:17:36.943Z] -rw-rw-r-- 1 jenkins jenkins 1526 Jun 7 00:16 Makefile [2022-06-07T00:17:36.943Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 7 00:16 OWNERS.md [2022-06-07T00:17:36.943Z] -rw-rw-r-- 1 jenkins jenkins 9073 Jun 7 00:16 README.md [2022-06-07T00:17:36.943Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 7 00:16 VERSION [2022-06-07T00:17:36.943Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 00:16 bin [2022-06-07T00:17:36.943Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 00:16 cmd [2022-06-07T00:17:36.943Z] -rw-r--r-- 1 jenkins jenkins 7631 Jun 7 00:17 coverage.out [2022-06-07T00:17:36.943Z] -rw-rw-r-- 1 jenkins jenkins 208 Jun 7 00:17 go.mod [2022-06-07T00:17:36.943Z] -rw-rw-r-- 1 jenkins jenkins 49477 Jun 7 00:16 go.sum [2022-06-07T00:17:36.943Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 00:16 internal [2022-06-07T00:17:36.943Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 00:16 snap [2022-06-07T00:17:36.943Z] drwxrwxr-x 6 jenkins jenkins 4096 Jun 7 00:16 vendor [2022-06-07T00:17:36.943Z] -rw-rw-r-- 1 jenkins jenkins 228 Jun 7 00:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:17:37.343Z] + 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 . [2022-06-07T00:17:37.344Z] Sending build context to Docker daemon 16.37MB [2022-06-07T00:17:37.344Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.14 [2022-06-07T00:17:37.344Z] Step 2/23 : FROM ${BASE} AS builder [2022-06-07T00:17:37.344Z] ---> 190b047a3773 [2022-06-07T00:17:37.344Z] Step 3/23 : ARG MAKE='make build' [2022-06-07T00:17:37.611Z] ---> Running in 966e4e564d12 [2022-06-07T00:17:37.611Z] Removing intermediate container 966e4e564d12 [2022-06-07T00:17:37.611Z] ---> 508b4407372f [2022-06-07T00:17:37.611Z] Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-07T00:17:37.611Z] ---> Running in 373a93f4779e [2022-06-07T00:17:37.873Z] Removing intermediate container 373a93f4779e [2022-06-07T00:17:37.874Z] ---> cf70d9b05c13 [2022-06-07T00:17:37.874Z] Step 5/23 : ARG ALPINE_PKG_EXTRA="" [2022-06-07T00:17:37.874Z] ---> Running in b7e2267c4726 [2022-06-07T00:17:37.874Z] Removing intermediate container b7e2267c4726 [2022-06-07T00:17:37.874Z] ---> e92101ffc226 [2022-06-07T00:17:37.874Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-07T00:17:37.874Z] ---> Running in e1c930c3d8ff [2022-06-07T00:17:38.444Z] Removing intermediate container e1c930c3d8ff [2022-06-07T00:17:38.444Z] ---> 1436cc578aba [2022-06-07T00:17:38.444Z] Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-07T00:17:38.444Z] ---> Running in 4488c98f919d [2022-06-07T00:17:38.704Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-07T00:17:39.646Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-07T00:17:39.907Z] OK: 224 MiB in 56 packages [2022-06-07T00:17:40.478Z] Removing intermediate container 4488c98f919d [2022-06-07T00:17:40.479Z] ---> ae96e9212ed4 [2022-06-07T00:17:40.479Z] Step 8/23 : WORKDIR /device-snmp-go [2022-06-07T00:17:40.479Z] ---> Running in 199d31066c6f [2022-06-07T00:17:40.479Z] Removing intermediate container 199d31066c6f [2022-06-07T00:17:40.479Z] ---> a8647acce82c [2022-06-07T00:17:40.479Z] Step 9/23 : COPY . . [2022-06-07T00:17:41.420Z] ---> 603f59b161bc [2022-06-07T00:17:41.421Z] Step 10/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-07T00:17:41.421Z] ---> Running in 5925902cc3a9 [2022-06-07T00:17:41.684Z] skipping... [2022-06-07T00:17:41.947Z] Removing intermediate container 5925902cc3a9 [2022-06-07T00:17:41.947Z] ---> 7ae08caf76b0 [2022-06-07T00:17:41.947Z] Step 11/23 : RUN ${MAKE} [2022-06-07T00:17:41.947Z] ---> Running in 6362adffa426 [2022-06-07T00:17:42.516Z] 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 [2022-06-07T00:17:49.093Z] Removing intermediate container 6362adffa426 [2022-06-07T00:17:49.093Z] ---> b5eb5ad09084 [2022-06-07T00:17:49.093Z] Step 12/23 : FROM alpine:3.14 [2022-06-07T00:17:49.670Z] 3.14: Pulling from library/alpine [2022-06-07T00:17:49.670Z] 8663204ce13b: Pulling fs layer [2022-06-07T00:17:49.937Z] 8663204ce13b: Download complete [2022-06-07T00:17:49.937Z] 8663204ce13b: Pull complete [2022-06-07T00:17:49.937Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-07T00:17:49.937Z] Status: Downloaded newer image for alpine:3.14 [2022-06-07T00:17:49.937Z] ---> e04c818066af [2022-06-07T00:17:49.937Z] Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-07T00:17:50.198Z] ---> Running in f94b401bd817 [2022-06-07T00:17:50.458Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-07T00:17:50.458Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-07T00:17:50.721Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-07T00:17:50.721Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-07T00:17:50.721Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-07T00:17:50.721Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-07T00:17:50.721Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-07T00:17:50.721Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-07T00:17:50.721Z] Executing busybox-1.33.1-r7.trigger [2022-06-07T00:17:50.721Z] OK: 8 MiB in 20 packages [2022-06-07T00:17:50.984Z] Removing intermediate container f94b401bd817 [2022-06-07T00:17:50.984Z] ---> 1a9588c37b4d [2022-06-07T00:17:50.984Z] Step 14/23 : COPY --from=builder /device-snmp-go/cmd / [2022-06-07T00:17:51.243Z] ---> 4a9ef3d0cb5f [2022-06-07T00:17:51.243Z] Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-06-07T00:17:51.502Z] ---> a4fe81f72d19 [2022-06-07T00:17:51.502Z] Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / [2022-06-07T00:17:51.761Z] ---> bedfe1544fb8 [2022-06-07T00:17:51.761Z] Step 17/23 : EXPOSE 59993 [2022-06-07T00:17:51.761Z] ---> Running in 54682d132ad8 [2022-06-07T00:17:51.761Z] Removing intermediate container 54682d132ad8 [2022-06-07T00:17:51.761Z] ---> d12ff546b297 [2022-06-07T00:17:51.761Z] Step 18/23 : EXPOSE 161 [2022-06-07T00:17:51.761Z] ---> Running in a99a27bb2570 [2022-06-07T00:17:51.761Z] Removing intermediate container a99a27bb2570 [2022-06-07T00:17:51.761Z] ---> 513eae6f91ad [2022-06-07T00:17:51.761Z] Step 19/23 : ENTRYPOINT ["/device-snmp"] [2022-06-07T00:17:51.761Z] ---> Running in f3c7d6d922a5 [2022-06-07T00:17:52.029Z] Removing intermediate container f3c7d6d922a5 [2022-06-07T00:17:52.029Z] ---> 62d709567d74 [2022-06-07T00:17:52.029Z] Step 20/23 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-06-07T00:17:52.029Z] ---> Running in 7ea3ce413931 [2022-06-07T00:17:52.029Z] Removing intermediate container 7ea3ce413931 [2022-06-07T00:17:52.029Z] ---> 76338f61f176 [2022-06-07T00:17:52.029Z] Step 21/23 : LABEL arch=amd64 [2022-06-07T00:17:52.029Z] ---> Running in 365f6f175c48 [2022-06-07T00:17:52.290Z] Removing intermediate container 365f6f175c48 [2022-06-07T00:17:52.290Z] ---> cb726610ae34 [2022-06-07T00:17:52.290Z] Step 22/23 : LABEL git_sha=5277efcfa7ebb663f8a02312877e07eb3663f5b0 [2022-06-07T00:17:52.290Z] ---> Running in e742b97d6a57 [2022-06-07T00:17:52.290Z] Removing intermediate container e742b97d6a57 [2022-06-07T00:17:52.290Z] ---> 895e0d7eab16 [2022-06-07T00:17:52.290Z] Step 23/23 : LABEL version=0.0.0 [2022-06-07T00:17:52.290Z] ---> Running in ceceb8cc539e [2022-06-07T00:17:52.290Z] Removing intermediate container ceceb8cc539e [2022-06-07T00:17:52.290Z] ---> b5716a1c308c [2022-06-07T00:17:52.290Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-07T00:17:52.290Z] Successfully built b5716a1c308c [2022-06-07T00:17:52.290Z] 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 [2022-06-07T00:17:53.157Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-07T00:17:53.157Z] [2022-06-07T00:17:53.157Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:17:53.541Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-07T00:17:53.541Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-07T00:17:53.541Z] 5eb5b503b376: Pulling fs layer [2022-06-07T00:17:53.541Z] 5c69ac0246d0: Pulling fs layer [2022-06-07T00:17:53.541Z] ec43610c2a17: Pulling fs layer [2022-06-07T00:17:53.541Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-07T00:17:53.541Z] 33b1e0a273af: Pulling fs layer [2022-06-07T00:17:53.541Z] 5d3b04190fa2: Pulling fs layer [2022-06-07T00:17:53.541Z] 2f39f015ded8: Pulling fs layer [2022-06-07T00:17:53.541Z] 5d3b04190fa2: Waiting [2022-06-07T00:17:53.541Z] 33b1e0a273af: Waiting [2022-06-07T00:17:53.541Z] 3a2ae6a8a46f: Waiting [2022-06-07T00:17:53.541Z] 2f39f015ded8: Waiting [2022-06-07T00:17:53.541Z] 5c69ac0246d0: Download complete [2022-06-07T00:17:53.541Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-07T00:17:53.541Z] 3a2ae6a8a46f: Download complete [2022-06-07T00:17:53.541Z] 33b1e0a273af: Verifying Checksum [2022-06-07T00:17:53.541Z] 33b1e0a273af: Download complete [2022-06-07T00:17:53.541Z] ec43610c2a17: Verifying Checksum [2022-06-07T00:17:53.541Z] 5d3b04190fa2: Verifying Checksum [2022-06-07T00:17:53.541Z] 5d3b04190fa2: Download complete [2022-06-07T00:17:53.800Z] 5eb5b503b376: Verifying Checksum [2022-06-07T00:17:53.800Z] 5eb5b503b376: Download complete [2022-06-07T00:17:54.367Z] 2f39f015ded8: Download complete [2022-06-07T00:17:55.306Z] 5eb5b503b376: Pull complete [2022-06-07T00:17:55.306Z] 5c69ac0246d0: Pull complete [2022-06-07T00:17:55.566Z] ec43610c2a17: Pull complete [2022-06-07T00:17:55.828Z] 3a2ae6a8a46f: Pull complete [2022-06-07T00:17:55.828Z] 33b1e0a273af: Pull complete [2022-06-07T00:17:56.086Z] 5d3b04190fa2: Pull complete [2022-06-07T00:18:00.285Z] 2f39f015ded8: Pull complete [2022-06-07T00:18:00.285Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-07T00:18:00.285Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-07T00:18:00.285Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T00:18:00.506Z] prd-ubuntu20.04-docker-8c-8g-1563 does not seem to be running inside a container [2022-06-07T00:18:00.552Z] $ 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 [2022-06-07T00:18:01.867Z] $ docker top 6c194ef7fcd8bab88de1537b569775a3fdbe36ad6ad6493073177af0f4d2abe1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T00:18:02.317Z] ---> job-cost.sh [2022-06-07T00:18:02.317Z] lf-activate-venv: SKIPPING [2022-06-07T00:18:02.317Z] INFO: No Stack... [2022-06-07T00:18:02.889Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-07T00:18:03.150Z] INFO: Archiving Costs [Pipeline] sh [2022-06-07T00:18:03.476Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-176/archives/cost.csv [2022-06-07T00:18:03.477Z] + cut -d, -f6 [Pipeline] lock [2022-06-07T00:18:03.519Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-176-1-stack-cost] [2022-06-07T00:18:03.524Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-176-1-stack-cost] did not exist. Created. [2022-06-07T00:18:03.524Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-176-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-07T00:18:03.916Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-07T00:18:03.995Z] Stashed 1 file(s) [Pipeline] } [2022-06-07T00:18:04.009Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-176-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-07T00:18:04.097Z] $ docker stop --time=1 6c194ef7fcd8bab88de1537b569775a3fdbe36ad6ad6493073177af0f4d2abe1 [2022-06-07T00:18:05.260Z] $ docker rm -f 6c194ef7fcd8bab88de1537b569775a3fdbe36ad6ad6493073177af0f4d2abe1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-07T00:18:50.521Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1564 in /w/workspace/gexfoundry_device-snmp-go_PR-176 [Pipeline] { [Pipeline] ws [2022-06-07T00:18:50.565Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2022-06-07T00:18:50.672Z] Selected Git installation does not exist. Using Default [2022-06-07T00:18:50.672Z] The recommended git tool is: NONE [2022-06-07T00:18:56.955Z] using credential edgex-jenkins-ssh [2022-06-07T00:18:56.972Z] Cloning the remote Git repository [2022-06-07T00:18:57.031Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-06-07T00:18:57.108Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2022-06-07T00:18:57.201Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-06-07T00:18:57.202Z] > git --version # timeout=10 [2022-06-07T00:18:57.222Z] > git --version # 'git version 2.25.1' [2022-06-07T00:18:57.224Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-07T00:18:57.363Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-07T00:18:58.925Z] Merging remotes/origin/jakarta commit 0a73bd19d177e0be9e88e3cec666e4c6d1c018b1 into PR head commit 5277efcfa7ebb663f8a02312877e07eb3663f5b0 [2022-06-07T00:18:58.288Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-06-07T00:18:58.332Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-07T00:18:58.361Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-06-07T00:18:58.401Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-06-07T00:18:58.402Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-07T00:18:58.415Z] > 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 [2022-06-07T00:18:58.949Z] > git config core.sparsecheckout # timeout=10 [2022-06-07T00:18:58.969Z] > git checkout -f 5277efcfa7ebb663f8a02312877e07eb3663f5b0 # timeout=10 [2022-06-07T00:18:59.419Z] > git remote # timeout=10 [2022-06-07T00:18:59.442Z] > git config --get remote.origin.url # timeout=10 [2022-06-07T00:18:59.459Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-07T00:18:59.471Z] > git merge 0a73bd19d177e0be9e88e3cec666e4c6d1c018b1 # timeout=10 [2022-06-07T00:18:59.495Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-07T00:18:59.508Z] Merge succeeded, producing 5277efcfa7ebb663f8a02312877e07eb3663f5b0 [2022-06-07T00:18:59.509Z] Checking out Revision 5277efcfa7ebb663f8a02312877e07eb3663f5b0 (PR-176) [2022-06-07T00:18:59.520Z] > git config core.sparsecheckout # timeout=10 [2022-06-07T00:18:59.539Z] > git checkout -f 5277efcfa7ebb663f8a02312877e07eb3663f5b0 # timeout=10 [2022-06-07T00:19:04.132Z] Commit message: "build: Update to released SDK and go-mods and change log for 2.1.1 patch" [2022-06-07T00:19:04.189Z] > git --version # timeout=10 [2022-06-07T00:19:04.201Z] > git --version # 'git version 2.25.1' [2022-06-07T00:19:04.220Z] fatal: bad object eff4ace5e529e22b05c56fc30efd0d4b1d113677 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-07T00:19:05.240Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-07T00:19:05.240Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-07T00:19:05.240Z] Dload Upload Total Spent Left Speed [2022-06-07T00:19:05.240Z] 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 [2022-06-07T00:19:05.964Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-07T00:19:06.327Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-07T00:19:06.327Z] + sudo tee /etc/docker/daemon.new [2022-06-07T00:19:06.327Z] { [2022-06-07T00:19:06.327Z] "registry-mirrors": [ [2022-06-07T00:19:06.327Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-07T00:19:06.327Z] ], [2022-06-07T00:19:06.327Z] "bip": "10.250.0.254/24", [2022-06-07T00:19:06.327Z] "hosts": [ [2022-06-07T00:19:06.327Z] "tcp://0.0.0.0:5555", [2022-06-07T00:19:06.327Z] "unix:///var/run/docker.sock" [2022-06-07T00:19:06.327Z] ], [2022-06-07T00:19:06.327Z] "mtu": 1458, [2022-06-07T00:19:06.327Z] "selinux-enabled": true, [2022-06-07T00:19:06.327Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-07T00:19:06.327Z] } [Pipeline] sh [2022-06-07T00:19:06.703Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-07T00:19:07.057Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-07T00:19:25.631Z] provisioning config files... [2022-06-07T00:19:25.656Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config968778756665558895tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T00:19:26.053Z] ---> docker-login.sh [2022-06-07T00:19:26.053Z] nexus3.edgexfoundry.org:10001 [2022-06-07T00:19:26.649Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T00:19:26.923Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T00:19:26.923Z] Configure a credential helper to remove this warning. See [2022-06-07T00:19:26.923Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T00:19:26.923Z] [2022-06-07T00:19:26.923Z] Login Succeeded [2022-06-07T00:19:26.923Z] nexus3.edgexfoundry.org:10002 [2022-06-07T00:19:27.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T00:19:27.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T00:19:27.200Z] Configure a credential helper to remove this warning. See [2022-06-07T00:19:27.200Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T00:19:27.200Z] [2022-06-07T00:19:27.200Z] Login Succeeded [2022-06-07T00:19:27.200Z] nexus3.edgexfoundry.org:10003 [2022-06-07T00:19:27.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T00:19:27.803Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T00:19:27.803Z] Configure a credential helper to remove this warning. See [2022-06-07T00:19:27.803Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T00:19:27.803Z] [2022-06-07T00:19:27.803Z] Login Succeeded [2022-06-07T00:19:27.803Z] nexus3.edgexfoundry.org:10004 [2022-06-07T00:19:28.080Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T00:19:28.354Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T00:19:28.354Z] Configure a credential helper to remove this warning. See [2022-06-07T00:19:28.354Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T00:19:28.354Z] [2022-06-07T00:19:28.354Z] Login Succeeded [2022-06-07T00:19:28.354Z] docker.io [2022-06-07T00:19:28.627Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T00:19:28.899Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T00:19:28.899Z] Configure a credential helper to remove this warning. See [2022-06-07T00:19:28.899Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T00:19:28.899Z] [2022-06-07T00:19:28.899Z] Login Succeeded [2022-06-07T00:19:28.899Z] ---> docker-login.sh ends [Pipeline] } [2022-06-07T00:19:28.929Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-07T00:19:29.325Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-07T00:19:29.356Z] ========================================================= [2022-06-07T00:19:29.356Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts] [2022-06-07T00:19:29.356Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:19:29.881Z] + 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 . [2022-06-07T00:19:31.329Z] Sending build context to Docker daemon 13.78MB [2022-06-07T00:19:31.329Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2022-06-07T00:19:31.329Z] Step 2/11 : FROM ${BASE} AS builder [2022-06-07T00:19:31.329Z] 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-07T00:19:31.329Z] 9b3977197b4f: Pulling fs layer [2022-06-07T00:19:31.329Z] 1a89e8eeedd5: Pulling fs layer [2022-06-07T00:19:31.329Z] 94645a83ff95: Pulling fs layer [2022-06-07T00:19:31.329Z] 3f3a8bcf1eab: Pulling fs layer [2022-06-07T00:19:31.329Z] 0c92f367c5e7: Pulling fs layer [2022-06-07T00:19:31.329Z] 63b1bc5785f6: Pulling fs layer [2022-06-07T00:19:31.329Z] 626d30ff41c6: Pulling fs layer [2022-06-07T00:19:31.329Z] de1d54c125be: Pulling fs layer [2022-06-07T00:19:31.329Z] 3f3a8bcf1eab: Waiting [2022-06-07T00:19:31.329Z] 63b1bc5785f6: Waiting [2022-06-07T00:19:31.329Z] 0c92f367c5e7: Waiting [2022-06-07T00:19:31.329Z] 626d30ff41c6: Waiting [2022-06-07T00:19:31.329Z] de1d54c125be: Waiting [2022-06-07T00:19:31.329Z] 94645a83ff95: Verifying Checksum [2022-06-07T00:19:31.329Z] 94645a83ff95: Download complete [2022-06-07T00:19:31.329Z] 1a89e8eeedd5: Verifying Checksum [2022-06-07T00:19:31.329Z] 1a89e8eeedd5: Download complete [2022-06-07T00:19:31.329Z] 0c92f367c5e7: Verifying Checksum [2022-06-07T00:19:31.329Z] 0c92f367c5e7: Download complete [2022-06-07T00:19:31.329Z] 63b1bc5785f6: Verifying Checksum [2022-06-07T00:19:31.329Z] 63b1bc5785f6: Download complete [2022-06-07T00:19:31.329Z] 9b3977197b4f: Download complete [2022-06-07T00:19:31.329Z] 626d30ff41c6: Verifying Checksum [2022-06-07T00:19:31.329Z] 626d30ff41c6: Download complete [2022-06-07T00:19:31.930Z] 9b3977197b4f: Pull complete [2022-06-07T00:19:32.530Z] 1a89e8eeedd5: Pull complete [2022-06-07T00:19:32.805Z] 94645a83ff95: Pull complete [2022-06-07T00:19:33.401Z] de1d54c125be: Verifying Checksum [2022-06-07T00:19:33.401Z] de1d54c125be: Download complete [2022-06-07T00:19:33.997Z] 3f3a8bcf1eab: Verifying Checksum [2022-06-07T00:19:33.997Z] 3f3a8bcf1eab: Download complete [2022-06-07T00:19:46.407Z] 3f3a8bcf1eab: Pull complete [2022-06-07T00:19:46.407Z] 0c92f367c5e7: Pull complete [2022-06-07T00:19:46.407Z] 63b1bc5785f6: Pull complete [2022-06-07T00:19:46.407Z] 626d30ff41c6: Pull complete [2022-06-07T00:19:53.128Z] de1d54c125be: Pull complete [2022-06-07T00:19:53.128Z] Digest: sha256:c13e7f4b3dabbafca41e473b4c3190511df4cc90c6116df0ec0acdea4752f811 [2022-06-07T00:19:53.128Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts [2022-06-07T00:19:53.128Z] ---> 5f011755c4a2 [2022-06-07T00:19:53.128Z] Step 3/11 : ARG MAKE='make build' [2022-06-07T00:19:53.736Z] ---> Running in cc60a452e057 [2022-06-07T00:19:54.336Z] Removing intermediate container cc60a452e057 [2022-06-07T00:19:54.336Z] ---> ecd502a85251 [2022-06-07T00:19:54.336Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-07T00:19:54.336Z] ---> Running in d36923fac69a [2022-06-07T00:19:54.610Z] Removing intermediate container d36923fac69a [2022-06-07T00:19:54.610Z] ---> 8fcf9ecc050f [2022-06-07T00:19:54.610Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2022-06-07T00:19:54.610Z] ---> Running in 4f0449b9940c [2022-06-07T00:19:54.885Z] Removing intermediate container 4f0449b9940c [2022-06-07T00:19:54.885Z] ---> de50f9a5e21e [2022-06-07T00:19:54.885Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-07T00:19:54.885Z] ---> Running in 759b0649d1b8 [2022-06-07T00:19:56.884Z] Removing intermediate container 759b0649d1b8 [2022-06-07T00:19:56.884Z] ---> d73496747bb0 [2022-06-07T00:19:56.884Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-07T00:19:56.884Z] ---> Running in cd36f23894f9 [2022-06-07T00:19:58.868Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-07T00:19:59.849Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-07T00:20:00.831Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-07T00:20:00.831Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-07T00:20:00.831Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-07T00:20:01.114Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-07T00:20:01.114Z] Executing busybox-1.34.1-r3.trigger [2022-06-07T00:20:01.114Z] OK: 224 MiB in 56 packages [2022-06-07T00:20:02.100Z] Removing intermediate container cd36f23894f9 [2022-06-07T00:20:02.100Z] ---> 042eeccbebe6 [2022-06-07T00:20:02.100Z] Step 8/11 : WORKDIR /device-snmp-go [2022-06-07T00:20:02.100Z] ---> Running in 3240514988d9 [2022-06-07T00:20:02.376Z] Removing intermediate container 3240514988d9 [2022-06-07T00:20:02.376Z] ---> d80c51c4cc06 [2022-06-07T00:20:02.376Z] Step 9/11 : COPY . . [2022-06-07T00:20:06.707Z] ---> dad529a4d67a [2022-06-07T00:20:06.707Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-07T00:20:06.707Z] ---> Running in dc87d8e4d8ae [2022-06-07T00:20:07.314Z] skipping... [2022-06-07T00:20:07.914Z] Removing intermediate container dc87d8e4d8ae [2022-06-07T00:20:07.914Z] ---> 38f3b849b9b0 [2022-06-07T00:20:07.914Z] Step 11/11 : RUN ${MAKE} [2022-06-07T00:20:07.914Z] ---> Running in 7636a058c336 [2022-06-07T00:20:08.905Z] noop [2022-06-07T00:20:09.503Z] Removing intermediate container 7636a058c336 [2022-06-07T00:20:09.503Z] ---> e55c936d93e2 [2022-06-07T00:20:09.776Z] Successfully built e55c936d93e2 [2022-06-07T00:20:09.776Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:20:10.254Z] + docker inspect -f . ci-base-image-arm64 [2022-06-07T00:20:10.254Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T00:20:10.574Z] prd-ubuntu20.04-docker-arm64-4c-16g-1564 does not seem to be running inside a container [2022-06-07T00:20:10.669Z] $ 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 [2022-06-07T00:20:11.969Z] $ docker top e16ce765268e43aed003dd4935324d76465f4f209f7c8004471d21a8a0f1aa51 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-07T00:20:12.946Z] + go version [2022-06-07T00:20:12.946Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-06-07T00:20:12.988Z] $ docker stop --time=1 e16ce765268e43aed003dd4935324d76465f4f209f7c8004471d21a8a0f1aa51 [2022-06-07T00:20:14.608Z] $ 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 [2022-06-07T00:20:15.510Z] + docker inspect -f . ci-base-image-arm64 [2022-06-07T00:20:15.510Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T00:20:15.805Z] prd-ubuntu20.04-docker-arm64-4c-16g-1564 does not seem to be running inside a container [2022-06-07T00:20:15.886Z] $ 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 [2022-06-07T00:20:17.107Z] $ docker top 3dce7a55035e355fd18d6b8e71e1db0c435d081d53512b79716bcda103138417 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-07T00:20:18.093Z] + make test [2022-06-07T00:20:18.093Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-07T00:20:19.075Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-06-07T00:21:06.103Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-06-07T00:21:06.103Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.040s coverage: 0.0% of statements [2022-06-07T00:21:06.103Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-07T00:21:24.446Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-07T00:21:24.446Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-07T00:21:24.446Z] ./bin/test-attribution-txt.sh [2022-06-07T00:21:24.446Z] go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.1 [2022-06-07T00:21:24.446Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.1 [2022-06-07T00:21:24.446Z] go: downloading github.com/soniah/gosnmp v1.21.0 [2022-06-07T00:21:24.446Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1 [2022-06-07T00:21:24.446Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-06-07T00:21:24.446Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2022-06-07T00:21:24.446Z] go: downloading github.com/google/uuid v1.3.0 [2022-06-07T00:21:24.446Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 [2022-06-07T00:21:24.446Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1 [2022-06-07T00:21:24.446Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-06-07T00:21:24.446Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2022-06-07T00:21:24.446Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-06-07T00:21:24.446Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2022-06-07T00:21:24.446Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 [2022-06-07T00:21:24.723Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1 [2022-06-07T00:21:24.723Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2022-06-07T00:21:24.723Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-06-07T00:21:24.723Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-06-07T00:21:24.723Z] go: downloading github.com/go-kit/kit v0.11.0 [2022-06-07T00:21:24.723Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2022-06-07T00:21:24.723Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2022-06-07T00:21:24.723Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2022-06-07T00:21:24.723Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-06-07T00:21:25.003Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-06-07T00:21:25.003Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-06-07T00:21:25.003Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-06-07T00:21:25.003Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-06-07T00:21:25.003Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-06-07T00:21:25.003Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2022-06-07T00:21:25.003Z] go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 [2022-06-07T00:21:25.003Z] go: downloading golang.org/x/text v0.3.6 [2022-06-07T00:21:25.003Z] go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 [2022-06-07T00:21:25.987Z] go: downloading github.com/golang/mock v1.4.4 [2022-06-07T00:21:26.261Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-06-07T00:21:26.261Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-06-07T00:21:26.261Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-06-07T00:21:26.261Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-06-07T00:21:26.537Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-06-07T00:21:26.537Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-06-07T00:21:26.811Z] go: downloading github.com/x448/float16 v0.8.4 [2022-06-07T00:21:26.811Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-06-07T00:21:26.812Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-06-07T00:21:27.087Z] go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 [2022-06-07T00:21:28.067Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-06-07T00:21:28.067Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-06-07T00:21:28.342Z] go: downloading github.com/fatih/color v1.9.0 [2022-06-07T00:21:28.342Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-06-07T00:21:28.342Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-06-07T00:21:28.342Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2022-06-07T00:21:28.342Z] go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo [2022-06-07T00:21:32.693Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2022-06-07T00:21:33.429Z] + go mod tidy [2022-06-07T00:21:33.429Z] go: downloading github.com/stretchr/testify v1.7.0 [2022-06-07T00:21:33.707Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2022-06-07T00:21:33.707Z] go: downloading github.com/go-stack/stack v1.8.0 [2022-06-07T00:21:33.707Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-06-07T00:21:33.707Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-06-07T00:21:33.984Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2022-06-07T00:21:33.984Z] go: downloading github.com/stretchr/objx v0.1.1 [2022-06-07T00:21:33.984Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2022-06-07T00:21:33.984Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2022-06-07T00:21:33.984Z] go: downloading github.com/kr/pretty v0.3.0 [2022-06-07T00:21:33.984Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2022-06-07T00:21:33.984Z] go: downloading github.com/onsi/gomega v1.7.0 [2022-06-07T00:21:33.984Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2022-06-07T00:21:33.984Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2022-06-07T00:21:33.984Z] go: downloading github.com/pkg/errors v0.9.1 [2022-06-07T00:21:34.264Z] go: downloading github.com/kr/text v0.2.0 [2022-06-07T00:21:34.264Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2022-06-07T00:21:34.264Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2022-06-07T00:21:34.264Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2022-06-07T00:21:34.264Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2022-06-07T00:21:34.264Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2022-06-07T00:21:34.264Z] go: downloading github.com/miekg/dns v1.1.26 [2022-06-07T00:21:34.264Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2022-06-07T00:21:34.540Z] go: downloading github.com/hpcloud/tail v1.0.0 [2022-06-07T00:21:34.540Z] go: downloading gopkg.in/yaml.v2 v2.3.0 [2022-06-07T00:21:34.540Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2022-06-07T00:21:34.540Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } [2022-06-07T00:21:34.578Z] $ docker stop --time=1 3dce7a55035e355fd18d6b8e71e1db0c435d081d53512b79716bcda103138417 [2022-06-07T00:21:37.150Z] $ docker rm -f 3dce7a55035e355fd18d6b8e71e1db0c435d081d53512b79716bcda103138417 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-07T00:21:39.588Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-07T00:21:39.626Z] Warning: overwriting stash ‘coverage-report’ [2022-06-07T00:21:40.319Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-07T00:21:40.898Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-07T00:21:41.262Z] + ls -al . [2022-06-07T00:21:41.262Z] total 176 [2022-06-07T00:21:41.262Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 7 00:21 . [2022-06-07T00:21:41.262Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 00:18 .. [2022-06-07T00:21:41.262Z] -rw-rw-r-- 1 jenkins jenkins 6 Jun 7 00:18 .dockerignore [2022-06-07T00:21:41.262Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 7 00:19 .git [2022-06-07T00:21:41.262Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 00:18 .github [2022-06-07T00:21:41.262Z] -rw-rw-r-- 1 jenkins jenkins 255 Jun 7 00:18 .gitignore [2022-06-07T00:21:41.262Z] -rw-rw-r-- 1 jenkins jenkins 6926 Jun 7 00:18 Attribution.txt [2022-06-07T00:21:41.262Z] -rw-rw-r-- 1 jenkins jenkins 4800 Jun 7 00:18 CHANGELOG.md [2022-06-07T00:21:41.262Z] -rw-rw-r-- 1 jenkins jenkins 1493 Jun 7 00:18 Dockerfile [2022-06-07T00:21:41.262Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 7 00:18 GOVERNANCE.md [2022-06-07T00:21:41.262Z] -rw-rw-r-- 1 jenkins jenkins 656 Jun 7 00:18 Jenkinsfile [2022-06-07T00:21:41.262Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 7 00:18 LICENSE [2022-06-07T00:21:41.262Z] -rw-rw-r-- 1 jenkins jenkins 1526 Jun 7 00:18 Makefile [2022-06-07T00:21:41.262Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 7 00:18 OWNERS.md [2022-06-07T00:21:41.262Z] -rw-rw-r-- 1 jenkins jenkins 9073 Jun 7 00:18 README.md [2022-06-07T00:21:41.262Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 7 00:16 VERSION [2022-06-07T00:21:41.262Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 00:18 bin [2022-06-07T00:21:41.262Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 00:18 cmd [2022-06-07T00:21:41.262Z] -rw-r--r-- 1 jenkins jenkins 7631 Jun 7 00:21 coverage.out [2022-06-07T00:21:41.262Z] -rw-rw-r-- 1 jenkins jenkins 208 Jun 7 00:21 go.mod [2022-06-07T00:21:41.262Z] -rw-rw-r-- 1 jenkins jenkins 49477 Jun 7 00:18 go.sum [2022-06-07T00:21:41.262Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 00:18 internal [2022-06-07T00:21:41.262Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 00:18 snap [2022-06-07T00:21:41.262Z] drwxrwxr-x 6 jenkins jenkins 4096 Jun 7 00:18 vendor [2022-06-07T00:21:41.262Z] -rw-rw-r-- 1 jenkins jenkins 228 Jun 7 00:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:21:41.699Z] + 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 . [2022-06-07T00:21:43.148Z] Sending build context to Docker daemon 13.79MB [2022-06-07T00:21:43.148Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.14 [2022-06-07T00:21:43.148Z] Step 2/23 : FROM ${BASE} AS builder [2022-06-07T00:21:43.148Z] ---> e55c936d93e2 [2022-06-07T00:21:43.148Z] Step 3/23 : ARG MAKE='make build' [2022-06-07T00:21:43.148Z] ---> Running in caa140a12559 [2022-06-07T00:21:43.425Z] Removing intermediate container caa140a12559 [2022-06-07T00:21:43.425Z] ---> 7540c2fbad74 [2022-06-07T00:21:43.425Z] Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-07T00:21:43.425Z] ---> Running in 67ed03aba6c0 [2022-06-07T00:21:44.029Z] Removing intermediate container 67ed03aba6c0 [2022-06-07T00:21:44.029Z] ---> c43a48b5b62a [2022-06-07T00:21:44.029Z] Step 5/23 : ARG ALPINE_PKG_EXTRA="" [2022-06-07T00:21:44.029Z] ---> Running in d2e71db24173 [2022-06-07T00:21:44.306Z] Removing intermediate container d2e71db24173 [2022-06-07T00:21:44.306Z] ---> 80a3b1bca0df [2022-06-07T00:21:44.306Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-07T00:21:44.306Z] ---> Running in e94d3811d683 [2022-06-07T00:21:46.289Z] Removing intermediate container e94d3811d683 [2022-06-07T00:21:46.289Z] ---> 91b2e55f4976 [2022-06-07T00:21:46.289Z] Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-07T00:21:46.289Z] ---> Running in e374722c37bc [2022-06-07T00:21:46.888Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-07T00:21:47.869Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-07T00:21:48.851Z] OK: 224 MiB in 56 packages [2022-06-07T00:21:49.452Z] Removing intermediate container e374722c37bc [2022-06-07T00:21:49.452Z] ---> 55d0cf7d26ca [2022-06-07T00:21:49.452Z] Step 8/23 : WORKDIR /device-snmp-go [2022-06-07T00:21:49.730Z] ---> Running in fe332a039f2e [2022-06-07T00:21:50.007Z] Removing intermediate container fe332a039f2e [2022-06-07T00:21:50.007Z] ---> aafab390a73e [2022-06-07T00:21:50.007Z] Step 9/23 : COPY . . [2022-06-07T00:21:54.318Z] ---> f9969baa90ba [2022-06-07T00:21:54.318Z] Step 10/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-07T00:21:54.318Z] ---> Running in 61af35bcf3dd [2022-06-07T00:21:55.304Z] skipping... [2022-06-07T00:21:55.905Z] Removing intermediate container 61af35bcf3dd [2022-06-07T00:21:55.905Z] ---> 6b192861ac5b [2022-06-07T00:21:55.905Z] Step 11/23 : RUN ${MAKE} [2022-06-07T00:21:55.905Z] ---> Running in 0dbed561e19b [2022-06-07T00:21:57.363Z] 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 [2022-06-07T00:22:44.397Z] Removing intermediate container 0dbed561e19b [2022-06-07T00:22:44.397Z] ---> 22cccfa3995e [2022-06-07T00:22:44.397Z] Step 12/23 : FROM alpine:3.14 [2022-06-07T00:22:44.397Z] 3.14: Pulling from library/alpine [2022-06-07T00:22:44.397Z] 455c02918c45: Pulling fs layer [2022-06-07T00:22:44.397Z] 455c02918c45: Verifying Checksum [2022-06-07T00:22:44.397Z] 455c02918c45: Download complete [2022-06-07T00:22:44.397Z] 455c02918c45: Pull complete [2022-06-07T00:22:44.397Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-07T00:22:44.397Z] Status: Downloaded newer image for alpine:3.14 [2022-06-07T00:22:44.397Z] ---> ac73e934f311 [2022-06-07T00:22:44.397Z] Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-07T00:22:44.397Z] ---> Running in dcdc955584c0 [2022-06-07T00:22:44.397Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-07T00:22:44.397Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-07T00:22:44.397Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-07T00:22:44.397Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-07T00:22:44.397Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-07T00:22:44.397Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-07T00:22:44.397Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-07T00:22:44.397Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-07T00:22:44.397Z] Executing busybox-1.33.1-r7.trigger [2022-06-07T00:22:44.397Z] OK: 8 MiB in 20 packages [2022-06-07T00:22:44.397Z] Removing intermediate container dcdc955584c0 [2022-06-07T00:22:44.397Z] ---> e25b6dab80f6 [2022-06-07T00:22:44.397Z] Step 14/23 : COPY --from=builder /device-snmp-go/cmd / [2022-06-07T00:22:44.397Z] ---> 8edbd9d7bc00 [2022-06-07T00:22:44.397Z] Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-06-07T00:22:44.991Z] ---> 2eabec8b3f5e [2022-06-07T00:22:44.991Z] Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / [2022-06-07T00:22:45.584Z] ---> 5a509e28209f [2022-06-07T00:22:45.584Z] Step 17/23 : EXPOSE 59993 [2022-06-07T00:22:45.584Z] ---> Running in 26d43969b6ac [2022-06-07T00:22:45.857Z] Removing intermediate container 26d43969b6ac [2022-06-07T00:22:45.857Z] ---> 882347c54dbe [2022-06-07T00:22:45.857Z] Step 18/23 : EXPOSE 161 [2022-06-07T00:22:45.857Z] ---> Running in 6133aa089ab8 [2022-06-07T00:22:46.130Z] Removing intermediate container 6133aa089ab8 [2022-06-07T00:22:46.130Z] ---> 8ee0858f62ab [2022-06-07T00:22:46.130Z] Step 19/23 : ENTRYPOINT ["/device-snmp"] [2022-06-07T00:22:46.130Z] ---> Running in 24510f2686be [2022-06-07T00:22:46.404Z] Removing intermediate container 24510f2686be [2022-06-07T00:22:46.404Z] ---> b91b43d7ea9a [2022-06-07T00:22:46.404Z] Step 20/23 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-06-07T00:22:46.676Z] ---> Running in ec719e12d88d [2022-06-07T00:22:46.949Z] Removing intermediate container ec719e12d88d [2022-06-07T00:22:46.949Z] ---> b756041021ad [2022-06-07T00:22:46.949Z] Step 21/23 : LABEL arch=arm64 [2022-06-07T00:22:46.949Z] ---> Running in 31fb458eb78a [2022-06-07T00:22:47.221Z] Removing intermediate container 31fb458eb78a [2022-06-07T00:22:47.221Z] ---> 91ed24d4ea54 [2022-06-07T00:22:47.221Z] Step 22/23 : LABEL git_sha=5277efcfa7ebb663f8a02312877e07eb3663f5b0 [2022-06-07T00:22:47.221Z] ---> Running in cc02413dc049 [2022-06-07T00:22:47.493Z] Removing intermediate container cc02413dc049 [2022-06-07T00:22:47.493Z] ---> 91961004df38 [2022-06-07T00:22:47.493Z] Step 23/23 : LABEL version=0.0.0 [2022-06-07T00:22:47.493Z] ---> Running in b7ea676d874c [2022-06-07T00:22:47.767Z] Removing intermediate container b7ea676d874c [2022-06-07T00:22:47.768Z] ---> 87abd6340c1d [2022-06-07T00:22:47.768Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-07T00:22:48.039Z] Successfully built 87abd6340c1d [2022-06-07T00:22:48.039Z] 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 [2022-06-07T00:22:48.824Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-07T00:22:48.824Z] [2022-06-07T00:22:48.824Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:22:49.226Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-07T00:22:49.504Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-07T00:22:49.504Z] 8998bd30e6a1: Pulling fs layer [2022-06-07T00:22:49.504Z] 04944245beec: Pulling fs layer [2022-06-07T00:22:49.504Z] 699f458cf7ca: Pulling fs layer [2022-06-07T00:22:49.504Z] 765212b225bb: Pulling fs layer [2022-06-07T00:22:49.504Z] f23df028b6ca: Pulling fs layer [2022-06-07T00:22:49.504Z] d65c8cfc05b1: Pulling fs layer [2022-06-07T00:22:49.504Z] 2437ff75d9bd: Pulling fs layer [2022-06-07T00:22:49.504Z] f23df028b6ca: Waiting [2022-06-07T00:22:49.504Z] d65c8cfc05b1: Waiting [2022-06-07T00:22:49.504Z] 2437ff75d9bd: Waiting [2022-06-07T00:22:49.504Z] 765212b225bb: Waiting [2022-06-07T00:22:49.504Z] 04944245beec: Verifying Checksum [2022-06-07T00:22:49.504Z] 04944245beec: Download complete [2022-06-07T00:22:49.504Z] 765212b225bb: Verifying Checksum [2022-06-07T00:22:49.504Z] f23df028b6ca: Verifying Checksum [2022-06-07T00:22:49.504Z] f23df028b6ca: Download complete [2022-06-07T00:22:49.504Z] d65c8cfc05b1: Verifying Checksum [2022-06-07T00:22:49.504Z] d65c8cfc05b1: Download complete [2022-06-07T00:22:49.779Z] 699f458cf7ca: Verifying Checksum [2022-06-07T00:22:49.779Z] 699f458cf7ca: Download complete [2022-06-07T00:22:50.054Z] 8998bd30e6a1: Download complete [2022-06-07T00:22:52.692Z] 2437ff75d9bd: Verifying Checksum [2022-06-07T00:22:52.692Z] 2437ff75d9bd: Download complete [2022-06-07T00:22:54.676Z] 8998bd30e6a1: Pull complete [2022-06-07T00:22:54.950Z] 04944245beec: Pull complete [2022-06-07T00:22:56.390Z] 699f458cf7ca: Pull complete [2022-06-07T00:22:56.666Z] 765212b225bb: Pull complete [2022-06-07T00:22:57.266Z] f23df028b6ca: Pull complete [2022-06-07T00:22:57.544Z] d65c8cfc05b1: Pull complete [2022-06-07T00:23:12.661Z] 2437ff75d9bd: Pull complete [2022-06-07T00:23:12.662Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-07T00:23:12.662Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-07T00:23:12.662Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T00:23:13.054Z] prd-ubuntu20.04-docker-arm64-4c-16g-1564 does not seem to be running inside a container [2022-06-07T00:23:13.151Z] $ 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 [2022-06-07T00:23:15.756Z] $ docker top 7279519b3b4febcb5a941b2b26849db80ad5effbf3b1d26e5499c454886c78e7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T00:23:16.770Z] ---> job-cost.sh [2022-06-07T00:23:16.770Z] lf-activate-venv: SKIPPING [2022-06-07T00:23:16.770Z] INFO: No Stack... [2022-06-07T00:23:17.045Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-07T00:23:18.029Z] INFO: Archiving Costs [Pipeline] sh [2022-06-07T00:23:18.718Z] + cat /w/workspace/device-snmp-go/1/archives/cost.csv [2022-06-07T00:23:18.718Z] + cut -d, -f6 [Pipeline] lock [2022-06-07T00:23:18.804Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-176-1-stack-cost] [2022-06-07T00:23:18.809Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-176-1-stack-cost] did not exist. Created. [2022-06-07T00:23:18.809Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-176-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-07T00:23:19.566Z] /w/workspace/device-snmp-go/1@tmp/durable-1fcc6cf3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-07T00:23:20.275Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-07T00:23:20.310Z] Warning: overwriting stash ‘stack-cost’ [2022-06-07T00:23:20.540Z] Stashed 1 file(s) [Pipeline] } [2022-06-07T00:23:20.560Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-176-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-07T00:23:20.640Z] $ docker stop --time=1 7279519b3b4febcb5a941b2b26849db80ad5effbf3b1d26e5499c454886c78e7 [2022-06-07T00:23:22.203Z] $ 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 [2022-06-07T00:23:23.233Z] provisioning config files... [2022-06-07T00:23:23.244Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-176@tmp/config917568555216267692tmp [Pipeline] { [Pipeline] sh [2022-06-07T00:23:23.569Z] + set +x [2022-06-07T00:23:23.569Z] + curl -s https://codecov.io/bash [2022-06-07T00:23:23.569Z] + bash -s -- [2022-06-07T00:23:23.569Z] [2022-06-07T00:23:23.569Z] _____ _ [2022-06-07T00:23:23.569Z] / ____| | | [2022-06-07T00:23:23.569Z] | | ___ __| | ___ ___ _____ __ [2022-06-07T00:23:23.569Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-07T00:23:23.569Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-07T00:23:23.569Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-07T00:23:23.569Z] Bash-1.0.6 [2022-06-07T00:23:23.569Z] [2022-06-07T00:23:23.569Z] [2022-06-07T00:23:23.569Z] ==> git version 2.25.1 found [2022-06-07T00:23:23.569Z] ==> 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 [2022-06-07T00:23:23.569Z] Release-Date: 2020-01-08 [2022-06-07T00:23:23.569Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-06-07T00:23:23.569Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-07T00:23:23.569Z] ==> Jenkins CI detected. [2022-06-07T00:23:23.569Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-176 [2022-06-07T00:23:23.569Z] project root: . [2022-06-07T00:23:23.569Z] --> token set from env [2022-06-07T00:23:23.569Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-07T00:23:23.569Z] ==> Running gcov in . (disable via -X gcov) [2022-06-07T00:23:23.569Z] ==> Python coveragepy not found [2022-06-07T00:23:23.569Z] ==> Searching for coverage reports in: [2022-06-07T00:23:23.569Z] + . [2022-06-07T00:23:23.569Z] -> Found 1 reports [2022-06-07T00:23:23.569Z] ==> Detecting git/mercurial file structure [2022-06-07T00:23:23.569Z] ==> Reading reports [2022-06-07T00:23:23.569Z] + ./coverage.out bytes=7631 [2022-06-07T00:23:23.569Z] ==> Appending adjustments [2022-06-07T00:23:23.569Z] https://docs.codecov.io/docs/fixing-reports [2022-06-07T00:23:23.829Z] + Found adjustments [2022-06-07T00:23:23.829Z] ==> Gzipping contents [2022-06-07T00:23:23.829Z] 8.0K /tmp/codecov.mhRxNl.gz [2022-06-07T00:23:23.829Z] ==> Uploading reports [2022-06-07T00:23:23.829Z] url: https://codecov.io [2022-06-07T00:23:23.829Z] 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= [2022-06-07T00:23:23.829Z] -> Pinging Codecov [2022-06-07T00:23:23.829Z] 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= [2022-06-07T00:23:24.089Z] -> Uploading to [2022-06-07T00:23:24.089Z] 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 [2022-06-07T00:23:24.089Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-07T00:23:24.089Z] Dload Upload Total Spent Left Speed [2022-06-07T00:23:24.348Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 7952 0 0 100 7952 0 29343 --:--:-- --:--:-- --:--:-- 29343 [2022-06-07T00:23:24.348Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/5277efcfa7ebb663f8a02312877e07eb3663f5b0 [Pipeline] } [2022-06-07T00:23:24.374Z] 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 [2022-06-07T00:23:26.061Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-176/archives ] [2022-06-07T00:23:26.062Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-176/archives [2022-06-07T00:23:26.062Z] total 16 [2022-06-07T00:23:26.062Z] drwxr-xr-x 3 root root 4096 Jun 7 00:18 . [2022-06-07T00:23:26.062Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 7 00:18 .. [2022-06-07T00:23:26.062Z] drwxr-xr-x 2 root root 4096 Jun 7 00:18 cost [2022-06-07T00:23:26.062Z] -rw-r--r-- 1 root root 85 Jun 7 00:18 cost.csv [2022-06-07T00:23:26.062Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-176/archives [2022-06-07T00:23:26.062Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-176/archives [2022-06-07T00:23:26.062Z] total 16 [2022-06-07T00:23:26.062Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 7 00:18 . [2022-06-07T00:23:26.062Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 7 00:18 .. [2022-06-07T00:23:26.062Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 7 00:18 cost [2022-06-07T00:23:26.062Z] -rw-r--r-- 1 jenkins jenkins 85 Jun 7 00:18 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-07T00:23:26.390Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T00:23:27.285Z] ---> package-listing.sh [2022-06-07T00:23:27.285Z] ++ facter osfamily [2022-06-07T00:23:27.285Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-07T00:23:27.545Z] + OS_FAMILY=debian [2022-06-07T00:23:27.545Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-176 [2022-06-07T00:23:27.545Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-07T00:23:27.545Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-07T00:23:27.545Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-07T00:23:27.545Z] + PACKAGES=/tmp/packages_start.txt [2022-06-07T00:23:27.545Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-176 ']' [2022-06-07T00:23:27.545Z] + PACKAGES=/tmp/packages_end.txt [2022-06-07T00:23:27.545Z] + case "${OS_FAMILY}" in [2022-06-07T00:23:27.545Z] + dpkg -l [2022-06-07T00:23:27.545Z] + grep '^ii' [2022-06-07T00:23:27.545Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-07T00:23:27.545Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-07T00:23:27.545Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-07T00:23:27.545Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-176 ']' [2022-06-07T00:23:27.545Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-176/archives/ [2022-06-07T00:23:27.545Z] + 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 [2022-06-07T00:23:27.577Z] 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 [2022-06-07T00:23:27.873Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:23:28.503Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-07T00:23:28.503Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T00:23:28.656Z] prd-ubuntu20.04-docker-8c-8g-1563 does not seem to be running inside a container [2022-06-07T00:23:28.704Z] $ 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 [2022-06-07T00:23:28.916Z] $ docker top df17f83341aea186aef5542acd1f3485a0a1238882b04baf347c7f6fb34d6731 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-07T00:23:29.303Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-07T00:23:29.618Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-07T00:23:29.925Z] + ls /var/log/sa-host [2022-06-07T00:23:29.925Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-07T00:23:30.052Z] provisioning config files... [2022-06-07T00:23:30.060Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-176@tmp/config9056290101691255883tmp [Pipeline] { [Pipeline] echo [2022-06-07T00:23:30.105Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T00:23:30.421Z] ---> create-netrc.sh [Pipeline] } [2022-06-07T00:23:30.450Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-07T00:23:30.847Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-07T00:23:30.880Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T00:23:31.204Z] ---> sudo-logs.sh [2022-06-07T00:23:31.204Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-07T00:23:31.284Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T00:23:31.590Z] ---> job-cost.sh [2022-06-07T00:23:31.590Z] lf-activate-venv: SKIPPING [2022-06-07T00:23:31.590Z] DEBUG: total: 0.2199999988079071 [2022-06-07T00:23:31.590Z] INFO: Retrieving Stack Cost... [2022-06-07T00:23:32.160Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-07T00:23:32.428Z] INFO: Archiving Costs [Pipeline] echo [2022-06-07T00:23:32.460Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T00:23:32.772Z] ---> logs-deploy.sh [2022-06-07T00:23:32.772Z] lf-activate-venv: SKIPPING [2022-06-07T00:23:32.772Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-176/1 [2022-06-07T00:23:32.772Z] INFO: archiving workspace using pattern(s): [2022-06-07T00:23:33.712Z] Archives upload complete. [2022-06-07T00:23:33.712Z] INFO: archiving logs to Nexus