Pull request #177 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 farshidtz for edgexfoundry/device-snmp-go Obtained Jenkinsfile from a5241eda9e1e69b89fe42501feada0344f2aaf6b+9dfa39e25740af4f73019c6d8198dfd4ed11294a (b8e9c79ff70c9dbe363930520aa8114ab9f527a5) 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-ssh1154499357508437893.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh12528892729866791391.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-177/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-177/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10858914250773314471.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-177/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2855557980770455772.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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-ssh17898326013301832452.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-177/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-177/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11991285189751689731.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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 ‘prd-ubuntu20.04-docker-8c-8g-1754’ is offline Running on prd-ubuntu20.04-docker-8c-8g-1756 in /w/workspace/gexfoundry_device-snmp-go_PR-177 [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-177 # 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 Merging remotes/origin/jakarta commit 9dfa39e25740af4f73019c6d8198dfd4ed11294a into PR head commit a5241eda9e1e69b89fe42501feada0344f2aaf6b Merge succeeded, producing a5241eda9e1e69b89fe42501feada0344f2aaf6b Checking out Revision a5241eda9e1e69b89fe42501feada0344f2aaf6b (PR-177) > 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/177/head:refs/remotes/origin/PR-177 +refs/heads/jakarta:refs/remotes/origin/jakarta # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a5241eda9e1e69b89fe42501feada0344f2aaf6b # 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 9dfa39e25740af4f73019c6d8198dfd4ed11294a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a5241eda9e1e69b89fe42501feada0344f2aaf6b # timeout=10 Commit message: "refactor(snap): remove redundant content indentifier" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-08T15:48:07.409Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-08T15:48:07.570Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-08T15:48:07.671Z] ========================================================= [2022-06-08T15:48:07.671Z] EdgeX Global Pipelines Version Info [2022-06-08T15:48:07.671Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-08T15:48:08.471Z] ------------------- [2022-06-08T15:48:08.471Z] stable info: [2022-06-08T15:48:08.471Z] ------------------- [2022-06-08T15:48:08.471Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-08T15:48:08.471Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-08T15:48:08.471Z] Message: update stable to v1.0.234 [2022-06-08T15:48:09.044Z] ------------------- [2022-06-08T15:48:09.044Z] experimental info: [2022-06-08T15:48:09.044Z] ------------------- [2022-06-08T15:48:09.044Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-08T15:48:09.044Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-08T15:48:09.044Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-08T15:48:09.438Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-06-08T15:48:09.474Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-06-08T15:48:09.513Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-08T15:48:09.553Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-08T15:48:09.593Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-08T15:48:09.635Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-08T15:48:09.676Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-08T15:48:09.713Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-08T15:48:09.749Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-08T15:48:09.786Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-08T15:48:09.824Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-08T15:48:09.861Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-06-08T15:48:09.901Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-08T15:48:09.940Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-08T15:48:09.981Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-08T15:48:10.018Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-08T15:48:10.057Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-08T15:48:10.099Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-08T15:48:10.135Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-08T15:48:10.177Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-08T15:48:10.217Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-08T15:48:10.256Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-08T15:48:10.301Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-08T15:48:10.343Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-08T15:48:10.381Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-08T15:48:10.421Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-08T15:48:10.456Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-08T15:48:10.491Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-177 [Pipeline] echo [2022-06-08T15:48:10.533Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-177 [Pipeline] echo [2022-06-08T15:48:10.569Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-177 [Pipeline] echo [2022-06-08T15:48:10.605Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a5241eda9e1e69b89fe42501feada0344f2aaf6b [Pipeline] echo [2022-06-08T15:48:10.647Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a5241ed [Pipeline] echo [2022-06-08T15:48:10.689Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-08T15:48:10.804Z] provisioning config files... [2022-06-08T15:48:10.818Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-177@tmp/config2075902893950049194tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-08T15:48:11.177Z] ---> docker-login.sh [2022-06-08T15:48:11.177Z] nexus3.edgexfoundry.org:10001 [2022-06-08T15:48:11.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T15:48:11.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T15:48:11.437Z] Configure a credential helper to remove this warning. See [2022-06-08T15:48:11.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T15:48:11.437Z] [2022-06-08T15:48:11.437Z] Login Succeeded [2022-06-08T15:48:11.437Z] nexus3.edgexfoundry.org:10002 [2022-06-08T15:48:11.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T15:48:11.699Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T15:48:11.699Z] Configure a credential helper to remove this warning. See [2022-06-08T15:48:11.699Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T15:48:11.699Z] [2022-06-08T15:48:11.699Z] Login Succeeded [2022-06-08T15:48:11.699Z] nexus3.edgexfoundry.org:10003 [2022-06-08T15:48:11.699Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T15:48:11.961Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T15:48:11.961Z] Configure a credential helper to remove this warning. See [2022-06-08T15:48:11.961Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T15:48:11.961Z] [2022-06-08T15:48:11.961Z] Login Succeeded [2022-06-08T15:48:11.961Z] nexus3.edgexfoundry.org:10004 [2022-06-08T15:48:11.961Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T15:48:11.961Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T15:48:11.961Z] Configure a credential helper to remove this warning. See [2022-06-08T15:48:11.961Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T15:48:11.961Z] [2022-06-08T15:48:11.961Z] Login Succeeded [2022-06-08T15:48:11.961Z] docker.io [2022-06-08T15:48:12.223Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T15:48:12.487Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T15:48:12.487Z] Configure a credential helper to remove this warning. See [2022-06-08T15:48:12.487Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T15:48:12.487Z] [2022-06-08T15:48:12.487Z] Login Succeeded [2022-06-08T15:48:12.487Z] ---> docker-login.sh ends [Pipeline] } [2022-06-08T15:48:12.514Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-08T15:48:13.142Z] + git rev-list -1 --merges a5241eda9e1e69b89fe42501feada0344f2aaf6b~1..a5241eda9e1e69b89fe42501feada0344f2aaf6b [Pipeline] echo [2022-06-08T15:48:13.191Z] -----------> git rev-list -1 --merges a5241eda9e1e69b89fe42501feada0344f2aaf6b~1..a5241eda9e1e69b89fe42501feada0344f2aaf6b a5241eda9e1e69b89fe42501feada0344f2aaf6b [false] [Pipeline] sh [2022-06-08T15:48:13.510Z] + git log --format=format:%s -1 a5241eda9e1e69b89fe42501feada0344f2aaf6b [Pipeline] echo [2022-06-08T15:48:13.546Z] ========================================================= [2022-06-08T15:48:13.546Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-08T15:48:13.546Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-08T15:48:13.991Z] + git log --format=format:%s -1 a5241eda9e1e69b89fe42501feada0344f2aaf6b [Pipeline] echo [2022-06-08T15:48:14.023Z] [semverPrep] GIT_COMMIT: a5241eda9e1e69b89fe42501feada0344f2aaf6b, Commit Message: refactor(snap): remove redundant content indentifier [Pipeline] echo [2022-06-08T15:48:14.051Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-08T15:48:14.442Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-08T15:48:14.442Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-08T15:48:14.442Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-08T15:48:14.442Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-08T15:48:14.442Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-08T15:48:14.442Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-08T15:48:14.442Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T15:48:14.861Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-08T15:48:14.861Z] [2022-06-08T15:48:14.861Z] 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-08T15:48:15.241Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-08T15:48:15.241Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-08T15:48:15.241Z] 42c077c10790: Pulling fs layer [2022-06-08T15:48:15.241Z] f63e77b7563a: Pulling fs layer [2022-06-08T15:48:15.241Z] bd5fdadae976: Pulling fs layer [2022-06-08T15:48:15.241Z] 205491f53016: Pulling fs layer [2022-06-08T15:48:15.241Z] df18705c85c3: Pulling fs layer [2022-06-08T15:48:15.241Z] bdb3f477010e: Pulling fs layer [2022-06-08T15:48:15.241Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-08T15:48:15.241Z] 205491f53016: Waiting [2022-06-08T15:48:15.241Z] df18705c85c3: Waiting [2022-06-08T15:48:15.241Z] bdb3f477010e: Waiting [2022-06-08T15:48:15.241Z] 2c6e9b1d212d: Pulling fs layer [2022-06-08T15:48:15.241Z] bdb8f0575790: Pulling fs layer [2022-06-08T15:48:15.241Z] c8a8fc8e1c8f: Waiting [2022-06-08T15:48:15.241Z] 386e3cb2ff24: Pulling fs layer [2022-06-08T15:48:15.241Z] 2343380bae48: Pulling fs layer [2022-06-08T15:48:15.241Z] 2343380bae48: Waiting [2022-06-08T15:48:15.501Z] f63e77b7563a: Verifying Checksum [2022-06-08T15:48:15.501Z] f63e77b7563a: Download complete [2022-06-08T15:48:15.501Z] 205491f53016: Verifying Checksum [2022-06-08T15:48:15.501Z] 205491f53016: Download complete [2022-06-08T15:48:15.501Z] df18705c85c3: Verifying Checksum [2022-06-08T15:48:15.501Z] df18705c85c3: Download complete [2022-06-08T15:48:15.501Z] bdb3f477010e: Verifying Checksum [2022-06-08T15:48:15.501Z] bdb3f477010e: Download complete [2022-06-08T15:48:15.501Z] bd5fdadae976: Verifying Checksum [2022-06-08T15:48:15.501Z] bd5fdadae976: Download complete [2022-06-08T15:48:15.501Z] 2c6e9b1d212d: Download complete [2022-06-08T15:48:15.501Z] bdb8f0575790: Verifying Checksum [2022-06-08T15:48:15.501Z] bdb8f0575790: Download complete [2022-06-08T15:48:15.501Z] 386e3cb2ff24: Verifying Checksum [2022-06-08T15:48:15.501Z] 386e3cb2ff24: Download complete [2022-06-08T15:48:15.501Z] 2343380bae48: Verifying Checksum [2022-06-08T15:48:15.501Z] 2343380bae48: Download complete [2022-06-08T15:48:15.760Z] 42c077c10790: Verifying Checksum [2022-06-08T15:48:15.760Z] 42c077c10790: Download complete [2022-06-08T15:48:16.021Z] c8a8fc8e1c8f: Download complete [2022-06-08T15:48:16.961Z] 42c077c10790: Pull complete [2022-06-08T15:48:17.224Z] f63e77b7563a: Pull complete [2022-06-08T15:48:17.486Z] bd5fdadae976: Pull complete [2022-06-08T15:48:17.746Z] 205491f53016: Pull complete [2022-06-08T15:48:18.007Z] df18705c85c3: Pull complete [2022-06-08T15:48:18.007Z] bdb3f477010e: Pull complete [2022-06-08T15:48:19.934Z] c8a8fc8e1c8f: Pull complete [2022-06-08T15:48:19.934Z] 2c6e9b1d212d: Pull complete [2022-06-08T15:48:19.934Z] bdb8f0575790: Pull complete [2022-06-08T15:48:19.934Z] 386e3cb2ff24: Pull complete [2022-06-08T15:48:20.197Z] 2343380bae48: Pull complete [2022-06-08T15:48:20.197Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-08T15:48:20.197Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-08T15:48:20.197Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T15:48:20.429Z] prd-ubuntu20.04-docker-8c-8g-1756 does not seem to be running inside a container [2022-06-08T15:48:20.472Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-177 -v /w/workspace/gexfoundry_device-snmp-go_PR-177:/w/workspace/gexfoundry_device-snmp-go_PR-177:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-177@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-177@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-08T15:48:21.991Z] $ docker top 0e54714aa543ee5eb639deac2dc7e9b7bdb319ba1365eb529e6adb89e278ec64 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-08T15:48:22.176Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-08T15:48:22.176Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-08T15:48:22.288Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-08T15:48:22.295Z] $ docker exec 0e54714aa543ee5eb639deac2dc7e9b7bdb319ba1365eb529e6adb89e278ec64 ssh-agent [2022-06-08T15:48:22.422Z] SSH_AUTH_SOCK=/tmp/ssh-pmvBDEWj6b6l/agent.34 [2022-06-08T15:48:22.422Z] SSH_AGENT_PID=41 [2022-06-08T15:48:22.429Z] Running ssh-add (command line suppressed) [2022-06-08T15:48:22.544Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-177@tmp/private_key_1110348978820677671.key (/w/workspace/gexfoundry_device-snmp-go_PR-177@tmp/private_key_1110348978820677671.key) [2022-06-08T15:48:22.554Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-08T15:48:22.888Z] + git tag --points-at HEAD [Pipeline] } [2022-06-08T15:48:22.924Z] $ docker exec --env ******** --env ******** 0e54714aa543ee5eb639deac2dc7e9b7bdb319ba1365eb529e6adb89e278ec64 ssh-agent -k [2022-06-08T15:48:23.044Z] unset SSH_AUTH_SOCK; [2022-06-08T15:48:23.045Z] unset SSH_AGENT_PID; [2022-06-08T15:48:23.045Z] echo Agent pid 41 killed; [2022-06-08T15:48:23.053Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-08T15:48:23.141Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-08T15:48:23.141Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-08T15:48:23.265Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-08T15:48:23.273Z] $ docker exec 0e54714aa543ee5eb639deac2dc7e9b7bdb319ba1365eb529e6adb89e278ec64 ssh-agent [2022-06-08T15:48:23.387Z] SSH_AUTH_SOCK=/tmp/ssh-IhqzDFLqP3Y7/agent.74 [2022-06-08T15:48:23.387Z] SSH_AGENT_PID=81 [2022-06-08T15:48:23.392Z] Running ssh-add (command line suppressed) [2022-06-08T15:48:23.498Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-177@tmp/private_key_4953312835356999026.key (/w/workspace/gexfoundry_device-snmp-go_PR-177@tmp/private_key_4953312835356999026.key) [2022-06-08T15:48:23.509Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-08T15:48:23.844Z] + git semver init [2022-06-08T15:48:24.105Z] 2022-06-08 15:48:24,020 [run_init] DEBUG init version:0.0.0 force:False [2022-06-08T15:48:24.105Z] 2022-06-08 15:48:24,020 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-177/.semver [2022-06-08T15:48:24.105Z] 2022-06-08 15:48:24,021 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-177/.semver [2022-06-08T15:48:24.105Z] 2022-06-08 15:48:24,021 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-177/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-177, universal_newlines=False, shell=None, istream=None) [2022-06-08T15:48:24.679Z] 2022-06-08 15:48:24,671 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-177/.git/info/exclude [2022-06-08T15:48:24.679Z] 2022-06-08 15:48:24,671 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-177/.semver/PR-177 with force:False [2022-06-08T15:48:24.679Z] 2022-06-08 15:48:24,671 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-177/.semver/PR-177 [2022-06-08T15:48:24.679Z] 2022-06-08 15:48:24,676 [execute] INFO git cat-file --batch-check [2022-06-08T15:48:24.679Z] 2022-06-08 15:48:24,676 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-177/.semver, universal_newlines=False, shell=None, istream=) [2022-06-08T15:48:24.679Z] 2022-06-08 15:48:24,683 [execute] INFO git cat-file --batch [2022-06-08T15:48:24.679Z] 2022-06-08 15:48:24,683 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-177/.semver, universal_newlines=False, shell=None, istream=) [2022-06-08T15:48:24.939Z] 2022-06-08 15:48:24,689 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-177/.semver/PR-177 [2022-06-08T15:48:24.939Z] 0.0.0 [Pipeline] } [2022-06-08T15:48:24.970Z] $ docker exec --env ******** --env ******** 0e54714aa543ee5eb639deac2dc7e9b7bdb319ba1365eb529e6adb89e278ec64 ssh-agent -k [2022-06-08T15:48:25.078Z] unset SSH_AUTH_SOCK; [2022-06-08T15:48:25.078Z] unset SSH_AGENT_PID; [2022-06-08T15:48:25.078Z] echo Agent pid 81 killed; [2022-06-08T15:48:25.083Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-08T15:48:25.516Z] + git semver [Pipeline] } [2022-06-08T15:48:25.806Z] $ docker stop --time=1 0e54714aa543ee5eb639deac2dc7e9b7bdb319ba1365eb529e6adb89e278ec64 [2022-06-08T15:48:27.108Z] $ docker rm -f 0e54714aa543ee5eb639deac2dc7e9b7bdb319ba1365eb529e6adb89e278ec64 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-08T15:48:27.556Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-08T15:48:27.888Z] Stashed 1 file(s) [Pipeline] echo [2022-06-08T15:48:27.907Z] [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-08T15:48:28.485Z] provisioning config files... [2022-06-08T15:48:28.495Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-177@tmp/config7619262114130863250tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-08T15:48:28.846Z] ---> docker-login.sh [2022-06-08T15:48:28.846Z] nexus3.edgexfoundry.org:10001 [2022-06-08T15:48:28.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T15:48:28.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T15:48:28.846Z] Configure a credential helper to remove this warning. See [2022-06-08T15:48:28.846Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T15:48:28.846Z] [2022-06-08T15:48:28.846Z] Login Succeeded [2022-06-08T15:48:28.846Z] nexus3.edgexfoundry.org:10002 [2022-06-08T15:48:28.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T15:48:29.110Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T15:48:29.110Z] Configure a credential helper to remove this warning. See [2022-06-08T15:48:29.110Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T15:48:29.110Z] [2022-06-08T15:48:29.110Z] Login Succeeded [2022-06-08T15:48:29.110Z] nexus3.edgexfoundry.org:10003 [2022-06-08T15:48:29.110Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T15:48:29.110Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T15:48:29.110Z] Configure a credential helper to remove this warning. See [2022-06-08T15:48:29.110Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T15:48:29.110Z] [2022-06-08T15:48:29.110Z] Login Succeeded [2022-06-08T15:48:29.110Z] nexus3.edgexfoundry.org:10004 [2022-06-08T15:48:29.110Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T15:48:29.374Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T15:48:29.374Z] Configure a credential helper to remove this warning. See [2022-06-08T15:48:29.374Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T15:48:29.374Z] [2022-06-08T15:48:29.374Z] Login Succeeded [2022-06-08T15:48:29.374Z] docker.io [2022-06-08T15:48:29.374Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T15:48:29.634Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T15:48:29.634Z] Configure a credential helper to remove this warning. See [2022-06-08T15:48:29.634Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T15:48:29.634Z] [2022-06-08T15:48:29.635Z] Login Succeeded [2022-06-08T15:48:29.635Z] ---> docker-login.sh ends [Pipeline] } [2022-06-08T15:48:29.663Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-08T15:48:29.858Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] sh [2022-06-08T15:48:30.179Z] + grep ^go [0-9].[0-9]* go.mod [2022-06-08T15:48:30.179Z] + cut -d -f 2 [Pipeline] echo [2022-06-08T15:48:30.215Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-08T15:48:30.251Z] ========================================================= [2022-06-08T15:48:30.251Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.16-alpine-lts] [2022-06-08T15:48:30.251Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T15:48:30.722Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.16-alpine-lts --build-arg MAKE=echo noop --target=builder . [2022-06-08T15:48:30.982Z] Sending build context to Docker daemon 16.32MB [2022-06-08T15:48:30.982Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2022-06-08T15:48:30.982Z] Step 2/11 : FROM ${BASE} AS builder [2022-06-08T15:48:30.982Z] 1.16-alpine-lts: Pulling from edgex-devops/edgex-golang-base [2022-06-08T15:48:30.982Z] a0d0a0d46f8b: Pulling fs layer [2022-06-08T15:48:30.982Z] 31adcdaf11c8: Pulling fs layer [2022-06-08T15:48:30.982Z] b8b176561691: Pulling fs layer [2022-06-08T15:48:30.982Z] 4527c011a84f: Pulling fs layer [2022-06-08T15:48:30.982Z] 5d74067f8e1e: Pulling fs layer [2022-06-08T15:48:30.982Z] fd57009d33ed: Pulling fs layer [2022-06-08T15:48:30.982Z] 6b058263d067: Pulling fs layer [2022-06-08T15:48:30.982Z] 16d7c86c65f4: Pulling fs layer [2022-06-08T15:48:30.982Z] 1290d154cb4b: Pulling fs layer [2022-06-08T15:48:30.982Z] 4527c011a84f: Waiting [2022-06-08T15:48:30.982Z] 5d74067f8e1e: Waiting [2022-06-08T15:48:30.982Z] fd57009d33ed: Waiting [2022-06-08T15:48:30.982Z] 6b058263d067: Waiting [2022-06-08T15:48:30.982Z] 16d7c86c65f4: Waiting [2022-06-08T15:48:30.982Z] 1290d154cb4b: Waiting [2022-06-08T15:48:30.982Z] b8b176561691: Verifying Checksum [2022-06-08T15:48:30.982Z] 31adcdaf11c8: Download complete [2022-06-08T15:48:30.982Z] 5d74067f8e1e: Verifying Checksum [2022-06-08T15:48:30.982Z] 5d74067f8e1e: Download complete [2022-06-08T15:48:30.982Z] fd57009d33ed: Download complete [2022-06-08T15:48:30.982Z] 6b058263d067: Download complete [2022-06-08T15:48:30.982Z] a0d0a0d46f8b: Download complete [2022-06-08T15:48:31.243Z] 16d7c86c65f4: Verifying Checksum [2022-06-08T15:48:31.243Z] 16d7c86c65f4: Download complete [2022-06-08T15:48:31.243Z] a0d0a0d46f8b: Pull complete [2022-06-08T15:48:31.243Z] 31adcdaf11c8: Pull complete [2022-06-08T15:48:31.504Z] b8b176561691: Pull complete [2022-06-08T15:48:31.764Z] 1290d154cb4b: Verifying Checksum [2022-06-08T15:48:31.764Z] 1290d154cb4b: Download complete [2022-06-08T15:48:31.764Z] 4527c011a84f: Download complete [2022-06-08T15:48:35.068Z] 4527c011a84f: Pull complete [2022-06-08T15:48:35.068Z] 5d74067f8e1e: Pull complete [2022-06-08T15:48:35.068Z] fd57009d33ed: Pull complete [2022-06-08T15:48:35.068Z] 6b058263d067: Pull complete [2022-06-08T15:48:35.328Z] 16d7c86c65f4: Pull complete [2022-06-08T15:48:37.236Z] 1290d154cb4b: Pull complete [2022-06-08T15:48:37.236Z] Digest: sha256:35e6ac41c26efe3add569c2382a45e417c8e583193a5145d003e9829e558bdd0 [2022-06-08T15:48:37.236Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.16-alpine-lts [2022-06-08T15:48:37.236Z] ---> de6a6ee31cbe [2022-06-08T15:48:37.236Z] Step 3/11 : ARG MAKE='make build' [2022-06-08T15:48:39.154Z] ---> Running in 1b3723ade3df [2022-06-08T15:48:39.154Z] Removing intermediate container 1b3723ade3df [2022-06-08T15:48:39.154Z] ---> acfdd5e39440 [2022-06-08T15:48:39.154Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-08T15:48:39.154Z] ---> Running in f68ba27a8e59 [2022-06-08T15:48:39.154Z] Removing intermediate container f68ba27a8e59 [2022-06-08T15:48:39.154Z] ---> a8f559723539 [2022-06-08T15:48:39.154Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2022-06-08T15:48:39.154Z] ---> Running in 74dce4b14c70 [2022-06-08T15:48:39.154Z] Removing intermediate container 74dce4b14c70 [2022-06-08T15:48:39.154Z] ---> cdb6dec39d2c [2022-06-08T15:48:39.154Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-08T15:48:39.154Z] ---> Running in 0d5d076c79e7 [2022-06-08T15:48:40.097Z] Removing intermediate container 0d5d076c79e7 [2022-06-08T15:48:40.097Z] ---> 713143a8f057 [2022-06-08T15:48:40.097Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-08T15:48:40.097Z] ---> Running in 7d49102a396a [2022-06-08T15:48:40.097Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-08T15:48:41.041Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-08T15:48:41.303Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2022-06-08T15:48:41.303Z] (2/4) Installing libedit (20210216.3.1-r0) [2022-06-08T15:48:41.563Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2022-06-08T15:48:41.563Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2022-06-08T15:48:41.563Z] Executing busybox-1.33.1-r3.trigger [2022-06-08T15:48:41.823Z] OK: 224 MiB in 56 packages [2022-06-08T15:48:42.084Z] Removing intermediate container 7d49102a396a [2022-06-08T15:48:42.084Z] ---> b9f6eab0e421 [2022-06-08T15:48:42.084Z] Step 8/11 : WORKDIR /device-snmp-go [2022-06-08T15:48:42.084Z] ---> Running in 709b70a3a660 [2022-06-08T15:48:42.344Z] Removing intermediate container 709b70a3a660 [2022-06-08T15:48:42.344Z] ---> 1bf73cca5637 [2022-06-08T15:48:42.344Z] Step 9/11 : COPY . . [2022-06-08T15:48:43.284Z] ---> 2ad3b14278b9 [2022-06-08T15:48:43.284Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-08T15:48:43.284Z] ---> Running in a9fcf605f710 [2022-06-08T15:48:43.313Z] Still waiting to schedule task [2022-06-08T15:48:43.314Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-1755’ is offline [2022-06-08T15:48:43.545Z] skipping... [2022-06-08T15:48:43.804Z] Removing intermediate container a9fcf605f710 [2022-06-08T15:48:43.804Z] ---> 236cf318c188 [2022-06-08T15:48:43.804Z] Step 11/11 : RUN ${MAKE} [2022-06-08T15:48:43.804Z] ---> Running in 1d910f63ea34 [2022-06-08T15:48:44.064Z] noop [2022-06-08T15:48:44.324Z] Removing intermediate container 1d910f63ea34 [2022-06-08T15:48:44.324Z] ---> ddd82bbec5ea [2022-06-08T15:48:44.584Z] Successfully built ddd82bbec5ea [2022-06-08T15:48:44.584Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T15:48:45.052Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-08T15:48:45.053Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T15:48:45.210Z] prd-ubuntu20.04-docker-8c-8g-1756 does not seem to be running inside a container [2022-06-08T15:48:45.255Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-177 -v /w/workspace/gexfoundry_device-snmp-go_PR-177:/w/workspace/gexfoundry_device-snmp-go_PR-177:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-177@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-177@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-08T15:48:45.615Z] $ docker top 2e9da621f549b85fe8b449cb0e2c729b56742dc2fbd543708e0d1b0a03cd5a86 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-08T15:48:46.022Z] + go version [2022-06-08T15:48:46.022Z] go version go1.16.8 linux/amd64 [Pipeline] } [2022-06-08T15:48:46.060Z] $ docker stop --time=1 2e9da621f549b85fe8b449cb0e2c729b56742dc2fbd543708e0d1b0a03cd5a86 [2022-06-08T15:48:47.330Z] $ docker rm -f 2e9da621f549b85fe8b449cb0e2c729b56742dc2fbd543708e0d1b0a03cd5a86 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T15:48:48.034Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-08T15:48:48.034Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T15:48:48.198Z] prd-ubuntu20.04-docker-8c-8g-1756 does not seem to be running inside a container [2022-06-08T15:48:48.265Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-177 -v /w/workspace/gexfoundry_device-snmp-go_PR-177:/w/workspace/gexfoundry_device-snmp-go_PR-177:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-177@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-177@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-08T15:48:48.646Z] $ docker top 719ccee9384006ac6060b6092232e71d8734f4d77894e24ffbae15216798283c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-08T15:48:49.126Z] + make test [2022-06-08T15:48:49.126Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-08T15:48:49.386Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-06-08T15:48:55.963Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-06-08T15:48:55.963Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.013s coverage: 0.0% of statements [2022-06-08T15:48:55.963Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-08T15:49:00.158Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-08T15:49:00.158Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-08T15:49:00.158Z] ./bin/test-attribution-txt.sh [2022-06-08T15:49:00.732Z] go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.1 [2022-06-08T15:49:00.732Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1 [2022-06-08T15:49:00.992Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.1 [2022-06-08T15:49:00.992Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 [2022-06-08T15:49:00.992Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-06-08T15:49:00.992Z] go: downloading github.com/soniah/gosnmp v1.21.0 [2022-06-08T15:49:00.992Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2022-06-08T15:49:00.992Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1 [2022-06-08T15:49:00.992Z] go: downloading github.com/google/uuid v1.3.0 [2022-06-08T15:49:00.992Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2022-06-08T15:49:00.992Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2022-06-08T15:49:00.992Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-06-08T15:49:00.992Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-06-08T15:49:00.992Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 [2022-06-08T15:49:00.992Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1 [2022-06-08T15:49:00.992Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2022-06-08T15:49:00.992Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-06-08T15:49:00.993Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-06-08T15:49:00.993Z] go: downloading github.com/go-kit/kit v0.11.0 [2022-06-08T15:49:00.993Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2022-06-08T15:49:00.993Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2022-06-08T15:49:00.993Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2022-06-08T15:49:00.993Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-06-08T15:49:00.993Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-06-08T15:49:00.993Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2022-06-08T15:49:00.993Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-06-08T15:49:00.993Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-06-08T15:49:00.993Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-06-08T15:49:00.993Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-06-08T15:49:00.993Z] go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 [2022-06-08T15:49:00.993Z] go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 [2022-06-08T15:49:00.993Z] go: downloading golang.org/x/text v0.3.6 [2022-06-08T15:49:00.993Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-06-08T15:49:01.256Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-06-08T15:49:01.256Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-06-08T15:49:01.256Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-06-08T15:49:01.256Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-06-08T15:49:01.256Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-06-08T15:49:01.256Z] go: downloading github.com/golang/mock v1.4.4 [2022-06-08T15:49:01.256Z] go: downloading github.com/x448/float16 v0.8.4 [2022-06-08T15:49:01.256Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-06-08T15:49:01.256Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-06-08T15:49:01.256Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-06-08T15:49:01.256Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-06-08T15:49:01.516Z] go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 [2022-06-08T15:49:01.516Z] go: downloading github.com/fatih/color v1.9.0 [2022-06-08T15:49:01.516Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-06-08T15:49:01.516Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-06-08T15:49:01.516Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2022-06-08T15:49:01.516Z] go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo [2022-06-08T15:49:02.932Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2022-06-08T15:49:03.294Z] + go mod tidy [2022-06-08T15:49:03.294Z] go: downloading github.com/stretchr/testify v1.7.0 [2022-06-08T15:49:03.294Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2022-06-08T15:49:03.294Z] go: downloading github.com/go-stack/stack v1.8.0 [2022-06-08T15:49:03.294Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2022-06-08T15:49:03.294Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2022-06-08T15:49:03.294Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2022-06-08T15:49:03.554Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2022-06-08T15:49:03.554Z] go: downloading github.com/onsi/gomega v1.7.0 [2022-06-08T15:49:03.554Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2022-06-08T15:49:03.554Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2022-06-08T15:49:03.554Z] go: downloading github.com/kr/pretty v0.3.0 [2022-06-08T15:49:03.554Z] go: downloading github.com/pkg/errors v0.9.1 [2022-06-08T15:49:03.554Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2022-06-08T15:49:03.554Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-06-08T15:49:03.554Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-06-08T15:49:03.554Z] go: downloading github.com/stretchr/objx v0.1.1 [2022-06-08T15:49:03.554Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2022-06-08T15:49:03.554Z] go: downloading github.com/kr/text v0.2.0 [2022-06-08T15:49:03.554Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2022-06-08T15:49:03.554Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2022-06-08T15:49:03.554Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2022-06-08T15:49:03.554Z] go: downloading github.com/miekg/dns v1.1.26 [2022-06-08T15:49:03.554Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2022-06-08T15:49:03.554Z] go: downloading gopkg.in/yaml.v2 v2.3.0 [2022-06-08T15:49:03.554Z] go: downloading github.com/hpcloud/tail v1.0.0 [2022-06-08T15:49:03.554Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2022-06-08T15:49:03.554Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } [2022-06-08T15:49:03.596Z] $ docker stop --time=1 719ccee9384006ac6060b6092232e71d8734f4d77894e24ffbae15216798283c [2022-06-08T15:49:05.536Z] $ docker rm -f 719ccee9384006ac6060b6092232e71d8734f4d77894e24ffbae15216798283c [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-08T15:49:06.129Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-08T15:49:06.249Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-08T15:49:06.959Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-08T15:49:07.315Z] + ls -al . [2022-06-08T15:49:07.315Z] total 180 [2022-06-08T15:49:07.315Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 8 15:49 . [2022-06-08T15:49:07.315Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 15:48 .. [2022-06-08T15:49:07.315Z] -rw-rw-r-- 1 jenkins jenkins 6 Jun 8 15:48 .dockerignore [2022-06-08T15:49:07.315Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 8 15:48 .git [2022-06-08T15:49:07.315Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 15:48 .github [2022-06-08T15:49:07.315Z] -rw-rw-r-- 1 jenkins jenkins 255 Jun 8 15:48 .gitignore [2022-06-08T15:49:07.315Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 8 15:48 .semver [2022-06-08T15:49:07.315Z] -rw-rw-r-- 1 jenkins jenkins 6926 Jun 8 15:48 Attribution.txt [2022-06-08T15:49:07.315Z] -rw-rw-r-- 1 jenkins jenkins 4800 Jun 8 15:48 CHANGELOG.md [2022-06-08T15:49:07.315Z] -rw-rw-r-- 1 jenkins jenkins 1493 Jun 8 15:48 Dockerfile [2022-06-08T15:49:07.315Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 8 15:48 GOVERNANCE.md [2022-06-08T15:49:07.315Z] -rw-rw-r-- 1 jenkins jenkins 656 Jun 8 15:48 Jenkinsfile [2022-06-08T15:49:07.315Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 8 15:48 LICENSE [2022-06-08T15:49:07.315Z] -rw-rw-r-- 1 jenkins jenkins 1526 Jun 8 15:48 Makefile [2022-06-08T15:49:07.315Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 8 15:48 OWNERS.md [2022-06-08T15:49:07.315Z] -rw-rw-r-- 1 jenkins jenkins 9073 Jun 8 15:48 README.md [2022-06-08T15:49:07.315Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 8 15:48 VERSION [2022-06-08T15:49:07.315Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 15:48 bin [2022-06-08T15:49:07.315Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 15:48 cmd [2022-06-08T15:49:07.315Z] -rw-r--r-- 1 jenkins jenkins 7631 Jun 8 15:48 coverage.out [2022-06-08T15:49:07.315Z] -rw-rw-r-- 1 jenkins jenkins 208 Jun 8 15:49 go.mod [2022-06-08T15:49:07.315Z] -rw-rw-r-- 1 jenkins jenkins 49477 Jun 8 15:48 go.sum [2022-06-08T15:49:07.315Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 15:48 internal [2022-06-08T15:49:07.315Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 15:48 snap [2022-06-08T15:49:07.315Z] drwxrwxr-x 6 jenkins jenkins 4096 Jun 8 15:48 vendor [2022-06-08T15:49:07.315Z] -rw-rw-r-- 1 jenkins jenkins 228 Jun 8 15:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T15:49:07.731Z] + 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=a5241eda9e1e69b89fe42501feada0344f2aaf6b --label arch=amd64 --label version=0.0.0 . [2022-06-08T15:49:07.731Z] Sending build context to Docker daemon 16.33MB [2022-06-08T15:49:07.731Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.14 [2022-06-08T15:49:07.731Z] Step 2/23 : FROM ${BASE} AS builder [2022-06-08T15:49:07.731Z] ---> ddd82bbec5ea [2022-06-08T15:49:07.731Z] Step 3/23 : ARG MAKE='make build' [2022-06-08T15:49:07.992Z] ---> Running in b99fc5285a09 [2022-06-08T15:49:07.992Z] Removing intermediate container b99fc5285a09 [2022-06-08T15:49:07.992Z] ---> ca8016d88574 [2022-06-08T15:49:07.992Z] Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-08T15:49:07.992Z] ---> Running in 5c2e9626acfb [2022-06-08T15:49:08.253Z] Removing intermediate container 5c2e9626acfb [2022-06-08T15:49:08.253Z] ---> c18b118d4b77 [2022-06-08T15:49:08.253Z] Step 5/23 : ARG ALPINE_PKG_EXTRA="" [2022-06-08T15:49:08.253Z] ---> Running in 465f2de98346 [2022-06-08T15:49:08.253Z] Removing intermediate container 465f2de98346 [2022-06-08T15:49:08.253Z] ---> 14e6e29ad886 [2022-06-08T15:49:08.253Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-08T15:49:08.254Z] ---> Running in d951cfed0ac4 [2022-06-08T15:49:08.825Z] Removing intermediate container d951cfed0ac4 [2022-06-08T15:49:08.825Z] ---> 8dc4254441ae [2022-06-08T15:49:08.825Z] Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-08T15:49:08.825Z] ---> Running in 0fa4d7805c53 [2022-06-08T15:49:09.084Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-08T15:49:10.028Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-08T15:49:10.289Z] OK: 224 MiB in 56 packages [2022-06-08T15:49:10.551Z] Removing intermediate container 0fa4d7805c53 [2022-06-08T15:49:10.551Z] ---> 19120f09be70 [2022-06-08T15:49:10.551Z] Step 8/23 : WORKDIR /device-snmp-go [2022-06-08T15:49:10.551Z] ---> Running in 3f977ad91407 [2022-06-08T15:49:10.811Z] Removing intermediate container 3f977ad91407 [2022-06-08T15:49:10.811Z] ---> d0fef4842b56 [2022-06-08T15:49:10.811Z] Step 9/23 : COPY . . [2022-06-08T15:49:11.751Z] ---> 95a87a5496d3 [2022-06-08T15:49:11.751Z] Step 10/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-08T15:49:11.751Z] ---> Running in 4eb7d4479904 [2022-06-08T15:49:12.011Z] skipping... [2022-06-08T15:49:12.271Z] Removing intermediate container 4eb7d4479904 [2022-06-08T15:49:12.272Z] ---> a173cf3bcc4e [2022-06-08T15:49:12.272Z] Step 11/23 : RUN ${MAKE} [2022-06-08T15:49:12.272Z] ---> Running in ce87b27daaf4 [2022-06-08T15:49:12.531Z] 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-08T15:49:20.686Z] Removing intermediate container ce87b27daaf4 [2022-06-08T15:49:20.686Z] ---> 157e4095ea1e [2022-06-08T15:49:20.686Z] Step 12/23 : FROM alpine:3.14 [2022-06-08T15:49:20.686Z] 3.14: Pulling from library/alpine [2022-06-08T15:49:20.686Z] 8663204ce13b: Pulling fs layer [2022-06-08T15:49:20.686Z] 8663204ce13b: Verifying Checksum [2022-06-08T15:49:20.686Z] 8663204ce13b: Download complete [2022-06-08T15:49:20.686Z] 8663204ce13b: Pull complete [2022-06-08T15:49:20.686Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-08T15:49:20.686Z] Status: Downloaded newer image for alpine:3.14 [2022-06-08T15:49:20.686Z] ---> e04c818066af [2022-06-08T15:49:20.686Z] Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-08T15:49:20.686Z] ---> Running in 2b242b3f2cb4 [2022-06-08T15:49:20.686Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-08T15:49:20.686Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-08T15:49:20.947Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-08T15:49:20.947Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-08T15:49:20.947Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-08T15:49:20.947Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-08T15:49:20.947Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-08T15:49:20.947Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-08T15:49:20.947Z] Executing busybox-1.33.1-r7.trigger [2022-06-08T15:49:20.947Z] OK: 8 MiB in 20 packages [2022-06-08T15:49:21.519Z] Removing intermediate container 2b242b3f2cb4 [2022-06-08T15:49:21.519Z] ---> 7f75b211eb6e [2022-06-08T15:49:21.519Z] Step 14/23 : COPY --from=builder /device-snmp-go/cmd / [2022-06-08T15:49:21.780Z] ---> 72e6747a0763 [2022-06-08T15:49:21.780Z] Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-06-08T15:49:22.038Z] ---> 9dc55f4408b9 [2022-06-08T15:49:22.038Z] Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / [2022-06-08T15:49:22.038Z] ---> 50a760045f58 [2022-06-08T15:49:22.038Z] Step 17/23 : EXPOSE 59993 [2022-06-08T15:49:22.038Z] ---> Running in 0f41245ee2b8 [2022-06-08T15:49:22.300Z] Removing intermediate container 0f41245ee2b8 [2022-06-08T15:49:22.300Z] ---> 1649c2a2c614 [2022-06-08T15:49:22.300Z] Step 18/23 : EXPOSE 161 [2022-06-08T15:49:22.300Z] ---> Running in 8717c1223e8d [2022-06-08T15:49:22.300Z] Removing intermediate container 8717c1223e8d [2022-06-08T15:49:22.300Z] ---> 2cf64c6be795 [2022-06-08T15:49:22.300Z] Step 19/23 : ENTRYPOINT ["/device-snmp"] [2022-06-08T15:49:22.300Z] ---> Running in 1bb847d678f5 [2022-06-08T15:49:22.560Z] Removing intermediate container 1bb847d678f5 [2022-06-08T15:49:22.560Z] ---> fc4ad71d8b7c [2022-06-08T15:49:22.560Z] Step 20/23 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-06-08T15:49:22.560Z] ---> Running in 4bdf7db7a9aa [2022-06-08T15:49:22.560Z] Removing intermediate container 4bdf7db7a9aa [2022-06-08T15:49:22.560Z] ---> 5e960bbe50ba [2022-06-08T15:49:22.560Z] Step 21/23 : LABEL arch=amd64 [2022-06-08T15:49:22.560Z] ---> Running in 44c19f2be1d2 [2022-06-08T15:49:22.825Z] Removing intermediate container 44c19f2be1d2 [2022-06-08T15:49:22.825Z] ---> c82c67481520 [2022-06-08T15:49:22.825Z] Step 22/23 : LABEL git_sha=a5241eda9e1e69b89fe42501feada0344f2aaf6b [2022-06-08T15:49:22.825Z] ---> Running in 766aaa8e9f07 [2022-06-08T15:49:22.825Z] Removing intermediate container 766aaa8e9f07 [2022-06-08T15:49:22.825Z] ---> 29f8704cbe61 [2022-06-08T15:49:22.825Z] Step 23/23 : LABEL version=0.0.0 [2022-06-08T15:49:22.825Z] ---> Running in 54025749f955 [2022-06-08T15:49:22.825Z] Removing intermediate container 54025749f955 [2022-06-08T15:49:22.825Z] ---> 612bd27d5f9d [2022-06-08T15:49:22.825Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-08T15:49:22.825Z] Successfully built 612bd27d5f9d [2022-06-08T15:49:23.086Z] 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-08T15:49:23.897Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-08T15:49:23.897Z] [2022-06-08T15:49:23.897Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T15:49:24.280Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-08T15:49:24.280Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-08T15:49:24.280Z] 5eb5b503b376: Pulling fs layer [2022-06-08T15:49:24.280Z] 5c69ac0246d0: Pulling fs layer [2022-06-08T15:49:24.280Z] ec43610c2a17: Pulling fs layer [2022-06-08T15:49:24.280Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-08T15:49:24.280Z] 33b1e0a273af: Pulling fs layer [2022-06-08T15:49:24.280Z] 5d3b04190fa2: Pulling fs layer [2022-06-08T15:49:24.280Z] 2f39f015ded8: Pulling fs layer [2022-06-08T15:49:24.280Z] 3a2ae6a8a46f: Waiting [2022-06-08T15:49:24.280Z] 33b1e0a273af: Waiting [2022-06-08T15:49:24.280Z] 5d3b04190fa2: Waiting [2022-06-08T15:49:24.280Z] 2f39f015ded8: Waiting [2022-06-08T15:49:24.280Z] 5c69ac0246d0: Download complete [2022-06-08T15:49:24.280Z] 3a2ae6a8a46f: Download complete [2022-06-08T15:49:24.280Z] 33b1e0a273af: Verifying Checksum [2022-06-08T15:49:24.280Z] 33b1e0a273af: Download complete [2022-06-08T15:49:24.280Z] 5d3b04190fa2: Verifying Checksum [2022-06-08T15:49:24.280Z] 5d3b04190fa2: Download complete [2022-06-08T15:49:24.280Z] ec43610c2a17: Verifying Checksum [2022-06-08T15:49:24.280Z] ec43610c2a17: Download complete [2022-06-08T15:49:24.539Z] 5eb5b503b376: Verifying Checksum [2022-06-08T15:49:24.539Z] 5eb5b503b376: Download complete [2022-06-08T15:49:25.109Z] 2f39f015ded8: Download complete [2022-06-08T15:49:25.680Z] 5eb5b503b376: Pull complete [2022-06-08T15:49:25.940Z] 5c69ac0246d0: Pull complete [2022-06-08T15:49:26.516Z] ec43610c2a17: Pull complete [2022-06-08T15:49:26.516Z] 3a2ae6a8a46f: Pull complete [2022-06-08T15:49:26.778Z] 33b1e0a273af: Pull complete [2022-06-08T15:49:26.778Z] 5d3b04190fa2: Pull complete [2022-06-08T15:49:30.971Z] 2f39f015ded8: Pull complete [2022-06-08T15:49:30.971Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-08T15:49:30.971Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-08T15:49:30.971Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T15:49:31.191Z] prd-ubuntu20.04-docker-8c-8g-1756 does not seem to be running inside a container [2022-06-08T15:49:31.237Z] $ 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-177 -v /w/workspace/gexfoundry_device-snmp-go_PR-177:/w/workspace/gexfoundry_device-snmp-go_PR-177:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-177@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-177@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-08T15:49:33.456Z] $ docker top 1399d01bd72fbf7c6c0970bf131a09d2bae5d6762c5137c7a99481b8c5fc0186 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-08T15:49:33.925Z] ---> job-cost.sh [2022-06-08T15:49:33.925Z] lf-activate-venv: SKIPPING [2022-06-08T15:49:33.925Z] INFO: No Stack... [2022-06-08T15:49:34.187Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-08T15:49:34.757Z] INFO: Archiving Costs [Pipeline] sh [2022-06-08T15:49:35.071Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-177/archives/cost.csv [2022-06-08T15:49:35.071Z] + cut -d, -f6 [Pipeline] lock [2022-06-08T15:49:35.107Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-177-1-stack-cost] [2022-06-08T15:49:35.110Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-177-1-stack-cost] did not exist. Created. [2022-06-08T15:49:35.110Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-177-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-08T15:49:35.509Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-08T15:49:35.575Z] Stashed 1 file(s) [Pipeline] } [2022-06-08T15:49:35.589Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-177-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-08T15:49:35.673Z] $ docker stop --time=1 1399d01bd72fbf7c6c0970bf131a09d2bae5d6762c5137c7a99481b8c5fc0186 [2022-06-08T15:49:36.832Z] $ docker rm -f 1399d01bd72fbf7c6c0970bf131a09d2bae5d6762c5137c7a99481b8c5fc0186 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-08T15:50:19.533Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1757 in /w/workspace/gexfoundry_device-snmp-go_PR-177 [Pipeline] { [Pipeline] ws [2022-06-08T15:50:19.571Z] Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout [2022-06-08T15:50:19.656Z] Selected Git installation does not exist. Using Default [2022-06-08T15:50:19.656Z] The recommended git tool is: NONE [2022-06-08T15:50:24.594Z] using credential edgex-jenkins-ssh [2022-06-08T15:50:24.612Z] Cloning the remote Git repository [2022-06-08T15:50:24.669Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-06-08T15:50:24.742Z] > git init /w/workspace/device-snmp-go/1 # timeout=10 [2022-06-08T15:50:24.885Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-06-08T15:50:24.886Z] > git --version # timeout=10 [2022-06-08T15:50:24.925Z] > git --version # 'git version 2.25.1' [2022-06-08T15:50:24.927Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-08T15:50:25.017Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-08T15:50:26.686Z] Merging remotes/origin/jakarta commit 9dfa39e25740af4f73019c6d8198dfd4ed11294a into PR head commit a5241eda9e1e69b89fe42501feada0344f2aaf6b [2022-06-08T15:50:26.094Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-06-08T15:50:26.122Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-08T15:50:26.149Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-06-08T15:50:26.189Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-06-08T15:50:26.189Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-08T15:50:26.201Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/177/head:refs/remotes/origin/PR-177 +refs/heads/jakarta:refs/remotes/origin/jakarta # timeout=10 [2022-06-08T15:50:26.710Z] > git config core.sparsecheckout # timeout=10 [2022-06-08T15:50:26.730Z] > git checkout -f a5241eda9e1e69b89fe42501feada0344f2aaf6b # timeout=10 [2022-06-08T15:50:27.169Z] > git remote # timeout=10 [2022-06-08T15:50:27.196Z] > git config --get remote.origin.url # timeout=10 [2022-06-08T15:50:27.219Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-08T15:50:27.233Z] > git merge 9dfa39e25740af4f73019c6d8198dfd4ed11294a # timeout=10 [2022-06-08T15:50:27.275Z] Merge succeeded, producing a5241eda9e1e69b89fe42501feada0344f2aaf6b [2022-06-08T15:50:27.276Z] Checking out Revision a5241eda9e1e69b89fe42501feada0344f2aaf6b (PR-177) [2022-06-08T15:50:27.260Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-08T15:50:27.286Z] > git config core.sparsecheckout # timeout=10 [2022-06-08T15:50:27.302Z] > git checkout -f a5241eda9e1e69b89fe42501feada0344f2aaf6b # timeout=10 [2022-06-08T15:50:31.581Z] Commit message: "refactor(snap): remove redundant content indentifier" [2022-06-08T15:50:31.641Z] > git --version # timeout=10 [2022-06-08T15:50:31.653Z] > git --version # 'git version 2.25.1' [2022-06-08T15:50:31.667Z] fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-08T15:50:32.785Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-08T15:50:32.785Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-08T15:50:32.785Z] Dload Upload Total Spent Left Speed [2022-06-08T15:50:32.785Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 100k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh [2022-06-08T15:50:33.794Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-08T15:50:34.157Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-08T15:50:34.157Z] + sudo tee /etc/docker/daemon.new [2022-06-08T15:50:34.157Z] { [2022-06-08T15:50:34.157Z] "registry-mirrors": [ [2022-06-08T15:50:34.157Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-08T15:50:34.157Z] ], [2022-06-08T15:50:34.157Z] "bip": "10.250.0.254/24", [2022-06-08T15:50:34.157Z] "hosts": [ [2022-06-08T15:50:34.157Z] "tcp://0.0.0.0:5555", [2022-06-08T15:50:34.157Z] "unix:///var/run/docker.sock" [2022-06-08T15:50:34.157Z] ], [2022-06-08T15:50:34.157Z] "mtu": 1458, [2022-06-08T15:50:34.157Z] "selinux-enabled": true, [2022-06-08T15:50:34.157Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-08T15:50:34.157Z] } [Pipeline] sh [2022-06-08T15:50:34.510Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-08T15:50:34.867Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-08T15:50:53.259Z] provisioning config files... [2022-06-08T15:50:53.294Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config1875502918208033271tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-08T15:50:53.708Z] ---> docker-login.sh [2022-06-08T15:50:53.708Z] nexus3.edgexfoundry.org:10001 [2022-06-08T15:50:54.305Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T15:50:54.579Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T15:50:54.579Z] Configure a credential helper to remove this warning. See [2022-06-08T15:50:54.579Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T15:50:54.579Z] [2022-06-08T15:50:54.579Z] Login Succeeded [2022-06-08T15:50:54.579Z] nexus3.edgexfoundry.org:10002 [2022-06-08T15:50:54.853Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T15:50:55.127Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T15:50:55.127Z] Configure a credential helper to remove this warning. See [2022-06-08T15:50:55.127Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T15:50:55.127Z] [2022-06-08T15:50:55.127Z] Login Succeeded [2022-06-08T15:50:55.127Z] nexus3.edgexfoundry.org:10003 [2022-06-08T15:50:55.407Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T15:50:55.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T15:50:55.407Z] Configure a credential helper to remove this warning. See [2022-06-08T15:50:55.407Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T15:50:55.407Z] [2022-06-08T15:50:55.407Z] Login Succeeded [2022-06-08T15:50:55.407Z] nexus3.edgexfoundry.org:10004 [2022-06-08T15:50:56.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T15:50:56.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T15:50:56.005Z] Configure a credential helper to remove this warning. See [2022-06-08T15:50:56.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T15:50:56.005Z] [2022-06-08T15:50:56.005Z] Login Succeeded [2022-06-08T15:50:56.005Z] docker.io [2022-06-08T15:50:56.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-08T15:50:56.560Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-08T15:50:56.560Z] Configure a credential helper to remove this warning. See [2022-06-08T15:50:56.560Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-08T15:50:56.560Z] [2022-06-08T15:50:56.560Z] Login Succeeded [2022-06-08T15:50:56.560Z] ---> docker-login.sh ends [Pipeline] } [2022-06-08T15:50:56.586Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-08T15:50:56.975Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] sh [2022-06-08T15:50:57.321Z] + grep ^go [0-9].[0-9]* go.mod [2022-06-08T15:50:57.321Z] + cut -d -f 2 [Pipeline] echo [2022-06-08T15:50:57.404Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-08T15:50:57.437Z] ========================================================= [2022-06-08T15:50:57.437Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.16-alpine-lts] [2022-06-08T15:50:57.437Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T15:50:57.937Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.16-alpine-lts --build-arg MAKE=echo noop --target=builder . [2022-06-08T15:50:58.925Z] Sending build context to Docker daemon 13.72MB [2022-06-08T15:50:59.202Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2022-06-08T15:50:59.202Z] Step 2/11 : FROM ${BASE} AS builder [2022-06-08T15:50:59.202Z] 1.16-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-08T15:50:59.202Z] 552d1f2373af: Pulling fs layer [2022-06-08T15:50:59.202Z] ea3f2d53f512: Pulling fs layer [2022-06-08T15:50:59.202Z] 9e70ebbbe112: Pulling fs layer [2022-06-08T15:50:59.202Z] 7a9cfe048b4a: Pulling fs layer [2022-06-08T15:50:59.202Z] 72dc09318566: Pulling fs layer [2022-06-08T15:50:59.202Z] f324388ff665: Pulling fs layer [2022-06-08T15:50:59.202Z] 53ef782089cf: Pulling fs layer [2022-06-08T15:50:59.202Z] 2af28fca035d: Pulling fs layer [2022-06-08T15:50:59.202Z] f324388ff665: Waiting [2022-06-08T15:50:59.202Z] 53ef782089cf: Waiting [2022-06-08T15:50:59.202Z] 2af28fca035d: Waiting [2022-06-08T15:50:59.202Z] 7a9cfe048b4a: Waiting [2022-06-08T15:50:59.202Z] 72dc09318566: Waiting [2022-06-08T15:50:59.202Z] 9e70ebbbe112: Verifying Checksum [2022-06-08T15:50:59.202Z] 9e70ebbbe112: Download complete [2022-06-08T15:50:59.202Z] ea3f2d53f512: Verifying Checksum [2022-06-08T15:50:59.202Z] ea3f2d53f512: Download complete [2022-06-08T15:50:59.202Z] 72dc09318566: Verifying Checksum [2022-06-08T15:50:59.202Z] 72dc09318566: Download complete [2022-06-08T15:50:59.480Z] f324388ff665: Verifying Checksum [2022-06-08T15:50:59.480Z] f324388ff665: Download complete [2022-06-08T15:50:59.480Z] 552d1f2373af: Verifying Checksum [2022-06-08T15:50:59.480Z] 552d1f2373af: Download complete [2022-06-08T15:50:59.480Z] 53ef782089cf: Verifying Checksum [2022-06-08T15:50:59.480Z] 53ef782089cf: Download complete [2022-06-08T15:51:00.085Z] 552d1f2373af: Pull complete [2022-06-08T15:51:00.693Z] ea3f2d53f512: Pull complete [2022-06-08T15:51:00.969Z] 9e70ebbbe112: Pull complete [2022-06-08T15:51:01.252Z] 2af28fca035d: Verifying Checksum [2022-06-08T15:51:01.252Z] 2af28fca035d: Download complete [2022-06-08T15:51:01.851Z] 7a9cfe048b4a: Verifying Checksum [2022-06-08T15:51:01.851Z] 7a9cfe048b4a: Download complete [2022-06-08T15:51:14.286Z] 7a9cfe048b4a: Pull complete [2022-06-08T15:51:14.286Z] 72dc09318566: Pull complete [2022-06-08T15:51:14.286Z] f324388ff665: Pull complete [2022-06-08T15:51:14.286Z] 53ef782089cf: Pull complete [2022-06-08T15:51:19.718Z] 2af28fca035d: Pull complete [2022-06-08T15:51:19.718Z] Digest: sha256:527acc5c9bdbcdb39ccaea3aa8445d1f41445096e6313448e88606d2b64d4b83 [2022-06-08T15:51:19.718Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.16-alpine-lts [2022-06-08T15:51:19.718Z] ---> d19f1962542a [2022-06-08T15:51:19.718Z] Step 3/11 : ARG MAKE='make build' [2022-06-08T15:51:21.149Z] ---> Running in 3fc0c8e13de6 [2022-06-08T15:51:21.421Z] Removing intermediate container 3fc0c8e13de6 [2022-06-08T15:51:21.421Z] ---> d87be5b71e69 [2022-06-08T15:51:21.421Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-08T15:51:21.421Z] ---> Running in 995dc814393d [2022-06-08T15:51:21.695Z] Removing intermediate container 995dc814393d [2022-06-08T15:51:21.695Z] ---> f4f4a3d19724 [2022-06-08T15:51:21.695Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2022-06-08T15:51:21.695Z] ---> Running in 73ef082ae27d [2022-06-08T15:51:21.968Z] Removing intermediate container 73ef082ae27d [2022-06-08T15:51:21.968Z] ---> 9c67e2b07fd0 [2022-06-08T15:51:21.968Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-08T15:51:22.241Z] ---> Running in bb9406bf39ae [2022-06-08T15:51:23.679Z] Removing intermediate container bb9406bf39ae [2022-06-08T15:51:23.679Z] ---> dc6861ee668d [2022-06-08T15:51:23.679Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-08T15:51:23.953Z] ---> Running in e3d532405909 [2022-06-08T15:51:24.940Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-08T15:51:25.530Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-08T15:51:26.513Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2022-06-08T15:51:26.513Z] (2/4) Installing libedit (20210216.3.1-r0) [2022-06-08T15:51:26.513Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2022-06-08T15:51:26.791Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2022-06-08T15:51:26.791Z] Executing busybox-1.33.1-r3.trigger [2022-06-08T15:51:26.791Z] OK: 223 MiB in 56 packages [2022-06-08T15:51:27.775Z] Removing intermediate container e3d532405909 [2022-06-08T15:51:27.775Z] ---> 02a161f1e299 [2022-06-08T15:51:27.775Z] Step 8/11 : WORKDIR /device-snmp-go [2022-06-08T15:51:27.775Z] ---> Running in 1056857e3f0e [2022-06-08T15:51:28.051Z] Removing intermediate container 1056857e3f0e [2022-06-08T15:51:28.051Z] ---> f41909b51705 [2022-06-08T15:51:28.051Z] Step 9/11 : COPY . . [2022-06-08T15:51:32.379Z] ---> 08268e627c57 [2022-06-08T15:51:32.379Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-08T15:51:32.379Z] ---> Running in 1fae7e2b1417 [2022-06-08T15:51:32.658Z] skipping... [2022-06-08T15:51:33.263Z] Removing intermediate container 1fae7e2b1417 [2022-06-08T15:51:33.263Z] ---> 9fadacf6e60b [2022-06-08T15:51:33.263Z] Step 11/11 : RUN ${MAKE} [2022-06-08T15:51:33.540Z] ---> Running in d9d63ad78bba [2022-06-08T15:51:34.532Z] noop [2022-06-08T15:51:34.806Z] Removing intermediate container d9d63ad78bba [2022-06-08T15:51:34.806Z] ---> 7e794cb9e4c2 [2022-06-08T15:51:35.079Z] Successfully built 7e794cb9e4c2 [2022-06-08T15:51:35.079Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T15:51:35.551Z] + docker inspect -f . ci-base-image-arm64 [2022-06-08T15:51:35.552Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T15:51:35.851Z] prd-ubuntu20.04-docker-arm64-4c-16g-1757 does not seem to be running inside a container [2022-06-08T15:51:35.937Z] $ 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-08T15:51:37.180Z] $ docker top 40f8af68e405e12c05f73049fdf90282b190d5a201b1e2dfce4c5a7ce537e5c6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-08T15:51:38.112Z] + go version [2022-06-08T15:51:38.112Z] go version go1.16.8 linux/arm64 [Pipeline] } [2022-06-08T15:51:38.154Z] $ docker stop --time=1 40f8af68e405e12c05f73049fdf90282b190d5a201b1e2dfce4c5a7ce537e5c6 [2022-06-08T15:51:39.803Z] $ docker rm -f 40f8af68e405e12c05f73049fdf90282b190d5a201b1e2dfce4c5a7ce537e5c6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T15:51:40.723Z] + docker inspect -f . ci-base-image-arm64 [2022-06-08T15:51:40.723Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T15:51:41.017Z] prd-ubuntu20.04-docker-arm64-4c-16g-1757 does not seem to be running inside a container [2022-06-08T15:51:41.112Z] $ 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-08T15:51:42.357Z] $ docker top e97f0e80e01c4211ea3015482d324ccdceeac65fa57f1a1261728dbe0424e3d8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-08T15:51:43.382Z] + make test [2022-06-08T15:51:43.382Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-06-08T15:51:44.840Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-06-08T15:52:41.447Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-06-08T15:52:41.447Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.040s coverage: 0.0% of statements [2022-06-08T15:52:41.447Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-08T15:53:03.695Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-08T15:53:03.695Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-08T15:53:03.695Z] ./bin/test-attribution-txt.sh [2022-06-08T15:53:03.695Z] go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.1 [2022-06-08T15:53:03.695Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1 [2022-06-08T15:53:03.695Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.1 [2022-06-08T15:53:03.695Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2022-06-08T15:53:03.695Z] go: downloading github.com/google/uuid v1.3.0 [2022-06-08T15:53:03.695Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 [2022-06-08T15:53:03.695Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1 [2022-06-08T15:53:03.695Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-06-08T15:53:03.695Z] go: downloading github.com/soniah/gosnmp v1.21.0 [2022-06-08T15:53:03.695Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2022-06-08T15:53:03.695Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-06-08T15:53:03.695Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2022-06-08T15:53:03.695Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-06-08T15:53:03.695Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 [2022-06-08T15:53:03.695Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1 [2022-06-08T15:53:03.695Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2022-06-08T15:53:03.695Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-06-08T15:53:03.695Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-06-08T15:53:03.695Z] go: downloading github.com/go-kit/kit v0.11.0 [2022-06-08T15:53:03.695Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2022-06-08T15:53:03.695Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2022-06-08T15:53:03.974Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2022-06-08T15:53:03.974Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-06-08T15:53:03.974Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-06-08T15:53:04.254Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-06-08T15:53:04.255Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-06-08T15:53:04.255Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-06-08T15:53:04.255Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2022-06-08T15:53:04.255Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-06-08T15:53:04.255Z] go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 [2022-06-08T15:53:04.255Z] go: downloading golang.org/x/text v0.3.6 [2022-06-08T15:53:04.255Z] go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 [2022-06-08T15:53:05.240Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-06-08T15:53:05.516Z] go: downloading github.com/golang/mock v1.4.4 [2022-06-08T15:53:05.516Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-06-08T15:53:05.516Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-06-08T15:53:05.516Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-06-08T15:53:05.516Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-06-08T15:53:05.792Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-06-08T15:53:06.068Z] go: downloading github.com/x448/float16 v0.8.4 [2022-06-08T15:53:06.069Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-06-08T15:53:06.069Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-06-08T15:53:06.347Z] go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 [2022-06-08T15:53:07.331Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-06-08T15:53:07.331Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-06-08T15:53:07.331Z] go: downloading github.com/fatih/color v1.9.0 [2022-06-08T15:53:07.331Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-06-08T15:53:07.331Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-06-08T15:53:07.331Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2022-06-08T15:53:07.331Z] go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo [2022-06-08T15:53:11.685Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2022-06-08T15:53:12.403Z] + go mod tidy [2022-06-08T15:53:12.403Z] go: downloading github.com/stretchr/testify v1.7.0 [2022-06-08T15:53:12.681Z] go: downloading github.com/go-stack/stack v1.8.0 [2022-06-08T15:53:12.681Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2022-06-08T15:53:12.955Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2022-06-08T15:53:12.955Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-06-08T15:53:12.955Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-06-08T15:53:12.955Z] go: downloading github.com/stretchr/objx v0.1.1 [2022-06-08T15:53:12.955Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2022-06-08T15:53:12.955Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2022-06-08T15:53:12.955Z] go: downloading github.com/kr/pretty v0.3.0 [2022-06-08T15:53:12.955Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2022-06-08T15:53:12.955Z] go: downloading github.com/onsi/gomega v1.7.0 [2022-06-08T15:53:12.955Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2022-06-08T15:53:12.955Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2022-06-08T15:53:13.229Z] go: downloading github.com/pkg/errors v0.9.1 [2022-06-08T15:53:13.229Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2022-06-08T15:53:13.229Z] go: downloading github.com/kr/text v0.2.0 [2022-06-08T15:53:13.229Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2022-06-08T15:53:13.229Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2022-06-08T15:53:13.229Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2022-06-08T15:53:13.229Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2022-06-08T15:53:13.229Z] go: downloading github.com/miekg/dns v1.1.26 [2022-06-08T15:53:13.508Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2022-06-08T15:53:13.508Z] go: downloading gopkg.in/yaml.v2 v2.3.0 [2022-06-08T15:53:13.508Z] go: downloading github.com/hpcloud/tail v1.0.0 [2022-06-08T15:53:13.508Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2022-06-08T15:53:13.508Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } [2022-06-08T15:53:13.820Z] $ docker stop --time=1 e97f0e80e01c4211ea3015482d324ccdceeac65fa57f1a1261728dbe0424e3d8 [2022-06-08T15:53:16.103Z] $ docker rm -f e97f0e80e01c4211ea3015482d324ccdceeac65fa57f1a1261728dbe0424e3d8 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-08T15:53:18.455Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-08T15:53:18.489Z] Warning: overwriting stash ‘coverage-report’ [2022-06-08T15:53:19.133Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-08T15:53:19.728Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-08T15:53:20.091Z] + ls -al . [2022-06-08T15:53:20.091Z] total 176 [2022-06-08T15:53:20.091Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 8 15:53 . [2022-06-08T15:53:20.091Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 15:50 .. [2022-06-08T15:53:20.091Z] -rw-rw-r-- 1 jenkins jenkins 6 Jun 8 15:50 .dockerignore [2022-06-08T15:53:20.091Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 8 15:50 .git [2022-06-08T15:53:20.091Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 15:50 .github [2022-06-08T15:53:20.091Z] -rw-rw-r-- 1 jenkins jenkins 255 Jun 8 15:50 .gitignore [2022-06-08T15:53:20.091Z] -rw-rw-r-- 1 jenkins jenkins 6926 Jun 8 15:50 Attribution.txt [2022-06-08T15:53:20.091Z] -rw-rw-r-- 1 jenkins jenkins 4800 Jun 8 15:50 CHANGELOG.md [2022-06-08T15:53:20.091Z] -rw-rw-r-- 1 jenkins jenkins 1493 Jun 8 15:50 Dockerfile [2022-06-08T15:53:20.091Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 8 15:50 GOVERNANCE.md [2022-06-08T15:53:20.091Z] -rw-rw-r-- 1 jenkins jenkins 656 Jun 8 15:50 Jenkinsfile [2022-06-08T15:53:20.091Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 8 15:50 LICENSE [2022-06-08T15:53:20.091Z] -rw-rw-r-- 1 jenkins jenkins 1526 Jun 8 15:50 Makefile [2022-06-08T15:53:20.091Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 8 15:50 OWNERS.md [2022-06-08T15:53:20.091Z] -rw-rw-r-- 1 jenkins jenkins 9073 Jun 8 15:50 README.md [2022-06-08T15:53:20.091Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 8 15:48 VERSION [2022-06-08T15:53:20.091Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 15:50 bin [2022-06-08T15:53:20.091Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 15:50 cmd [2022-06-08T15:53:20.091Z] -rw-r--r-- 1 jenkins jenkins 7631 Jun 8 15:52 coverage.out [2022-06-08T15:53:20.091Z] -rw-rw-r-- 1 jenkins jenkins 208 Jun 8 15:53 go.mod [2022-06-08T15:53:20.091Z] -rw-rw-r-- 1 jenkins jenkins 49477 Jun 8 15:50 go.sum [2022-06-08T15:53:20.091Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 15:50 internal [2022-06-08T15:53:20.091Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 15:50 snap [2022-06-08T15:53:20.091Z] drwxrwxr-x 6 jenkins jenkins 4096 Jun 8 15:50 vendor [2022-06-08T15:53:20.091Z] -rw-rw-r-- 1 jenkins jenkins 228 Jun 8 15:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T15:53:20.529Z] + 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=a5241eda9e1e69b89fe42501feada0344f2aaf6b --label arch=arm64 --label version=0.0.0 . [2022-06-08T15:53:21.979Z] Sending build context to Docker daemon 13.72MB [2022-06-08T15:53:21.979Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.14 [2022-06-08T15:53:21.979Z] Step 2/23 : FROM ${BASE} AS builder [2022-06-08T15:53:21.979Z] ---> 7e794cb9e4c2 [2022-06-08T15:53:21.979Z] Step 3/23 : ARG MAKE='make build' [2022-06-08T15:53:21.979Z] ---> Running in b010286d8584 [2022-06-08T15:53:22.265Z] Removing intermediate container b010286d8584 [2022-06-08T15:53:22.265Z] ---> 85ff4d2c104c [2022-06-08T15:53:22.266Z] Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-08T15:53:22.266Z] ---> Running in f1553106c2b0 [2022-06-08T15:53:22.542Z] Removing intermediate container f1553106c2b0 [2022-06-08T15:53:22.542Z] ---> 3c1436d3556f [2022-06-08T15:53:22.542Z] Step 5/23 : ARG ALPINE_PKG_EXTRA="" [2022-06-08T15:53:22.821Z] ---> Running in a6b31df27125 [2022-06-08T15:53:23.100Z] Removing intermediate container a6b31df27125 [2022-06-08T15:53:23.100Z] ---> b3c2b7ecc436 [2022-06-08T15:53:23.100Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-08T15:53:23.100Z] ---> Running in 805218ee28f7 [2022-06-08T15:53:25.088Z] Removing intermediate container 805218ee28f7 [2022-06-08T15:53:25.088Z] ---> 2f5fcdfa83e2 [2022-06-08T15:53:25.088Z] Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-08T15:53:25.088Z] ---> Running in cefe7f6807a2 [2022-06-08T15:53:25.687Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-08T15:53:26.672Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-08T15:53:27.656Z] OK: 223 MiB in 56 packages [2022-06-08T15:53:28.257Z] Removing intermediate container cefe7f6807a2 [2022-06-08T15:53:28.257Z] ---> b763922108d9 [2022-06-08T15:53:28.257Z] Step 8/23 : WORKDIR /device-snmp-go [2022-06-08T15:53:28.257Z] ---> Running in f715d91a3e98 [2022-06-08T15:53:28.531Z] Removing intermediate container f715d91a3e98 [2022-06-08T15:53:28.531Z] ---> 6a790da6339b [2022-06-08T15:53:28.531Z] Step 9/23 : COPY . . [2022-06-08T15:53:32.852Z] ---> 2ba646eea395 [2022-06-08T15:53:32.852Z] Step 10/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-08T15:53:32.852Z] ---> Running in b37dc5286b20 [2022-06-08T15:53:33.449Z] skipping... [2022-06-08T15:53:34.084Z] Removing intermediate container b37dc5286b20 [2022-06-08T15:53:34.084Z] ---> a51a19b88e69 [2022-06-08T15:53:34.084Z] Step 11/23 : RUN ${MAKE} [2022-06-08T15:53:34.084Z] ---> Running in 1760e6c24e05 [2022-06-08T15:53:35.086Z] 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-08T15:54:14.108Z] Removing intermediate container 1760e6c24e05 [2022-06-08T15:54:14.108Z] ---> 42fbc4e89214 [2022-06-08T15:54:14.108Z] Step 12/23 : FROM alpine:3.14 [2022-06-08T15:54:14.108Z] 3.14: Pulling from library/alpine [2022-06-08T15:54:14.108Z] 455c02918c45: Pulling fs layer [2022-06-08T15:54:14.108Z] 455c02918c45: Download complete [2022-06-08T15:54:14.108Z] 455c02918c45: Pull complete [2022-06-08T15:54:14.108Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-08T15:54:14.108Z] Status: Downloaded newer image for alpine:3.14 [2022-06-08T15:54:14.108Z] ---> ac73e934f311 [2022-06-08T15:54:14.108Z] Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-08T15:54:14.108Z] ---> Running in c8fea937004e [2022-06-08T15:54:14.708Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-08T15:54:14.982Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-08T15:54:15.964Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-08T15:54:15.964Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-08T15:54:15.964Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-08T15:54:15.964Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-08T15:54:15.964Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-08T15:54:15.964Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-08T15:54:15.964Z] Executing busybox-1.33.1-r7.trigger [2022-06-08T15:54:15.964Z] OK: 8 MiB in 20 packages [2022-06-08T15:54:16.564Z] Removing intermediate container c8fea937004e [2022-06-08T15:54:16.564Z] ---> 3b966f30328c [2022-06-08T15:54:16.564Z] Step 14/23 : COPY --from=builder /device-snmp-go/cmd / [2022-06-08T15:54:18.010Z] ---> cbf50c10e5ca [2022-06-08T15:54:18.010Z] Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-06-08T15:54:18.286Z] ---> 50a8ebbccb71 [2022-06-08T15:54:18.286Z] Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / [2022-06-08T15:54:18.888Z] ---> 7c06e075b431 [2022-06-08T15:54:18.888Z] Step 17/23 : EXPOSE 59993 [2022-06-08T15:54:18.888Z] ---> Running in 87a3214983fc [2022-06-08T15:54:19.163Z] Removing intermediate container 87a3214983fc [2022-06-08T15:54:19.163Z] ---> 9418ef4624be [2022-06-08T15:54:19.163Z] Step 18/23 : EXPOSE 161 [2022-06-08T15:54:19.163Z] ---> Running in 6f30452a5047 [2022-06-08T15:54:19.442Z] Removing intermediate container 6f30452a5047 [2022-06-08T15:54:19.442Z] ---> fd4ccfc930ea [2022-06-08T15:54:19.442Z] Step 19/23 : ENTRYPOINT ["/device-snmp"] [2022-06-08T15:54:19.717Z] ---> Running in a5bd46708b49 [2022-06-08T15:54:20.013Z] Removing intermediate container a5bd46708b49 [2022-06-08T15:54:20.013Z] ---> 1c284c163fba [2022-06-08T15:54:20.013Z] Step 20/23 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-06-08T15:54:20.013Z] ---> Running in c1df3ead2c5e [2022-06-08T15:54:20.287Z] Removing intermediate container c1df3ead2c5e [2022-06-08T15:54:20.287Z] ---> 23431c6cd1bd [2022-06-08T15:54:20.287Z] Step 21/23 : LABEL arch=arm64 [2022-06-08T15:54:20.287Z] ---> Running in 72919f8cba11 [2022-06-08T15:54:20.563Z] Removing intermediate container 72919f8cba11 [2022-06-08T15:54:20.563Z] ---> 7ec22e8712e8 [2022-06-08T15:54:20.563Z] Step 22/23 : LABEL git_sha=a5241eda9e1e69b89fe42501feada0344f2aaf6b [2022-06-08T15:54:20.837Z] ---> Running in 2a9c297ba0fe [2022-06-08T15:54:21.112Z] Removing intermediate container 2a9c297ba0fe [2022-06-08T15:54:21.112Z] ---> 3beb42d33e4b [2022-06-08T15:54:21.112Z] Step 23/23 : LABEL version=0.0.0 [2022-06-08T15:54:21.112Z] ---> Running in 698899ffc108 [2022-06-08T15:54:21.387Z] Removing intermediate container 698899ffc108 [2022-06-08T15:54:21.387Z] ---> f53a542250ed [2022-06-08T15:54:21.387Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-08T15:54:21.658Z] Successfully built f53a542250ed [2022-06-08T15:54:21.658Z] 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-08T15:54:22.465Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-08T15:54:22.465Z] [2022-06-08T15:54:22.465Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T15:54:22.875Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-08T15:54:23.148Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-08T15:54:23.148Z] 8998bd30e6a1: Pulling fs layer [2022-06-08T15:54:23.148Z] 04944245beec: Pulling fs layer [2022-06-08T15:54:23.148Z] 699f458cf7ca: Pulling fs layer [2022-06-08T15:54:23.148Z] 765212b225bb: Pulling fs layer [2022-06-08T15:54:23.148Z] f23df028b6ca: Pulling fs layer [2022-06-08T15:54:23.148Z] d65c8cfc05b1: Pulling fs layer [2022-06-08T15:54:23.148Z] 2437ff75d9bd: Pulling fs layer [2022-06-08T15:54:23.148Z] 765212b225bb: Waiting [2022-06-08T15:54:23.148Z] f23df028b6ca: Waiting [2022-06-08T15:54:23.148Z] d65c8cfc05b1: Waiting [2022-06-08T15:54:23.148Z] 2437ff75d9bd: Waiting [2022-06-08T15:54:23.148Z] 04944245beec: Verifying Checksum [2022-06-08T15:54:23.148Z] 04944245beec: Download complete [2022-06-08T15:54:23.148Z] 765212b225bb: Verifying Checksum [2022-06-08T15:54:23.148Z] 765212b225bb: Download complete [2022-06-08T15:54:23.148Z] f23df028b6ca: Verifying Checksum [2022-06-08T15:54:23.148Z] f23df028b6ca: Download complete [2022-06-08T15:54:23.148Z] d65c8cfc05b1: Verifying Checksum [2022-06-08T15:54:23.148Z] d65c8cfc05b1: Download complete [2022-06-08T15:54:23.429Z] 699f458cf7ca: Verifying Checksum [2022-06-08T15:54:23.429Z] 699f458cf7ca: Download complete [2022-06-08T15:54:23.705Z] 8998bd30e6a1: Verifying Checksum [2022-06-08T15:54:23.705Z] 8998bd30e6a1: Download complete [2022-06-08T15:54:26.344Z] 2437ff75d9bd: Verifying Checksum [2022-06-08T15:54:26.344Z] 2437ff75d9bd: Download complete [2022-06-08T15:54:28.329Z] 8998bd30e6a1: Pull complete [2022-06-08T15:54:28.605Z] 04944245beec: Pull complete [2022-06-08T15:54:30.047Z] 699f458cf7ca: Pull complete [2022-06-08T15:54:30.323Z] 765212b225bb: Pull complete [2022-06-08T15:54:30.922Z] f23df028b6ca: Pull complete [2022-06-08T15:54:31.199Z] d65c8cfc05b1: Pull complete [2022-06-08T15:54:46.319Z] 2437ff75d9bd: Pull complete [2022-06-08T15:54:46.319Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-08T15:54:46.319Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-08T15:54:46.319Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T15:54:46.717Z] prd-ubuntu20.04-docker-arm64-4c-16g-1757 does not seem to be running inside a container [2022-06-08T15:54:46.812Z] $ 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-08T15:54:49.218Z] $ docker top 47916d9e7e8acce3846624c63dc6b491b0a1bb9012d6420f1ab9f24a34dee28a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-08T15:54:50.192Z] ---> job-cost.sh [2022-06-08T15:54:50.192Z] lf-activate-venv: SKIPPING [2022-06-08T15:54:50.192Z] INFO: No Stack... [2022-06-08T15:54:50.787Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-08T15:54:51.383Z] INFO: Archiving Costs [Pipeline] sh [2022-06-08T15:54:52.070Z] + + cut -d, -f6 [2022-06-08T15:54:52.070Z] cat /w/workspace/device-snmp-go/1/archives/cost.csv [Pipeline] lock [2022-06-08T15:54:52.119Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-177-1-stack-cost] [2022-06-08T15:54:52.125Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-177-1-stack-cost] did not exist. Created. [2022-06-08T15:54:52.125Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-177-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-08T15:54:52.892Z] /w/workspace/device-snmp-go/1@tmp/durable-57760c19/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-08T15:54:53.596Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-08T15:54:53.634Z] Warning: overwriting stash ‘stack-cost’ [2022-06-08T15:54:53.874Z] Stashed 1 file(s) [Pipeline] } [2022-06-08T15:54:53.891Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-177-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-08T15:54:53.982Z] $ docker stop --time=1 47916d9e7e8acce3846624c63dc6b491b0a1bb9012d6420f1ab9f24a34dee28a [2022-06-08T15:54:55.488Z] $ docker rm -f 47916d9e7e8acce3846624c63dc6b491b0a1bb9012d6420f1ab9f24a34dee28a [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-08T15:54:56.539Z] provisioning config files... [2022-06-08T15:54:56.548Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-177@tmp/config2222771744974468001tmp [Pipeline] { [Pipeline] sh [2022-06-08T15:54:56.908Z] + set +x [2022-06-08T15:54:56.908Z] + bash -s -- [2022-06-08T15:54:56.908Z] + curl -s https://codecov.io/bash [2022-06-08T15:54:56.908Z] [2022-06-08T15:54:56.908Z] _____ _ [2022-06-08T15:54:56.908Z] / ____| | | [2022-06-08T15:54:56.908Z] | | ___ __| | ___ ___ _____ __ [2022-06-08T15:54:56.908Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-08T15:54:56.908Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-08T15:54:56.908Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-08T15:54:56.908Z] Bash-1.0.6 [2022-06-08T15:54:56.908Z] [2022-06-08T15:54:56.908Z] [2022-06-08T15:54:56.908Z] ==> git version 2.25.1 found [2022-06-08T15:54:56.908Z] ==> 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-08T15:54:56.908Z] Release-Date: 2020-01-08 [2022-06-08T15:54:56.908Z] 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-08T15:54:56.908Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-08T15:54:56.908Z] ==> Jenkins CI detected. [2022-06-08T15:54:56.908Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-177 [2022-06-08T15:54:56.908Z] project root: . [2022-06-08T15:54:56.908Z] --> token set from env [2022-06-08T15:54:56.908Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-08T15:54:56.908Z] ==> Running gcov in . (disable via -X gcov) [2022-06-08T15:54:56.908Z] ==> Python coveragepy not found [2022-06-08T15:54:56.908Z] ==> Searching for coverage reports in: [2022-06-08T15:54:56.908Z] + . [2022-06-08T15:54:56.908Z] -> Found 1 reports [2022-06-08T15:54:56.908Z] ==> Detecting git/mercurial file structure [2022-06-08T15:54:56.908Z] ==> Reading reports [2022-06-08T15:54:56.908Z] + ./coverage.out bytes=7631 [2022-06-08T15:54:56.908Z] ==> Appending adjustments [2022-06-08T15:54:56.908Z] https://docs.codecov.io/docs/fixing-reports [2022-06-08T15:54:57.170Z] + Found adjustments [2022-06-08T15:54:57.170Z] ==> Gzipping contents [2022-06-08T15:54:57.170Z] 8.0K /tmp/codecov.V1f4ZJ.gz [2022-06-08T15:54:57.170Z] ==> Uploading reports [2022-06-08T15:54:57.170Z] url: https://codecov.io [2022-06-08T15:54:57.170Z] query: branch=PR-177&commit=a5241eda9e1e69b89fe42501feada0344f2aaf6b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-177%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=177&job=&cmd_args= [2022-06-08T15:54:57.170Z] -> Pinging Codecov [2022-06-08T15:54:57.170Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-177&commit=a5241eda9e1e69b89fe42501feada0344f2aaf6b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-177%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=177&job=&cmd_args= [2022-06-08T15:54:57.431Z] -> Uploading to [2022-06-08T15:54:57.431Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-08/6C56EA5C29638FB4528AC87E60AF5AE0/a5241eda9e1e69b89fe42501feada0344f2aaf6b/46a2daf9-8741-4b49-adea-f120d94617b6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220608%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220608T155457Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=83d670c58b48f181fb64f1520d98c62456556bdd5e7cf7728103100be80f61e6 [2022-06-08T15:54:57.431Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-08T15:54:57.431Z] Dload Upload Total Spent Left Speed [2022-06-08T15:54:57.692Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 7952 0 0 100 7952 0 33838 --:--:-- --:--:-- --:--:-- 33838 [2022-06-08T15:54:57.692Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/a5241eda9e1e69b89fe42501feada0344f2aaf6b [Pipeline] } [2022-06-08T15:54:57.718Z] 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-08T15:54:59.432Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-177/archives ] [2022-06-08T15:54:59.432Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-177/archives [2022-06-08T15:54:59.432Z] total 16 [2022-06-08T15:54:59.432Z] drwxr-xr-x 3 root root 4096 Jun 8 15:49 . [2022-06-08T15:54:59.432Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 8 15:49 .. [2022-06-08T15:54:59.432Z] drwxr-xr-x 2 root root 4096 Jun 8 15:49 cost [2022-06-08T15:54:59.432Z] -rw-r--r-- 1 root root 85 Jun 8 15:49 cost.csv [2022-06-08T15:54:59.432Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-177/archives [2022-06-08T15:54:59.432Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-177/archives [2022-06-08T15:54:59.432Z] total 16 [2022-06-08T15:54:59.432Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 8 15:49 . [2022-06-08T15:54:59.432Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 8 15:49 .. [2022-06-08T15:54:59.432Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 8 15:49 cost [2022-06-08T15:54:59.432Z] -rw-r--r-- 1 jenkins jenkins 85 Jun 8 15:49 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-08T15:54:59.768Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-08T15:55:00.667Z] ---> package-listing.sh [2022-06-08T15:55:00.667Z] ++ facter osfamily [2022-06-08T15:55:00.667Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-08T15:55:00.929Z] + OS_FAMILY=debian [2022-06-08T15:55:00.929Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-177 [2022-06-08T15:55:00.929Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-08T15:55:00.929Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-08T15:55:00.929Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-08T15:55:00.929Z] + PACKAGES=/tmp/packages_start.txt [2022-06-08T15:55:00.929Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-177 ']' [2022-06-08T15:55:00.929Z] + PACKAGES=/tmp/packages_end.txt [2022-06-08T15:55:00.929Z] + case "${OS_FAMILY}" in [2022-06-08T15:55:00.929Z] + dpkg -l [2022-06-08T15:55:00.929Z] + grep '^ii' [2022-06-08T15:55:00.929Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-08T15:55:00.929Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-08T15:55:00.929Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-08T15:55:00.929Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-177 ']' [2022-06-08T15:55:00.929Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-177/archives/ [2022-06-08T15:55:00.929Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-177/archives/ [Pipeline] echo [2022-06-08T15:55:00.960Z] 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-177/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-08T15:55:01.256Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-08T15:55:01.894Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-08T15:55:01.894Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-08T15:55:02.050Z] prd-ubuntu20.04-docker-8c-8g-1756 does not seem to be running inside a container [2022-06-08T15:55:02.087Z] $ 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-177/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-177 -v /w/workspace/gexfoundry_device-snmp-go_PR-177:/w/workspace/gexfoundry_device-snmp-go_PR-177:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-177@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-177@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-08T15:55:02.315Z] $ docker top c0ed8d851595240e8f840db848059a4dc24d0230f4dbdb03f95f738058019bab -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-08T15:55:02.716Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-08T15:55:03.031Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-08T15:55:03.344Z] + ls /var/log/sa-host [2022-06-08T15:55:03.344Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-08T15:55:03.470Z] provisioning config files... [2022-06-08T15:55:03.481Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-177@tmp/config787736128274163049tmp [Pipeline] { [Pipeline] echo [2022-06-08T15:55:03.527Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-08T15:55:03.843Z] ---> create-netrc.sh [Pipeline] } [2022-06-08T15:55:03.869Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-08T15:55:04.273Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-08T15:55:04.305Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-08T15:55:04.623Z] ---> sudo-logs.sh [2022-06-08T15:55:04.624Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-08T15:55:04.703Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-08T15:55:05.018Z] ---> job-cost.sh [2022-06-08T15:55:05.018Z] lf-activate-venv: SKIPPING [2022-06-08T15:55:05.018Z] DEBUG: total: 0.2199999988079071 [2022-06-08T15:55:05.018Z] INFO: Retrieving Stack Cost... [2022-06-08T15:55:05.280Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-08T15:55:05.852Z] INFO: Archiving Costs [Pipeline] echo [2022-06-08T15:55:05.885Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-08T15:55:06.205Z] ---> logs-deploy.sh [2022-06-08T15:55:06.205Z] lf-activate-venv: SKIPPING [2022-06-08T15:55:06.205Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-177/1 [2022-06-08T15:55:06.205Z] INFO: archiving workspace using pattern(s): [2022-06-08T15:55:07.150Z] Archives upload complete. [2022-06-08T15:55:07.150Z] INFO: archiving logs to Nexus