Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of farshidtz for edgexfoundry/device-snmp-go Loading trusted files from base branch main at 76bc78b56c3c6b32f516faff42577919f6a867f5 rather than a53b10c226c078ceb3a3c47d5de2cd7e3282654b Obtained Jenkinsfile from 76bc78b56c3c6b32f516faff42577919f6a867f5 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-ssh4350868631684753625.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-ssh7603094120336159678.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-151/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-151/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8436033786497381705.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 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-ssh11619728514509686356.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-151/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-151/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh6881361472998053054.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-19350 in /w/workspace/gexfoundry_device-snmp-go_PR-151 [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-151 # 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 76bc78b56c3c6b32f516faff42577919f6a867f5 into PR head commit a53b10c226c078ceb3a3c47d5de2cd7e3282654b Merge succeeded, producing c0faed3f3eb4476da2ebf43eae59728ac57e0cfe Checking out Revision c0faed3f3eb4476da2ebf43eae59728ac57e0cfe (PR-151) > 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/151/head:refs/remotes/origin/PR-151 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a53b10c226c078ceb3a3c47d5de2cd7e3282654b # 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 76bc78b56c3c6b32f516faff42577919f6a867f5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c0faed3f3eb4476da2ebf43eae59728ac57e0cfe # timeout=10 Commit message: "Merge commit '76bc78b56c3c6b32f516faff42577919f6a867f5' into HEAD" > git rev-list --no-walk a53b10c226c078ceb3a3c47d5de2cd7e3282654b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:25:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:25:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:25:55 ========================================================= 23:25:55 EdgeX Global Pipelines Version Info 23:25:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:25:56 ------------------- 23:25:56 stable info: 23:25:56 ------------------- 23:25:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:25:56 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 23:25:56 Message: update stable to v1.0.221 23:25:57 ------------------- 23:25:57 experimental info: 23:25:57 ------------------- 23:25:57 Commited By: **** collab-it+edgex@linuxfoundation.org 23:25:57 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 23:25:57 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:25:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 23:25:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 23:25:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:25:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:25:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:25:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 23:25:57 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:25:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:25:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:25:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:25:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:25:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 23:25:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:25:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:25:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:25:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:25:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:25:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:25:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:25:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:25:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:25:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:25:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:25:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:25:57 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:25:57 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:25:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-151 [Pipeline] echo 23:25:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-151 [Pipeline] echo 23:25:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-151 [Pipeline] echo 23:25:57 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c0faed3f3eb4476da2ebf43eae59728ac57e0cfe [Pipeline] echo 23:25:57 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c0faed3 [Pipeline] echo 23:25:57 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:25:57 provisioning config files... 23:25:57 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-151@tmp/config6843528287668488729tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:25:58 ---> docker-login.sh 23:25:58 nexus3.edgexfoundry.org:10001 23:25:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:25:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:25:58 Configure a credential helper to remove this warning. See 23:25:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:25:58 23:25:58 Login Succeeded 23:25:58 nexus3.edgexfoundry.org:10002 23:25:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:25:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:25:58 Configure a credential helper to remove this warning. See 23:25:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:25:58 23:25:58 Login Succeeded 23:25:58 nexus3.edgexfoundry.org:10003 23:25:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:25:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:25:58 Configure a credential helper to remove this warning. See 23:25:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:25:58 23:25:58 Login Succeeded 23:25:58 nexus3.edgexfoundry.org:10004 23:25:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:25:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:25:59 Configure a credential helper to remove this warning. See 23:25:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:25:59 23:25:59 Login Succeeded 23:25:59 docker.io 23:25:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:25:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:25:59 Configure a credential helper to remove this warning. See 23:25:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:25:59 23:25:59 Login Succeeded 23:25:59 ---> docker-login.sh ends [Pipeline] } 23:25:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:25:59 + git rev-list -1 --merges c0faed3f3eb4476da2ebf43eae59728ac57e0cfe~1..c0faed3f3eb4476da2ebf43eae59728ac57e0cfe [Pipeline] echo 23:26:00 -----------> git rev-list -1 --merges c0faed3f3eb4476da2ebf43eae59728ac57e0cfe~1..c0faed3f3eb4476da2ebf43eae59728ac57e0cfe c0faed3f3eb4476da2ebf43eae59728ac57e0cfe 23:26:00 c0faed3f3eb4476da2ebf43eae59728ac57e0cfe [false] [Pipeline] sh 23:26:00 + git log --format=format:%s -1 c0faed3f3eb4476da2ebf43eae59728ac57e0cfe [Pipeline] echo 23:26:00 ========================================================= 23:26:00 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:26:00 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:26:00 + git log --format=format:%s -1 c0faed3f3eb4476da2ebf43eae59728ac57e0cfe [Pipeline] echo 23:26:00 [semverPrep] GIT_COMMIT: c0faed3f3eb4476da2ebf43eae59728ac57e0cfe, Commit Message: Merge commit '76bc78b56c3c6b32f516faff42577919f6a867f5' into HEAD [Pipeline] echo 23:26:00 [semverPrep] This is not a build commit. [Pipeline] sh 23:26:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:26:01 + grep -v github /etc/ssh/ssh_known_hosts 23:26:01 + [ -e /tmp/ssh_known_hosts ] 23:26:01 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:26:01 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:26:01 + sudo tee -a /etc/ssh/ssh_known_hosts 23:26:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 23:26:01 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:26:01 23:26:01 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:26:01 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:26:01 latest: Pulling from edgex-devops/git-semver 23:26:01 a0d0a0d46f8b: Pulling fs layer 23:26:01 3e5f54012d9b: Pulling fs layer 23:26:01 4c7163046ea9: Pulling fs layer 23:26:01 0c2d73faf560: Pulling fs layer 23:26:01 0c2d73faf560: Waiting 23:26:01 3e5f54012d9b: Download complete 23:26:01 a0d0a0d46f8b: Download complete 23:26:01 0c2d73faf560: Verifying Checksum 23:26:01 0c2d73faf560: Download complete 23:26:01 4c7163046ea9: Verifying Checksum 23:26:01 4c7163046ea9: Download complete 23:26:02 a0d0a0d46f8b: Pull complete 23:26:02 3e5f54012d9b: Pull complete 23:26:02 4c7163046ea9: Pull complete 23:26:02 0c2d73faf560: Pull complete 23:26:02 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 23:26:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:26:02 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:26:02 prd-ubuntu20.04-docker-8c-8g-19350 does not seem to be running inside a container 23:26:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-151 -v /w/workspace/gexfoundry_device-snmp-go_PR-151:/w/workspace/gexfoundry_device-snmp-go_PR-151:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-151@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-151@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:10004/edgex-devops/git-semver:latest cat 23:26:03 $ docker top 6d0863e1e99f85576d037a921266f81c11a80d65cb995863fdf62a7c3f45ca92 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:26:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:26:03 [ssh-agent] Looking for ssh-agent implementation... 23:26:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:26:03 $ docker exec 6d0863e1e99f85576d037a921266f81c11a80d65cb995863fdf62a7c3f45ca92 ssh-agent 23:26:03 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXAIglih/agent.13 23:26:03 SSH_AGENT_PID=19 23:26:03 Running ssh-add (command line suppressed) 23:26:03 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-151@tmp/private_key_557668996723428343.key (/w/workspace/gexfoundry_device-snmp-go_PR-151@tmp/private_key_557668996723428343.key) 23:26:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:26:04 + git tag --points-at HEAD [Pipeline] } 23:26:04 $ docker exec --env ******** --env ******** 6d0863e1e99f85576d037a921266f81c11a80d65cb995863fdf62a7c3f45ca92 ssh-agent -k 23:26:04 unset SSH_AUTH_SOCK; 23:26:04 unset SSH_AGENT_PID; 23:26:04 echo Agent pid 19 killed; 23:26:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:26:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:26:04 [ssh-agent] Looking for ssh-agent implementation... 23:26:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:26:04 $ docker exec 6d0863e1e99f85576d037a921266f81c11a80d65cb995863fdf62a7c3f45ca92 ssh-agent 23:26:04 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdkGDNF/agent.51 23:26:04 SSH_AGENT_PID=57 23:26:04 Running ssh-add (command line suppressed) 23:26:04 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-151@tmp/private_key_43421101555709594.key (/w/workspace/gexfoundry_device-snmp-go_PR-151@tmp/private_key_43421101555709594.key) 23:26:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:26:05 + git semver init 23:26:05 # -> Open(): unable to determine branch for HEAD 23:26:05 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-151/.git 23:26:05 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_PR-151 23:26:05 # $SEMVER_REMOTE_NAME = origin 23:26:05 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:26:05 # $SEMVER_USER_NAME = edgex-jenkins 23:26:05 # $SEMVER_BRANCH = PR-151 23:26:05 # $SEMVER_TEMP = /tmp/semver-871437061 23:26:05 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 23:26:06 # '/tmp/semver-871437061' -> '/w/workspace/gexfoundry_device-snmp-go_PR-151/.semver' 23:26:06 # -> Force: false 23:26:06 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_PR-151/.semver [Pipeline] } 23:26:06 $ docker exec --env ******** --env ******** 6d0863e1e99f85576d037a921266f81c11a80d65cb995863fdf62a7c3f45ca92 ssh-agent -k 23:26:06 unset SSH_AUTH_SOCK; 23:26:06 unset SSH_AGENT_PID; 23:26:06 echo Agent pid 57 killed; 23:26:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:26:06 + git semver [Pipeline] } 23:26:06 $ docker stop --time=1 6d0863e1e99f85576d037a921266f81c11a80d65cb995863fdf62a7c3f45ca92 23:26:07 $ docker rm -f 6d0863e1e99f85576d037a921266f81c11a80d65cb995863fdf62a7c3f45ca92 [Pipeline] // withDockerContainer [Pipeline] sh 23:26:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:26:08 Stashed 1 file(s) [Pipeline] echo 23:26:08 [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 23:26:08 provisioning config files... 23:26:08 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-151@tmp/config17192738742171792tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:26:08 Running on prd-ubuntu20.04-docker-arm64-4c-16g-19348 in /w/workspace/gexfoundry_device-snmp-go_PR-151 [Pipeline] { [Pipeline] ws 23:26:08 Running in /w/workspace/device-snmp-go/2 [Pipeline] { [Pipeline] checkout 23:26:08 ---> docker-login.sh 23:26:08 nexus3.edgexfoundry.org:10001 23:26:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:26:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:26:08 Configure a credential helper to remove this warning. See 23:26:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:26:08 23:26:08 Login Succeeded 23:26:08 nexus3.edgexfoundry.org:10002 23:26:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:26:08 Selected Git installation does not exist. Using Default 23:26:08 The recommended git tool is: NONE 23:26:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:26:09 Configure a credential helper to remove this warning. See 23:26:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:26:09 23:26:09 Login Succeeded 23:26:09 nexus3.edgexfoundry.org:10003 23:26:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:26:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:26:09 Configure a credential helper to remove this warning. See 23:26:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:26:09 23:26:09 Login Succeeded 23:26:09 nexus3.edgexfoundry.org:10004 23:26:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:26:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:26:09 Configure a credential helper to remove this warning. See 23:26:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:26:09 23:26:09 Login Succeeded 23:26:09 docker.io 23:26:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:26:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:26:09 Configure a credential helper to remove this warning. See 23:26:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:26:09 23:26:09 Login Succeeded 23:26:09 ---> docker-login.sh ends [Pipeline] } 23:26:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:26:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:26:09 ========================================================= 23:26:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 23:26:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:26:10 + 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 . 23:26:10 Sending build context to Docker daemon 5.244MB 23:26:10 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 23:26:10 Step 2/12 : FROM ${BASE} AS builder 23:26:10 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 23:26:10 59bf1c3509f3: Pulling fs layer 23:26:10 666ba61612fd: Pulling fs layer 23:26:10 8ed8ca486205: Pulling fs layer 23:26:10 4fe6c5a15a65: Pulling fs layer 23:26:10 22a0e8bec74d: Pulling fs layer 23:26:10 640e595b4fbd: Pulling fs layer 23:26:10 763cafe07f6e: Pulling fs layer 23:26:10 0c0b528cf693: Pulling fs layer 23:26:10 10935f4eaf8b: Pulling fs layer 23:26:10 4fe6c5a15a65: Waiting 23:26:10 763cafe07f6e: Waiting 23:26:10 22a0e8bec74d: Waiting 23:26:10 640e595b4fbd: Waiting 23:26:10 0c0b528cf693: Waiting 23:26:10 10935f4eaf8b: Waiting 23:26:10 8ed8ca486205: Download complete 23:26:10 666ba61612fd: Download complete 23:26:10 22a0e8bec74d: Verifying Checksum 23:26:10 22a0e8bec74d: Download complete 23:26:10 640e595b4fbd: Download complete 23:26:10 59bf1c3509f3: Verifying Checksum 23:26:10 59bf1c3509f3: Download complete 23:26:10 763cafe07f6e: Verifying Checksum 23:26:10 763cafe07f6e: Download complete 23:26:10 0c0b528cf693: Verifying Checksum 23:26:10 0c0b528cf693: Download complete 23:26:10 59bf1c3509f3: Pull complete 23:26:10 666ba61612fd: Pull complete 23:26:10 8ed8ca486205: Pull complete 23:26:10 10935f4eaf8b: Verifying Checksum 23:26:10 10935f4eaf8b: Download complete 23:26:10 4fe6c5a15a65: Verifying Checksum 23:26:10 4fe6c5a15a65: Download complete 23:26:14 using credential edgex-jenkins-ssh 23:26:14 Cloning the remote Git repository 23:26:15 4fe6c5a15a65: Pull complete 23:26:15 22a0e8bec74d: Pull complete 23:26:15 640e595b4fbd: Pull complete 23:26:15 763cafe07f6e: Pull complete 23:26:15 0c0b528cf693: Pull complete 23:26:14 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 23:26:14 > git init /w/workspace/device-snmp-go/2 # timeout=10 23:26:14 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 23:26:14 > git --version # timeout=10 23:26:14 > git --version # 'git version 2.25.1' 23:26:14 using GIT_SSH to set credentials SSH Credentials for GitHub 23:26:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:26:15 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 23:26:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:26:15 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 23:26:15 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 23:26:15 using GIT_SSH to set credentials SSH Credentials for GitHub 23:26:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/151/head:refs/remotes/origin/PR-151 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:26:16 Merging remotes/origin/main commit 76bc78b56c3c6b32f516faff42577919f6a867f5 into PR head commit a53b10c226c078ceb3a3c47d5de2cd7e3282654b 23:26:16 Merge succeeded, producing 419c1c46d367fb93abbbbdcaa70f8dc2eb5fd233 23:26:16 Checking out Revision 419c1c46d367fb93abbbbdcaa70f8dc2eb5fd233 (PR-151) 23:26:17 10935f4eaf8b: Pull complete 23:26:17 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 23:26:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 23:26:17 ---> 99d49a6021b9 23:26:17 Step 3/12 : ARG MAKE='make build' 23:26:16 > git config core.sparsecheckout # timeout=10 23:26:16 > git checkout -f a53b10c226c078ceb3a3c47d5de2cd7e3282654b # timeout=10 23:26:16 > git remote # timeout=10 23:26:16 > git config --get remote.origin.url # timeout=10 23:26:16 using GIT_SSH to set credentials SSH Credentials for GitHub 23:26:16 > git merge 76bc78b56c3c6b32f516faff42577919f6a867f5 # timeout=10 23:26:16 > git rev-parse HEAD^{commit} # timeout=10 23:26:16 > git config core.sparsecheckout # timeout=10 23:26:16 > git checkout -f 419c1c46d367fb93abbbbdcaa70f8dc2eb5fd233 # timeout=10 23:26:17 ---> Running in 0a60b1d7b63c 23:26:17 Removing intermediate container 0a60b1d7b63c 23:26:17 ---> ebf1d8373224 23:26:17 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:26:17 ---> Running in 681d60304dfc 23:26:17 Removing intermediate container 681d60304dfc 23:26:17 ---> ed208d32f058 23:26:17 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 23:26:17 ---> Running in dea8e8f4550c 23:26:17 Removing intermediate container dea8e8f4550c 23:26:17 ---> 1ffda60f1c30 23:26:17 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:26:17 ---> Running in 765ab764b7ab 23:26:18 Removing intermediate container 765ab764b7ab 23:26:18 ---> b1eaed91a93b 23:26:18 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:26:18 ---> Running in 25ba79e890f1 23:26:18 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 23:26:19 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 23:26:20 (1/4) Installing openssh-keygen (8.8_p1-r1) 23:26:20 (2/4) Installing libedit (20210910.3.1-r0) 23:26:20 (3/4) Installing openssh-client-common (8.8_p1-r1) 23:26:20 (4/4) Installing openssh-client-default (8.8_p1-r1) 23:26:20 Executing busybox-1.34.1-r3.trigger 23:26:20 OK: 224 MiB in 56 packages 23:26:20 Removing intermediate container 25ba79e890f1 23:26:20 ---> 743f55ca8b7f 23:26:20 Step 8/12 : WORKDIR /device-snmp-go 23:26:20 ---> Running in 8e9ed66075c9 23:26:21 Removing intermediate container 8e9ed66075c9 23:26:21 ---> 76c5ed857112 23:26:21 Step 9/12 : COPY go.mod vendor* ./ 23:26:21 ---> 8b5f051bee13 23:26:21 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:26:21 ---> Running in 9689c4722af1 23:26:21 Commit message: "Merge commit '76bc78b56c3c6b32f516faff42577919f6a867f5' into HEAD" 23:26:21 > git rev-list --no-walk a53b10c226c078ceb3a3c47d5de2cd7e3282654b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:26:22 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:26:22 % Total % Received % Xferd Average Speed Time Time Time Current 23:26:22 Dload Upload Total Spent Left Speed 23:26:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 48142 0 --:--:-- --:--:-- --:--:-- 48142 [Pipeline] sh 23:26:23 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:26:23 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 23:26:23 /etc/docker/daemon.json 23:26:23 { 23:26:23 "registry-mirrors": [ 23:26:23 "https://nexus3.edgexfoundry.org:10001" 23:26:23 ], 23:26:23 "bip": "10.250.0.254/24", 23:26:23 "hosts": [ 23:26:23 "tcp://0.0.0.0:5555", 23:26:23 "unix:///var/run/docker.sock" 23:26:23 ], 23:26:23 "mtu": 1458, 23:26:23 "selinux-enabled": true, 23:26:23 "seccomp-profile": "/etc/docker/seccomp.json" 23:26:23 } [Pipeline] sh 23:26:23 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:26:24 + sudo service docker restart 23:26:35 Removing intermediate container 9689c4722af1 23:26:35 ---> 7b52a6d8ed78 23:26:35 Step 11/12 : COPY . . 23:26:35 ---> 6b501cd0a96d 23:26:35 Step 12/12 : RUN ${MAKE} 23:26:35 ---> Running in 03239955d577 23:26:35 noop 23:26:35 Removing intermediate container 03239955d577 23:26:35 ---> b9421bfe05c5 23:26:35 Successfully built b9421bfe05c5 23:26:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 23:26:36 + docker inspect -f . ci-base-image-x86_64 23:26:36 . [Pipeline] withDockerContainer 23:26:36 prd-ubuntu20.04-docker-8c-8g-19350 does not seem to be running inside a container 23:26:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-151 -v /w/workspace/gexfoundry_device-snmp-go_PR-151:/w/workspace/gexfoundry_device-snmp-go_PR-151:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-151@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-151@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 ******** ci-base-image-x86_64 cat 23:26:36 $ docker top 4f1a2880a24ec48d80ba8e415e96e156e36cdae8097ea8177a2ae75aa041d443 -eo pid,comm [Pipeline] { [Pipeline] sh 23:26:37 + go version 23:26:37 go version go1.17.6 linux/amd64 [Pipeline] } 23:26:37 $ docker stop --time=1 4f1a2880a24ec48d80ba8e415e96e156e36cdae8097ea8177a2ae75aa041d443 23:26:38 $ docker rm -f 4f1a2880a24ec48d80ba8e415e96e156e36cdae8097ea8177a2ae75aa041d443 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:26:38 + docker inspect -f . ci-base-image-x86_64 23:26:38 . [Pipeline] withDockerContainer 23:26:38 prd-ubuntu20.04-docker-8c-8g-19350 does not seem to be running inside a container 23:26:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-151 -v /w/workspace/gexfoundry_device-snmp-go_PR-151:/w/workspace/gexfoundry_device-snmp-go_PR-151:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-151@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-151@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 ******** ci-base-image-x86_64 cat 23:26:39 $ docker top 79e72ff77d45c1e64f6c4da9af679797ccc946a3ceccc9896736caed1e04a4f5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:26:39 + make test 23:26:39 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 23:26:39 ? github.com/edgexfoundry/device-snmp-go [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:26:42 provisioning config files... 23:26:42 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/2@tmp/config4828249406273517153tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:26:43 ---> docker-login.sh 23:26:43 nexus3.edgexfoundry.org:10001 23:26:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:26:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:26:44 Configure a credential helper to remove this warning. See 23:26:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:26:44 23:26:44 Login Succeeded 23:26:44 nexus3.edgexfoundry.org:10002 23:26:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:26:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:26:44 Configure a credential helper to remove this warning. See 23:26:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:26:44 23:26:44 Login Succeeded 23:26:44 nexus3.edgexfoundry.org:10003 23:26:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:26:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:26:45 Configure a credential helper to remove this warning. See 23:26:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:26:45 23:26:45 Login Succeeded 23:26:45 nexus3.edgexfoundry.org:10004 23:26:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:26:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:26:45 Configure a credential helper to remove this warning. See 23:26:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:26:45 23:26:45 Login Succeeded 23:26:45 docker.io 23:26:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:26:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:26:46 Configure a credential helper to remove this warning. See 23:26:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:26:46 23:26:46 Login Succeeded 23:26:46 ---> docker-login.sh ends [Pipeline] } 23:26:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:26:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:26:46 ========================================================= 23:26:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 23:26:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:26:47 + 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 . 23:26:47 Sending build context to Docker daemon 2.73MB 23:26:47 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 23:26:47 Step 2/12 : FROM ${BASE} AS builder 23:26:47 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:26:47 9b3977197b4f: Pulling fs layer 23:26:47 1a89e8eeedd5: Pulling fs layer 23:26:47 94645a83ff95: Pulling fs layer 23:26:47 3f3a8bcf1eab: Pulling fs layer 23:26:47 0c92f367c5e7: Pulling fs layer 23:26:47 f7c0051592d6: Pulling fs layer 23:26:47 a227ed2f7395: Pulling fs layer 23:26:47 7b1c46037f91: Pulling fs layer 23:26:47 0c92f367c5e7: Waiting 23:26:47 f7c0051592d6: Waiting 23:26:47 a227ed2f7395: Waiting 23:26:47 7b1c46037f91: Waiting 23:26:47 3f3a8bcf1eab: Waiting 23:26:47 94645a83ff95: Download complete 23:26:47 1a89e8eeedd5: Verifying Checksum 23:26:47 1a89e8eeedd5: Download complete 23:26:47 0c92f367c5e7: Verifying Checksum 23:26:47 0c92f367c5e7: Download complete 23:26:47 f7c0051592d6: Verifying Checksum 23:26:47 f7c0051592d6: Download complete 23:26:47 9b3977197b4f: Verifying Checksum 23:26:47 9b3977197b4f: Download complete 23:26:47 a227ed2f7395: Verifying Checksum 23:26:47 a227ed2f7395: Download complete 23:26:48 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 23:26:48 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.021s coverage: 0.0% of statements 23:26:48 9b3977197b4f: Pull complete 23:26:49 1a89e8eeedd5: Pull complete 23:26:49 94645a83ff95: Pull complete 23:26:50 7b1c46037f91: Verifying Checksum 23:26:50 7b1c46037f91: Download complete 23:26:50 3f3a8bcf1eab: Verifying Checksum 23:26:50 3f3a8bcf1eab: Download complete 23:26:54 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:26:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:26:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:26:58 ./bin/test-attribution-txt.sh [Pipeline] echo 23:26:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:26:58 $ docker stop --time=1 79e72ff77d45c1e64f6c4da9af679797ccc946a3ceccc9896736caed1e04a4f5 23:27:00 $ docker rm -f 79e72ff77d45c1e64f6c4da9af679797ccc946a3ceccc9896736caed1e04a4f5 [Pipeline] // withDockerContainer [Pipeline] sh 23:27:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:27:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:27:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:27:02 + ls -al . 23:27:02 total 164 23:27:02 drwxrwxr-x 9 jenkins jenkins 4096 Apr 10 23:26 . 23:27:02 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 23:25 .. 23:27:02 -rw-rw-r-- 1 jenkins jenkins 6 Apr 10 23:25 .dockerignore 23:27:02 drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 23:25 .git 23:27:02 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 23:25 .github 23:27:02 -rw-rw-r-- 1 jenkins jenkins 328 Apr 10 23:25 .gitignore 23:27:02 -rw-rw-r-- 1 jenkins jenkins 41 Apr 10 23:25 .golangci.yml 23:27:02 drwx------ 3 jenkins jenkins 4096 Apr 10 23:26 .semver 23:27:02 -rw-rw-r-- 1 jenkins jenkins 8164 Apr 10 23:25 Attribution.txt 23:27:02 -rw-rw-r-- 1 jenkins jenkins 4401 Apr 10 23:25 CHANGELOG.md 23:27:02 -rw-rw-r-- 1 jenkins jenkins 1516 Apr 10 23:25 Dockerfile 23:27:02 -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 23:25 GOVERNANCE.md 23:27:02 -rw-rw-r-- 1 jenkins jenkins 656 Apr 10 23:25 Jenkinsfile 23:27:02 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 10 23:25 LICENSE 23:27:02 -rw-rw-r-- 1 jenkins jenkins 1938 Apr 10 23:25 Makefile 23:27:02 -rw-rw-r-- 1 jenkins jenkins 620 Apr 10 23:25 OWNERS.md 23:27:02 -rw-rw-r-- 1 jenkins jenkins 9074 Apr 10 23:25 README.md 23:27:02 -rw-rw-r-- 1 jenkins jenkins 5 Apr 10 23:26 VERSION 23:27:02 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 23:25 bin 23:27:02 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 23:25 cmd 23:27:02 -rw-r--r-- 1 jenkins jenkins 7631 Apr 10 23:26 coverage.out 23:27:02 -rw-rw-r-- 1 jenkins jenkins 3245 Apr 10 23:25 go.mod 23:27:02 -rw-rw-r-- 1 jenkins jenkins 35250 Apr 10 23:25 go.sum 23:27:02 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 23:25 internal 23:27:02 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 23:25 snap 23:27:02 -rw-rw-r-- 1 jenkins jenkins 209 Apr 10 23:25 version.go [Pipeline] isUnix [Pipeline] sh 23:27:02 + 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=c0faed3f3eb4476da2ebf43eae59728ac57e0cfe --label arch=amd64 --label version=0.0.0 . 23:27:02 Sending build context to Docker daemon 5.253MB 23:27:02 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 23:27:02 Step 2/24 : FROM ${BASE} AS builder 23:27:02 ---> b9421bfe05c5 23:27:02 Step 3/24 : ARG MAKE='make build' 23:27:02 ---> Running in 338801ef61ab 23:27:02 3f3a8bcf1eab: Pull complete 23:27:02 0c92f367c5e7: Pull complete 23:27:02 f7c0051592d6: Pull complete 23:27:02 a227ed2f7395: Pull complete 23:27:02 Removing intermediate container 338801ef61ab 23:27:02 ---> b4c497554847 23:27:02 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:27:02 ---> Running in 92356023ec19 23:27:02 Removing intermediate container 92356023ec19 23:27:02 ---> 16fe81c833f5 23:27:02 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 23:27:02 ---> Running in 01b5909e744d 23:27:02 Removing intermediate container 01b5909e744d 23:27:02 ---> 73e6162e0fa3 23:27:02 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:27:03 ---> Running in 00eb4b8ca41a 23:27:03 Removing intermediate container 00eb4b8ca41a 23:27:03 ---> 20c8222cf1a1 23:27:03 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:27:03 ---> Running in 13c680a7a7cf 23:27:03 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 23:27:04 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 23:27:05 OK: 224 MiB in 56 packages 23:27:05 Removing intermediate container 13c680a7a7cf 23:27:05 ---> c02d19458f7b 23:27:05 Step 8/24 : WORKDIR /device-snmp-go 23:27:05 ---> Running in d6e7c167e6bc 23:27:05 Removing intermediate container d6e7c167e6bc 23:27:05 ---> f881140de7da 23:27:05 Step 9/24 : COPY go.mod vendor* ./ 23:27:05 ---> dcfb739a7a71 23:27:05 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:27:05 ---> Running in 515bd3fbc22b 23:27:06 Removing intermediate container 515bd3fbc22b 23:27:06 ---> 0e83c03b6b1d 23:27:06 Step 11/24 : COPY . . 23:27:06 ---> e825619ce3e9 23:27:06 Step 12/24 : RUN ${MAKE} 23:27:06 ---> Running in ceda16a455fa 23:27:06 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 23:27:08 7b1c46037f91: Pull complete 23:27:08 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 23:27:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 23:27:08 ---> f79e39bc4007 23:27:08 Step 3/12 : ARG MAKE='make build' 23:27:09 ---> Running in fc639cc53e35 23:27:09 Removing intermediate container fc639cc53e35 23:27:09 ---> e21a910273a3 23:27:09 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:27:10 ---> Running in bf248e13c8fe 23:27:10 Removing intermediate container bf248e13c8fe 23:27:10 ---> a11b81dcba08 23:27:10 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 23:27:10 ---> Running in 6447526c84a0 23:27:10 Removing intermediate container 6447526c84a0 23:27:10 ---> 9786825f1d22 23:27:10 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:27:10 ---> Running in a699c1db5c74 23:27:12 Removing intermediate container a699c1db5c74 23:27:12 ---> 601949229961 23:27:12 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:27:12 ---> Running in 88de6e032f32 23:27:13 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 23:27:14 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 23:27:15 (1/4) Installing openssh-keygen (8.8_p1-r1) 23:27:15 (2/4) Installing libedit (20210910.3.1-r0) 23:27:15 (3/4) Installing openssh-client-common (8.8_p1-r1) 23:27:15 (4/4) Installing openssh-client-default (8.8_p1-r1) 23:27:16 Executing busybox-1.34.1-r3.trigger 23:27:16 OK: 224 MiB in 56 packages 23:27:17 Removing intermediate container 88de6e032f32 23:27:17 ---> 86a8f323a330 23:27:17 Step 8/12 : WORKDIR /device-snmp-go 23:27:17 ---> Running in f5309ef67a3f 23:27:17 Removing intermediate container f5309ef67a3f 23:27:17 ---> 03a8d4c8ef96 23:27:17 Step 9/12 : COPY go.mod vendor* ./ 23:27:18 ---> e778586beab2 23:27:18 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:27:18 ---> Running in d91d16b04956 23:27:24 Removing intermediate container ceda16a455fa 23:27:24 ---> 13bcb01e6f29 23:27:24 Step 13/24 : FROM alpine:3.14 23:27:24 3.14: Pulling from library/alpine 23:27:24 8663204ce13b: Pulling fs layer 23:27:24 8663204ce13b: Verifying Checksum 23:27:24 8663204ce13b: Download complete 23:27:25 8663204ce13b: Pull complete 23:27:25 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 23:27:25 Status: Downloaded newer image for alpine:3.14 23:27:25 ---> e04c818066af 23:27:25 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 23:27:25 ---> Running in 77fc8a74b6c4 23:27:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 23:27:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 23:27:25 (1/6) Installing dumb-init (1.2.5-r1) 23:27:25 (2/6) Installing libgcc (10.3.1_git20210424-r2) 23:27:25 (3/6) Installing libsodium (1.0.18-r0) 23:27:25 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 23:27:25 (5/6) Installing libzmq (4.3.4-r0) 23:27:25 (6/6) Installing zeromq (4.3.4-r0) 23:27:25 Executing busybox-1.33.1-r7.trigger 23:27:25 OK: 8 MiB in 20 packages 23:27:26 Removing intermediate container 77fc8a74b6c4 23:27:26 ---> a5559ebbf3bb 23:27:26 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 23:27:26 ---> 65d8c7bfa230 23:27:26 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 23:27:26 ---> f0425d0d97a5 23:27:26 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 23:27:26 ---> 3b72f6ffe386 23:27:26 Step 18/24 : EXPOSE 59993 23:27:26 ---> Running in aeb3fb6ff8da 23:27:26 Removing intermediate container aeb3fb6ff8da 23:27:26 ---> 6a53969411f6 23:27:26 Step 19/24 : EXPOSE 161 23:27:27 ---> Running in a515c362a12a 23:27:27 Removing intermediate container a515c362a12a 23:27:27 ---> 1f0215b76fa8 23:27:27 Step 20/24 : ENTRYPOINT ["/device-snmp"] 23:27:27 ---> Running in 92d73e53e582 23:27:27 Removing intermediate container 92d73e53e582 23:27:27 ---> 1cbfd5087bd1 23:27:27 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 23:27:27 ---> Running in 2dd04cacedde 23:27:27 Removing intermediate container 2dd04cacedde 23:27:27 ---> 9c0b1f630eac 23:27:27 Step 22/24 : LABEL arch=amd64 23:27:27 ---> Running in 4ab3fff99265 23:27:27 Removing intermediate container 4ab3fff99265 23:27:27 ---> cbf5a05adbc1 23:27:27 Step 23/24 : LABEL git_sha=c0faed3f3eb4476da2ebf43eae59728ac57e0cfe 23:27:27 ---> Running in 2ae86947c9b3 23:27:27 Removing intermediate container 2ae86947c9b3 23:27:27 ---> cc874d399277 23:27:27 Step 24/24 : LABEL version=0.0.0 23:27:27 ---> Running in b3d519d2e7c6 23:27:27 Removing intermediate container b3d519d2e7c6 23:27:27 ---> 852a6b051797 23:27:27 [Warning] One or more build-args [ARCH] were not consumed 23:27:27 Successfully built 852a6b051797 23:27:27 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 23:27:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:27:28 23:27:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:27:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:27:28 latest: Pulling from edgex-lftools-log-publisher 23:27:28 5eb5b503b376: Pulling fs layer 23:27:28 5c69ac0246d0: Pulling fs layer 23:27:28 ec43610c2a17: Pulling fs layer 23:27:28 3a2ae6a8a46f: Pulling fs layer 23:27:28 33b1e0a273af: Pulling fs layer 23:27:28 5d3b04190fa2: Pulling fs layer 23:27:28 2f39f015ded8: Pulling fs layer 23:27:28 33b1e0a273af: Waiting 23:27:28 3a2ae6a8a46f: Waiting 23:27:28 5d3b04190fa2: Waiting 23:27:28 5c69ac0246d0: Download complete 23:27:28 3a2ae6a8a46f: Download complete 23:27:28 33b1e0a273af: Verifying Checksum 23:27:28 33b1e0a273af: Download complete 23:27:28 5d3b04190fa2: Verifying Checksum 23:27:28 5d3b04190fa2: Download complete 23:27:28 ec43610c2a17: Verifying Checksum 23:27:28 ec43610c2a17: Download complete 23:27:28 5eb5b503b376: Verifying Checksum 23:27:28 5eb5b503b376: Download complete 23:27:29 2f39f015ded8: Download complete 23:27:29 5eb5b503b376: Pull complete 23:27:29 5c69ac0246d0: Pull complete 23:27:30 ec43610c2a17: Pull complete 23:27:30 3a2ae6a8a46f: Pull complete 23:27:30 33b1e0a273af: Pull complete 23:27:30 5d3b04190fa2: Pull complete 23:27:34 2f39f015ded8: Pull complete 23:27:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:27:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:27:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:27:34 prd-ubuntu20.04-docker-8c-8g-19350 does not seem to be running inside a container 23:27:34 $ 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-151 -v /w/workspace/gexfoundry_device-snmp-go_PR-151:/w/workspace/gexfoundry_device-snmp-go_PR-151:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-151@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-151@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 23:27:36 $ docker top d33b087fbb65d150f159df9462846a4959f2c9f5b8a6fc4a1e8755cb16c9c131 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:27:37 ---> job-cost.sh 23:27:37 lf-activate-venv: SKIPPING 23:27:37 INFO: No Stack... 23:27:37 INFO: Retrieving Pricing Info for: v3-standard-8 23:27:37 INFO: Archiving Costs [Pipeline] sh 23:27:38 + cat /w/workspace/gexfoundry_device-snmp-go_PR-151/archives/cost.csv 23:27:38 + cut -d, -f6 [Pipeline] lock 23:27:38 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-151-2-stack-cost] 23:27:38 Resource [jenkins-edgexfoundry-device-snmp-go-PR-151-2-stack-cost] did not exist. Created. 23:27:38 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-151-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:27:38 + echo total: 0.2199999988079071 [Pipeline] stash 23:27:38 Stashed 1 file(s) [Pipeline] } 23:27:38 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-151-2-stack-cost] [Pipeline] // lock [Pipeline] } 23:27:38 $ docker stop --time=1 d33b087fbb65d150f159df9462846a4959f2c9f5b8a6fc4a1e8755cb16c9c131 23:27:39 $ docker rm -f d33b087fbb65d150f159df9462846a4959f2c9f5b8a6fc4a1e8755cb16c9c131 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:28:05 Removing intermediate container d91d16b04956 23:28:05 ---> b8c5504e8528 23:28:05 Step 11/12 : COPY . . 23:28:06 ---> 53c5b0ac45e1 23:28:06 Step 12/12 : RUN ${MAKE} 23:28:06 ---> Running in 0a9e9da1c7f3 23:28:07 noop 23:28:08 Removing intermediate container 0a9e9da1c7f3 23:28:08 ---> d25f806b52ee 23:28:08 Successfully built d25f806b52ee 23:28:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:28:08 + docker inspect -f . ci-base-image-arm64 23:28:08 . [Pipeline] withDockerContainer 23:28:09 prd-ubuntu20.04-docker-arm64-4c-16g-19348 does not seem to be running inside a container 23:28:09 $ 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 ******** ci-base-image-arm64 cat 23:28:10 $ docker top 05de0f4257710ef9c32f4fbb1034dcf5395b4910f8184aef41881fb8ce6c96d2 -eo pid,comm [Pipeline] { [Pipeline] sh 23:28:11 + go version 23:28:11 go version go1.17.6 linux/arm64 [Pipeline] } 23:28:11 $ docker stop --time=1 05de0f4257710ef9c32f4fbb1034dcf5395b4910f8184aef41881fb8ce6c96d2 23:28:13 $ docker rm -f 05de0f4257710ef9c32f4fbb1034dcf5395b4910f8184aef41881fb8ce6c96d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:28:14 + docker inspect -f . ci-base-image-arm64 23:28:14 . [Pipeline] withDockerContainer 23:28:14 prd-ubuntu20.04-docker-arm64-4c-16g-19348 does not seem to be running inside a container 23:28:14 $ 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 ******** ci-base-image-arm64 cat 23:28:15 $ docker top eab5ea5938026c30afd9e70978aff1eef8b0c05552986be0c3af361bf8f4cca4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:28:16 + make test 23:28:16 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 23:28:18 ? github.com/edgexfoundry/device-snmp-go [no test files] 23:29:55 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 23:29:55 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.050s coverage: 0.0% of statements 23:29:55 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:29:55 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:30:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:30:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:30:22 ./bin/test-attribution-txt.sh [Pipeline] echo 23:30:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:30:23 $ docker stop --time=1 eab5ea5938026c30afd9e70978aff1eef8b0c05552986be0c3af361bf8f4cca4 23:30:25 $ docker rm -f eab5ea5938026c30afd9e70978aff1eef8b0c05552986be0c3af361bf8f4cca4 [Pipeline] // withDockerContainer [Pipeline] sh 23:30:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:30:26 Warning: overwriting stash ‘coverage-report’ 23:30:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:30:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:30:28 + ls -al . 23:30:28 total 160 23:30:28 drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 23:30 . 23:30:28 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 23:26 .. 23:30:28 -rw-rw-r-- 1 jenkins jenkins 6 Apr 10 23:26 .dockerignore 23:30:28 drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 23:26 .git 23:30:28 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 23:26 .github 23:30:28 -rw-rw-r-- 1 jenkins jenkins 328 Apr 10 23:26 .gitignore 23:30:28 -rw-rw-r-- 1 jenkins jenkins 41 Apr 10 23:26 .golangci.yml 23:30:28 -rw-rw-r-- 1 jenkins jenkins 8164 Apr 10 23:26 Attribution.txt 23:30:28 -rw-rw-r-- 1 jenkins jenkins 4401 Apr 10 23:26 CHANGELOG.md 23:30:28 -rw-rw-r-- 1 jenkins jenkins 1516 Apr 10 23:26 Dockerfile 23:30:28 -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 23:26 GOVERNANCE.md 23:30:28 -rw-rw-r-- 1 jenkins jenkins 656 Apr 10 23:26 Jenkinsfile 23:30:28 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 10 23:26 LICENSE 23:30:28 -rw-rw-r-- 1 jenkins jenkins 1938 Apr 10 23:26 Makefile 23:30:28 -rw-rw-r-- 1 jenkins jenkins 620 Apr 10 23:26 OWNERS.md 23:30:28 -rw-rw-r-- 1 jenkins jenkins 9074 Apr 10 23:26 README.md 23:30:28 -rw-rw-r-- 1 jenkins jenkins 5 Apr 10 23:26 VERSION 23:30:28 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 23:26 bin 23:30:28 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 23:26 cmd 23:30:28 -rw-r--r-- 1 jenkins jenkins 7631 Apr 10 23:29 coverage.out 23:30:28 -rw-rw-r-- 1 jenkins jenkins 3245 Apr 10 23:26 go.mod 23:30:28 -rw-rw-r-- 1 jenkins jenkins 35250 Apr 10 23:26 go.sum 23:30:28 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 23:26 internal 23:30:28 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 23:26 snap 23:30:28 -rw-rw-r-- 1 jenkins jenkins 209 Apr 10 23:26 version.go [Pipeline] isUnix [Pipeline] sh 23:30:28 + 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=419c1c46d367fb93abbbbdcaa70f8dc2eb5fd233 --label arch=arm64 --label version=0.0.0 . 23:30:29 Sending build context to Docker daemon 2.739MB 23:30:29 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 23:30:29 Step 2/24 : FROM ${BASE} AS builder 23:30:29 ---> d25f806b52ee 23:30:29 Step 3/24 : ARG MAKE='make build' 23:30:29 ---> Running in bf50266a8b5c 23:30:30 Removing intermediate container bf50266a8b5c 23:30:30 ---> 6a43857d229c 23:30:30 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:30:30 ---> Running in 8e4cd6ae4035 23:30:30 Removing intermediate container 8e4cd6ae4035 23:30:30 ---> 7249bfe161f6 23:30:30 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 23:30:30 ---> Running in aa4234ccab9a 23:30:31 Removing intermediate container aa4234ccab9a 23:30:31 ---> f62820902ace 23:30:31 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:30:31 ---> Running in 70785d9ec771 23:30:33 Removing intermediate container 70785d9ec771 23:30:33 ---> c53096c10de2 23:30:33 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:30:33 ---> Running in 70bf8457708f 23:30:34 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 23:30:35 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 23:30:36 OK: 224 MiB in 56 packages 23:30:37 Removing intermediate container 70bf8457708f 23:30:37 ---> e335f5ea7c3b 23:30:37 Step 8/24 : WORKDIR /device-snmp-go 23:30:37 ---> Running in 8b941dd87c1f 23:30:37 Removing intermediate container 8b941dd87c1f 23:30:37 ---> 180391f967f5 23:30:37 Step 9/24 : COPY go.mod vendor* ./ 23:30:38 ---> fec369fa3b21 23:30:38 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:30:38 ---> Running in 721999733ff7 23:30:40 Removing intermediate container 721999733ff7 23:30:40 ---> 57c3e98aeff5 23:30:40 Step 11/24 : COPY . . 23:30:41 ---> d4a10e80bca1 23:30:41 Step 12/24 : RUN ${MAKE} 23:30:41 ---> Running in 1cc9a2e4f25e 23:30:42 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 23:33:19 Removing intermediate container 1cc9a2e4f25e 23:33:19 ---> 7db7d496680c 23:33:19 Step 13/24 : FROM alpine:3.14 23:33:19 3.14: Pulling from library/alpine 23:33:19 455c02918c45: Pulling fs layer 23:33:19 455c02918c45: Verifying Checksum 23:33:19 455c02918c45: Download complete 23:33:19 455c02918c45: Pull complete 23:33:19 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 23:33:19 Status: Downloaded newer image for alpine:3.14 23:33:19 ---> ac73e934f311 23:33:19 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 23:33:19 ---> Running in 8ce723ca9d48 23:33:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 23:33:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 23:33:19 (1/6) Installing dumb-init (1.2.5-r1) 23:33:19 (2/6) Installing libgcc (10.3.1_git20210424-r2) 23:33:19 (3/6) Installing libsodium (1.0.18-r0) 23:33:19 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 23:33:19 (5/6) Installing libzmq (4.3.4-r0) 23:33:19 (6/6) Installing zeromq (4.3.4-r0) 23:33:19 Executing busybox-1.33.1-r7.trigger 23:33:19 OK: 8 MiB in 20 packages 23:33:19 Removing intermediate container 8ce723ca9d48 23:33:19 ---> 88d90ebd4f2a 23:33:19 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 23:33:21 ---> 1205ad8cafcd 23:33:21 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 23:33:22 ---> f3cd0362b9b2 23:33:22 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 23:33:22 ---> 581a1004c04f 23:33:22 Step 18/24 : EXPOSE 59993 23:33:22 ---> Running in 1b869a2b3ad4 23:33:23 Removing intermediate container 1b869a2b3ad4 23:33:23 ---> 858002298a1b 23:33:23 Step 19/24 : EXPOSE 161 23:33:23 ---> Running in 2e7b917b2442 23:33:23 Removing intermediate container 2e7b917b2442 23:33:23 ---> 742b2db65c11 23:33:23 Step 20/24 : ENTRYPOINT ["/device-snmp"] 23:33:23 ---> Running in bbde5e02874e 23:33:24 Removing intermediate container bbde5e02874e 23:33:24 ---> 2a1e99fdbc42 23:33:24 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 23:33:24 ---> Running in 2f18ed203c5a 23:33:24 Removing intermediate container 2f18ed203c5a 23:33:24 ---> eaf579021149 23:33:24 Step 22/24 : LABEL arch=arm64 23:33:24 ---> Running in 62cd90409889 23:33:24 Removing intermediate container 62cd90409889 23:33:24 ---> 144a62404b2e 23:33:24 Step 23/24 : LABEL git_sha=419c1c46d367fb93abbbbdcaa70f8dc2eb5fd233 23:33:25 ---> Running in b9e01192ea32 23:33:25 Removing intermediate container b9e01192ea32 23:33:25 ---> 0d7a9646ee6b 23:33:25 Step 24/24 : LABEL version=0.0.0 23:33:25 ---> Running in 1a315319acbd 23:33:26 Removing intermediate container 1a315319acbd 23:33:26 ---> b9714195991b 23:33:26 [Warning] One or more build-args [ARCH] were not consumed 23:33:26 Successfully built b9714195991b 23:33:26 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 23:33:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:33:26 23:33:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 23:33:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:33:27 arm64: Pulling from edgex-lftools-log-publisher 23:33:27 8998bd30e6a1: Pulling fs layer 23:33:27 04944245beec: Pulling fs layer 23:33:27 699f458cf7ca: Pulling fs layer 23:33:27 765212b225bb: Pulling fs layer 23:33:27 f23df028b6ca: Pulling fs layer 23:33:27 d65c8cfc05b1: Pulling fs layer 23:33:27 2437ff75d9bd: Pulling fs layer 23:33:27 765212b225bb: Waiting 23:33:27 f23df028b6ca: Waiting 23:33:27 d65c8cfc05b1: Waiting 23:33:27 2437ff75d9bd: Waiting 23:33:27 04944245beec: Download complete 23:33:27 765212b225bb: Verifying Checksum 23:33:27 765212b225bb: Download complete 23:33:27 f23df028b6ca: Verifying Checksum 23:33:27 f23df028b6ca: Download complete 23:33:27 d65c8cfc05b1: Verifying Checksum 23:33:27 d65c8cfc05b1: Download complete 23:33:27 699f458cf7ca: Verifying Checksum 23:33:27 699f458cf7ca: Download complete 23:33:27 8998bd30e6a1: Verifying Checksum 23:33:27 8998bd30e6a1: Download complete 23:33:30 2437ff75d9bd: Verifying Checksum 23:33:30 2437ff75d9bd: Download complete 23:33:32 8998bd30e6a1: Pull complete 23:33:33 04944245beec: Pull complete 23:33:34 699f458cf7ca: Pull complete 23:33:34 765212b225bb: Pull complete 23:33:35 f23df028b6ca: Pull complete 23:33:35 d65c8cfc05b1: Pull complete 23:33:54 2437ff75d9bd: Pull complete 23:33:54 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:33:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:33:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 23:33:54 prd-ubuntu20.04-docker-arm64-4c-16g-19348 does not seem to be running inside a container 23:33:54 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:33:57 $ docker top 881531359d9462cdd2a62ecdd4a9e258ef77c812645c6618eb5a73df5ddae4b6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:33:58 ---> job-cost.sh 23:33:58 lf-activate-venv: SKIPPING 23:33:58 INFO: No Stack... 23:33:59 INFO: Retrieving Pricing Info for: v3-standard-4 23:34:00 INFO: Archiving Costs [Pipeline] sh 23:34:00 + cat /w/workspace/device-snmp-go/2/archives/cost.csv 23:34:00 + cut -d, -f6 [Pipeline] lock 23:34:01 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-151-2-stack-cost] 23:34:01 Resource [jenkins-edgexfoundry-device-snmp-go-PR-151-2-stack-cost] did not exist. Created. 23:34:01 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-151-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:34:01 /w/workspace/device-snmp-go/2@tmp/durable-4ea69f96/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:34:02 + echo total: 0.10999999940395355 [Pipeline] stash 23:34:02 Warning: overwriting stash ‘stack-cost’ 23:34:02 Stashed 1 file(s) [Pipeline] } 23:34:02 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-151-2-stack-cost] [Pipeline] // lock [Pipeline] } 23:34:02 $ docker stop --time=1 881531359d9462cdd2a62ecdd4a9e258ef77c812645c6618eb5a73df5ddae4b6 23:34:04 $ docker rm -f 881531359d9462cdd2a62ecdd4a9e258ef77c812645c6618eb5a73df5ddae4b6 [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 23:34:04 provisioning config files... 23:34:04 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-151@tmp/config5773834730735967394tmp [Pipeline] { [Pipeline] sh 23:34:04 + set +x 23:34:04 + curl -s https://codecov.io/bash 23:34:04 + bash -s -- 23:34:04 23:34:04 _____ _ 23:34:04 / ____| | | 23:34:04 | | ___ __| | ___ ___ _____ __ 23:34:04 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:34:04 | |___| (_) | (_| | __/ (_| (_) \ V / 23:34:04 \_____\___/ \__,_|\___|\___\___/ \_/ 23:34:04 Bash-1.0.6 23:34:04 23:34:04 23:34:04 ==> git version 2.25.1 found 23:34:04 ==> 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 23:34:04 Release-Date: 2020-01-08 23:34:04 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:34:04 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:34:04 ==> Jenkins CI detected. 23:34:04 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-151 23:34:04 project root: . 23:34:04 --> token set from env 23:34:04 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:34:04 ==> Running gcov in . (disable via -X gcov) 23:34:04 ==> Python coveragepy not found 23:34:04 ==> Searching for coverage reports in: 23:34:04 + . 23:34:04 -> Found 1 reports 23:34:04 ==> Detecting git/mercurial file structure 23:34:04 ==> Reading reports 23:34:04 + ./coverage.out bytes=7631 23:34:04 ==> Appending adjustments 23:34:04 https://docs.codecov.io/docs/fixing-reports 23:34:04 + Found adjustments 23:34:05 ==> Gzipping contents 23:34:05 4.0K /tmp/codecov.sIdErN.gz 23:34:05 ==> Uploading reports 23:34:05 url: https://codecov.io 23:34:05 query: branch=PR-151&commit=c0faed3f3eb4476da2ebf43eae59728ac57e0cfe&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-151%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=151&job=&cmd_args= 23:34:05 -> Pinging Codecov 23:34:05 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-151&commit=c0faed3f3eb4476da2ebf43eae59728ac57e0cfe&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-151%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=151&job=&cmd_args= 23:34:05 -> Uploading to 23:34:05 https://storage.googleapis.com/codecov/v4/raw/2022-04-10/6C56EA5C29638FB4528AC87E60AF5AE0/c0faed3f3eb4476da2ebf43eae59728ac57e0cfe/505b5278-b08b-4869-94a7-411679cbc911.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220410%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220410T233405Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b7fb069077b8ad3e86dd9a35cfa538c55789fe8a7c2b684ae84bb20e19cd19bf 23:34:05 % Total % Received % Xferd Average Speed Time Time Time Current 23:34:05 Dload Upload Total Spent Left Speed 23:34:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1598 0 0 100 1598 0 7502 --:--:-- --:--:-- --:--:-- 7502 23:34:05 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/c0faed3f3eb4476da2ebf43eae59728ac57e0cfe [Pipeline] } 23:34:05 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 23:34:06 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-151/archives ] 23:34:06 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-151/archives 23:34:06 total 16 23:34:06 drwxr-xr-x 3 root root 4096 Apr 10 23:27 . 23:34:06 drwxrwxr-x 10 jenkins jenkins 4096 Apr 10 23:27 .. 23:34:06 drwxr-xr-x 2 root root 4096 Apr 10 23:27 cost 23:34:06 -rw-r--r-- 1 root root 85 Apr 10 23:27 cost.csv 23:34:06 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-151/archives 23:34:06 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-151/archives 23:34:06 total 16 23:34:06 drwxr-xr-x 3 jenkins jenkins 4096 Apr 10 23:27 . 23:34:06 drwxrwxr-x 10 jenkins jenkins 4096 Apr 10 23:27 .. 23:34:06 drwxr-xr-x 2 jenkins jenkins 4096 Apr 10 23:27 cost 23:34:06 -rw-r--r-- 1 jenkins jenkins 85 Apr 10 23:27 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:34:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:34:07 ---> package-listing.sh 23:34:07 ++ facter osfamily 23:34:07 ++ tr '[:upper:]' '[:lower:]' 23:34:07 + OS_FAMILY=debian 23:34:07 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-151 23:34:07 + START_PACKAGES=/tmp/packages_start.txt 23:34:07 + END_PACKAGES=/tmp/packages_end.txt 23:34:07 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:34:07 + PACKAGES=/tmp/packages_start.txt 23:34:07 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-151 ']' 23:34:07 + PACKAGES=/tmp/packages_end.txt 23:34:07 + case "${OS_FAMILY}" in 23:34:07 + dpkg -l 23:34:07 + grep '^ii' 23:34:07 + '[' -f /tmp/packages_start.txt ']' 23:34:07 + '[' -f /tmp/packages_end.txt ']' 23:34:07 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:34:07 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-151 ']' 23:34:07 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-151/archives/ 23:34:07 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-151/archives/ [Pipeline] echo 23:34:07 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-151/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:34:07 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:34:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:34:07 . [Pipeline] withDockerContainer 23:34:08 prd-ubuntu20.04-docker-8c-8g-19350 does not seem to be running inside a container 23:34:08 $ 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-151/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-151 -v /w/workspace/gexfoundry_device-snmp-go_PR-151:/w/workspace/gexfoundry_device-snmp-go_PR-151:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-151@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-151@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:34:08 $ docker top ff6e7e4e1b2eb765225fe73748683242de41ec5dbb3711c068f9bfa0905e0684 -eo pid,comm [Pipeline] { [Pipeline] sh 23:34:08 + touch /tmp/pre-build-complete [Pipeline] sh 23:34:08 + mkdir -p /var/log/sysstat [Pipeline] sh 23:34:09 + ls /var/log/sa-host 23:34:09 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:34:09 provisioning config files... 23:34:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-151@tmp/config6966322700166631770tmp [Pipeline] { [Pipeline] echo 23:34:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:34:09 ---> create-netrc.sh [Pipeline] } 23:34:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:34:09 ---> python-tools-install.sh [Pipeline] echo 23:34:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:34:10 ---> sudo-logs.sh 23:34:10 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:34:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:34:10 ---> job-cost.sh 23:34:10 lf-activate-venv: SKIPPING 23:34:10 DEBUG: total: 0.2199999988079071 23:34:10 INFO: Retrieving Stack Cost... 23:34:10 INFO: Retrieving Pricing Info for: v3-standard-8 23:34:11 INFO: Archiving Costs [Pipeline] echo 23:34:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:34:11 ---> logs-deploy.sh 23:34:11 lf-activate-venv: SKIPPING 23:34:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-151/2 23:34:11 INFO: archiving workspace using pattern(s): 23:34:12 Archives upload complete. 23:34:12 INFO: archiving logs to Nexus 23:34:13 ---> uname -a: 23:34:13 Linux prd-ubuntu20-04-docker-8c-8g-19350 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 23:34:13 23:34:13