cloudxxx8 commented: recheck Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-snmp-go Obtained Jenkinsfile from 6333a36f236844c13d051debdd8500920e8490e5+0a246da567fca350fd9d1d3301cf71cc0b33f546 (7db0e8179d105c78bc17eb5c6aa9a33782c06d81) 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-ssh18235470496397697308.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh4634924478952324144.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-174/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-174/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4514524283740626239.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-174/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7158168180034554526.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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 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-ssh4797908534936208715.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-174/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-174/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4040259530436881723.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8 in /w/workspace/gexfoundry_device-snmp-go_PR-174 [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-174 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/jakarta commit 0a246da567fca350fd9d1d3301cf71cc0b33f546 into PR head commit 6333a36f236844c13d051debdd8500920e8490e5 Merge succeeded, producing 6333a36f236844c13d051debdd8500920e8490e5 Checking out Revision 6333a36f236844c13d051debdd8500920e8490e5 (PR-174) > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/174/head:refs/remotes/origin/PR-174 +refs/heads/jakarta:refs/remotes/origin/jakarta # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6333a36f236844c13d051debdd8500920e8490e5 # 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 0a246da567fca350fd9d1d3301cf71cc0b33f546 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6333a36f236844c13d051debdd8500920e8490e5 # timeout=10 Commit message: "fix: (jakarta) Correctly set the versions for the service and sdk" > git rev-list --no-walk 6333a36f236844c13d051debdd8500920e8490e5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-25T01:27:19.597Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-25T01:27:19.652Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-25T01:27:19.670Z] ========================================================= [2022-05-25T01:27:19.670Z] EdgeX Global Pipelines Version Info [2022-05-25T01:27:19.670Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-25T01:27:20.431Z] ------------------- [2022-05-25T01:27:20.432Z] stable info: [2022-05-25T01:27:20.432Z] ------------------- [2022-05-25T01:27:20.432Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-25T01:27:20.432Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-25T01:27:20.432Z] Message: update stable to v1.0.230 [2022-05-25T01:27:21.008Z] ------------------- [2022-05-25T01:27:21.008Z] experimental info: [2022-05-25T01:27:21.008Z] ------------------- [2022-05-25T01:27:21.008Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-25T01:27:21.008Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-25T01:27:21.008Z] Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-25T01:27:21.172Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo [2022-05-25T01:27:21.187Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo [2022-05-25T01:27:21.202Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-25T01:27:21.216Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-25T01:27:21.231Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-25T01:27:21.251Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-25T01:27:21.269Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-25T01:27:21.287Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-25T01:27:21.306Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-25T01:27:21.329Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-25T01:27:21.343Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-25T01:27:21.357Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo [2022-05-25T01:27:21.369Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-25T01:27:21.386Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-25T01:27:21.405Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-25T01:27:21.425Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-25T01:27:21.445Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-25T01:27:21.466Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-25T01:27:21.488Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-25T01:27:21.506Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-25T01:27:21.527Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-25T01:27:21.548Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-25T01:27:21.567Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-25T01:27:21.584Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-25T01:27:21.597Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-25T01:27:21.618Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-25T01:27:21.638Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-174 [Pipeline] echo [2022-05-25T01:27:21.658Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-174 [Pipeline] echo [2022-05-25T01:27:21.678Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-174 [Pipeline] echo [2022-05-25T01:27:21.699Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6333a36f236844c13d051debdd8500920e8490e5 [Pipeline] echo [2022-05-25T01:27:21.713Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6333a36 [Pipeline] echo [2022-05-25T01:27:21.733Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-25T01:27:21.791Z] provisioning config files... [2022-05-25T01:27:21.807Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-174@tmp/config4476491772749675657tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-25T01:27:22.135Z] ---> docker-login.sh [2022-05-25T01:27:22.135Z] nexus3.edgexfoundry.org:10001 [2022-05-25T01:27:22.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-25T01:27:22.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-25T01:27:22.398Z] Configure a credential helper to remove this warning. See [2022-05-25T01:27:22.398Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-25T01:27:22.398Z] [2022-05-25T01:27:22.398Z] Login Succeeded [2022-05-25T01:27:22.398Z] nexus3.edgexfoundry.org:10002 [2022-05-25T01:27:22.660Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-25T01:27:22.660Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-25T01:27:22.660Z] Configure a credential helper to remove this warning. See [2022-05-25T01:27:22.660Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-25T01:27:22.660Z] [2022-05-25T01:27:22.660Z] Login Succeeded [2022-05-25T01:27:22.660Z] nexus3.edgexfoundry.org:10003 [2022-05-25T01:27:22.660Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-25T01:27:22.660Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-25T01:27:22.660Z] Configure a credential helper to remove this warning. See [2022-05-25T01:27:22.660Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-25T01:27:22.660Z] [2022-05-25T01:27:22.919Z] Login Succeeded [2022-05-25T01:27:22.919Z] nexus3.edgexfoundry.org:10004 [2022-05-25T01:27:22.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-25T01:27:22.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-25T01:27:22.919Z] Configure a credential helper to remove this warning. See [2022-05-25T01:27:22.919Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-25T01:27:22.919Z] [2022-05-25T01:27:22.919Z] Login Succeeded [2022-05-25T01:27:22.919Z] docker.io [2022-05-25T01:27:22.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-25T01:27:23.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-25T01:27:23.492Z] Configure a credential helper to remove this warning. See [2022-05-25T01:27:23.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-25T01:27:23.492Z] [2022-05-25T01:27:23.492Z] Login Succeeded [2022-05-25T01:27:23.492Z] ---> docker-login.sh ends [Pipeline] } [2022-05-25T01:27:23.500Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-25T01:27:23.871Z] + git rev-list -1 --merges 6333a36f236844c13d051debdd8500920e8490e5~1..6333a36f236844c13d051debdd8500920e8490e5 [Pipeline] echo [2022-05-25T01:27:23.907Z] -----------> git rev-list -1 --merges 6333a36f236844c13d051debdd8500920e8490e5~1..6333a36f236844c13d051debdd8500920e8490e5 6333a36f236844c13d051debdd8500920e8490e5 [false] [Pipeline] sh [2022-05-25T01:27:24.203Z] + git log --format=format:%s -1 6333a36f236844c13d051debdd8500920e8490e5 [Pipeline] echo [2022-05-25T01:27:24.220Z] ========================================================= [2022-05-25T01:27:24.220Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-25T01:27:24.220Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-25T01:27:24.574Z] + git log --format=format:%s -1 6333a36f236844c13d051debdd8500920e8490e5 [Pipeline] echo [2022-05-25T01:27:24.588Z] [semverPrep] GIT_COMMIT: 6333a36f236844c13d051debdd8500920e8490e5, Commit Message: fix: (jakarta) Correctly set the versions for the service and sdk [Pipeline] echo [2022-05-25T01:27:24.599Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-25T01:27:24.968Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-25T01:27:24.968Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-25T01:27:24.968Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-25T01:27:24.968Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-25T01:27:24.968Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-25T01:27:24.968Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-25T01:27:24.968Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-25T01:27:25.356Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-25T01:27:25.356Z] [2022-05-25T01:27:25.356Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-25T01:27:25.667Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-25T01:27:25.667Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-25T01:27:25.667Z] 1fe172e4850f: Pulling fs layer [2022-05-25T01:27:25.667Z] caf521ccaac6: Pulling fs layer [2022-05-25T01:27:25.667Z] 3ead6fa29328: Pulling fs layer [2022-05-25T01:27:25.667Z] 5c2a1cbceb83: Pulling fs layer [2022-05-25T01:27:25.667Z] a8d5f1318db7: Pulling fs layer [2022-05-25T01:27:25.667Z] c427282e49a2: Pulling fs layer [2022-05-25T01:27:25.667Z] 1827001aaf11: Pulling fs layer [2022-05-25T01:27:25.667Z] 0714d37db230: Pulling fs layer [2022-05-25T01:27:25.667Z] ac28cf19c067: Pulling fs layer [2022-05-25T01:27:25.667Z] ca983d60f3e2: Pulling fs layer [2022-05-25T01:27:25.667Z] 9f894cec8388: Pulling fs layer [2022-05-25T01:27:25.667Z] 5c2a1cbceb83: Waiting [2022-05-25T01:27:25.667Z] c427282e49a2: Waiting [2022-05-25T01:27:25.667Z] ac28cf19c067: Waiting [2022-05-25T01:27:25.667Z] 0714d37db230: Waiting [2022-05-25T01:27:25.667Z] 1827001aaf11: Waiting [2022-05-25T01:27:25.667Z] a8d5f1318db7: Waiting [2022-05-25T01:27:25.667Z] 9f894cec8388: Waiting [2022-05-25T01:27:25.667Z] ca983d60f3e2: Waiting [2022-05-25T01:27:25.667Z] caf521ccaac6: Verifying Checksum [2022-05-25T01:27:25.667Z] 5c2a1cbceb83: Verifying Checksum [2022-05-25T01:27:25.667Z] a8d5f1318db7: Verifying Checksum [2022-05-25T01:27:25.667Z] a8d5f1318db7: Download complete [2022-05-25T01:27:25.931Z] c427282e49a2: Download complete [2022-05-25T01:27:25.931Z] 3ead6fa29328: Verifying Checksum [2022-05-25T01:27:25.931Z] 3ead6fa29328: Download complete [2022-05-25T01:27:25.931Z] 0714d37db230: Verifying Checksum [2022-05-25T01:27:25.931Z] 0714d37db230: Download complete [2022-05-25T01:27:25.931Z] ac28cf19c067: Verifying Checksum [2022-05-25T01:27:25.931Z] ac28cf19c067: Download complete [2022-05-25T01:27:25.931Z] ca983d60f3e2: Verifying Checksum [2022-05-25T01:27:25.931Z] ca983d60f3e2: Download complete [2022-05-25T01:27:25.931Z] 9f894cec8388: Download complete [2022-05-25T01:27:25.931Z] 1fe172e4850f: Verifying Checksum [2022-05-25T01:27:25.931Z] 1fe172e4850f: Download complete [2022-05-25T01:27:26.191Z] 1827001aaf11: Verifying Checksum [2022-05-25T01:27:26.191Z] 1827001aaf11: Download complete [2022-05-25T01:27:27.573Z] 1fe172e4850f: Pull complete [2022-05-25T01:27:27.573Z] caf521ccaac6: Pull complete [2022-05-25T01:27:28.141Z] 3ead6fa29328: Pull complete [2022-05-25T01:27:28.141Z] 5c2a1cbceb83: Pull complete [2022-05-25T01:27:28.403Z] a8d5f1318db7: Pull complete [2022-05-25T01:27:28.664Z] c427282e49a2: Pull complete [2022-05-25T01:27:30.576Z] 1827001aaf11: Pull complete [2022-05-25T01:27:30.576Z] 0714d37db230: Pull complete [2022-05-25T01:27:30.839Z] ac28cf19c067: Pull complete [2022-05-25T01:27:30.839Z] ca983d60f3e2: Pull complete [2022-05-25T01:27:30.839Z] 9f894cec8388: Pull complete [2022-05-25T01:27:30.839Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-25T01:27:30.839Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-25T01:27:30.839Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-25T01:27:30.952Z] prd-ubuntu20.04-docker-8c-8g-8 does not seem to be running inside a container [2022-05-25T01:27:30.998Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-174 -v /w/workspace/gexfoundry_device-snmp-go_PR-174:/w/workspace/gexfoundry_device-snmp-go_PR-174:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-174@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-174@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-devops/py-git-semver:latest cat [2022-05-25T01:27:32.513Z] $ docker top 302673e1fd33261000124958524ce6f8144e9603af3d09e13c9b35febda6bd03 -eo pid,comm [2022-05-25T01:27:32.578Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-05-25T01:27:32.578Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-25T01:27:32.620Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-25T01:27:32.620Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-25T01:27:32.752Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-25T01:27:32.762Z] $ docker exec 302673e1fd33261000124958524ce6f8144e9603af3d09e13c9b35febda6bd03 ssh-agent [2022-05-25T01:27:32.893Z] SSH_AUTH_SOCK=/tmp/ssh-UGIDp8AjLOlO/agent.33 [2022-05-25T01:27:32.893Z] SSH_AGENT_PID=39 [2022-05-25T01:27:32.901Z] Running ssh-add (command line suppressed) [2022-05-25T01:27:33.040Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-174@tmp/private_key_8126130817708910837.key (/w/workspace/gexfoundry_device-snmp-go_PR-174@tmp/private_key_8126130817708910837.key) [2022-05-25T01:27:33.050Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-25T01:27:33.341Z] + git tag --points-at HEAD [Pipeline] } [2022-05-25T01:27:33.358Z] $ docker exec --env ******** --env ******** 302673e1fd33261000124958524ce6f8144e9603af3d09e13c9b35febda6bd03 ssh-agent -k [2022-05-25T01:27:33.513Z] unset SSH_AUTH_SOCK; [2022-05-25T01:27:33.513Z] unset SSH_AGENT_PID; [2022-05-25T01:27:33.513Z] echo Agent pid 39 killed; [2022-05-25T01:27:33.521Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-25T01:27:33.544Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-25T01:27:33.544Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-25T01:27:33.683Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-25T01:27:33.691Z] $ docker exec 302673e1fd33261000124958524ce6f8144e9603af3d09e13c9b35febda6bd03 ssh-agent [2022-05-25T01:27:33.827Z] SSH_AUTH_SOCK=/tmp/ssh-i1Gtwj7hQn1s/agent.72 [2022-05-25T01:27:33.827Z] SSH_AGENT_PID=78 [2022-05-25T01:27:33.832Z] Running ssh-add (command line suppressed) [2022-05-25T01:27:33.970Z] Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-174@tmp/private_key_769352869440633722.key (/w/workspace/gexfoundry_device-snmp-go_PR-174@tmp/private_key_769352869440633722.key) [2022-05-25T01:27:33.981Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-25T01:27:34.278Z] + git semver init [2022-05-25T01:27:34.848Z] 2022-05-25 01:27:34,596 [run_init] DEBUG init version:0.0.0 force:False [2022-05-25T01:27:34.848Z] 2022-05-25 01:27:34,596 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-174/.semver [2022-05-25T01:27:34.848Z] 2022-05-25 01:27:34,597 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-174/.semver [2022-05-25T01:27:34.849Z] 2022-05-25 01:27:34,597 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-174/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-174, universal_newlines=False, shell=None, istream=None) [2022-05-25T01:27:35.421Z] 2022-05-25 01:27:35,329 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-174/.git/info/exclude [2022-05-25T01:27:35.421Z] 2022-05-25 01:27:35,329 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-174/.semver/PR-174 with force:False [2022-05-25T01:27:35.421Z] 2022-05-25 01:27:35,329 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-174/.semver/PR-174 [2022-05-25T01:27:35.421Z] 2022-05-25 01:27:35,332 [execute] INFO git cat-file --batch-check [2022-05-25T01:27:35.421Z] 2022-05-25 01:27:35,333 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-174/.semver, universal_newlines=False, shell=None, istream=) [2022-05-25T01:27:35.421Z] 2022-05-25 01:27:35,339 [execute] INFO git cat-file --batch [2022-05-25T01:27:35.421Z] 2022-05-25 01:27:35,339 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-174/.semver, universal_newlines=False, shell=None, istream=) [2022-05-25T01:27:35.421Z] 2022-05-25 01:27:35,344 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-174/.semver/PR-174 [2022-05-25T01:27:35.421Z] 0.0.0 [Pipeline] } [2022-05-25T01:27:35.437Z] $ docker exec --env ******** --env ******** 302673e1fd33261000124958524ce6f8144e9603af3d09e13c9b35febda6bd03 ssh-agent -k [2022-05-25T01:27:35.551Z] unset SSH_AUTH_SOCK; [2022-05-25T01:27:35.551Z] unset SSH_AGENT_PID; [2022-05-25T01:27:35.551Z] echo Agent pid 78 killed; [2022-05-25T01:27:35.561Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-25T01:27:35.877Z] + git semver [Pipeline] } [2022-05-25T01:27:36.157Z] $ docker stop --time=1 302673e1fd33261000124958524ce6f8144e9603af3d09e13c9b35febda6bd03 [2022-05-25T01:27:37.492Z] $ docker rm -f 302673e1fd33261000124958524ce6f8144e9603af3d09e13c9b35febda6bd03 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-25T01:27:37.846Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-25T01:27:38.102Z] Stashed 1 file(s) [Pipeline] echo [2022-05-25T01:27:38.105Z] [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-05-25T01:27:38.232Z] provisioning config files... [2022-05-25T01:27:38.248Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-174@tmp/config4980343965503125050tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-25T01:27:38.562Z] ---> docker-login.sh [2022-05-25T01:27:38.563Z] nexus3.edgexfoundry.org:10001 [2022-05-25T01:27:38.563Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-25T01:27:38.563Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-25T01:27:38.563Z] Configure a credential helper to remove this warning. See [2022-05-25T01:27:38.563Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-25T01:27:38.563Z] [2022-05-25T01:27:38.563Z] Login Succeeded [2022-05-25T01:27:38.563Z] nexus3.edgexfoundry.org:10002 [2022-05-25T01:27:38.563Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-25T01:27:38.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-25T01:27:38.825Z] Configure a credential helper to remove this warning. See [2022-05-25T01:27:38.825Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-25T01:27:38.825Z] [2022-05-25T01:27:38.825Z] Login Succeeded [2022-05-25T01:27:38.825Z] nexus3.edgexfoundry.org:10003 [2022-05-25T01:27:38.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-25T01:27:38.825Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-25T01:27:38.825Z] Configure a credential helper to remove this warning. See [2022-05-25T01:27:38.825Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-25T01:27:38.825Z] [2022-05-25T01:27:38.825Z] Login Succeeded [2022-05-25T01:27:38.825Z] nexus3.edgexfoundry.org:10004 [2022-05-25T01:27:39.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-25T01:27:39.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-25T01:27:39.086Z] Configure a credential helper to remove this warning. See [2022-05-25T01:27:39.086Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-25T01:27:39.086Z] [2022-05-25T01:27:39.086Z] Login Succeeded [2022-05-25T01:27:39.086Z] docker.io [2022-05-25T01:27:39.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-25T01:27:39.347Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-25T01:27:39.347Z] Configure a credential helper to remove this warning. See [2022-05-25T01:27:39.347Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-25T01:27:39.347Z] [2022-05-25T01:27:39.347Z] Login Succeeded [2022-05-25T01:27:39.347Z] ---> docker-login.sh ends [Pipeline] } [2022-05-25T01:27:39.356Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-25T01:27:39.433Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-25T01:27:39.445Z] ========================================================= [2022-05-25T01:27:39.445Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts] [2022-05-25T01:27:39.445Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-25T01:27:39.764Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts --build-arg MAKE=echo noop --target=builder . [2022-05-25T01:27:39.764Z] Sending build context to Docker daemon 16.31MB [2022-05-25T01:27:40.025Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2022-05-25T01:27:40.025Z] Step 2/11 : FROM ${BASE} AS builder [2022-05-25T01:27:40.025Z] 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base [2022-05-25T01:27:40.025Z] 59bf1c3509f3: Pulling fs layer [2022-05-25T01:27:40.025Z] 666ba61612fd: Pulling fs layer [2022-05-25T01:27:40.025Z] 8ed8ca486205: Pulling fs layer [2022-05-25T01:27:40.025Z] 4fe6c5a15a65: Pulling fs layer [2022-05-25T01:27:40.025Z] 22a0e8bec74d: Pulling fs layer [2022-05-25T01:27:40.025Z] 5f8736975d2d: Pulling fs layer [2022-05-25T01:27:40.025Z] fe9c1520953f: Pulling fs layer [2022-05-25T01:27:40.025Z] ad63dd2c9e3e: Pulling fs layer [2022-05-25T01:27:40.025Z] 15d927b9e438: Pulling fs layer [2022-05-25T01:27:40.025Z] 5f8736975d2d: Waiting [2022-05-25T01:27:40.025Z] fe9c1520953f: Waiting [2022-05-25T01:27:40.025Z] ad63dd2c9e3e: Waiting [2022-05-25T01:27:40.025Z] 15d927b9e438: Waiting [2022-05-25T01:27:40.025Z] 4fe6c5a15a65: Waiting [2022-05-25T01:27:40.025Z] 22a0e8bec74d: Waiting [2022-05-25T01:27:40.025Z] 8ed8ca486205: Verifying Checksum [2022-05-25T01:27:40.025Z] 8ed8ca486205: Download complete [2022-05-25T01:27:40.025Z] 666ba61612fd: Verifying Checksum [2022-05-25T01:27:40.025Z] 666ba61612fd: Download complete [2022-05-25T01:27:40.025Z] 22a0e8bec74d: Verifying Checksum [2022-05-25T01:27:40.025Z] 22a0e8bec74d: Download complete [2022-05-25T01:27:40.025Z] 5f8736975d2d: Verifying Checksum [2022-05-25T01:27:40.025Z] 5f8736975d2d: Download complete [2022-05-25T01:27:40.025Z] 59bf1c3509f3: Verifying Checksum [2022-05-25T01:27:40.025Z] fe9c1520953f: Verifying Checksum [2022-05-25T01:27:40.025Z] fe9c1520953f: Download complete [2022-05-25T01:27:40.025Z] ad63dd2c9e3e: Verifying Checksum [2022-05-25T01:27:40.025Z] ad63dd2c9e3e: Download complete [2022-05-25T01:27:40.284Z] 59bf1c3509f3: Pull complete [2022-05-25T01:27:40.284Z] 666ba61612fd: Pull complete [2022-05-25T01:27:40.546Z] 8ed8ca486205: Pull complete [2022-05-25T01:27:40.808Z] 15d927b9e438: Verifying Checksum [2022-05-25T01:27:40.808Z] 15d927b9e438: Download complete [2022-05-25T01:27:40.808Z] 4fe6c5a15a65: Verifying Checksum [2022-05-25T01:27:40.808Z] 4fe6c5a15a65: Download complete [2022-05-25T01:27:45.015Z] 4fe6c5a15a65: Pull complete [2022-05-25T01:27:45.015Z] 22a0e8bec74d: Pull complete [2022-05-25T01:27:45.015Z] 5f8736975d2d: Pull complete [2022-05-25T01:27:45.015Z] fe9c1520953f: Pull complete [2022-05-25T01:27:45.015Z] ad63dd2c9e3e: Pull complete [2022-05-25T01:27:46.926Z] 15d927b9e438: Pull complete [2022-05-25T01:27:46.926Z] Digest: sha256:661808593d0254beeed429a39851472eaea702e19ad1e0a0b350076e4156c215 [2022-05-25T01:27:46.926Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts [2022-05-25T01:27:46.926Z] ---> 38c4cad2258c [2022-05-25T01:27:46.926Z] Step 3/11 : ARG MAKE='make build' [2022-05-25T01:27:48.839Z] ---> Running in faf11a40bd6e [2022-05-25T01:27:48.839Z] Removing intermediate container faf11a40bd6e [2022-05-25T01:27:48.839Z] ---> 822e65279279 [2022-05-25T01:27:48.839Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-25T01:27:48.839Z] ---> Running in e2a0138b2055 [2022-05-25T01:27:48.839Z] Removing intermediate container e2a0138b2055 [2022-05-25T01:27:48.839Z] ---> 2e80f4b1619f [2022-05-25T01:27:48.839Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2022-05-25T01:27:48.839Z] ---> Running in 4ba94f90f9e7 [2022-05-25T01:27:49.101Z] Removing intermediate container 4ba94f90f9e7 [2022-05-25T01:27:49.101Z] ---> 99f8bc2c1237 [2022-05-25T01:27:49.101Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-25T01:27:49.101Z] ---> Running in 1f1139ba31e8 [2022-05-25T01:27:49.673Z] Removing intermediate container 1f1139ba31e8 [2022-05-25T01:27:49.673Z] ---> 356a710ec1bf [2022-05-25T01:27:49.673Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-25T01:27:49.673Z] ---> Running in 16b43906656b [2022-05-25T01:27:49.934Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-25T01:27:50.877Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-25T01:27:51.139Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-25T01:27:51.139Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-25T01:27:51.400Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-25T01:27:51.400Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-25T01:27:51.400Z] Executing busybox-1.34.1-r3.trigger [2022-05-25T01:27:51.400Z] OK: 224 MiB in 56 packages [2022-05-25T01:27:51.973Z] Removing intermediate container 16b43906656b [2022-05-25T01:27:51.973Z] ---> ab8b170b0158 [2022-05-25T01:27:51.973Z] Step 8/11 : WORKDIR /device-snmp-go [2022-05-25T01:27:51.973Z] ---> Running in b7c6b1bbb1b7 [2022-05-25T01:27:51.973Z] Removing intermediate container b7c6b1bbb1b7 [2022-05-25T01:27:51.973Z] ---> a4c5df8f425f [2022-05-25T01:27:51.973Z] Step 9/11 : COPY . . [2022-05-25T01:27:53.201Z] Still waiting to schedule task [2022-05-25T01:27:53.201Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4’ [2022-05-25T01:27:53.357Z] ---> 331cf0ab8901 [2022-05-25T01:27:53.357Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-25T01:27:53.357Z] ---> Running in fdb4a8f75119 [2022-05-25T01:27:53.357Z] skipping... [2022-05-25T01:27:53.929Z] Removing intermediate container fdb4a8f75119 [2022-05-25T01:27:53.929Z] ---> a83f6b4de869 [2022-05-25T01:27:53.929Z] Step 11/11 : RUN ${MAKE} [2022-05-25T01:27:53.929Z] ---> Running in 62e72f3262c1 [2022-05-25T01:27:54.189Z] noop [2022-05-25T01:27:54.451Z] Removing intermediate container 62e72f3262c1 [2022-05-25T01:27:54.451Z] ---> 527d2e5b4fb2 [2022-05-25T01:27:54.451Z] Successfully built 527d2e5b4fb2 [2022-05-25T01:27:54.451Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-25T01:27:54.787Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-25T01:27:54.787Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-25T01:27:54.879Z] prd-ubuntu20.04-docker-8c-8g-8 does not seem to be running inside a container [2022-05-25T01:27:54.921Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-174 -v /w/workspace/gexfoundry_device-snmp-go_PR-174:/w/workspace/gexfoundry_device-snmp-go_PR-174:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-174@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-174@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-25T01:27:55.324Z] $ docker top 48caf72c3f6334fe1be59a65ee65fb7f8819684409543211741ab351b2d6784d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-25T01:27:55.695Z] + go version [2022-05-25T01:27:55.695Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-25T01:27:55.712Z] $ docker stop --time=1 48caf72c3f6334fe1be59a65ee65fb7f8819684409543211741ab351b2d6784d [2022-05-25T01:27:56.995Z] $ docker rm -f 48caf72c3f6334fe1be59a65ee65fb7f8819684409543211741ab351b2d6784d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-25T01:27:57.401Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-25T01:27:57.401Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-25T01:27:57.497Z] prd-ubuntu20.04-docker-8c-8g-8 does not seem to be running inside a container [2022-05-25T01:27:57.536Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-174 -v /w/workspace/gexfoundry_device-snmp-go_PR-174:/w/workspace/gexfoundry_device-snmp-go_PR-174:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-174@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-174@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-25T01:27:57.936Z] $ docker top 46dce52cc80e39071af835e10fed3f880693bfdd106690e1c9f9725d43429a32 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-25T01:27:58.335Z] + make test [2022-05-25T01:27:58.335Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-05-25T01:27:58.618Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-05-25T01:28:05.189Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-05-25T01:28:05.189Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.007s coverage: 0.0% of statements [2022-05-25T01:28:05.189Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-25T01:28:09.388Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-25T01:28:09.388Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-25T01:28:09.388Z] ./bin/test-attribution-txt.sh [2022-05-25T01:28:09.388Z] go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.0 [2022-05-25T01:28:09.388Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.0 [2022-05-25T01:28:09.388Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 [2022-05-25T01:28:09.388Z] go: downloading github.com/soniah/gosnmp v1.21.0 [2022-05-25T01:28:09.388Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 [2022-05-25T01:28:09.388Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2022-05-25T01:28:09.388Z] go: downloading github.com/google/uuid v1.3.0 [2022-05-25T01:28:09.388Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.0 [2022-05-25T01:28:09.388Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2022-05-25T01:28:09.388Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-05-25T01:28:09.388Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2022-05-25T01:28:09.388Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-05-25T01:28:09.388Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 [2022-05-25T01:28:09.388Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.0 [2022-05-25T01:28:09.388Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2022-05-25T01:28:09.388Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-05-25T01:28:09.388Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-05-25T01:28:09.388Z] go: downloading github.com/go-kit/kit v0.11.0 [2022-05-25T01:28:09.388Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2022-05-25T01:28:09.388Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2022-05-25T01:28:09.388Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2022-05-25T01:28:09.388Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-05-25T01:28:09.388Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-05-25T01:28:09.388Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-05-25T01:28:09.388Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-05-25T01:28:09.388Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-05-25T01:28:09.388Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2022-05-25T01:28:09.388Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-05-25T01:28:09.388Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-05-25T01:28:09.388Z] go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 [2022-05-25T01:28:09.388Z] go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 [2022-05-25T01:28:09.388Z] go: downloading golang.org/x/text v0.3.6 [2022-05-25T01:28:09.388Z] go: downloading github.com/golang/mock v1.4.4 [2022-05-25T01:28:09.388Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-05-25T01:28:09.388Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-05-25T01:28:09.388Z] go: downloading github.com/x448/float16 v0.8.4 [2022-05-25T01:28:09.388Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-05-25T01:28:09.388Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-05-25T01:28:09.388Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-05-25T01:28:09.388Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-05-25T01:28:09.649Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-05-25T01:28:09.649Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-05-25T01:28:09.649Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-05-25T01:28:09.649Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-05-25T01:28:09.649Z] go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 [2022-05-25T01:28:09.649Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2022-05-25T01:28:09.649Z] go: downloading github.com/fatih/color v1.9.0 [2022-05-25T01:28:09.649Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-05-25T01:28:09.649Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-05-25T01:28:09.649Z] go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo [2022-05-25T01:28:11.045Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2022-05-25T01:28:11.347Z] + go mod tidy [2022-05-25T01:28:11.347Z] go: downloading github.com/stretchr/testify v1.7.0 [2022-05-25T01:28:11.347Z] go: downloading github.com/go-stack/stack v1.8.0 [2022-05-25T01:28:11.347Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2022-05-25T01:28:11.347Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2022-05-25T01:28:11.348Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2022-05-25T01:28:11.348Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2022-05-25T01:28:11.348Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2022-05-25T01:28:11.348Z] go: downloading github.com/onsi/gomega v1.7.0 [2022-05-25T01:28:11.348Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2022-05-25T01:28:11.348Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2022-05-25T01:28:11.348Z] go: downloading github.com/pkg/errors v0.9.1 [2022-05-25T01:28:11.607Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2022-05-25T01:28:11.608Z] go: downloading github.com/kr/pretty v0.3.0 [2022-05-25T01:28:11.608Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2022-05-25T01:28:11.608Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2022-05-25T01:28:11.608Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2022-05-25T01:28:11.608Z] go: downloading github.com/miekg/dns v1.1.26 [2022-05-25T01:28:11.608Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2022-05-25T01:28:11.608Z] go: downloading github.com/kr/text v0.2.0 [2022-05-25T01:28:11.608Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2022-05-25T01:28:11.608Z] go: downloading gopkg.in/yaml.v2 v2.3.0 [2022-05-25T01:28:11.608Z] go: downloading github.com/hpcloud/tail v1.0.0 [2022-05-25T01:28:11.608Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2022-05-25T01:28:11.608Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [2022-05-25T01:28:11.608Z] go: downloading github.com/stretchr/objx v0.1.1 [2022-05-25T01:28:11.608Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-05-25T01:28:11.608Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [Pipeline] } [2022-05-25T01:28:11.624Z] $ docker stop --time=1 46dce52cc80e39071af835e10fed3f880693bfdd106690e1c9f9725d43429a32 [2022-05-25T01:28:13.843Z] $ docker rm -f 46dce52cc80e39071af835e10fed3f880693bfdd106690e1c9f9725d43429a32 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-25T01:28:14.407Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-25T01:28:14.468Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-25T01:28:14.920Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-25T01:28:15.211Z] + ls -al . [2022-05-25T01:28:15.211Z] total 180 [2022-05-25T01:28:15.211Z] drwxrwxr-x 10 jenkins jenkins 4096 May 25 01:28 . [2022-05-25T01:28:15.211Z] drwxrwxr-x 4 jenkins jenkins 4096 May 25 01:27 .. [2022-05-25T01:28:15.211Z] -rw-rw-r-- 1 jenkins jenkins 6 May 25 01:27 .dockerignore [2022-05-25T01:28:15.211Z] drwxrwxr-x 8 jenkins jenkins 4096 May 25 01:27 .git [2022-05-25T01:28:15.211Z] drwxrwxr-x 2 jenkins jenkins 4096 May 25 01:27 .github [2022-05-25T01:28:15.211Z] -rw-rw-r-- 1 jenkins jenkins 255 May 25 01:27 .gitignore [2022-05-25T01:28:15.211Z] drwxr-xr-x 3 jenkins jenkins 4096 May 25 01:27 .semver [2022-05-25T01:28:15.211Z] -rw-rw-r-- 1 jenkins jenkins 6926 May 25 01:27 Attribution.txt [2022-05-25T01:28:15.211Z] -rw-rw-r-- 1 jenkins jenkins 4401 May 25 01:27 CHANGELOG.md [2022-05-25T01:28:15.211Z] -rw-rw-r-- 1 jenkins jenkins 1493 May 25 01:27 Dockerfile [2022-05-25T01:28:15.211Z] -rw-rw-r-- 1 jenkins jenkins 677 May 25 01:27 GOVERNANCE.md [2022-05-25T01:28:15.211Z] -rw-rw-r-- 1 jenkins jenkins 656 May 25 01:27 Jenkinsfile [2022-05-25T01:28:15.211Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 25 01:27 LICENSE [2022-05-25T01:28:15.211Z] -rw-rw-r-- 1 jenkins jenkins 1526 May 25 01:27 Makefile [2022-05-25T01:28:15.211Z] -rw-rw-r-- 1 jenkins jenkins 620 May 25 01:27 OWNERS.md [2022-05-25T01:28:15.211Z] -rw-rw-r-- 1 jenkins jenkins 9073 May 25 01:27 README.md [2022-05-25T01:28:15.211Z] -rw-rw-r-- 1 jenkins jenkins 5 May 25 01:27 VERSION [2022-05-25T01:28:15.211Z] drwxrwxr-x 2 jenkins jenkins 4096 May 25 01:27 bin [2022-05-25T01:28:15.211Z] drwxrwxr-x 3 jenkins jenkins 4096 May 25 01:27 cmd [2022-05-25T01:28:15.211Z] -rw-r--r-- 1 jenkins jenkins 7631 May 25 01:28 coverage.out [2022-05-25T01:28:15.211Z] -rw-rw-r-- 1 jenkins jenkins 208 May 25 01:28 go.mod [2022-05-25T01:28:15.211Z] -rw-rw-r-- 1 jenkins jenkins 49477 May 25 01:27 go.sum [2022-05-25T01:28:15.211Z] drwxrwxr-x 3 jenkins jenkins 4096 May 25 01:27 internal [2022-05-25T01:28:15.211Z] drwxrwxr-x 3 jenkins jenkins 4096 May 25 01:27 snap [2022-05-25T01:28:15.211Z] drwxrwxr-x 6 jenkins jenkins 4096 May 25 01:27 vendor [2022-05-25T01:28:15.211Z] -rw-rw-r-- 1 jenkins jenkins 228 May 25 01:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-25T01:28:15.524Z] + 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=6333a36f236844c13d051debdd8500920e8490e5 --label arch=amd64 --label version=0.0.0 . [2022-05-25T01:28:15.785Z] Sending build context to Docker daemon 16.32MB [2022-05-25T01:28:15.785Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.14 [2022-05-25T01:28:15.785Z] Step 2/23 : FROM ${BASE} AS builder [2022-05-25T01:28:15.785Z] ---> 527d2e5b4fb2 [2022-05-25T01:28:15.785Z] Step 3/23 : ARG MAKE='make build' [2022-05-25T01:28:15.785Z] ---> Running in 09c4888f4924 [2022-05-25T01:28:16.046Z] Removing intermediate container 09c4888f4924 [2022-05-25T01:28:16.046Z] ---> 2c3fd295126d [2022-05-25T01:28:16.046Z] Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-25T01:28:16.046Z] ---> Running in 214ce0030f08 [2022-05-25T01:28:16.046Z] Removing intermediate container 214ce0030f08 [2022-05-25T01:28:16.046Z] ---> 24f7ac70eb28 [2022-05-25T01:28:16.046Z] Step 5/23 : ARG ALPINE_PKG_EXTRA="" [2022-05-25T01:28:16.046Z] ---> Running in 0931b38f9182 [2022-05-25T01:28:16.307Z] Removing intermediate container 0931b38f9182 [2022-05-25T01:28:16.307Z] ---> cb25178d6efc [2022-05-25T01:28:16.307Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-25T01:28:16.307Z] ---> Running in 41e0226f9aec [2022-05-25T01:28:16.879Z] Removing intermediate container 41e0226f9aec [2022-05-25T01:28:16.879Z] ---> 81ffc3ad5f3a [2022-05-25T01:28:16.879Z] Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-25T01:28:16.879Z] ---> Running in 6cf49cb73895 [2022-05-25T01:28:17.140Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-25T01:28:18.079Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-25T01:28:18.338Z] OK: 224 MiB in 56 packages [2022-05-25T01:28:18.599Z] Removing intermediate container 6cf49cb73895 [2022-05-25T01:28:18.599Z] ---> 0d102a15b1dc [2022-05-25T01:28:18.599Z] Step 8/23 : WORKDIR /device-snmp-go [2022-05-25T01:28:18.599Z] ---> Running in 850e4037ecc6 [2022-05-25T01:28:18.860Z] Removing intermediate container 850e4037ecc6 [2022-05-25T01:28:18.860Z] ---> 1d2bad5b5cc4 [2022-05-25T01:28:18.860Z] Step 9/23 : COPY . . [2022-05-25T01:28:19.812Z] ---> 4e8b1dbb56a6 [2022-05-25T01:28:19.812Z] Step 10/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-25T01:28:19.812Z] ---> Running in c144085f8103 [2022-05-25T01:28:20.073Z] skipping... [2022-05-25T01:28:20.336Z] Removing intermediate container c144085f8103 [2022-05-25T01:28:20.336Z] ---> 669f1e04fd14 [2022-05-25T01:28:20.336Z] Step 11/23 : RUN ${MAKE} [2022-05-25T01:28:20.336Z] ---> Running in 256ca94fc962 [2022-05-25T01:28:20.598Z] 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.0" -o cmd/device-snmp ./cmd [2022-05-25T01:28:28.723Z] Removing intermediate container 256ca94fc962 [2022-05-25T01:28:28.723Z] ---> 9f5168ee3d95 [2022-05-25T01:28:28.723Z] Step 12/23 : FROM alpine:3.14 [2022-05-25T01:28:28.723Z] 3.14: Pulling from library/alpine [2022-05-25T01:28:28.984Z] 8663204ce13b: Pulling fs layer [2022-05-25T01:28:29.245Z] 8663204ce13b: Verifying Checksum [2022-05-25T01:28:29.245Z] 8663204ce13b: Download complete [2022-05-25T01:28:29.245Z] 8663204ce13b: Pull complete [2022-05-25T01:28:29.245Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-25T01:28:29.245Z] Status: Downloaded newer image for alpine:3.14 [2022-05-25T01:28:29.245Z] ---> e04c818066af [2022-05-25T01:28:29.245Z] Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-25T01:28:29.245Z] ---> Running in 7c7a609a5e47 [2022-05-25T01:28:29.817Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-25T01:28:29.817Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-25T01:28:29.817Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-25T01:28:30.080Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-25T01:28:30.080Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-25T01:28:30.080Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-25T01:28:30.080Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-25T01:28:30.080Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-25T01:28:30.080Z] Executing busybox-1.33.1-r7.trigger [2022-05-25T01:28:30.080Z] OK: 8 MiB in 20 packages [2022-05-25T01:28:30.340Z] Removing intermediate container 7c7a609a5e47 [2022-05-25T01:28:30.340Z] ---> 8d51ac088516 [2022-05-25T01:28:30.340Z] Step 14/23 : COPY --from=builder /device-snmp-go/cmd / [2022-05-25T01:28:30.911Z] ---> b419609cd30c [2022-05-25T01:28:30.911Z] Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-05-25T01:28:30.911Z] ---> 82bdce6cd6bf [2022-05-25T01:28:30.911Z] Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / [2022-05-25T01:28:31.173Z] ---> 4ab1481b1d67 [2022-05-25T01:28:31.173Z] Step 17/23 : EXPOSE 59993 [2022-05-25T01:28:31.173Z] ---> Running in ef4203b3e0b4 [2022-05-25T01:28:31.173Z] Removing intermediate container ef4203b3e0b4 [2022-05-25T01:28:31.173Z] ---> 87d96a3a0f89 [2022-05-25T01:28:31.173Z] Step 18/23 : EXPOSE 161 [2022-05-25T01:28:31.432Z] ---> Running in 23d8c24ef8d2 [2022-05-25T01:28:31.432Z] Removing intermediate container 23d8c24ef8d2 [2022-05-25T01:28:31.432Z] ---> 162ec2a39fe1 [2022-05-25T01:28:31.432Z] Step 19/23 : ENTRYPOINT ["/device-snmp"] [2022-05-25T01:28:31.432Z] ---> Running in 929bd12298b5 [2022-05-25T01:28:31.432Z] Removing intermediate container 929bd12298b5 [2022-05-25T01:28:31.432Z] ---> 81c698c14700 [2022-05-25T01:28:31.432Z] Step 20/23 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-05-25T01:28:31.701Z] ---> Running in 0593f31dcfd0 [2022-05-25T01:28:31.701Z] Removing intermediate container 0593f31dcfd0 [2022-05-25T01:28:31.701Z] ---> 704bdbf78c4b [2022-05-25T01:28:31.701Z] Step 21/23 : LABEL arch=amd64 [2022-05-25T01:28:31.701Z] ---> Running in 6f4209321ba6 [2022-05-25T01:28:31.701Z] Removing intermediate container 6f4209321ba6 [2022-05-25T01:28:31.701Z] ---> d0e6af6d10d5 [2022-05-25T01:28:31.701Z] Step 22/23 : LABEL git_sha=6333a36f236844c13d051debdd8500920e8490e5 [2022-05-25T01:28:31.961Z] ---> Running in 111bfbca2c6b [2022-05-25T01:28:31.961Z] Removing intermediate container 111bfbca2c6b [2022-05-25T01:28:31.961Z] ---> 664f6a4c4195 [2022-05-25T01:28:31.961Z] Step 23/23 : LABEL version=0.0.0 [2022-05-25T01:28:31.961Z] ---> Running in 66ddadfb9375 [2022-05-25T01:28:32.221Z] Removing intermediate container 66ddadfb9375 [2022-05-25T01:28:32.221Z] ---> cdc6211768d0 [2022-05-25T01:28:32.221Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-25T01:28:32.221Z] Successfully built cdc6211768d0 [2022-05-25T01:28:32.221Z] 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-05-25T01:28:32.623Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-25T01:28:32.623Z] [2022-05-25T01:28:32.623Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-25T01:28:32.922Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-25T01:28:32.922Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-25T01:28:32.922Z] 5eb5b503b376: Pulling fs layer [2022-05-25T01:28:32.922Z] 5c69ac0246d0: Pulling fs layer [2022-05-25T01:28:32.922Z] ec43610c2a17: Pulling fs layer [2022-05-25T01:28:32.922Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-25T01:28:32.922Z] 33b1e0a273af: Pulling fs layer [2022-05-25T01:28:32.922Z] 5d3b04190fa2: Pulling fs layer [2022-05-25T01:28:32.922Z] 2f39f015ded8: Pulling fs layer [2022-05-25T01:28:32.922Z] 33b1e0a273af: Waiting [2022-05-25T01:28:32.922Z] 5d3b04190fa2: Waiting [2022-05-25T01:28:32.922Z] 2f39f015ded8: Waiting [2022-05-25T01:28:32.922Z] 3a2ae6a8a46f: Waiting [2022-05-25T01:28:32.922Z] 5c69ac0246d0: Download complete [2022-05-25T01:28:32.922Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-25T01:28:32.922Z] 3a2ae6a8a46f: Download complete [2022-05-25T01:28:32.922Z] 33b1e0a273af: Verifying Checksum [2022-05-25T01:28:32.922Z] 33b1e0a273af: Download complete [2022-05-25T01:28:32.922Z] 5d3b04190fa2: Download complete [2022-05-25T01:28:32.922Z] ec43610c2a17: Download complete [2022-05-25T01:28:33.183Z] 5eb5b503b376: Verifying Checksum [2022-05-25T01:28:33.183Z] 5eb5b503b376: Download complete [2022-05-25T01:28:33.752Z] 2f39f015ded8: Download complete [2022-05-25T01:28:34.689Z] 5eb5b503b376: Pull complete [2022-05-25T01:28:34.689Z] 5c69ac0246d0: Pull complete [2022-05-25T01:28:35.256Z] ec43610c2a17: Pull complete [2022-05-25T01:28:35.256Z] 3a2ae6a8a46f: Pull complete [2022-05-25T01:28:35.517Z] 33b1e0a273af: Pull complete [2022-05-25T01:28:35.517Z] 5d3b04190fa2: Pull complete [2022-05-25T01:28:40.789Z] 2f39f015ded8: Pull complete [2022-05-25T01:28:40.789Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-25T01:28:40.789Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-25T01:28:40.789Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-25T01:28:40.888Z] prd-ubuntu20.04-docker-8c-8g-8 does not seem to be running inside a container [2022-05-25T01:28:40.930Z] $ 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-174 -v /w/workspace/gexfoundry_device-snmp-go_PR-174:/w/workspace/gexfoundry_device-snmp-go_PR-174:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-174@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-174@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-25T01:28:42.790Z] $ docker top 6bd1d636ff45ea611e74a14d4b539dc905ef130761c82d33acb1508357cb67ff -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-25T01:28:43.173Z] ---> job-cost.sh [2022-05-25T01:28:43.174Z] lf-activate-venv: SKIPPING [2022-05-25T01:28:43.174Z] INFO: No Stack... [2022-05-25T01:28:43.436Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-25T01:28:44.004Z] INFO: Archiving Costs [Pipeline] sh [2022-05-25T01:28:44.298Z] + cat /w/workspace/gexfoundry_device-snmp-go_PR-174/archives/cost.csv [2022-05-25T01:28:44.298Z] + cut -d, -f6 [Pipeline] lock [2022-05-25T01:28:44.313Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-174-2-stack-cost] [2022-05-25T01:28:44.319Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-174-2-stack-cost] did not exist. Created. [2022-05-25T01:28:44.319Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-174-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-25T01:28:44.623Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-25T01:28:44.660Z] Stashed 1 file(s) [Pipeline] } [2022-05-25T01:28:44.666Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-174-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-25T01:28:44.688Z] $ docker stop --time=1 6bd1d636ff45ea611e74a14d4b539dc905ef130761c82d33acb1508357cb67ff [2022-05-25T01:28:45.861Z] $ docker rm -f 6bd1d636ff45ea611e74a14d4b539dc905ef130761c82d33acb1508357cb67ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-25T01:30:39.565Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-12 in /w/workspace/gexfoundry_device-snmp-go_PR-174 [Pipeline] { [Pipeline] ws [2022-05-25T01:30:39.577Z] Running in /w/workspace/device-snmp-go/2 [Pipeline] { [Pipeline] checkout [2022-05-25T01:30:39.623Z] Selected Git installation does not exist. Using Default [2022-05-25T01:30:39.623Z] The recommended git tool is: NONE [2022-05-25T01:30:44.768Z] using credential edgex-jenkins-ssh [2022-05-25T01:30:44.786Z] Cloning the remote Git repository [2022-05-25T01:30:44.847Z] Cloning repository git@github.com:edgexfoundry/device-snmp-go.git [2022-05-25T01:30:44.923Z] > git init /w/workspace/device-snmp-go/2 # timeout=10 [2022-05-25T01:30:45.026Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-05-25T01:30:45.027Z] > git --version # timeout=10 [2022-05-25T01:30:45.046Z] > git --version # 'git version 2.25.1' [2022-05-25T01:30:45.049Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-25T01:30:45.127Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-25T01:30:46.918Z] Merging remotes/origin/jakarta commit 0a246da567fca350fd9d1d3301cf71cc0b33f546 into PR head commit 6333a36f236844c13d051debdd8500920e8490e5 [2022-05-25T01:30:46.157Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-05-25T01:30:46.198Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-25T01:30:46.270Z] > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 [2022-05-25T01:30:46.357Z] Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git [2022-05-25T01:30:46.358Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-25T01:30:46.374Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/174/head:refs/remotes/origin/PR-174 +refs/heads/jakarta:refs/remotes/origin/jakarta # timeout=10 [2022-05-25T01:30:46.942Z] > git config core.sparsecheckout # timeout=10 [2022-05-25T01:30:46.964Z] > git checkout -f 6333a36f236844c13d051debdd8500920e8490e5 # timeout=10 [2022-05-25T01:30:47.547Z] Merge succeeded, producing 6333a36f236844c13d051debdd8500920e8490e5 [2022-05-25T01:30:47.548Z] Checking out Revision 6333a36f236844c13d051debdd8500920e8490e5 (PR-174) [2022-05-25T01:30:47.447Z] > git remote # timeout=10 [2022-05-25T01:30:47.468Z] > git config --get remote.origin.url # timeout=10 [2022-05-25T01:30:47.482Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-25T01:30:47.494Z] > git merge 0a246da567fca350fd9d1d3301cf71cc0b33f546 # timeout=10 [2022-05-25T01:30:47.526Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-05-25T01:30:47.560Z] > git config core.sparsecheckout # timeout=10 [2022-05-25T01:30:47.572Z] > git checkout -f 6333a36f236844c13d051debdd8500920e8490e5 # timeout=10 [2022-05-25T01:30:52.210Z] Commit message: "fix: (jakarta) Correctly set the versions for the service and sdk" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-25T01:30:53.095Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-25T01:30:53.095Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-25T01:30:53.095Z] Dload Upload Total Spent Left Speed [2022-05-25T01:30:53.095Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 189k 0 --:--:-- --:--:-- --:--:-- 189k [Pipeline] sh [2022-05-25T01:30:53.806Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-25T01:30:54.187Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2022-05-25T01:30:54.187Z] /etc/docker/daemon.json [2022-05-25T01:30:54.187Z] { [2022-05-25T01:30:54.187Z] "registry-mirrors": [ [2022-05-25T01:30:54.187Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-25T01:30:54.187Z] ], [2022-05-25T01:30:54.187Z] "bip": "10.250.0.254/24", [2022-05-25T01:30:54.187Z] "hosts": [ [2022-05-25T01:30:54.187Z] "tcp://0.0.0.0:5555", [2022-05-25T01:30:54.187Z] "unix:///var/run/docker.sock" [2022-05-25T01:30:54.187Z] ], [2022-05-25T01:30:54.187Z] "mtu": 1458, [2022-05-25T01:30:54.187Z] "selinux-enabled": true, [2022-05-25T01:30:54.187Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-25T01:30:54.187Z] } [Pipeline] sh [2022-05-25T01:30:54.539Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-25T01:30:54.872Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-25T01:31:13.198Z] provisioning config files... [2022-05-25T01:31:13.224Z] copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/2@tmp/config3738247669214889400tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-25T01:31:13.594Z] ---> docker-login.sh [2022-05-25T01:31:13.594Z] nexus3.edgexfoundry.org:10001 [2022-05-25T01:31:14.196Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-25T01:31:14.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-25T01:31:14.471Z] Configure a credential helper to remove this warning. See [2022-05-25T01:31:14.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-25T01:31:14.471Z] [2022-05-25T01:31:14.471Z] Login Succeeded [2022-05-25T01:31:14.471Z] nexus3.edgexfoundry.org:10002 [2022-05-25T01:31:14.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-25T01:31:15.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-25T01:31:15.018Z] Configure a credential helper to remove this warning. See [2022-05-25T01:31:15.018Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-25T01:31:15.018Z] [2022-05-25T01:31:15.018Z] Login Succeeded [2022-05-25T01:31:15.018Z] nexus3.edgexfoundry.org:10003 [2022-05-25T01:31:15.292Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-25T01:31:15.580Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-25T01:31:15.580Z] Configure a credential helper to remove this warning. See [2022-05-25T01:31:15.580Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-25T01:31:15.580Z] [2022-05-25T01:31:15.580Z] Login Succeeded [2022-05-25T01:31:15.580Z] nexus3.edgexfoundry.org:10004 [2022-05-25T01:31:15.858Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-25T01:31:15.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-25T01:31:15.858Z] Configure a credential helper to remove this warning. See [2022-05-25T01:31:15.858Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-25T01:31:15.858Z] [2022-05-25T01:31:15.858Z] Login Succeeded [2022-05-25T01:31:15.858Z] docker.io [2022-05-25T01:31:16.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-25T01:31:16.724Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-25T01:31:16.724Z] Configure a credential helper to remove this warning. See [2022-05-25T01:31:16.724Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-25T01:31:16.724Z] [2022-05-25T01:31:16.724Z] Login Succeeded [2022-05-25T01:31:16.724Z] ---> docker-login.sh ends [Pipeline] } [2022-05-25T01:31:16.743Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-25T01:31:17.351Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-25T01:31:17.364Z] ========================================================= [2022-05-25T01:31:17.364Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts] [2022-05-25T01:31:17.364Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-25T01:31:17.734Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts --build-arg MAKE=echo noop --target=builder . [2022-05-25T01:31:19.179Z] Sending build context to Docker daemon 13.72MB [2022-05-25T01:31:19.179Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2022-05-25T01:31:19.179Z] Step 2/11 : FROM ${BASE} AS builder [2022-05-25T01:31:19.179Z] 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-25T01:31:19.179Z] 9b3977197b4f: Pulling fs layer [2022-05-25T01:31:19.179Z] 1a89e8eeedd5: Pulling fs layer [2022-05-25T01:31:19.179Z] 94645a83ff95: Pulling fs layer [2022-05-25T01:31:19.179Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-25T01:31:19.179Z] 0c92f367c5e7: Pulling fs layer [2022-05-25T01:31:19.179Z] 045706c8da98: Pulling fs layer [2022-05-25T01:31:19.179Z] d7189365e05b: Pulling fs layer [2022-05-25T01:31:19.179Z] a32415fbff51: Pulling fs layer [2022-05-25T01:31:19.179Z] 3f3a8bcf1eab: Waiting [2022-05-25T01:31:19.179Z] 0c92f367c5e7: Waiting [2022-05-25T01:31:19.179Z] 045706c8da98: Waiting [2022-05-25T01:31:19.179Z] d7189365e05b: Waiting [2022-05-25T01:31:19.179Z] a32415fbff51: Waiting [2022-05-25T01:31:19.179Z] 94645a83ff95: Download complete [2022-05-25T01:31:19.179Z] 1a89e8eeedd5: Verifying Checksum [2022-05-25T01:31:19.179Z] 1a89e8eeedd5: Download complete [2022-05-25T01:31:19.179Z] 0c92f367c5e7: Verifying Checksum [2022-05-25T01:31:19.179Z] 0c92f367c5e7: Download complete [2022-05-25T01:31:19.179Z] 045706c8da98: Verifying Checksum [2022-05-25T01:31:19.179Z] 045706c8da98: Download complete [2022-05-25T01:31:19.179Z] 9b3977197b4f: Verifying Checksum [2022-05-25T01:31:19.179Z] 9b3977197b4f: Download complete [2022-05-25T01:31:19.179Z] d7189365e05b: Verifying Checksum [2022-05-25T01:31:19.179Z] d7189365e05b: Download complete [2022-05-25T01:31:19.783Z] 9b3977197b4f: Pull complete [2022-05-25T01:31:20.385Z] 1a89e8eeedd5: Pull complete [2022-05-25T01:31:20.663Z] 94645a83ff95: Pull complete [2022-05-25T01:31:20.938Z] a32415fbff51: Verifying Checksum [2022-05-25T01:31:20.938Z] a32415fbff51: Download complete [2022-05-25T01:31:21.529Z] 3f3a8bcf1eab: Download complete [2022-05-25T01:31:33.906Z] 3f3a8bcf1eab: Pull complete [2022-05-25T01:31:33.906Z] 0c92f367c5e7: Pull complete [2022-05-25T01:31:33.906Z] 045706c8da98: Pull complete [2022-05-25T01:31:33.906Z] d7189365e05b: Pull complete [2022-05-25T01:31:39.310Z] a32415fbff51: Pull complete [2022-05-25T01:31:39.310Z] Digest: sha256:763293993303eff07c8e57fe0fe9116095497c40c1fdc093d1a27926bd48f831 [2022-05-25T01:31:39.310Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts [2022-05-25T01:31:39.310Z] ---> 96786ed1eff5 [2022-05-25T01:31:39.310Z] Step 3/11 : ARG MAKE='make build' [2022-05-25T01:31:41.301Z] ---> Running in 3dee51fce2f4 [2022-05-25T01:31:41.301Z] Removing intermediate container 3dee51fce2f4 [2022-05-25T01:31:41.301Z] ---> 953040d7bfd3 [2022-05-25T01:31:41.301Z] Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-25T01:31:41.301Z] ---> Running in 4496a706593e [2022-05-25T01:31:41.579Z] Removing intermediate container 4496a706593e [2022-05-25T01:31:41.579Z] ---> 054c14f2d25c [2022-05-25T01:31:41.579Z] Step 5/11 : ARG ALPINE_PKG_EXTRA="" [2022-05-25T01:31:41.850Z] ---> Running in e7862fb73261 [2022-05-25T01:31:42.122Z] Removing intermediate container e7862fb73261 [2022-05-25T01:31:42.122Z] ---> 012cde30b43f [2022-05-25T01:31:42.122Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-25T01:31:42.122Z] ---> Running in a4a23c617dec [2022-05-25T01:31:44.097Z] Removing intermediate container a4a23c617dec [2022-05-25T01:31:44.097Z] ---> 5b1309dc2a3c [2022-05-25T01:31:44.097Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-25T01:31:44.097Z] ---> Running in ce286e993bec [2022-05-25T01:31:45.076Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-25T01:31:45.668Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-25T01:31:46.645Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-25T01:31:46.645Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-25T01:31:46.916Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-25T01:31:46.916Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-25T01:31:47.188Z] Executing busybox-1.34.1-r3.trigger [2022-05-25T01:31:47.188Z] OK: 224 MiB in 56 packages [2022-05-25T01:31:48.179Z] Removing intermediate container ce286e993bec [2022-05-25T01:31:48.179Z] ---> d5bb208ed701 [2022-05-25T01:31:48.179Z] Step 8/11 : WORKDIR /device-snmp-go [2022-05-25T01:31:48.179Z] ---> Running in 38cc8149ac7a [2022-05-25T01:31:48.451Z] Removing intermediate container 38cc8149ac7a [2022-05-25T01:31:48.451Z] ---> d9ec7f04e731 [2022-05-25T01:31:48.451Z] Step 9/11 : COPY . . [2022-05-25T01:31:52.768Z] ---> ad444b2362e8 [2022-05-25T01:31:52.768Z] Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-25T01:31:52.768Z] ---> Running in de1863a46559 [2022-05-25T01:31:53.045Z] skipping... [2022-05-25T01:31:53.636Z] Removing intermediate container de1863a46559 [2022-05-25T01:31:53.636Z] ---> 95e9ba0e5cf2 [2022-05-25T01:31:53.636Z] Step 11/11 : RUN ${MAKE} [2022-05-25T01:31:53.636Z] ---> Running in 8f2bf1315986 [2022-05-25T01:31:54.617Z] noop [2022-05-25T01:31:55.218Z] Removing intermediate container 8f2bf1315986 [2022-05-25T01:31:55.218Z] ---> 66433480b4d9 [2022-05-25T01:31:55.491Z] Successfully built 66433480b4d9 [2022-05-25T01:31:55.491Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-25T01:31:55.866Z] + docker inspect -f . ci-base-image-arm64 [2022-05-25T01:31:55.866Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-25T01:31:56.118Z] prd-ubuntu20.04-docker-arm64-4c-16g-12 does not seem to be running inside a container [2022-05-25T01:31:56.209Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-25T01:31:57.529Z] $ docker top a432f74e54661884130330c0839ae254f1c91944d59b732b9ac03bb12d5c53fa -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-25T01:31:58.435Z] + go version [2022-05-25T01:31:58.435Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-25T01:31:58.465Z] $ docker stop --time=1 a432f74e54661884130330c0839ae254f1c91944d59b732b9ac03bb12d5c53fa [2022-05-25T01:32:00.085Z] $ docker rm -f a432f74e54661884130330c0839ae254f1c91944d59b732b9ac03bb12d5c53fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-25T01:32:00.712Z] + docker inspect -f . ci-base-image-arm64 [2022-05-25T01:32:00.712Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-25T01:32:00.949Z] prd-ubuntu20.04-docker-arm64-4c-16g-12 does not seem to be running inside a container [2022-05-25T01:32:01.045Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-05-25T01:32:02.344Z] $ docker top 3ed61c10b08f279cbc2735ae068e632d1581a6b39daffbcf18e24c83d1e55ffd -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-25T01:32:03.260Z] + make test [2022-05-25T01:32:03.260Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-05-25T01:32:04.722Z] ? github.com/edgexfoundry/device-snmp-go [no test files] [2022-05-25T01:33:01.346Z] ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] [2022-05-25T01:33:01.346Z] ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.042s coverage: 0.0% of statements [2022-05-25T01:33:01.346Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-25T01:33:16.506Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-25T01:33:16.506Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-25T01:33:16.506Z] ./bin/test-attribution-txt.sh [2022-05-25T01:33:17.491Z] go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.0 [2022-05-25T01:33:17.491Z] go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 [2022-05-25T01:33:17.491Z] go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.0 [2022-05-25T01:33:17.767Z] go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 [2022-05-25T01:33:17.767Z] go: downloading github.com/soniah/gosnmp v1.21.0 [2022-05-25T01:33:17.767Z] go: downloading github.com/OneOfOne/xxhash v1.2.8 [2022-05-25T01:33:17.767Z] go: downloading github.com/google/uuid v1.3.0 [2022-05-25T01:33:18.043Z] go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.0 [2022-05-25T01:33:18.043Z] go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 [2022-05-25T01:33:18.043Z] go: downloading github.com/pelletier/go-toml v1.9.4 [2022-05-25T01:33:18.043Z] go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [2022-05-25T01:33:18.043Z] go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 [2022-05-25T01:33:18.043Z] go: downloading github.com/gorilla/mux v1.8.0 [2022-05-25T01:33:18.043Z] go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 [2022-05-25T01:33:18.043Z] go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.0 [2022-05-25T01:33:18.317Z] go: downloading github.com/hashicorp/go-multierror v1.1.0 [2022-05-25T01:33:18.317Z] go: downloading github.com/hashicorp/consul/api v1.9.1 [2022-05-25T01:33:18.317Z] go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 [2022-05-25T01:33:18.317Z] go: downloading github.com/go-kit/kit v0.11.0 [2022-05-25T01:33:18.317Z] go: downloading github.com/go-playground/validator/v10 v10.9.0 [2022-05-25T01:33:18.317Z] go: downloading github.com/fxamacker/cbor/v2 v2.3.0 [2022-05-25T01:33:18.598Z] go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 [2022-05-25T01:33:18.598Z] go: downloading github.com/pebbe/zmq4 v1.2.7 [2022-05-25T01:33:18.598Z] go: downloading github.com/go-redis/redis/v7 v7.3.0 [2022-05-25T01:33:18.598Z] go: downloading github.com/go-logfmt/logfmt v0.5.0 [2022-05-25T01:33:18.598Z] go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da [2022-05-25T01:33:18.598Z] go: downloading github.com/cenkalti/backoff v2.2.1+incompatible [2022-05-25T01:33:18.598Z] go: downloading github.com/mitchellh/copystructure v1.0.0 [2022-05-25T01:33:18.598Z] go: downloading github.com/mitchellh/mapstructure v1.1.2 [2022-05-25T01:33:18.598Z] go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 [2022-05-25T01:33:18.598Z] go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 [2022-05-25T01:33:18.874Z] go: downloading golang.org/x/text v0.3.6 [2022-05-25T01:33:19.871Z] go: downloading github.com/hashicorp/golang-lru v0.5.0 [2022-05-25T01:33:19.871Z] go: downloading github.com/golang/mock v1.4.4 [2022-05-25T01:33:20.144Z] go: downloading github.com/hashicorp/errwrap v1.0.0 [2022-05-25T01:33:20.144Z] go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 [2022-05-25T01:33:20.144Z] go: downloading github.com/hashicorp/go-hclog v0.12.0 [2022-05-25T01:33:20.420Z] go: downloading github.com/hashicorp/go-rootcerts v1.0.2 [2022-05-25T01:33:20.420Z] go: downloading github.com/hashicorp/serf v0.9.5 [2022-05-25T01:33:20.698Z] go: downloading github.com/x448/float16 v0.8.4 [2022-05-25T01:33:20.698Z] go: downloading github.com/go-playground/universal-translator v0.18.0 [2022-05-25T01:33:20.698Z] go: downloading github.com/leodido/go-urn v1.2.1 [2022-05-25T01:33:20.976Z] go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 [2022-05-25T01:33:21.970Z] go: downloading github.com/gorilla/websocket v1.4.2 [2022-05-25T01:33:21.970Z] go: downloading github.com/mitchellh/reflectwalk v1.0.0 [2022-05-25T01:33:21.970Z] go: downloading github.com/fatih/color v1.9.0 [2022-05-25T01:33:21.970Z] go: downloading github.com/mattn/go-colorable v0.1.6 [2022-05-25T01:33:21.970Z] go: downloading github.com/mattn/go-isatty v0.0.12 [2022-05-25T01:33:21.970Z] go: downloading github.com/mitchellh/go-homedir v1.1.0 [2022-05-25T01:33:22.246Z] go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo [2022-05-25T01:33:26.591Z] [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2022-05-25T01:33:27.258Z] + go mod tidy [2022-05-25T01:33:27.258Z] go: downloading github.com/stretchr/testify v1.7.0 [2022-05-25T01:33:27.533Z] go: downloading github.com/go-stack/stack v1.8.0 [2022-05-25T01:33:27.533Z] go: downloading github.com/go-playground/assert/v2 v2.0.1 [2022-05-25T01:33:27.533Z] go: downloading github.com/davecgh/go-spew v1.1.1 [2022-05-25T01:33:27.533Z] go: downloading github.com/pmezard/go-difflib v1.0.0 [2022-05-25T01:33:27.809Z] go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c [2022-05-25T01:33:27.809Z] go: downloading github.com/stretchr/objx v0.1.1 [2022-05-25T01:33:27.809Z] go: downloading github.com/hashicorp/consul/sdk v0.8.0 [2022-05-25T01:33:27.809Z] go: downloading github.com/hashicorp/go-uuid v1.0.1 [2022-05-25T01:33:27.809Z] go: downloading github.com/onsi/ginkgo v1.10.1 [2022-05-25T01:33:27.809Z] go: downloading github.com/onsi/gomega v1.7.0 [2022-05-25T01:33:28.083Z] go: downloading github.com/kr/pretty v0.3.0 [2022-05-25T01:33:28.083Z] go: downloading github.com/hashicorp/go-msgpack v0.5.3 [2022-05-25T01:33:28.083Z] go: downloading github.com/hashicorp/memberlist v0.2.2 [2022-05-25T01:33:28.083Z] go: downloading github.com/pkg/errors v0.9.1 [2022-05-25T01:33:28.083Z] go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c [2022-05-25T01:33:28.083Z] go: downloading github.com/kr/text v0.2.0 [2022-05-25T01:33:28.355Z] go: downloading github.com/rogpeppe/go-internal v1.8.0 [2022-05-25T01:33:28.355Z] go: downloading github.com/mitchellh/go-testing-interface v1.0.0 [2022-05-25T01:33:28.355Z] go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c [2022-05-25T01:33:28.355Z] go: downloading github.com/hashicorp/go-sockaddr v1.0.0 [2022-05-25T01:33:28.355Z] go: downloading github.com/miekg/dns v1.1.26 [2022-05-25T01:33:28.355Z] go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 [2022-05-25T01:33:28.642Z] go: downloading gopkg.in/yaml.v2 v2.3.0 [2022-05-25T01:33:28.642Z] go: downloading github.com/hpcloud/tail v1.0.0 [2022-05-25T01:33:28.642Z] go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [2022-05-25T01:33:28.642Z] go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } [2022-05-25T01:33:28.943Z] $ docker stop --time=1 3ed61c10b08f279cbc2735ae068e632d1581a6b39daffbcf18e24c83d1e55ffd [2022-05-25T01:33:31.428Z] $ docker rm -f 3ed61c10b08f279cbc2735ae068e632d1581a6b39daffbcf18e24c83d1e55ffd [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-25T01:33:33.896Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-25T01:33:33.919Z] Warning: overwriting stash ‘coverage-report’ [2022-05-25T01:33:35.065Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-25T01:33:35.490Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-25T01:33:35.843Z] + ls -al . [2022-05-25T01:33:35.843Z] total 176 [2022-05-25T01:33:35.843Z] drwxrwxr-x 9 jenkins jenkins 4096 May 25 01:33 . [2022-05-25T01:33:35.843Z] drwxrwxr-x 4 jenkins jenkins 4096 May 25 01:30 .. [2022-05-25T01:33:35.843Z] -rw-rw-r-- 1 jenkins jenkins 6 May 25 01:30 .dockerignore [2022-05-25T01:33:35.843Z] drwxrwxr-x 8 jenkins jenkins 4096 May 25 01:30 .git [2022-05-25T01:33:35.843Z] drwxrwxr-x 2 jenkins jenkins 4096 May 25 01:30 .github [2022-05-25T01:33:35.843Z] -rw-rw-r-- 1 jenkins jenkins 255 May 25 01:30 .gitignore [2022-05-25T01:33:35.843Z] -rw-rw-r-- 1 jenkins jenkins 6926 May 25 01:30 Attribution.txt [2022-05-25T01:33:35.843Z] -rw-rw-r-- 1 jenkins jenkins 4401 May 25 01:30 CHANGELOG.md [2022-05-25T01:33:35.843Z] -rw-rw-r-- 1 jenkins jenkins 1493 May 25 01:30 Dockerfile [2022-05-25T01:33:35.843Z] -rw-rw-r-- 1 jenkins jenkins 677 May 25 01:30 GOVERNANCE.md [2022-05-25T01:33:35.843Z] -rw-rw-r-- 1 jenkins jenkins 656 May 25 01:30 Jenkinsfile [2022-05-25T01:33:35.843Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 25 01:30 LICENSE [2022-05-25T01:33:35.843Z] -rw-rw-r-- 1 jenkins jenkins 1526 May 25 01:30 Makefile [2022-05-25T01:33:35.843Z] -rw-rw-r-- 1 jenkins jenkins 620 May 25 01:30 OWNERS.md [2022-05-25T01:33:35.843Z] -rw-rw-r-- 1 jenkins jenkins 9073 May 25 01:30 README.md [2022-05-25T01:33:35.843Z] -rw-rw-r-- 1 jenkins jenkins 5 May 25 01:27 VERSION [2022-05-25T01:33:35.843Z] drwxrwxr-x 2 jenkins jenkins 4096 May 25 01:30 bin [2022-05-25T01:33:35.843Z] drwxrwxr-x 3 jenkins jenkins 4096 May 25 01:30 cmd [2022-05-25T01:33:35.843Z] -rw-r--r-- 1 jenkins jenkins 7631 May 25 01:32 coverage.out [2022-05-25T01:33:35.843Z] -rw-rw-r-- 1 jenkins jenkins 208 May 25 01:33 go.mod [2022-05-25T01:33:35.843Z] -rw-rw-r-- 1 jenkins jenkins 49477 May 25 01:30 go.sum [2022-05-25T01:33:35.843Z] drwxrwxr-x 3 jenkins jenkins 4096 May 25 01:30 internal [2022-05-25T01:33:35.843Z] drwxrwxr-x 3 jenkins jenkins 4096 May 25 01:30 snap [2022-05-25T01:33:35.843Z] drwxrwxr-x 6 jenkins jenkins 4096 May 25 01:30 vendor [2022-05-25T01:33:35.843Z] -rw-rw-r-- 1 jenkins jenkins 228 May 25 01:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-25T01:33:36.209Z] + 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=6333a36f236844c13d051debdd8500920e8490e5 --label arch=arm64 --label version=0.0.0 . [2022-05-25T01:33:37.659Z] Sending build context to Docker daemon 13.73MB [2022-05-25T01:33:37.659Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.14 [2022-05-25T01:33:37.659Z] Step 2/23 : FROM ${BASE} AS builder [2022-05-25T01:33:37.659Z] ---> 66433480b4d9 [2022-05-25T01:33:37.659Z] Step 3/23 : ARG MAKE='make build' [2022-05-25T01:33:37.938Z] ---> Running in 85a3d15cf680 [2022-05-25T01:33:38.213Z] Removing intermediate container 85a3d15cf680 [2022-05-25T01:33:38.213Z] ---> 9c51bf147a29 [2022-05-25T01:33:38.213Z] Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-25T01:33:38.213Z] ---> Running in d729620682bd [2022-05-25T01:33:38.813Z] Removing intermediate container d729620682bd [2022-05-25T01:33:38.813Z] ---> d12190b75bb3 [2022-05-25T01:33:38.813Z] Step 5/23 : ARG ALPINE_PKG_EXTRA="" [2022-05-25T01:33:38.813Z] ---> Running in 1c399632ff1b [2022-05-25T01:33:39.087Z] Removing intermediate container 1c399632ff1b [2022-05-25T01:33:39.087Z] ---> aa2340c1b33c [2022-05-25T01:33:39.087Z] Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-25T01:33:39.087Z] ---> Running in 5aa193a49afd [2022-05-25T01:33:41.071Z] Removing intermediate container 5aa193a49afd [2022-05-25T01:33:41.071Z] ---> 4c0f3fef8ff0 [2022-05-25T01:33:41.071Z] Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-25T01:33:41.071Z] ---> Running in 88c54c84ce2d [2022-05-25T01:33:42.051Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-25T01:33:43.034Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-25T01:33:43.634Z] OK: 224 MiB in 56 packages [2022-05-25T01:33:44.626Z] Removing intermediate container 88c54c84ce2d [2022-05-25T01:33:44.626Z] ---> 9b09ad4f5d98 [2022-05-25T01:33:44.626Z] Step 8/23 : WORKDIR /device-snmp-go [2022-05-25T01:33:44.626Z] ---> Running in 5b0ec8abf2ff [2022-05-25T01:33:44.902Z] Removing intermediate container 5b0ec8abf2ff [2022-05-25T01:33:44.903Z] ---> 7f53f280741b [2022-05-25T01:33:44.903Z] Step 9/23 : COPY . . [2022-05-25T01:33:49.211Z] ---> 7b00f693cbc5 [2022-05-25T01:33:49.211Z] Step 10/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-25T01:33:49.484Z] ---> Running in 6153c63363a6 [2022-05-25T01:33:50.463Z] skipping... [2022-05-25T01:33:51.073Z] Removing intermediate container 6153c63363a6 [2022-05-25T01:33:51.073Z] ---> 673f1151b7e9 [2022-05-25T01:33:51.073Z] Step 11/23 : RUN ${MAKE} [2022-05-25T01:33:51.073Z] ---> Running in 22a8f0f237cc [2022-05-25T01:33:52.063Z] 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.0" -o cmd/device-snmp ./cmd [2022-05-25T01:34:39.087Z] Removing intermediate container 22a8f0f237cc [2022-05-25T01:34:39.087Z] ---> 1f2174e1e128 [2022-05-25T01:34:39.087Z] Step 12/23 : FROM alpine:3.14 [2022-05-25T01:34:39.087Z] 3.14: Pulling from library/alpine [2022-05-25T01:34:39.087Z] 455c02918c45: Pulling fs layer [2022-05-25T01:34:39.087Z] 455c02918c45: Verifying Checksum [2022-05-25T01:34:39.087Z] 455c02918c45: Download complete [2022-05-25T01:34:39.087Z] 455c02918c45: Pull complete [2022-05-25T01:34:39.087Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-25T01:34:39.087Z] Status: Downloaded newer image for alpine:3.14 [2022-05-25T01:34:39.087Z] ---> ac73e934f311 [2022-05-25T01:34:39.087Z] Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-25T01:34:39.087Z] ---> Running in c47f58443218 [2022-05-25T01:34:39.087Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-25T01:34:39.087Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-25T01:34:39.087Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-25T01:34:39.087Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-25T01:34:39.087Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-25T01:34:39.087Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-25T01:34:39.087Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-25T01:34:39.087Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-25T01:34:39.087Z] Executing busybox-1.33.1-r7.trigger [2022-05-25T01:34:39.087Z] OK: 8 MiB in 20 packages [2022-05-25T01:34:39.087Z] Removing intermediate container c47f58443218 [2022-05-25T01:34:39.087Z] ---> 08c5950a8103 [2022-05-25T01:34:39.087Z] Step 14/23 : COPY --from=builder /device-snmp-go/cmd / [2022-05-25T01:34:39.361Z] ---> adb7bc943122 [2022-05-25T01:34:39.361Z] Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / [2022-05-25T01:34:39.966Z] ---> 64117332a27c [2022-05-25T01:34:39.966Z] Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / [2022-05-25T01:34:40.562Z] ---> 9cc392b8282a [2022-05-25T01:34:40.562Z] Step 17/23 : EXPOSE 59993 [2022-05-25T01:34:40.562Z] ---> Running in 3483bf2d4185 [2022-05-25T01:34:40.845Z] Removing intermediate container 3483bf2d4185 [2022-05-25T01:34:40.845Z] ---> 6020b8bcb54f [2022-05-25T01:34:40.845Z] Step 18/23 : EXPOSE 161 [2022-05-25T01:34:41.120Z] ---> Running in 187ad677e823 [2022-05-25T01:34:41.400Z] Removing intermediate container 187ad677e823 [2022-05-25T01:34:41.400Z] ---> 5ffa1a7e9701 [2022-05-25T01:34:41.400Z] Step 19/23 : ENTRYPOINT ["/device-snmp"] [2022-05-25T01:34:41.400Z] ---> Running in ef1d7100f67e [2022-05-25T01:34:41.686Z] Removing intermediate container ef1d7100f67e [2022-05-25T01:34:41.686Z] ---> 67030bef6d9d [2022-05-25T01:34:41.686Z] Step 20/23 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-05-25T01:34:41.964Z] ---> Running in 6168abbd786e [2022-05-25T01:34:42.236Z] Removing intermediate container 6168abbd786e [2022-05-25T01:34:42.236Z] ---> 2d36b1d39733 [2022-05-25T01:34:42.236Z] Step 21/23 : LABEL arch=arm64 [2022-05-25T01:34:42.236Z] ---> Running in c405b545f9c4 [2022-05-25T01:34:42.833Z] Removing intermediate container c405b545f9c4 [2022-05-25T01:34:42.833Z] ---> f101b6794f7c [2022-05-25T01:34:42.833Z] Step 22/23 : LABEL git_sha=6333a36f236844c13d051debdd8500920e8490e5 [2022-05-25T01:34:43.123Z] ---> Running in 8e7db15cbd61 [2022-05-25T01:34:43.398Z] Removing intermediate container 8e7db15cbd61 [2022-05-25T01:34:43.398Z] ---> 0b188dc201db [2022-05-25T01:34:43.398Z] Step 23/23 : LABEL version=0.0.0 [2022-05-25T01:34:43.398Z] ---> Running in 288943f418ba [2022-05-25T01:34:43.671Z] Removing intermediate container 288943f418ba [2022-05-25T01:34:43.671Z] ---> 08f82b1270dc [2022-05-25T01:34:43.671Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-25T01:34:43.943Z] Successfully built 08f82b1270dc [2022-05-25T01:34:43.943Z] 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-05-25T01:34:44.393Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-25T01:34:44.393Z] [2022-05-25T01:34:44.393Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-25T01:34:44.739Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-25T01:34:45.015Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-25T01:34:45.015Z] 8998bd30e6a1: Pulling fs layer [2022-05-25T01:34:45.015Z] 04944245beec: Pulling fs layer [2022-05-25T01:34:45.015Z] 699f458cf7ca: Pulling fs layer [2022-05-25T01:34:45.015Z] 765212b225bb: Pulling fs layer [2022-05-25T01:34:45.015Z] f23df028b6ca: Pulling fs layer [2022-05-25T01:34:45.015Z] d65c8cfc05b1: Pulling fs layer [2022-05-25T01:34:45.015Z] 2437ff75d9bd: Pulling fs layer [2022-05-25T01:34:45.015Z] 765212b225bb: Waiting [2022-05-25T01:34:45.015Z] d65c8cfc05b1: Waiting [2022-05-25T01:34:45.015Z] f23df028b6ca: Waiting [2022-05-25T01:34:45.015Z] 2437ff75d9bd: Waiting [2022-05-25T01:34:45.015Z] 04944245beec: Verifying Checksum [2022-05-25T01:34:45.015Z] 04944245beec: Download complete [2022-05-25T01:34:45.015Z] 765212b225bb: Verifying Checksum [2022-05-25T01:34:45.015Z] 765212b225bb: Download complete [2022-05-25T01:34:45.015Z] f23df028b6ca: Verifying Checksum [2022-05-25T01:34:45.015Z] f23df028b6ca: Download complete [2022-05-25T01:34:45.015Z] d65c8cfc05b1: Verifying Checksum [2022-05-25T01:34:45.015Z] d65c8cfc05b1: Download complete [2022-05-25T01:34:45.289Z] 699f458cf7ca: Verifying Checksum [2022-05-25T01:34:45.289Z] 699f458cf7ca: Download complete [2022-05-25T01:34:45.562Z] 8998bd30e6a1: Verifying Checksum [2022-05-25T01:34:45.562Z] 8998bd30e6a1: Download complete [2022-05-25T01:34:48.195Z] 2437ff75d9bd: Download complete [2022-05-25T01:34:50.177Z] 8998bd30e6a1: Pull complete [2022-05-25T01:34:50.449Z] 04944245beec: Pull complete [2022-05-25T01:34:51.892Z] 699f458cf7ca: Pull complete [2022-05-25T01:34:52.489Z] 765212b225bb: Pull complete [2022-05-25T01:34:53.089Z] f23df028b6ca: Pull complete [2022-05-25T01:34:53.374Z] d65c8cfc05b1: Pull complete [2022-05-25T01:35:08.480Z] 2437ff75d9bd: Pull complete [2022-05-25T01:35:08.480Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-25T01:35:08.480Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-25T01:35:08.480Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-25T01:35:08.747Z] prd-ubuntu20.04-docker-arm64-4c-16g-12 does not seem to be running inside a container [2022-05-25T01:35:08.842Z] $ 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/2 -v /w/workspace/device-snmp-go/2:/w/workspace/device-snmp-go/2:rw,z -v /w/workspace/device-snmp-go/2@tmp:/w/workspace/device-snmp-go/2@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-25T01:35:11.693Z] $ docker top b3b4f4dc61cc84532578005caf930a62f195b996de5dfb874171e622ee87b31d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-25T01:35:12.666Z] ---> job-cost.sh [2022-05-25T01:35:12.666Z] lf-activate-venv: SKIPPING [2022-05-25T01:35:12.666Z] INFO: No Stack... [2022-05-25T01:35:13.287Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-25T01:35:13.893Z] INFO: Archiving Costs [Pipeline] sh [2022-05-25T01:35:14.598Z] + cat /w/workspace/device-snmp-go/2/archives/cost.csv [2022-05-25T01:35:14.598Z] + cut -d, -f6 [Pipeline] lock [2022-05-25T01:35:14.658Z] Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-174-2-stack-cost] [2022-05-25T01:35:14.664Z] Resource [jenkins-edgexfoundry-device-snmp-go-PR-174-2-stack-cost] did not exist. Created. [2022-05-25T01:35:14.664Z] Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-174-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-25T01:35:15.343Z] /w/workspace/device-snmp-go/2@tmp/durable-9601d6ed/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-25T01:35:16.026Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-25T01:35:16.056Z] Warning: overwriting stash ‘stack-cost’ [2022-05-25T01:35:16.298Z] Stashed 1 file(s) [Pipeline] } [2022-05-25T01:35:16.305Z] Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-174-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-25T01:35:16.332Z] $ docker stop --time=1 b3b4f4dc61cc84532578005caf930a62f195b996de5dfb874171e622ee87b31d [2022-05-25T01:35:17.870Z] $ docker rm -f b3b4f4dc61cc84532578005caf930a62f195b996de5dfb874171e622ee87b31d [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-05-25T01:35:18.461Z] provisioning config files... [2022-05-25T01:35:18.470Z] copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-174@tmp/config1376337597029011629tmp [Pipeline] { [Pipeline] sh [2022-05-25T01:35:18.763Z] + set +x [2022-05-25T01:35:18.763Z] + curl -s https://codecov.io/bash [2022-05-25T01:35:18.763Z] + bash -s -- [2022-05-25T01:35:18.763Z] [2022-05-25T01:35:18.763Z] _____ _ [2022-05-25T01:35:18.763Z] / ____| | | [2022-05-25T01:35:18.763Z] | | ___ __| | ___ ___ _____ __ [2022-05-25T01:35:18.763Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-25T01:35:18.763Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-25T01:35:18.763Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-25T01:35:18.763Z] Bash-1.0.6 [2022-05-25T01:35:18.763Z] [2022-05-25T01:35:18.763Z] [2022-05-25T01:35:18.763Z] ==> git version 2.25.1 found [2022-05-25T01:35:18.763Z] ==> 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-05-25T01:35:18.763Z] Release-Date: 2020-01-08 [2022-05-25T01:35:18.763Z] 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-05-25T01:35:18.763Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-25T01:35:18.763Z] ==> Jenkins CI detected. [2022-05-25T01:35:18.763Z] current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-174 [2022-05-25T01:35:18.763Z] project root: . [2022-05-25T01:35:18.763Z] --> token set from env [2022-05-25T01:35:18.763Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-25T01:35:18.763Z] ==> Running gcov in . (disable via -X gcov) [2022-05-25T01:35:18.763Z] ==> Python coveragepy not found [2022-05-25T01:35:18.763Z] ==> Searching for coverage reports in: [2022-05-25T01:35:18.763Z] + . [2022-05-25T01:35:18.763Z] -> Found 1 reports [2022-05-25T01:35:18.763Z] ==> Detecting git/mercurial file structure [2022-05-25T01:35:18.763Z] ==> Reading reports [2022-05-25T01:35:18.763Z] + ./coverage.out bytes=7631 [2022-05-25T01:35:19.024Z] ==> Appending adjustments [2022-05-25T01:35:19.024Z] https://docs.codecov.io/docs/fixing-reports [2022-05-25T01:35:19.024Z] + Found adjustments [2022-05-25T01:35:19.024Z] ==> Gzipping contents [2022-05-25T01:35:19.024Z] 8.0K /tmp/codecov.tHiEGg.gz [2022-05-25T01:35:19.024Z] ==> Uploading reports [2022-05-25T01:35:19.024Z] url: https://codecov.io [2022-05-25T01:35:19.024Z] query: branch=PR-174&commit=6333a36f236844c13d051debdd8500920e8490e5&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-174%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=174&job=&cmd_args= [2022-05-25T01:35:19.024Z] -> Pinging Codecov [2022-05-25T01:35:19.024Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-174&commit=6333a36f236844c13d051debdd8500920e8490e5&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-174%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=174&job=&cmd_args= [2022-05-25T01:35:19.285Z] -> Uploading to [2022-05-25T01:35:19.285Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-25/6C56EA5C29638FB4528AC87E60AF5AE0/6333a36f236844c13d051debdd8500920e8490e5/9e55834a-31cb-4770-b794-d30441c05495.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220525%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220525T013519Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=63a69ef0380e5666956b2666551d4e0cfc0b951f66105ed4f53042e0a9bae8a9 [2022-05-25T01:35:19.285Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-25T01:35:19.285Z] Dload Upload Total Spent Left Speed [2022-05-25T01:35:19.544Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 7952 0 0 100 7952 0 31555 --:--:-- --:--:-- --:--:-- 31555 [2022-05-25T01:35:19.544Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/6333a36f236844c13d051debdd8500920e8490e5 [Pipeline] } [2022-05-25T01:35:19.552Z] 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-05-25T01:35:20.262Z] + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-174/archives ] [2022-05-25T01:35:20.262Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-174/archives [2022-05-25T01:35:20.262Z] total 16 [2022-05-25T01:35:20.262Z] drwxr-xr-x 3 root root 4096 May 25 01:28 . [2022-05-25T01:35:20.262Z] drwxrwxr-x 11 jenkins jenkins 4096 May 25 01:28 .. [2022-05-25T01:35:20.262Z] drwxr-xr-x 2 root root 4096 May 25 01:28 cost [2022-05-25T01:35:20.262Z] -rw-r--r-- 1 root root 85 May 25 01:28 cost.csv [2022-05-25T01:35:20.262Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-174/archives [2022-05-25T01:35:20.262Z] + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-174/archives [2022-05-25T01:35:20.262Z] total 16 [2022-05-25T01:35:20.262Z] drwxr-xr-x 3 jenkins jenkins 4096 May 25 01:28 . [2022-05-25T01:35:20.262Z] drwxrwxr-x 11 jenkins jenkins 4096 May 25 01:28 .. [2022-05-25T01:35:20.262Z] drwxr-xr-x 2 jenkins jenkins 4096 May 25 01:28 cost [2022-05-25T01:35:20.262Z] -rw-r--r-- 1 jenkins jenkins 85 May 25 01:28 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-25T01:35:20.556Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-25T01:35:21.420Z] ---> package-listing.sh [2022-05-25T01:35:21.420Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-25T01:35:21.420Z] ++ facter osfamily [2022-05-25T01:35:21.685Z] + OS_FAMILY=debian [2022-05-25T01:35:21.685Z] + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-174 [2022-05-25T01:35:21.685Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-25T01:35:21.685Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-25T01:35:21.685Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-25T01:35:21.685Z] + PACKAGES=/tmp/packages_start.txt [2022-05-25T01:35:21.685Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-174 ']' [2022-05-25T01:35:21.685Z] + PACKAGES=/tmp/packages_end.txt [2022-05-25T01:35:21.685Z] + case "${OS_FAMILY}" in [2022-05-25T01:35:21.685Z] + dpkg -l [2022-05-25T01:35:21.685Z] + grep '^ii' [2022-05-25T01:35:21.685Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-25T01:35:21.685Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-25T01:35:21.685Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-25T01:35:21.685Z] + '[' /w/workspace/gexfoundry_device-snmp-go_PR-174 ']' [2022-05-25T01:35:21.685Z] + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-174/archives/ [2022-05-25T01:35:21.685Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-174/archives/ [Pipeline] echo [2022-05-25T01:35:21.694Z] 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-174/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-25T01:35:21.972Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-05-25T01:35:22.537Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-25T01:35:22.537Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-05-25T01:35:22.625Z] prd-ubuntu20.04-docker-8c-8g-8 does not seem to be running inside a container [2022-05-25T01:35:22.663Z] $ 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-174/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-174 -v /w/workspace/gexfoundry_device-snmp-go_PR-174:/w/workspace/gexfoundry_device-snmp-go_PR-174:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-174@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-174@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-25T01:35:22.902Z] $ docker top 49a3533d27a208aff03e698bee9384bfbc2b2b777475c0ff37f8a11fd814207f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-25T01:35:23.254Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-25T01:35:23.554Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-25T01:35:23.843Z] + ls /var/log/sa-host [2022-05-25T01:35:23.843Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-25T01:35:24.422Z] provisioning config files... [2022-05-25T01:35:24.433Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-174@tmp/config5294921748163893550tmp [Pipeline] { [Pipeline] echo [2022-05-25T01:35:24.449Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-25T01:35:24.739Z] ---> create-netrc.sh [Pipeline] } [2022-05-25T01:35:24.746Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-25T01:35:25.099Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-25T01:35:25.107Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-25T01:35:25.394Z] ---> sudo-logs.sh [2022-05-25T01:35:25.394Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-25T01:35:25.418Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-25T01:35:25.708Z] ---> job-cost.sh [2022-05-25T01:35:25.708Z] lf-activate-venv: SKIPPING [2022-05-25T01:35:25.708Z] DEBUG: total: 0.2199999988079071 [2022-05-25T01:35:25.708Z] INFO: Retrieving Stack Cost... [2022-05-25T01:35:25.970Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-25T01:35:26.538Z] INFO: Archiving Costs [Pipeline] echo [2022-05-25T01:35:26.551Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-25T01:35:26.838Z] ---> logs-deploy.sh [2022-05-25T01:35:26.838Z] lf-activate-venv: SKIPPING [2022-05-25T01:35:26.838Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-174/2 [2022-05-25T01:35:26.838Z] INFO: archiving workspace using pattern(s): [2022-05-25T01:35:27.779Z] Archives upload complete. [2022-05-25T01:35:27.779Z] INFO: archiving logs to Nexus