Pull request #147 updated 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 jpwhitemn for edgexfoundry/device-snmp-go Obtained Jenkinsfile from a302b4bfc3d471904e25ec9a8ca14e6313248e95+f2700d797dde70a27600e51c0b144607fa1919f0 (dff99a9d180f4d355e57241babfb1c2e0f5a7581) 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-ssh10061869658417815580.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh6793394478705407972.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 c72b16708d6eed9a08be464a432ce22db7d90667 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-147/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-147/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh18339676216014918502.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-147/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh14904594674574160705.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4561909395732294640.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-147/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-147/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh15370965451234794233.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-10685 in /w/workspace/gexfoundry_device-snmp-go_PR-147 [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-147 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit f2700d797dde70a27600e51c0b144607fa1919f0 into PR head commit a302b4bfc3d471904e25ec9a8ca14e6313248e95 Merge succeeded, producing a302b4bfc3d471904e25ec9a8ca14e6313248e95 Checking out Revision a302b4bfc3d471904e25ec9a8ca14e6313248e95 (PR-147) > 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/147/head:refs/remotes/origin/PR-147 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a302b4bfc3d471904e25ec9a8ca14e6313248e95 # 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 f2700d797dde70a27600e51c0b144607fa1919f0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a302b4bfc3d471904e25ec9a8ca14e6313248e95 # timeout=10 Commit message: "Merge branch 'main' into enable-gosec-lint2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:28:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:28:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:28:56 ========================================================= 21:28:56 EdgeX Global Pipelines Version Info 21:28:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:28:57 ------------------- 21:28:57 stable info: 21:28:57 ------------------- 21:28:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:28:57 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 21:28:57 Message: update stable to v1.0.221 21:28:57 ------------------- 21:28:57 experimental info: 21:28:57 ------------------- 21:28:57 Commited By: **** collab-it+edgex@linuxfoundation.org 21:28:57 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 21:28:57 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:28:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 21:28:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 21:28:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:28:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:28:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:28:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 21:28:58 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:28:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:28:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:28:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:28:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:28:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 21:28:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:28:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:28:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:28:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:28:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:28:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:28:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:28:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:28:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:28:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:28:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:28:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:28:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:28:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:28:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-147 [Pipeline] echo 21:28:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-147 [Pipeline] echo 21:28:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-147 [Pipeline] echo 21:28:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a302b4bfc3d471904e25ec9a8ca14e6313248e95 [Pipeline] echo 21:28:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a302b4b [Pipeline] echo 21:28:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:28:59 provisioning config files... 21:28:59 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-147@tmp/config383648387987122520tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:28:59 ---> docker-login.sh 21:28:59 nexus3.edgexfoundry.org:10001 21:29:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:29:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:29:00 Configure a credential helper to remove this warning. See 21:29:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:29:00 21:29:00 Login Succeeded 21:29:00 nexus3.edgexfoundry.org:10002 21:29:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:29:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:29:00 Configure a credential helper to remove this warning. See 21:29:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:29:00 21:29:00 Login Succeeded 21:29:00 nexus3.edgexfoundry.org:10003 21:29:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:29:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:29:00 Configure a credential helper to remove this warning. See 21:29:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:29:00 21:29:00 Login Succeeded 21:29:00 nexus3.edgexfoundry.org:10004 21:29:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:29:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:29:00 Configure a credential helper to remove this warning. See 21:29:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:29:00 21:29:00 Login Succeeded 21:29:00 docker.io 21:29:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:29:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:29:01 Configure a credential helper to remove this warning. See 21:29:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:29:01 21:29:01 Login Succeeded 21:29:01 ---> docker-login.sh ends [Pipeline] } 21:29:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:29:01 + git rev-list -1 --merges a302b4bfc3d471904e25ec9a8ca14e6313248e95~1..a302b4bfc3d471904e25ec9a8ca14e6313248e95 [Pipeline] echo 21:29:01 -----------> git rev-list -1 --merges a302b4bfc3d471904e25ec9a8ca14e6313248e95~1..a302b4bfc3d471904e25ec9a8ca14e6313248e95 a302b4bfc3d471904e25ec9a8ca14e6313248e95 21:29:01 a302b4bfc3d471904e25ec9a8ca14e6313248e95 [false] [Pipeline] sh 21:29:02 + git log --format=format:%s -1 a302b4bfc3d471904e25ec9a8ca14e6313248e95 [Pipeline] echo 21:29:02 ========================================================= 21:29:02 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:29:02 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:29:02 + git log --format=format:%s -1 a302b4bfc3d471904e25ec9a8ca14e6313248e95 [Pipeline] echo 21:29:02 [semverPrep] GIT_COMMIT: a302b4bfc3d471904e25ec9a8ca14e6313248e95, Commit Message: Merge branch 'main' into enable-gosec-lint2 [Pipeline] echo 21:29:02 [semverPrep] This is not a build commit. [Pipeline] sh 21:29:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:29:03 + grep -v github /etc/ssh/ssh_known_hosts 21:29:03 + [ -e /tmp/ssh_known_hosts ] 21:29:03 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:29:03 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:29:03 + sudo tee -a /etc/ssh/ssh_known_hosts 21:29:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 21:29:03 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:29:03 21:29:03 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 21:29:03 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:29:03 latest: Pulling from edgex-devops/git-semver 21:29:03 a0d0a0d46f8b: Pulling fs layer 21:29:03 3e5f54012d9b: Pulling fs layer 21:29:03 4c7163046ea9: Pulling fs layer 21:29:03 0c2d73faf560: Pulling fs layer 21:29:03 0c2d73faf560: Waiting 21:29:03 3e5f54012d9b: Download complete 21:29:03 a0d0a0d46f8b: Verifying Checksum 21:29:03 a0d0a0d46f8b: Download complete 21:29:03 0c2d73faf560: Verifying Checksum 21:29:03 0c2d73faf560: Download complete 21:29:03 4c7163046ea9: Verifying Checksum 21:29:03 4c7163046ea9: Download complete 21:29:04 a0d0a0d46f8b: Pull complete 21:29:04 3e5f54012d9b: Pull complete 21:29:04 4c7163046ea9: Pull complete 21:29:04 0c2d73faf560: Pull complete 21:29:04 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 21:29:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:29:04 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 21:29:04 prd-ubuntu20.04-docker-8c-8g-10685 does not seem to be running inside a container 21:29:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-147 -v /w/workspace/gexfoundry_device-snmp-go_PR-147:/w/workspace/gexfoundry_device-snmp-go_PR-147:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-147@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-147@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 21:29:05 $ docker top 817ea890466393ccdf27ccc69a782bcc70bb5ee05bbbb039f9f38adc9af1a71d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:29:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:29:05 [ssh-agent] Looking for ssh-agent implementation... 21:29:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:29:05 $ docker exec 817ea890466393ccdf27ccc69a782bcc70bb5ee05bbbb039f9f38adc9af1a71d ssh-agent 21:29:05 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkLOeBh/agent.13 21:29:05 SSH_AGENT_PID=19 21:29:05 Running ssh-add (command line suppressed) 21:29:06 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-147@tmp/private_key_7078919767035512414.key (/w/workspace/gexfoundry_device-snmp-go_PR-147@tmp/private_key_7078919767035512414.key) 21:29:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:29:06 + git tag --points-at HEAD [Pipeline] } 21:29:06 $ docker exec --env ******** --env ******** 817ea890466393ccdf27ccc69a782bcc70bb5ee05bbbb039f9f38adc9af1a71d ssh-agent -k 21:29:06 unset SSH_AUTH_SOCK; 21:29:06 unset SSH_AGENT_PID; 21:29:06 echo Agent pid 19 killed; 21:29:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:29:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:29:06 [ssh-agent] Looking for ssh-agent implementation... 21:29:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:29:06 $ docker exec 817ea890466393ccdf27ccc69a782bcc70bb5ee05bbbb039f9f38adc9af1a71d ssh-agent 21:29:06 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXelEAFD/agent.52 21:29:06 SSH_AGENT_PID=58 21:29:06 Running ssh-add (command line suppressed) 21:29:06 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-147@tmp/private_key_356573504212197112.key (/w/workspace/gexfoundry_device-snmp-go_PR-147@tmp/private_key_356573504212197112.key) 21:29:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:29:07 + git semver init 21:29:07 # -> Open(): unable to determine branch for HEAD 21:29:07 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-147/.git 21:29:07 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-147 21:29:07 # $SEMVER_REMOTE_NAME = origin 21:29:07 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 21:29:07 # $SEMVER_USER_NAME = edgex-jenkins 21:29:07 # $SEMVER_BRANCH = PR-147 21:29:07 # $SEMVER_TEMP = /tmp/semver-806378729 21:29:07 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 21:29:08 # '/tmp/semver-806378729' -> '/w/workspace/gexfoundry_device-snmp-go_PR-147/.semver' 21:29:08 # -> Force: false 21:29:08 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-147/.semver [Pipeline] } 21:29:08 $ docker exec --env ******** --env ******** 817ea890466393ccdf27ccc69a782bcc70bb5ee05bbbb039f9f38adc9af1a71d ssh-agent -k 21:29:08 unset SSH_AUTH_SOCK; 21:29:08 unset SSH_AGENT_PID; 21:29:08 echo Agent pid 58 killed; 21:29:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:29:08 + git semver [Pipeline] } 21:29:08 $ docker stop --time=1 817ea890466393ccdf27ccc69a782bcc70bb5ee05bbbb039f9f38adc9af1a71d 21:29:10 $ docker rm -f 817ea890466393ccdf27ccc69a782bcc70bb5ee05bbbb039f9f38adc9af1a71d [Pipeline] // withDockerContainer [Pipeline] sh 21:29:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:29:11 Stashed 1 file(s) [Pipeline] echo 21:29:11 [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] { 21:29:11 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10689 in /w/workspace/gexfoundry_device-snmp-go_PR-147 [Pipeline] configFileProvider 21:29:11 provisioning config files... 21:29:11 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-147@tmp/config4785205955202838948tmp [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 21:29:11 Running in /w/workspace/device-snmp-go/1 [Pipeline] { [Pipeline] checkout 21:29:11 Selected Git installation does not exist. Using Default 21:29:11 The recommended git tool is: NONE 21:29:12 ---> docker-login.sh 21:29:12 nexus3.edgexfoundry.org:10001 21:29:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:29:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:29:12 Configure a credential helper to remove this warning. See 21:29:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:29:12 21:29:12 Login Succeeded 21:29:12 nexus3.edgexfoundry.org:10002 21:29:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:29:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:29:12 Configure a credential helper to remove this warning. See 21:29:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:29:12 21:29:12 Login Succeeded 21:29:12 nexus3.edgexfoundry.org:10003 21:29:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:29:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:29:12 Configure a credential helper to remove this warning. See 21:29:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:29:12 21:29:12 Login Succeeded 21:29:12 nexus3.edgexfoundry.org:10004 21:29:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:29:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:29:12 Configure a credential helper to remove this warning. See 21:29:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:29:12 21:29:12 Login Succeeded 21:29:12 docker.io 21:29:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:29:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:29:12 Configure a credential helper to remove this warning. See 21:29:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:29:12 21:29:12 Login Succeeded 21:29:12 ---> docker-login.sh ends [Pipeline] } 21:29:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:29:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:29:13 ========================================================= 21:29:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 21:29:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 21:29:13 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 21:29:13 Sending build context to Docker daemon 5.226MB 21:29:13 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 21:29:13 Step 2/12 : FROM ${BASE} AS builder 21:29:13 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 21:29:13 59bf1c3509f3: Pulling fs layer 21:29:13 666ba61612fd: Pulling fs layer 21:29:13 8ed8ca486205: Pulling fs layer 21:29:13 4fe6c5a15a65: Pulling fs layer 21:29:13 22a0e8bec74d: Pulling fs layer 21:29:13 640e595b4fbd: Pulling fs layer 21:29:13 763cafe07f6e: Pulling fs layer 21:29:13 0c0b528cf693: Pulling fs layer 21:29:13 10935f4eaf8b: Pulling fs layer 21:29:13 640e595b4fbd: Waiting 21:29:13 763cafe07f6e: Waiting 21:29:13 0c0b528cf693: Waiting 21:29:13 4fe6c5a15a65: Waiting 21:29:13 22a0e8bec74d: Waiting 21:29:13 10935f4eaf8b: Waiting 21:29:13 8ed8ca486205: Verifying Checksum 21:29:13 8ed8ca486205: Download complete 21:29:13 666ba61612fd: Download complete 21:29:13 22a0e8bec74d: Verifying Checksum 21:29:13 22a0e8bec74d: Download complete 21:29:13 640e595b4fbd: Verifying Checksum 21:29:13 640e595b4fbd: Download complete 21:29:13 763cafe07f6e: Verifying Checksum 21:29:13 763cafe07f6e: Download complete 21:29:13 59bf1c3509f3: Verifying Checksum 21:29:13 59bf1c3509f3: Download complete 21:29:13 0c0b528cf693: Verifying Checksum 21:29:13 0c0b528cf693: Download complete 21:29:13 59bf1c3509f3: Pull complete 21:29:14 666ba61612fd: Pull complete 21:29:14 8ed8ca486205: Pull complete 21:29:14 10935f4eaf8b: Verifying Checksum 21:29:14 10935f4eaf8b: Download complete 21:29:14 4fe6c5a15a65: Verifying Checksum 21:29:14 4fe6c5a15a65: Download complete 21:29:16 using credential edgex-jenkins-ssh 21:29:16 Cloning the remote Git repository 21:29:16 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 21:29:16 > git init /w/workspace/device-snmp-go/1 # timeout=10 21:29:16 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 21:29:16 > git --version # timeout=10 21:29:16 > git --version # 'git version 2.25.1' 21:29:16 using GIT_SSH to set credentials SSH Credentials for GitHub 21:29:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:29:17 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 21:29:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:29:17 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 21:29:17 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 21:29:17 using GIT_SSH to set credentials SSH Credentials for GitHub 21:29:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/147/head:refs/remotes/origin/PR-147 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:29:18 Merging remotes/origin/main commit f2700d797dde70a27600e51c0b144607fa1919f0 into PR head commit a302b4bfc3d471904e25ec9a8ca14e6313248e95 21:29:18 Merge succeeded, producing a302b4bfc3d471904e25ec9a8ca14e6313248e95 21:29:18 Checking out Revision a302b4bfc3d471904e25ec9a8ca14e6313248e95 (PR-147) 21:29:18 4fe6c5a15a65: Pull complete 21:29:18 22a0e8bec74d: Pull complete 21:29:18 640e595b4fbd: Pull complete 21:29:18 763cafe07f6e: Pull complete 21:29:18 0c0b528cf693: Pull complete 21:29:18 > git config core.sparsecheckout # timeout=10 21:29:18 > git checkout -f a302b4bfc3d471904e25ec9a8ca14e6313248e95 # timeout=10 21:29:18 > git remote # timeout=10 21:29:18 > git config --get remote.origin.url # timeout=10 21:29:18 using GIT_SSH to set credentials SSH Credentials for GitHub 21:29:18 > git merge f2700d797dde70a27600e51c0b144607fa1919f0 # timeout=10 21:29:18 > git rev-parse HEAD^{commit} # timeout=10 21:29:18 > git config core.sparsecheckout # timeout=10 21:29:18 > git checkout -f a302b4bfc3d471904e25ec9a8ca14e6313248e95 # timeout=10 21:29:20 10935f4eaf8b: Pull complete 21:29:20 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 21:29:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 21:29:20 ---> 99d49a6021b9 21:29:20 Step 3/12 : ARG MAKE='make build' 21:29:21 ---> Running in 034963f87da4 21:29:21 Removing intermediate container 034963f87da4 21:29:21 ---> b6e030ad9655 21:29:21 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:29:21 ---> Running in 7f8a8b64417e 21:29:21 Removing intermediate container 7f8a8b64417e 21:29:21 ---> af25e72e4bbe 21:29:21 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 21:29:21 ---> Running in 07c9e75d7f4d 21:29:21 Removing intermediate container 07c9e75d7f4d 21:29:21 ---> dc107a6f974d 21:29:21 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:29:21 ---> Running in 7266a428e9fe 21:29:22 Removing intermediate container 7266a428e9fe 21:29:22 ---> ee9a18e311a9 21:29:22 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:29:22 ---> Running in fc7f9031c1ff 21:29:22 Commit message: "Merge branch 'main' into enable-gosec-lint2" 21:29:22 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 21:29:22 > git --version # timeout=10 21:29:22 > git --version # 'git version 2.25.1' 21:29:22 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:29:23 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 21:29:23 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:29:23 % Total % Received % Xferd Average Speed Time Time Time Current 21:29:23 Dload Upload Total Spent Left Speed 21:29:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 48536 0 --:--:-- --:--:-- --:--:-- 48536 21:29:23 (1/4) Installing openssh-keygen (8.8_p1-r1) 21:29:23 (2/4) Installing libedit (20210910.3.1-r0) 21:29:23 (3/4) Installing openssh-client-common (8.8_p1-r1) [Pipeline] sh 21:29:24 (4/4) Installing openssh-client-default (8.8_p1-r1) 21:29:24 Executing busybox-1.34.1-r3.trigger 21:29:24 OK: 224 MiB in 56 packages 21:29:24 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:29:24 + sudo tee /etc/docker/daemon.new 21:29:24 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:29:24 { 21:29:24 "registry-mirrors": [ 21:29:24 "https://nexus3.edgexfoundry.org:10001" 21:29:24 ], 21:29:24 "bip": "10.250.0.254/24", 21:29:24 "hosts": [ 21:29:24 "tcp://0.0.0.0:5555", 21:29:24 "unix:///var/run/docker.sock" 21:29:24 ], 21:29:24 "mtu": 1458, 21:29:24 "selinux-enabled": true, 21:29:24 "seccomp-profile": "/etc/docker/seccomp.json" 21:29:24 } [Pipeline] sh 21:29:24 Removing intermediate container fc7f9031c1ff 21:29:24 ---> 3840f7f34588 21:29:24 Step 8/12 : WORKDIR /device-snmp-go 21:29:24 ---> Running in 958be900fe0b 21:29:24 Removing intermediate container 958be900fe0b 21:29:24 ---> 08b1974e5868 21:29:24 Step 9/12 : COPY go.mod vendor* ./ 21:29:25 ---> 3cdca3497b07 21:29:25 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:29:25 ---> Running in f8e2532f68b0 21:29:25 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:29:25 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:29:43 provisioning config files... 21:29:43 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/1@tmp/config5002298550506149161tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:29:44 ---> docker-login.sh 21:29:44 nexus3.edgexfoundry.org:10001 21:29:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:29:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:29:45 Configure a credential helper to remove this warning. See 21:29:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:29:45 21:29:45 Login Succeeded 21:29:45 nexus3.edgexfoundry.org:10002 21:29:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:29:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:29:45 Configure a credential helper to remove this warning. See 21:29:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:29:45 21:29:45 Login Succeeded 21:29:45 nexus3.edgexfoundry.org:10003 21:29:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:29:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:29:46 Configure a credential helper to remove this warning. See 21:29:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:29:46 21:29:46 Login Succeeded 21:29:46 nexus3.edgexfoundry.org:10004 21:29:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:29:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:29:46 Configure a credential helper to remove this warning. See 21:29:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:29:46 21:29:46 Login Succeeded 21:29:46 docker.io 21:29:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:29:46 Removing intermediate container f8e2532f68b0 21:29:46 ---> b0c576fb08ee 21:29:46 Step 11/12 : COPY . . 21:29:46 ---> 43c5a4ba2db0 21:29:46 Step 12/12 : RUN ${MAKE} 21:29:46 ---> Running in 2a7616088e7c 21:29:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:29:47 Configure a credential helper to remove this warning. See 21:29:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:29:47 21:29:47 Login Succeeded 21:29:47 ---> docker-login.sh ends [Pipeline] } 21:29:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:29:47 noop [Pipeline] // withEnv [Pipeline] unstash 21:29:47 Removing intermediate container 2a7616088e7c 21:29:47 ---> 11fcb708a703 21:29:47 Successfully built 11fcb708a703 21:29:47 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [Pipeline] echo 21:29:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:29:47 ========================================================= 21:29:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 21:29:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 21:29:47 + docker inspect -f . ci-base-image-x86_64 21:29:47 . [Pipeline] withDockerContainer 21:29:48 prd-ubuntu20.04-docker-8c-8g-10685 does not seem to be running inside a container 21:29:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-147 -v /w/workspace/gexfoundry_device-snmp-go_PR-147:/w/workspace/gexfoundry_device-snmp-go_PR-147:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-147@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-147@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:29:48 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 21:29:48 $ docker top c8ab84fd7e5b0d2705dc3856920c6bf96f8fde0dbe1134476237241df4ed8c87 -eo pid,comm 21:29:48 Sending build context to Docker daemon 2.734MB 21:29:48 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 21:29:48 Step 2/12 : FROM ${BASE} AS builder [Pipeline] { [Pipeline] sh 21:29:48 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:29:48 9b3977197b4f: Pulling fs layer 21:29:48 1a89e8eeedd5: Pulling fs layer 21:29:48 94645a83ff95: Pulling fs layer 21:29:48 3f3a8bcf1eab: Pulling fs layer 21:29:48 0c92f367c5e7: Pulling fs layer 21:29:48 f7c0051592d6: Pulling fs layer 21:29:48 a227ed2f7395: Pulling fs layer 21:29:48 7b1c46037f91: Pulling fs layer 21:29:48 f7c0051592d6: Waiting 21:29:48 a227ed2f7395: Waiting 21:29:48 7b1c46037f91: Waiting 21:29:48 3f3a8bcf1eab: Waiting 21:29:48 0c92f367c5e7: Waiting 21:29:48 94645a83ff95: Verifying Checksum 21:29:48 94645a83ff95: Download complete 21:29:48 1a89e8eeedd5: Verifying Checksum 21:29:48 1a89e8eeedd5: Download complete 21:29:48 0c92f367c5e7: Verifying Checksum 21:29:48 0c92f367c5e7: Download complete 21:29:48 f7c0051592d6: Verifying Checksum 21:29:48 f7c0051592d6: Download complete 21:29:48 9b3977197b4f: Download complete 21:29:48 a227ed2f7395: Verifying Checksum 21:29:48 a227ed2f7395: Download complete 21:29:48 + go version 21:29:48 go version go1.17.6 linux/amd64 [Pipeline] } 21:29:48 $ docker stop --time=1 c8ab84fd7e5b0d2705dc3856920c6bf96f8fde0dbe1134476237241df4ed8c87 21:29:49 9b3977197b4f: Pull complete 21:29:49 1a89e8eeedd5: Pull complete 21:29:50 $ docker rm -f c8ab84fd7e5b0d2705dc3856920c6bf96f8fde0dbe1134476237241df4ed8c87 21:29:50 94645a83ff95: Pull complete [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:29:50 7b1c46037f91: Verifying Checksum 21:29:50 7b1c46037f91: Download complete 21:29:50 + docker inspect -f . ci-base-image-x86_64 21:29:50 . [Pipeline] withDockerContainer 21:29:51 prd-ubuntu20.04-docker-8c-8g-10685 does not seem to be running inside a container 21:29:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-147 -v /w/workspace/gexfoundry_device-snmp-go_PR-147:/w/workspace/gexfoundry_device-snmp-go_PR-147:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-147@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-147@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:29:51 $ docker top d497d38053e108e8751d523230957b642e123b0b7f0cd5eb20fc4caa7a44b500 -eo pid,comm 21:29:51 3f3a8bcf1eab: Verifying Checksum 21:29:51 3f3a8bcf1eab: Download complete [Pipeline] { [Pipeline] fileExists [Pipeline] sh 21:29:51 + make test 21:29:51 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 21:29:52 ? github.com/edgexfoundry/device-snmp-go [no test files] 21:29:58 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 21:29:58 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.011s coverage: 0.0% of statements 21:30:02 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:30:03 3f3a8bcf1eab: Pull complete 21:30:03 0c92f367c5e7: Pull complete 21:30:03 f7c0051592d6: Pull complete 21:30:04 a227ed2f7395: Pull complete 21:30:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:30:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:30:05 ./bin/test-attribution-txt.sh [Pipeline] echo 21:30:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:30:05 $ docker stop --time=1 d497d38053e108e8751d523230957b642e123b0b7f0cd5eb20fc4caa7a44b500 21:30:07 $ docker rm -f d497d38053e108e8751d523230957b642e123b0b7f0cd5eb20fc4caa7a44b500 [Pipeline] // withDockerContainer [Pipeline] sh 21:30:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:30:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:30:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:30:09 + ls -al . 21:30:09 total 180 21:30:09 drwxrwxr-x 9 jenkins jenkins 4096 Apr 4 21:30 . 21:30:09 drwxrwxr-x 4 jenkins jenkins 4096 Apr 4 21:28 .. 21:30:09 -rw-rw-r-- 1 jenkins jenkins 6 Apr 4 21:28 .dockerignore 21:30:09 drwxrwxr-x 8 jenkins jenkins 4096 Apr 4 21:28 .git 21:30:09 drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 21:28 .github 21:30:09 -rw-rw-r-- 1 jenkins jenkins 262 Apr 4 21:28 .gitignore 21:30:09 -rw-rw-r-- 1 jenkins jenkins 41 Apr 4 21:28 .golangci.yml 21:30:09 drwx------ 3 jenkins jenkins 4096 Apr 4 21:29 .semver 21:30:09 -rw-rw-r-- 1 jenkins jenkins 6926 Apr 4 21:28 Attribution.txt 21:30:09 -rw-rw-r-- 1 jenkins jenkins 4401 Apr 4 21:28 CHANGELOG.md 21:30:09 -rw-rw-r-- 1 jenkins jenkins 1516 Apr 4 21:28 Dockerfile 21:30:09 -rw-rw-r-- 1 jenkins jenkins 677 Apr 4 21:28 GOVERNANCE.md 21:30:09 -rw-rw-r-- 1 jenkins jenkins 656 Apr 4 21:28 Jenkinsfile 21:30:09 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 4 21:28 LICENSE 21:30:09 -rw-rw-r-- 1 jenkins jenkins 1551 Apr 4 21:28 Makefile 21:30:09 -rw-rw-r-- 1 jenkins jenkins 620 Apr 4 21:28 OWNERS.md 21:30:09 -rw-rw-r-- 1 jenkins jenkins 9074 Apr 4 21:28 README.md 21:30:09 -rw-rw-r-- 1 jenkins jenkins 5 Apr 4 21:29 VERSION 21:30:09 drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 21:28 bin 21:30:09 drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 21:28 cmd 21:30:09 -rw-r--r-- 1 jenkins jenkins 7631 Apr 4 21:29 coverage.out 21:30:09 -rw-rw-r-- 1 jenkins jenkins 2820 Apr 4 21:28 go.mod 21:30:09 -rw-rw-r-- 1 jenkins jenkins 49501 Apr 4 21:28 go.sum 21:30:09 drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 21:28 internal 21:30:09 drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 21:28 snap 21:30:09 -rw-rw-r-- 1 jenkins jenkins 209 Apr 4 21:28 version.go [Pipeline] isUnix [Pipeline] sh 21:30:09 + 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=a302b4bfc3d471904e25ec9a8ca14e6313248e95 --label arch=amd64 --label version=0.0.0 . 21:30:09 Sending build context to Docker daemon 5.235MB 21:30:09 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 21:30:09 Step 2/24 : FROM ${BASE} AS builder 21:30:09 ---> 11fcb708a703 21:30:09 Step 3/24 : ARG MAKE='make build' 21:30:09 ---> Running in 5742b69708bf 21:30:10 Removing intermediate container 5742b69708bf 21:30:10 ---> e0e63059de82 21:30:10 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:30:10 ---> Running in 959cbf9d515e 21:30:10 Removing intermediate container 959cbf9d515e 21:30:10 ---> bd823a07f947 21:30:10 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 21:30:10 ---> Running in c677a0bbac00 21:30:10 Removing intermediate container c677a0bbac00 21:30:10 ---> 25b805b10a1d 21:30:10 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:30:10 ---> Running in 6320c3658fdd 21:30:10 7b1c46037f91: Pull complete 21:30:10 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 21:30:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 21:30:10 ---> f79e39bc4007 21:30:10 Step 3/12 : ARG MAKE='make build' 21:30:11 Removing intermediate container 6320c3658fdd 21:30:11 ---> 165684ecb4ad 21:30:11 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:30:11 ---> Running in 978a0babb0a3 21:30:11 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 21:30:11 ---> Running in 357a235dbe26 21:30:11 Removing intermediate container 357a235dbe26 21:30:11 ---> 405e7b6fa394 21:30:11 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:30:12 ---> Running in 4b2f6d3497e3 21:30:12 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 21:30:12 OK: 224 MiB in 56 packages 21:30:12 Removing intermediate container 4b2f6d3497e3 21:30:12 ---> 1f1dabd593dc 21:30:12 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 21:30:12 ---> Running in e226ccfb267f 21:30:12 Removing intermediate container e226ccfb267f 21:30:12 ---> 9d2ac21316c9 21:30:12 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:30:12 ---> Running in aaddbeba8d27 21:30:12 Removing intermediate container 978a0babb0a3 21:30:12 ---> 19127765d9b2 21:30:12 Step 8/24 : WORKDIR /device-snmp-go 21:30:12 ---> Running in 6116133154b5 21:30:12 Removing intermediate container 6116133154b5 21:30:12 ---> ce93c23dcb93 21:30:12 Step 9/24 : COPY go.mod vendor* ./ 21:30:13 ---> e1197853a18a 21:30:13 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:30:13 ---> Running in 7da6858a896e 21:30:13 Removing intermediate container 7da6858a896e 21:30:13 ---> 2b4f7cc4cba6 21:30:13 Step 11/24 : COPY . . 21:30:13 ---> 9a8a4406fd04 21:30:13 Step 12/24 : RUN ${MAKE} 21:30:13 ---> Running in 7e0299044d3f 21:30:14 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp ./cmd 21:30:14 Removing intermediate container aaddbeba8d27 21:30:14 ---> 1a1b7e3c8ef7 21:30:14 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:30:14 ---> Running in c3c9f90c86ca 21:30:15 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 21:30:16 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 21:30:17 (1/4) Installing openssh-keygen (8.8_p1-r1) 21:30:17 (2/4) Installing libedit (20210910.3.1-r0) 21:30:17 (3/4) Installing openssh-client-common (8.8_p1-r1) 21:30:17 (4/4) Installing openssh-client-default (8.8_p1-r1) 21:30:17 Executing busybox-1.34.1-r3.trigger 21:30:17 OK: 224 MiB in 56 packages 21:30:18 Removing intermediate container c3c9f90c86ca 21:30:18 ---> fc144101ca18 21:30:18 Step 8/12 : WORKDIR /device-snmp-go 21:30:18 ---> Running in 59d6f8912bb9 21:30:19 Removing intermediate container 59d6f8912bb9 21:30:19 ---> 9332ffd2e490 21:30:19 Step 9/12 : COPY go.mod vendor* ./ 21:30:19 ---> 91a3b31a7f4c 21:30:19 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:30:19 ---> Running in f54a31813ee8 21:30:22 Removing intermediate container 7e0299044d3f 21:30:22 ---> 42f97545e902 21:30:22 Step 13/24 : FROM alpine:3.14 21:30:22 3.14: Pulling from library/alpine 21:30:22 cfab2db72209: Pulling fs layer 21:30:22 cfab2db72209: Verifying Checksum 21:30:22 cfab2db72209: Download complete 21:30:22 cfab2db72209: Pull complete 21:30:22 Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da 21:30:22 Status: Downloaded newer image for alpine:3.14 21:30:22 ---> 84b07dd2d1fd 21:30:22 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 21:30:22 ---> Running in c1cfd57c38f1 21:30:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 21:30:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 21:30:22 (1/6) Installing dumb-init (1.2.5-r1) 21:30:22 (2/6) Installing libgcc (10.3.1_git20210424-r2) 21:30:22 (3/6) Installing libsodium (1.0.18-r0) 21:30:22 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 21:30:22 (5/6) Installing libzmq (4.3.4-r0) 21:30:22 (6/6) Installing zeromq (4.3.4-r0) 21:30:22 Executing busybox-1.33.1-r6.trigger 21:30:22 OK: 8 MiB in 20 packages 21:30:23 Removing intermediate container c1cfd57c38f1 21:30:23 ---> c60381a1f4e3 21:30:23 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 21:30:23 ---> c7a065d2843f 21:30:23 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 21:30:23 ---> 350fad1fa675 21:30:23 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 21:30:23 ---> d655dc2ca730 21:30:23 Step 18/24 : EXPOSE 59993 21:30:23 ---> Running in c67d7d478124 21:30:23 Removing intermediate container c67d7d478124 21:30:23 ---> a010a2c10256 21:30:23 Step 19/24 : EXPOSE 161 21:30:23 ---> Running in 81928a216705 21:30:24 Removing intermediate container 81928a216705 21:30:24 ---> 2749656fcc59 21:30:24 Step 20/24 : ENTRYPOINT ["/device-snmp"] 21:30:24 ---> Running in 6837287a27c7 21:30:24 Removing intermediate container 6837287a27c7 21:30:24 ---> e23fb64ae6ff 21:30:24 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 21:30:24 ---> Running in daaaa3120d8e 21:30:24 Removing intermediate container daaaa3120d8e 21:30:24 ---> 21557b813255 21:30:24 Step 22/24 : LABEL arch=amd64 21:30:24 ---> Running in f2ed48e22088 21:30:24 Removing intermediate container f2ed48e22088 21:30:24 ---> 3c2383a50a74 21:30:24 Step 23/24 : LABEL git_sha=a302b4bfc3d471904e25ec9a8ca14e6313248e95 21:30:24 ---> Running in 3aa882531df7 21:30:24 Removing intermediate container 3aa882531df7 21:30:24 ---> d2215e3f8a69 21:30:24 Step 24/24 : LABEL version=0.0.0 21:30:24 ---> Running in 9ab76d0d528f 21:30:24 Removing intermediate container 9ab76d0d528f 21:30:24 ---> 64767f9b7765 21:30:24 [Warning] One or more build-args [ARCH] were not consumed 21:30:24 Successfully built 64767f9b7765 21:30:24 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:30:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:30:25 21:30:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 21:30:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:30:25 latest: Pulling from edgex-lftools-log-publisher 21:30:25 5eb5b503b376: Pulling fs layer 21:30:25 5c69ac0246d0: Pulling fs layer 21:30:25 ec43610c2a17: Pulling fs layer 21:30:25 3a2ae6a8a46f: Pulling fs layer 21:30:25 33b1e0a273af: Pulling fs layer 21:30:25 5d3b04190fa2: Pulling fs layer 21:30:25 2f39f015ded8: Pulling fs layer 21:30:25 33b1e0a273af: Waiting 21:30:25 5d3b04190fa2: Waiting 21:30:25 2f39f015ded8: Waiting 21:30:25 3a2ae6a8a46f: Waiting 21:30:25 5c69ac0246d0: Download complete 21:30:25 3a2ae6a8a46f: Verifying Checksum 21:30:25 33b1e0a273af: Verifying Checksum 21:30:25 33b1e0a273af: Download complete 21:30:25 ec43610c2a17: Verifying Checksum 21:30:25 ec43610c2a17: Download complete 21:30:25 5d3b04190fa2: Verifying Checksum 21:30:25 5d3b04190fa2: Download complete 21:30:25 5eb5b503b376: Download complete 21:30:26 2f39f015ded8: Download complete 21:30:27 5eb5b503b376: Pull complete 21:30:27 5c69ac0246d0: Pull complete 21:30:27 ec43610c2a17: Pull complete 21:30:27 3a2ae6a8a46f: Pull complete 21:30:27 33b1e0a273af: Pull complete 21:30:27 5d3b04190fa2: Pull complete 21:30:32 2f39f015ded8: Pull complete 21:30:32 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:30:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:30:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 21:30:32 prd-ubuntu20.04-docker-8c-8g-10685 does not seem to be running inside a container 21:30:32 $ 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-147 -v /w/workspace/gexfoundry_device-snmp-go_PR-147:/w/workspace/gexfoundry_device-snmp-go_PR-147:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-147@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-147@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:30:33 $ docker top 466bc42be876c1bb564dd450011caace40b21cdbd71a364d8555f15ae243a118 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:30:34 ---> job-cost.sh 21:30:34 lf-activate-venv: SKIPPING 21:30:34 INFO: No Stack... 21:30:34 INFO: Retrieving Pricing Info for: v3-standard-8 21:30:35 INFO: Archiving Costs [Pipeline] sh 21:30:35 + cat /w/workspace/gexfoundry_device-snmp-go_PR-147/archives/cost.csv 21:30:35 + cut -d, -f6 [Pipeline] lock 21:30:35 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-147-1-stack-cost] 21:30:35 Resource [jenkins-edgexfoundry-device-snmp-go-PR-147-1-stack-cost] did not exist. Created. 21:30:35 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-147-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:30:35 + echo total: 0.4399999976158142 [Pipeline] stash 21:30:35 Stashed 1 file(s) [Pipeline] } 21:30:35 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-147-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:30:36 $ docker stop --time=1 466bc42be876c1bb564dd450011caace40b21cdbd71a364d8555f15ae243a118 21:30:37 $ docker rm -f 466bc42be876c1bb564dd450011caace40b21cdbd71a364d8555f15ae243a118 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:31:41 Removing intermediate container f54a31813ee8 21:31:41 ---> d4f7b4a96728 21:31:41 Step 11/12 : COPY . . 21:31:41 ---> 1de4abaec2d5 21:31:41 Step 12/12 : RUN ${MAKE} 21:31:41 ---> Running in 386bade8c420 21:31:41 noop 21:31:41 Removing intermediate container 386bade8c420 21:31:41 ---> 6f62b6129c13 21:31:41 Successfully built 6f62b6129c13 21:31:41 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 21:31:41 + docker inspect -f . ci-base-image-arm64 21:31:41 . [Pipeline] withDockerContainer 21:31:42 prd-ubuntu20.04-docker-arm64-4c-16g-10689 does not seem to be running inside a container 21:31:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:31:43 $ docker top 7eadfd81c4d748e2d141c962d4a9789742ead05643ba8007c206041b85f974ff -eo pid,comm [Pipeline] { [Pipeline] sh 21:31:44 + go version 21:31:44 go version go1.17.6 linux/arm64 [Pipeline] } 21:31:44 $ docker stop --time=1 7eadfd81c4d748e2d141c962d4a9789742ead05643ba8007c206041b85f974ff 21:31:46 $ docker rm -f 7eadfd81c4d748e2d141c962d4a9789742ead05643ba8007c206041b85f974ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:31:46 + docker inspect -f . ci-base-image-arm64 21:31:46 . [Pipeline] withDockerContainer 21:31:47 prd-ubuntu20.04-docker-arm64-4c-16g-10689 does not seem to be running inside a container 21:31:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:31:48 $ docker top 2f32553761bc2bafa30abb8e76dbe05239d760689527fec486af6cadd9b05d48 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 21:31:49 + make test 21:31:49 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 21:31:51 ? github.com/edgexfoundry/device-snmp-go [no test files] 21:32:38 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 21:32:38 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.041s coverage: 0.0% of statements 21:32:38 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:32:38 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:32:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:32:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:32:53 ./bin/test-attribution-txt.sh [Pipeline] echo 21:32:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:32:54 $ docker stop --time=1 2f32553761bc2bafa30abb8e76dbe05239d760689527fec486af6cadd9b05d48 21:32:56 $ docker rm -f 2f32553761bc2bafa30abb8e76dbe05239d760689527fec486af6cadd9b05d48 [Pipeline] // withDockerContainer [Pipeline] sh 21:32:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:32:57 Warning: overwriting stash ‘coverage-report’ 21:32:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:32:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:32:58 + ls -al . 21:32:58 total 176 21:32:58 drwxrwxr-x 8 jenkins jenkins 4096 Apr 4 21:32 . 21:32:58 drwxrwxr-x 4 jenkins jenkins 4096 Apr 4 21:29 .. 21:32:58 -rw-rw-r-- 1 jenkins jenkins 6 Apr 4 21:29 .dockerignore 21:32:58 drwxrwxr-x 8 jenkins jenkins 4096 Apr 4 21:29 .git 21:32:58 drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 21:29 .github 21:32:58 -rw-rw-r-- 1 jenkins jenkins 262 Apr 4 21:29 .gitignore 21:32:58 -rw-rw-r-- 1 jenkins jenkins 41 Apr 4 21:29 .golangci.yml 21:32:58 -rw-rw-r-- 1 jenkins jenkins 6926 Apr 4 21:29 Attribution.txt 21:32:58 -rw-rw-r-- 1 jenkins jenkins 4401 Apr 4 21:29 CHANGELOG.md 21:32:58 -rw-rw-r-- 1 jenkins jenkins 1516 Apr 4 21:29 Dockerfile 21:32:58 -rw-rw-r-- 1 jenkins jenkins 677 Apr 4 21:29 GOVERNANCE.md 21:32:58 -rw-rw-r-- 1 jenkins jenkins 656 Apr 4 21:29 Jenkinsfile 21:32:58 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 4 21:29 LICENSE 21:32:58 -rw-rw-r-- 1 jenkins jenkins 1551 Apr 4 21:29 Makefile 21:32:58 -rw-rw-r-- 1 jenkins jenkins 620 Apr 4 21:29 OWNERS.md 21:32:58 -rw-rw-r-- 1 jenkins jenkins 9074 Apr 4 21:29 README.md 21:32:58 -rw-rw-r-- 1 jenkins jenkins 5 Apr 4 21:29 VERSION 21:32:58 drwxrwxr-x 2 jenkins jenkins 4096 Apr 4 21:29 bin 21:32:58 drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 21:29 cmd 21:32:58 -rw-r--r-- 1 jenkins jenkins 7631 Apr 4 21:32 coverage.out 21:32:58 -rw-rw-r-- 1 jenkins jenkins 2820 Apr 4 21:29 go.mod 21:32:58 -rw-rw-r-- 1 jenkins jenkins 49501 Apr 4 21:29 go.sum 21:32:58 drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 21:29 internal 21:32:58 drwxrwxr-x 3 jenkins jenkins 4096 Apr 4 21:29 snap 21:32:58 -rw-rw-r-- 1 jenkins jenkins 209 Apr 4 21:29 version.go [Pipeline] isUnix [Pipeline] sh 21:32:59 + 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=a302b4bfc3d471904e25ec9a8ca14e6313248e95 --label arch=arm64 --label version=0.0.0 . 21:32:59 Sending build context to Docker daemon 2.742MB 21:32:59 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 21:32:59 Step 2/24 : FROM ${BASE} AS builder 21:32:59 ---> 6f62b6129c13 21:32:59 Step 3/24 : ARG MAKE='make build' 21:32:59 ---> Running in e9a944d988a7 21:33:00 Removing intermediate container e9a944d988a7 21:33:00 ---> 23fc62aebbdc 21:33:00 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:33:00 ---> Running in 0b48b01916a3 21:33:00 Removing intermediate container 0b48b01916a3 21:33:00 ---> 8f5960e6af61 21:33:00 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 21:33:00 ---> Running in a7cc84efc4e4 21:33:00 Removing intermediate container a7cc84efc4e4 21:33:00 ---> 7f3fdd22ce77 21:33:00 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:33:00 ---> Running in a0052a6967f6 21:33:02 Removing intermediate container a0052a6967f6 21:33:02 ---> 116e99fd2e39 21:33:02 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:33:02 ---> Running in 5dc34ae71223 21:33:03 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 21:33:04 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 21:33:05 OK: 224 MiB in 56 packages 21:33:06 Removing intermediate container 5dc34ae71223 21:33:06 ---> 6caff93a0ac2 21:33:06 Step 8/24 : WORKDIR /device-snmp-go 21:33:06 ---> Running in b86c8c8af92d 21:33:06 Removing intermediate container b86c8c8af92d 21:33:06 ---> 8bf29187570e 21:33:06 Step 9/24 : COPY go.mod vendor* ./ 21:33:07 ---> a4eb4229d264 21:33:07 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:33:07 ---> Running in 8d15a004795a 21:33:09 Removing intermediate container 8d15a004795a 21:33:09 ---> d90689c8f372 21:33:09 Step 11/24 : COPY . . 21:33:10 ---> b6d2346e9034 21:33:10 Step 12/24 : RUN ${MAKE} 21:33:10 ---> Running in 3b86efee7fc2 21:33:11 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -o cmd/device-snmp ./cmd 21:33:50 Removing intermediate container 3b86efee7fc2 21:33:50 ---> ea3749dd71b2 21:33:50 Step 13/24 : FROM alpine:3.14 21:33:51 3.14: Pulling from library/alpine 21:33:51 810d54c7e01b: Pulling fs layer 21:33:51 810d54c7e01b: Verifying Checksum 21:33:51 810d54c7e01b: Download complete 21:33:52 810d54c7e01b: Pull complete 21:33:52 Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da 21:33:52 Status: Downloaded newer image for alpine:3.14 21:33:52 ---> cc3d11fa2d52 21:33:52 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 21:33:52 ---> Running in b3f6c1512b3c 21:33:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 21:33:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 21:33:53 (1/6) Installing dumb-init (1.2.5-r1) 21:33:53 (2/6) Installing libgcc (10.3.1_git20210424-r2) 21:33:53 (3/6) Installing libsodium (1.0.18-r0) 21:33:53 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 21:33:54 (5/6) Installing libzmq (4.3.4-r0) 21:33:54 (6/6) Installing zeromq (4.3.4-r0) 21:33:54 Executing busybox-1.33.1-r6.trigger 21:33:54 OK: 8 MiB in 20 packages 21:33:54 Removing intermediate container b3f6c1512b3c 21:33:54 ---> 7e7c98713a26 21:33:54 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 21:33:55 ---> 2fda38074c32 21:33:55 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 21:33:56 ---> 9eb9e629a1c9 21:33:56 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 21:33:57 ---> 912709da2d65 21:33:57 Step 18/24 : EXPOSE 59993 21:33:57 ---> Running in 8544f898c847 21:33:57 Removing intermediate container 8544f898c847 21:33:57 ---> afe4f7a053ca 21:33:57 Step 19/24 : EXPOSE 161 21:33:57 ---> Running in 7efec7f3d1c1 21:33:57 Removing intermediate container 7efec7f3d1c1 21:33:57 ---> 5b54358a19c1 21:33:57 Step 20/24 : ENTRYPOINT ["/device-snmp"] 21:33:57 ---> Running in 12b80cf1fc03 21:33:57 Removing intermediate container 12b80cf1fc03 21:33:57 ---> a7f872d2628d 21:33:57 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 21:33:58 ---> Running in 25afa56ddebe 21:33:58 Removing intermediate container 25afa56ddebe 21:33:58 ---> ff7e0a054e22 21:33:58 Step 22/24 : LABEL arch=arm64 21:33:58 ---> Running in 223d6d603cca 21:33:58 Removing intermediate container 223d6d603cca 21:33:58 ---> 95721f16f70e 21:33:58 Step 23/24 : LABEL git_sha=a302b4bfc3d471904e25ec9a8ca14e6313248e95 21:33:58 ---> Running in 933ed58794da 21:33:59 Removing intermediate container 933ed58794da 21:33:59 ---> 216241a773b2 21:33:59 Step 24/24 : LABEL version=0.0.0 21:33:59 ---> Running in 218b3948cbbe 21:33:59 Removing intermediate container 218b3948cbbe 21:33:59 ---> 29941c9cf55c 21:33:59 [Warning] One or more build-args [ARCH] were not consumed 21:33:59 Successfully built 29941c9cf55c 21:33:59 Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:34:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:34:00 21:34:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 21:34:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:34:00 arm64: Pulling from edgex-lftools-log-publisher 21:34:00 8998bd30e6a1: Pulling fs layer 21:34:00 04944245beec: Pulling fs layer 21:34:00 699f458cf7ca: Pulling fs layer 21:34:00 765212b225bb: Pulling fs layer 21:34:00 f23df028b6ca: Pulling fs layer 21:34:00 d65c8cfc05b1: Pulling fs layer 21:34:00 2437ff75d9bd: Pulling fs layer 21:34:00 765212b225bb: Waiting 21:34:00 f23df028b6ca: Waiting 21:34:00 d65c8cfc05b1: Waiting 21:34:00 2437ff75d9bd: Waiting 21:34:00 04944245beec: Verifying Checksum 21:34:00 04944245beec: Download complete 21:34:00 765212b225bb: Verifying Checksum 21:34:00 765212b225bb: Download complete 21:34:00 f23df028b6ca: Verifying Checksum 21:34:00 f23df028b6ca: Download complete 21:34:00 d65c8cfc05b1: Verifying Checksum 21:34:00 d65c8cfc05b1: Download complete 21:34:01 699f458cf7ca: Verifying Checksum 21:34:01 699f458cf7ca: Download complete 21:34:01 8998bd30e6a1: Verifying Checksum 21:34:01 8998bd30e6a1: Download complete 21:34:04 2437ff75d9bd: Verifying Checksum 21:34:04 2437ff75d9bd: Download complete 21:34:06 8998bd30e6a1: Pull complete 21:34:06 04944245beec: Pull complete 21:34:07 699f458cf7ca: Pull complete 21:34:07 765212b225bb: Pull complete 21:34:08 f23df028b6ca: Pull complete 21:34:09 d65c8cfc05b1: Pull complete 21:34:24 2437ff75d9bd: Pull complete 21:34:24 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:34:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:34:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 21:34:24 prd-ubuntu20.04-docker-arm64-4c-16g-10689 does not seem to be running inside a container 21:34:24 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/1 -v /w/workspace/device-snmp-go/1:/w/workspace/device-snmp-go/1:rw,z -v /w/workspace/device-snmp-go/1@tmp:/w/workspace/device-snmp-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:34:26 $ docker top 0fffa48ed8e62f5502ced7acba491bbc5cb7085afafa12dfd4481fbbe5c131a1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:34:27 ---> job-cost.sh 21:34:27 lf-activate-venv: SKIPPING 21:34:27 INFO: No Stack... 21:34:28 INFO: Retrieving Pricing Info for: v3-standard-4 21:34:29 INFO: Archiving Costs [Pipeline] sh 21:34:29 + cat /w/workspace/device-snmp-go/1/archives/cost.csv 21:34:29 + cut -d, -f6 [Pipeline] lock 21:34:29 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-147-1-stack-cost] 21:34:29 Resource [jenkins-edgexfoundry-device-snmp-go-PR-147-1-stack-cost] did not exist. Created. 21:34:29 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-147-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:34:30 /w/workspace/device-snmp-go/1@tmp/durable-9377273f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:34:31 + echo total: 0.2199999988079071 [Pipeline] stash 21:34:31 Warning: overwriting stash ‘stack-cost’ 21:34:31 Stashed 1 file(s) [Pipeline] } 21:34:31 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-147-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:34:31 $ docker stop --time=1 0fffa48ed8e62f5502ced7acba491bbc5cb7085afafa12dfd4481fbbe5c131a1 21:34:32 $ docker rm -f 0fffa48ed8e62f5502ced7acba491bbc5cb7085afafa12dfd4481fbbe5c131a1 [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 21:34:33 provisioning config files... 21:34:34 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-147@tmp/config1575265025019934089tmp [Pipeline] { [Pipeline] sh 21:34:34 + set +x 21:34:34 + curl -s https://codecov.io/bash 21:34:34 + bash -s -- 21:34:34 21:34:34 _____ _ 21:34:34 / ____| | | 21:34:34 | | ___ __| | ___ ___ _____ __ 21:34:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:34:34 | |___| (_) | (_| | __/ (_| (_) \ V / 21:34:34 \_____\___/ \__,_|\___|\___\___/ \_/ 21:34:34 Bash-1.0.6 21:34:34 21:34:34 21:34:34 ==> git version 2.25.1 found 21:34:34 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:34:34 Release-Date: 2020-01-08 21:34:34 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:34:34 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:34:34 ==> Jenkins CI detected. 21:34:34 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-147 21:34:34 project root: . 21:34:34 --> token set from env 21:34:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:34:34 ==> Running gcov in . (disable via -X gcov) 21:34:34 ==> Python coveragepy not found 21:34:34 ==> Searching for coverage reports in: 21:34:34 + . 21:34:34 -> Found 1 reports 21:34:34 ==> Detecting git/mercurial file structure 21:34:34 ==> Reading reports 21:34:34 + ./coverage.out bytes=7631 21:34:34 ==> Appending adjustments 21:34:34 https://docs.codecov.io/docs/fixing-reports 21:34:34 + Found adjustments 21:34:34 ==> Gzipping contents 21:34:34 4.0K /tmp/codecov.Pbc6v8.gz 21:34:34 ==> Uploading reports 21:34:34 url: https://codecov.io 21:34:34 query: branch=PR-147&commit=a302b4bfc3d471904e25ec9a8ca14e6313248e95&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-147%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=147&job=&cmd_args= 21:34:34 -> Pinging Codecov 21:34:34 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-147&commit=a302b4bfc3d471904e25ec9a8ca14e6313248e95&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-147%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=147&job=&cmd_args= 21:34:34 -> Uploading to 21:34:34 https://storage.googleapis.com/codecov/v4/raw/2022-04-04/6C56EA5C29638FB4528AC87E60AF5AE0/a302b4bfc3d471904e25ec9a8ca14e6313248e95/217b83ae-6221-41cc-b629-380c9967316d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220404%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220404T213434Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=98958387496ee1e0b065ca0e30ae0eca08e1f300982e3396ec3895ccb434b468 21:34:34 % Total % Received % Xferd Average Speed Time Time Time Current 21:34:34 Dload Upload Total Spent Left Speed 21:34:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1598 0 0 100 1598 0 6658 --:--:-- --:--:-- --:--:-- 6630 21:34:35 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/a302b4bfc3d471904e25ec9a8ca14e6313248e95 [Pipeline] } 21:34:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:34:36 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-147/archives ] 21:34:36 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-147/archives 21:34:36 total 16 21:34:36 drwxr-xr-x 3 root root 4096 Apr 4 21:30 . 21:34:36 drwxrwxr-x 10 jenkins jenkins 4096 Apr 4 21:30 .. 21:34:36 drwxr-xr-x 2 root root 4096 Apr 4 21:30 cost 21:34:36 -rw-r--r-- 1 root root 86 Apr 4 21:30 cost.csv 21:34:36 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-147/archives 21:34:36 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-147/archives 21:34:36 total 16 21:34:36 drwxr-xr-x 3 jenkins jenkins 4096 Apr 4 21:30 . 21:34:36 drwxrwxr-x 10 jenkins jenkins 4096 Apr 4 21:30 .. 21:34:36 drwxr-xr-x 2 jenkins jenkins 4096 Apr 4 21:30 cost 21:34:36 -rw-r--r-- 1 jenkins jenkins 86 Apr 4 21:30 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:34:37 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:34:38 ---> package-listing.sh 21:34:38 ++ facter osfamily 21:34:38 ++ tr '[:upper:]' '[:lower:]' 21:34:38 + OS_FAMILY=debian 21:34:38 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-147 21:34:38 + START_PACKAGES=/tmp/packages_start.txt 21:34:38 + END_PACKAGES=/tmp/packages_end.txt 21:34:38 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:34:38 + PACKAGES=/tmp/packages_start.txt 21:34:38 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-147 ']' 21:34:38 + PACKAGES=/tmp/packages_end.txt 21:34:38 + case "${OS_FAMILY}" in 21:34:38 + dpkg -l 21:34:38 + grep '^ii' 21:34:38 + '[' -f /tmp/packages_start.txt ']' 21:34:38 + '[' -f /tmp/packages_end.txt ']' 21:34:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:34:38 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-147 ']' 21:34:38 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-147/archives/ 21:34:38 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-147/archives/ [Pipeline] echo 21:34:38 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-147/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:34:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 21:34:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:34:39 . [Pipeline] withDockerContainer 21:34:39 prd-ubuntu20.04-docker-8c-8g-10685 does not seem to be running inside a container 21:34:39 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_PR-147/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-147 -v /w/workspace/gexfoundry_device-snmp-go_PR-147:/w/workspace/gexfoundry_device-snmp-go_PR-147:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-147@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-147@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:34:39 $ docker top 42b2ea08cc4206a5f7c39311a6b179e88521251074d24e23948ae71500105cbb -eo pid,comm [Pipeline] { [Pipeline] sh 21:34:40 + touch /tmp/pre-build-complete [Pipeline] sh 21:34:40 + mkdir -p /var/log/sysstat [Pipeline] sh 21:34:40 + ls /var/log/sa-host 21:34:40 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:34:41 provisioning config files... 21:34:41 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-147@tmp/config7569833691399730923tmp [Pipeline] { [Pipeline] echo 21:34:41 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:34:41 ---> create-netrc.sh [Pipeline] } 21:34:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:34:41 ---> python-tools-install.sh [Pipeline] echo 21:34:41 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:34:42 ---> sudo-logs.sh 21:34:42 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:34:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:34:42 ---> job-cost.sh 21:34:42 lf-activate-venv: SKIPPING 21:34:42 DEBUG: total: 0.4399999976158142 21:34:42 INFO: Retrieving Stack Cost... 21:34:43 INFO: Retrieving Pricing Info for: v3-standard-8 21:34:43 INFO: Archiving Costs [Pipeline] echo 21:34:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:34:43 ---> logs-deploy.sh 21:34:43 lf-activate-venv: SKIPPING 21:34:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-147/1 21:34:43 INFO: archiving workspace using pattern(s): 21:34:44 Archives upload complete. 21:34:44 INFO: archiving logs to Nexus