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 jpwhitemn for edgexfoundry/device-snmp-go Obtained Jenkinsfile from 0d9b53f380664d327cdd8d5493c2988863f41b5b+dc31039becec9772b0a461c07f986a5f4714edf6 (28a444dcd0d2ef5bfaebbb9349b9461a861a531f) 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-ssh5129903164688448955.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh11673911229970192670.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/PR-168/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-168/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2006513068661292087.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh13864380193708451874.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-168/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-168/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh13183470279306240969.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-62255 in /w/workspace/gexfoundry_device-snmp-go_PR-168 [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-168 # 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 dc31039becec9772b0a461c07f986a5f4714edf6 into PR head commit 0d9b53f380664d327cdd8d5493c2988863f41b5b Merge succeeded, producing 925890df69d5f2b828904257ec357abd66d8c98b Checking out Revision 925890df69d5f2b828904257ec357abd66d8c98b (PR-168) > 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/168/head:refs/remotes/origin/PR-168 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0d9b53f380664d327cdd8d5493c2988863f41b5b # 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 dc31039becec9772b0a461c07f986a5f4714edf6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 925890df69d5f2b828904257ec357abd66d8c98b # timeout=10 Commit message: "Merge commit 'dc31039becec9772b0a461c07f986a5f4714edf6' into HEAD" > git rev-list --no-walk 0d9b53f380664d327cdd8d5493c2988863f41b5b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:43:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:43:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:43:56 ========================================================= 23:43:56 EdgeX Global Pipelines Version Info 23:43:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:43:57 ------------------- 23:43:57 stable info: 23:43:57 ------------------- 23:43:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:43:57 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 23:43:57 Message: update stable to v1.0.230 23:43:57 ------------------- 23:43:57 experimental info: 23:43:57 ------------------- 23:43:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:43:57 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 23:43:57 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-168 [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-168 [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-168 [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 925890df69d5f2b828904257ec357abd66d8c98b [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 925890d [Pipeline] echo 23:43:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:43:58 provisioning config files... 23:43:58 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-168@tmp/config3561555665133252764tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:43:58 ---> docker-login.sh 23:43:58 nexus3.edgexfoundry.org:10001 23:43:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:43:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:43:59 Configure a credential helper to remove this warning. See 23:43:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:43:59 23:43:59 Login Succeeded 23:43:59 nexus3.edgexfoundry.org:10002 23:43:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:43:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:43:59 Configure a credential helper to remove this warning. See 23:43:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:43:59 23:43:59 Login Succeeded 23:43:59 nexus3.edgexfoundry.org:10003 23:43:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:43:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:43:59 Configure a credential helper to remove this warning. See 23:43:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:43:59 23:43:59 Login Succeeded 23:43:59 nexus3.edgexfoundry.org:10004 23:43:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:43:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:43:59 Configure a credential helper to remove this warning. See 23:43:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:43:59 23:43:59 Login Succeeded 23:43:59 docker.io 23:43:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:43:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:43:59 Configure a credential helper to remove this warning. See 23:43:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:43:59 23:43:59 Login Succeeded 23:43:59 ---> docker-login.sh ends [Pipeline] } 23:43:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:44:00 + git rev-list -1 --merges 925890df69d5f2b828904257ec357abd66d8c98b~1..925890df69d5f2b828904257ec357abd66d8c98b [Pipeline] echo 23:44:00 -----------> git rev-list -1 --merges 925890df69d5f2b828904257ec357abd66d8c98b~1..925890df69d5f2b828904257ec357abd66d8c98b 925890df69d5f2b828904257ec357abd66d8c98b 23:44:00 925890df69d5f2b828904257ec357abd66d8c98b [false] [Pipeline] sh 23:44:00 + git log --format=format:%s -1 925890df69d5f2b828904257ec357abd66d8c98b [Pipeline] echo 23:44:00 ========================================================= 23:44:00 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:44:00 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:44:00 + git log --format=format:%s -1 925890df69d5f2b828904257ec357abd66d8c98b [Pipeline] echo 23:44:00 [semverPrep] GIT_COMMIT: 925890df69d5f2b828904257ec357abd66d8c98b, Commit Message: Merge commit 'dc31039becec9772b0a461c07f986a5f4714edf6' into HEAD [Pipeline] echo 23:44:00 [semverPrep] This is not a build commit. [Pipeline] sh 23:44:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:44:01 + grep -v github /etc/ssh/ssh_known_hosts 23:44:01 + [ -e /tmp/ssh_known_hosts ] 23:44:01 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:44:01 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:44:01 sudo tee -a /etc/ssh/ssh_known_hosts 23:44:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 23:44:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:44:01 23:44:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:44:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:44:01 latest: Pulling from edgex-devops/py-git-semver 23:44:01 1fe172e4850f: Pulling fs layer 23:44:01 caf521ccaac6: Pulling fs layer 23:44:01 3ead6fa29328: Pulling fs layer 23:44:01 5c2a1cbceb83: Pulling fs layer 23:44:01 a8d5f1318db7: Pulling fs layer 23:44:01 c427282e49a2: Pulling fs layer 23:44:01 1827001aaf11: Pulling fs layer 23:44:01 0714d37db230: Pulling fs layer 23:44:01 ac28cf19c067: Pulling fs layer 23:44:01 ca983d60f3e2: Pulling fs layer 23:44:01 9f894cec8388: Pulling fs layer 23:44:01 5c2a1cbceb83: Waiting 23:44:01 a8d5f1318db7: Waiting 23:44:01 ac28cf19c067: Waiting 23:44:01 c427282e49a2: Waiting 23:44:01 ca983d60f3e2: Waiting 23:44:01 9f894cec8388: Waiting 23:44:01 0714d37db230: Waiting 23:44:01 caf521ccaac6: Verifying Checksum 23:44:01 caf521ccaac6: Download complete 23:44:01 5c2a1cbceb83: Verifying Checksum 23:44:01 5c2a1cbceb83: Download complete 23:44:02 a8d5f1318db7: Verifying Checksum 23:44:02 a8d5f1318db7: Download complete 23:44:02 3ead6fa29328: Verifying Checksum 23:44:02 3ead6fa29328: Download complete 23:44:02 c427282e49a2: Verifying Checksum 23:44:02 c427282e49a2: Download complete 23:44:02 0714d37db230: Download complete 23:44:02 ac28cf19c067: Download complete 23:44:02 ca983d60f3e2: Verifying Checksum 23:44:02 ca983d60f3e2: Download complete 23:44:02 9f894cec8388: Verifying Checksum 23:44:02 9f894cec8388: Download complete 23:44:02 1fe172e4850f: Verifying Checksum 23:44:02 1fe172e4850f: Download complete 23:44:02 1827001aaf11: Verifying Checksum 23:44:02 1827001aaf11: Download complete 23:44:03 1fe172e4850f: Pull complete 23:44:03 caf521ccaac6: Pull complete 23:44:04 3ead6fa29328: Pull complete 23:44:04 5c2a1cbceb83: Pull complete 23:44:04 a8d5f1318db7: Pull complete 23:44:04 c427282e49a2: Pull complete 23:44:06 1827001aaf11: Pull complete 23:44:06 0714d37db230: Pull complete 23:44:06 ac28cf19c067: Pull complete 23:44:06 ca983d60f3e2: Pull complete 23:44:06 9f894cec8388: Pull complete 23:44:06 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 23:44:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:44:06 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 23:44:06 prd-ubuntu20.04-docker-8c-8g-62255 does not seem to be running inside a container 23:44:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_PR-168 -v /w/workspace/gexfoundry_device-snmp-go_PR-168:/w/workspace/gexfoundry_device-snmp-go_PR-168:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-168@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-168@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-devops/py-git-semver:latest cat 23:44:08 $ docker top e702e293a6115f972c7813e4a9738f852ecfc839b651574ae4697f31c08eee70 -eo pid,comm 23:44:08 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 23:44:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:44:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:44:08 [ssh-agent] Looking for ssh-agent implementation... 23:44:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:44:09 $ docker exec e702e293a6115f972c7813e4a9738f852ecfc839b651574ae4697f31c08eee70 ssh-agent 23:44:09 SSH_AUTH_SOCK=/tmp/ssh-0CgMP4woFeuS/agent.34 23:44:09 SSH_AGENT_PID=41 23:44:09 Running ssh-add (command line suppressed) 23:44:09 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-168@tmp/private_key_8646138589425365715.key (/w/workspace/gexfoundry_device-snmp-go_PR-168@tmp/private_key_8646138589425365715.key) 23:44:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:44:09 + git tag --points-at HEAD [Pipeline] } 23:44:09 $ docker exec --env ******** --env ******** e702e293a6115f972c7813e4a9738f852ecfc839b651574ae4697f31c08eee70 ssh-agent -k 23:44:09 unset SSH_AUTH_SOCK; 23:44:09 unset SSH_AGENT_PID; 23:44:09 echo Agent pid 41 killed; 23:44:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:44:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:44:09 [ssh-agent] Looking for ssh-agent implementation... 23:44:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:44:09 $ docker exec e702e293a6115f972c7813e4a9738f852ecfc839b651574ae4697f31c08eee70 ssh-agent 23:44:10 SSH_AUTH_SOCK=/tmp/ssh-bP2tk6wN0JU3/agent.74 23:44:10 SSH_AGENT_PID=81 23:44:10 Running ssh-add (command line suppressed) 23:44:10 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-168@tmp/private_key_3537651201417032853.key (/w/workspace/gexfoundry_device-snmp-go_PR-168@tmp/private_key_3537651201417032853.key) 23:44:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:44:10 + git semver init 23:44:10 2022-05-10 23:44:10,739 [run_init] DEBUG init version:0.0.0 force:False 23:44:10 2022-05-10 23:44:10,740 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-168/.semver 23:44:10 2022-05-10 23:44:10,740 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-168/.semver 23:44:10 2022-05-10 23:44:10,741 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/gexfoundry_device-snmp-go_PR-168/.semver'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-168, universal_newlines=False, shell=None, istream=None) 23:44:11 2022-05-10 23:44:11,539 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-168/.git/info/exclude 23:44:11 2022-05-10 23:44:11,539 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-168/.semver/PR-168 with force:False 23:44:11 2022-05-10 23:44:11,539 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-168/.semver/PR-168 23:44:11 2022-05-10 23:44:11,543 [execute] INFO git cat-file --batch-check 23:44:11 2022-05-10 23:44:11,543 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-168/.semver, universal_newlines=False, shell=None, istream=) 23:44:11 2022-05-10 23:44:11,550 [execute] INFO git cat-file --batch 23:44:11 2022-05-10 23:44:11,551 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-168/.semver, universal_newlines=False, shell=None, istream=) 23:44:11 2022-05-10 23:44:11,556 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-168/.semver/PR-168 23:44:11 0.0.0 [Pipeline] } 23:44:11 $ docker exec --env ******** --env ******** e702e293a6115f972c7813e4a9738f852ecfc839b651574ae4697f31c08eee70 ssh-agent -k 23:44:11 unset SSH_AUTH_SOCK; 23:44:11 unset SSH_AGENT_PID; 23:44:11 echo Agent pid 81 killed; 23:44:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:44:12 + git semver [Pipeline] } 23:44:12 $ docker stop --time=1 e702e293a6115f972c7813e4a9738f852ecfc839b651574ae4697f31c08eee70 23:44:13 $ docker rm -f e702e293a6115f972c7813e4a9738f852ecfc839b651574ae4697f31c08eee70 [Pipeline] // withDockerContainer [Pipeline] sh 23:44:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:44:14 Stashed 1 file(s) [Pipeline] echo 23:44:14 [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:44:14 provisioning config files... 23:44:14 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-168@tmp/config6444197965336023698tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:44:14 ---> docker-login.sh 23:44:14 nexus3.edgexfoundry.org:10001 23:44:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:44:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:44:14 Configure a credential helper to remove this warning. See 23:44:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:44:14 23:44:14 Login Succeeded 23:44:14 nexus3.edgexfoundry.org:10002 23:44:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:44:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:44:15 Configure a credential helper to remove this warning. See 23:44:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:44:15 23:44:15 Login Succeeded 23:44:15 nexus3.edgexfoundry.org:10003 23:44:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:44:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:44:15 Configure a credential helper to remove this warning. See 23:44:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:44:15 23:44:15 Login Succeeded 23:44:15 nexus3.edgexfoundry.org:10004 23:44:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:44:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:44:15 Configure a credential helper to remove this warning. See 23:44:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:44:15 23:44:15 Login Succeeded 23:44:15 docker.io 23:44:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:44:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:44:15 Configure a credential helper to remove this warning. See 23:44:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:44:15 23:44:15 Login Succeeded 23:44:15 ---> docker-login.sh ends [Pipeline] } 23:44:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:44:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:44:15 ========================================================= 23:44:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 23:44:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:44:16 + 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:44:16 Sending build context to Docker daemon 5.346MB 23:44:16 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 23:44:16 Step 2/12 : FROM ${BASE} AS builder 23:44:16 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 23:44:16 59bf1c3509f3: Pulling fs layer 23:44:16 666ba61612fd: Pulling fs layer 23:44:16 8ed8ca486205: Pulling fs layer 23:44:16 4fe6c5a15a65: Pulling fs layer 23:44:16 22a0e8bec74d: Pulling fs layer 23:44:16 ca2b28591e48: Pulling fs layer 23:44:16 a51346096db8: Pulling fs layer 23:44:16 daebc70d1ce1: Pulling fs layer 23:44:16 0e18a0eac166: Pulling fs layer 23:44:16 daebc70d1ce1: Waiting 23:44:16 ca2b28591e48: Waiting 23:44:16 0e18a0eac166: Waiting 23:44:16 a51346096db8: Waiting 23:44:16 22a0e8bec74d: Waiting 23:44:16 8ed8ca486205: Verifying Checksum 23:44:16 8ed8ca486205: Download complete 23:44:16 666ba61612fd: Verifying Checksum 23:44:16 666ba61612fd: Download complete 23:44:16 22a0e8bec74d: Verifying Checksum 23:44:16 22a0e8bec74d: Download complete 23:44:16 ca2b28591e48: Verifying Checksum 23:44:16 ca2b28591e48: Download complete 23:44:16 a51346096db8: Verifying Checksum 23:44:16 a51346096db8: Download complete 23:44:16 59bf1c3509f3: Download complete 23:44:16 daebc70d1ce1: Verifying Checksum 23:44:16 daebc70d1ce1: Download complete 23:44:16 59bf1c3509f3: Pull complete 23:44:16 666ba61612fd: Pull complete 23:44:16 8ed8ca486205: Pull complete 23:44:16 4fe6c5a15a65: Verifying Checksum 23:44:16 4fe6c5a15a65: Download complete 23:44:16 0e18a0eac166: Verifying Checksum 23:44:16 0e18a0eac166: Download complete 23:44:21 4fe6c5a15a65: Pull complete 23:44:21 22a0e8bec74d: Pull complete 23:44:21 ca2b28591e48: Pull complete 23:44:21 a51346096db8: Pull complete 23:44:21 daebc70d1ce1: Pull complete 23:44:22 0e18a0eac166: Pull complete 23:44:22 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 23:44:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 23:44:22 ---> f018257e8ee9 23:44:22 Step 3/12 : ARG MAKE='make build' 23:44:24 ---> Running in 9030c1d23388 23:44:24 Removing intermediate container 9030c1d23388 23:44:24 ---> 8dbe404a82cb 23:44:24 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:44:24 ---> Running in 043fac92c640 23:44:24 Removing intermediate container 043fac92c640 23:44:24 ---> 710bf1cb5ec8 23:44:24 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 23:44:24 ---> Running in e189a9f78712 23:44:24 Removing intermediate container e189a9f78712 23:44:24 ---> 0a9123ce3df3 23:44:24 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:44:25 ---> Running in cd3364c9063a 23:44:26 Removing intermediate container cd3364c9063a 23:44:26 ---> 36665ca3d354 23:44:26 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:44:26 ---> Running in bd1bcd4d208e 23:44:26 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 23:44:27 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 23:44:27 (1/4) Installing openssh-keygen (8.8_p1-r1) 23:44:27 (2/4) Installing libedit (20210910.3.1-r0) 23:44:27 (3/4) Installing openssh-client-common (8.8_p1-r1) 23:44:28 (4/4) Installing openssh-client-default (8.8_p1-r1) 23:44:28 Executing busybox-1.34.1-r3.trigger 23:44:28 OK: 224 MiB in 56 packages 23:44:28 Removing intermediate container bd1bcd4d208e 23:44:28 ---> 5a89b3eb4730 23:44:28 Step 8/12 : WORKDIR /device-snmp-go 23:44:28 ---> Running in 4c19855172c2 23:44:28 Removing intermediate container 4c19855172c2 23:44:28 ---> c03fa003b75f 23:44:28 Step 9/12 : COPY go.mod vendor* ./ 23:44:28 ---> 76e1809ad7f3 23:44:28 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:44:28 ---> Running in 0b79cc7d4975 23:44:29 Still waiting to schedule task 23:44:29 ‘prd-ubuntu20.04-docker-arm64-4c-16g-62259’ is offline 23:44:43 Removing intermediate container 0b79cc7d4975 23:44:43 ---> 50ed86ede5c6 23:44:43 Step 11/12 : COPY . . 23:44:44 ---> 71c4a0f832e5 23:44:44 Step 12/12 : RUN ${MAKE} 23:44:44 ---> Running in 057bdc9bed2c 23:44:44 noop 23:44:44 Removing intermediate container 057bdc9bed2c 23:44:44 ---> a7d215e014d9 23:44:44 Successfully built a7d215e014d9 23:44:44 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 23:44:45 + docker inspect -f . ci-base-image-x86_64 23:44:45 . [Pipeline] withDockerContainer 23:44:45 prd-ubuntu20.04-docker-8c-8g-62255 does not seem to be running inside a container 23:44:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-168 -v /w/workspace/gexfoundry_device-snmp-go_PR-168:/w/workspace/gexfoundry_device-snmp-go_PR-168:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-168@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-168@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:44:45 $ docker top 3c9471c044c48c50d6a6da1c843348e4c9cab98064788719294206c10589e155 -eo pid,comm [Pipeline] { [Pipeline] sh 23:44:46 + go version 23:44:46 go version go1.17.6 linux/amd64 [Pipeline] } 23:44:46 $ docker stop --time=1 3c9471c044c48c50d6a6da1c843348e4c9cab98064788719294206c10589e155 23:44:47 $ docker rm -f 3c9471c044c48c50d6a6da1c843348e4c9cab98064788719294206c10589e155 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:44:48 + docker inspect -f . ci-base-image-x86_64 23:44:48 . [Pipeline] withDockerContainer 23:44:48 prd-ubuntu20.04-docker-8c-8g-62255 does not seem to be running inside a container 23:44:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_PR-168 -v /w/workspace/gexfoundry_device-snmp-go_PR-168:/w/workspace/gexfoundry_device-snmp-go_PR-168:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-168@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-168@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:44:48 $ docker top 6e3c9d8a2bb9cc70403bec803223226d73814dd950c96aeb7734698bc49fce1c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:44:48 + make test 23:44:48 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 23:44:49 ? github.com/edgexfoundry/device-snmp-go [no test files] 23:44:59 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 23:44:59 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.014s coverage: 0.0% of statements 23:45:04 CGO_ENABLED=1 GO111MODULE=on go vet ./... 23:45:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:45:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:45:08 ./bin/test-attribution-txt.sh [Pipeline] echo 23:45:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:45:08 $ docker stop --time=1 6e3c9d8a2bb9cc70403bec803223226d73814dd950c96aeb7734698bc49fce1c 23:45:10 $ docker rm -f 6e3c9d8a2bb9cc70403bec803223226d73814dd950c96aeb7734698bc49fce1c [Pipeline] // withDockerContainer [Pipeline] sh 23:45:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:45:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:45:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:45:11 + ls -al . 23:45:11 total 168 23:45:11 drwxrwxr-x 9 jenkins jenkins 4096 May 10 23:45 . 23:45:11 drwxrwxr-x 4 jenkins jenkins 4096 May 10 23:43 .. 23:45:11 -rw-rw-r-- 1 jenkins jenkins 6 May 10 23:43 .dockerignore 23:45:11 drwxrwxr-x 8 jenkins jenkins 4096 May 10 23:44 .git 23:45:11 drwxrwxr-x 3 jenkins jenkins 4096 May 10 23:43 .github 23:45:11 -rw-rw-r-- 1 jenkins jenkins 328 May 10 23:43 .gitignore 23:45:11 -rw-rw-r-- 1 jenkins jenkins 41 May 10 23:43 .golangci.yml 23:45:11 drwxr-xr-x 3 jenkins jenkins 4096 May 10 23:44 .semver 23:45:11 -rw-rw-r-- 1 jenkins jenkins 8296 May 10 23:43 Attribution.txt 23:45:11 -rw-rw-r-- 1 jenkins jenkins 7102 May 10 23:43 CHANGELOG.md 23:45:11 -rw-rw-r-- 1 jenkins jenkins 1516 May 10 23:43 Dockerfile 23:45:11 -rw-rw-r-- 1 jenkins jenkins 677 May 10 23:43 GOVERNANCE.md 23:45:11 -rw-rw-r-- 1 jenkins jenkins 656 May 10 23:43 Jenkinsfile 23:45:11 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 23:43 LICENSE 23:45:11 -rw-rw-r-- 1 jenkins jenkins 1938 May 10 23:43 Makefile 23:45:11 -rw-rw-r-- 1 jenkins jenkins 620 May 10 23:43 OWNERS.md 23:45:11 -rw-rw-r-- 1 jenkins jenkins 9390 May 10 23:43 README.md 23:45:11 -rw-rw-r-- 1 jenkins jenkins 5 May 10 23:44 VERSION 23:45:11 drwxrwxr-x 2 jenkins jenkins 4096 May 10 23:43 bin 23:45:11 drwxrwxr-x 3 jenkins jenkins 4096 May 10 23:43 cmd 23:45:11 -rw-r--r-- 1 jenkins jenkins 7631 May 10 23:44 coverage.out 23:45:11 -rw-rw-r-- 1 jenkins jenkins 3296 May 10 23:43 go.mod 23:45:11 -rw-rw-r-- 1 jenkins jenkins 35911 May 10 23:43 go.sum 23:45:11 drwxrwxr-x 3 jenkins jenkins 4096 May 10 23:43 internal 23:45:11 drwxrwxr-x 3 jenkins jenkins 4096 May 10 23:43 snap 23:45:11 -rw-rw-r-- 1 jenkins jenkins 209 May 10 23:43 version.go [Pipeline] isUnix [Pipeline] sh 23:45:12 + 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=925890df69d5f2b828904257ec357abd66d8c98b --label arch=amd64 --label version=0.0.0 . 23:45:12 Sending build context to Docker daemon 5.354MB 23:45:12 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 23:45:12 Step 2/24 : FROM ${BASE} AS builder 23:45:12 ---> a7d215e014d9 23:45:12 Step 3/24 : ARG MAKE='make build' 23:45:12 ---> Running in 0495f4c1709e 23:45:12 Removing intermediate container 0495f4c1709e 23:45:12 ---> 9261e3e71631 23:45:12 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:45:12 ---> Running in 2d800f9a0c22 23:45:12 Removing intermediate container 2d800f9a0c22 23:45:12 ---> dc9a6680c2f2 23:45:12 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 23:45:12 ---> Running in ae166205e96a 23:45:12 Removing intermediate container ae166205e96a 23:45:12 ---> 3a121f7669f5 23:45:12 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:45:12 ---> Running in 1926a627e988 23:45:13 Removing intermediate container 1926a627e988 23:45:13 ---> 66364a3ba458 23:45:13 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:45:13 ---> Running in 9302652b844b 23:45:13 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 23:45:14 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 23:45:14 OK: 224 MiB in 56 packages 23:45:14 Removing intermediate container 9302652b844b 23:45:14 ---> 56907bc39b80 23:45:14 Step 8/24 : WORKDIR /device-snmp-go 23:45:14 ---> Running in 70534bd731aa 23:45:15 Removing intermediate container 70534bd731aa 23:45:15 ---> ef2a454c9e6e 23:45:15 Step 9/24 : COPY go.mod vendor* ./ 23:45:15 ---> 7dd62cc0ee93 23:45:15 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:45:15 ---> Running in f83a5417667d 23:45:15 Removing intermediate container f83a5417667d 23:45:15 ---> be4da9855f01 23:45:15 Step 11/24 : COPY . . 23:45:16 ---> aa0b16040534 23:45:16 Step 12/24 : RUN ${MAKE} 23:45:16 ---> Running in 8be95a96b3ee 23:45:16 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:45:38 Removing intermediate container 8be95a96b3ee 23:45:38 ---> d22539a7333b 23:45:38 Step 13/24 : FROM alpine:3.14 23:45:38 3.14: Pulling from library/alpine 23:45:38 8663204ce13b: Pulling fs layer 23:45:38 8663204ce13b: Verifying Checksum 23:45:38 8663204ce13b: Download complete 23:45:38 8663204ce13b: Pull complete 23:45:38 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 23:45:38 Status: Downloaded newer image for alpine:3.14 23:45:38 ---> e04c818066af 23:45:38 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 23:45:38 ---> Running in c5f63148e298 23:45:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 23:45:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 23:45:38 (1/6) Installing dumb-init (1.2.5-r1) 23:45:38 (2/6) Installing libgcc (10.3.1_git20210424-r2) 23:45:38 (3/6) Installing libsodium (1.0.18-r0) 23:45:38 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 23:45:38 (5/6) Installing libzmq (4.3.4-r0) 23:45:38 (6/6) Installing zeromq (4.3.4-r0) 23:45:38 Executing busybox-1.33.1-r7.trigger 23:45:38 OK: 8 MiB in 20 packages 23:45:38 Removing intermediate container c5f63148e298 23:45:38 ---> 4cdc291f0431 23:45:38 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 23:45:38 ---> 0b6a14da3d52 23:45:38 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 23:45:38 ---> f098b41204fc 23:45:38 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 23:45:38 ---> ed358911025c 23:45:38 Step 18/24 : EXPOSE 59993 23:45:38 ---> Running in a21b64215de3 23:45:38 Removing intermediate container a21b64215de3 23:45:38 ---> aee42fcde537 23:45:38 Step 19/24 : EXPOSE 161 23:45:38 ---> Running in be2cf30c6f8e 23:45:38 Removing intermediate container be2cf30c6f8e 23:45:38 ---> 3039595a4da6 23:45:38 Step 20/24 : ENTRYPOINT ["/device-snmp"] 23:45:38 ---> Running in 6854d3cdccb1 23:45:38 Removing intermediate container 6854d3cdccb1 23:45:38 ---> 7421b9ef7e0a 23:45:38 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 23:45:38 ---> Running in 6ea25d170eaa 23:45:38 Removing intermediate container 6ea25d170eaa 23:45:38 ---> d13419b8084e 23:45:38 Step 22/24 : LABEL arch=amd64 23:45:39 ---> Running in 816710b851c9 23:45:39 Removing intermediate container 816710b851c9 23:45:39 ---> 0d8a07606894 23:45:39 Step 23/24 : LABEL git_sha=925890df69d5f2b828904257ec357abd66d8c98b 23:45:39 ---> Running in 084a78b63427 23:45:39 Removing intermediate container 084a78b63427 23:45:39 ---> 752ded50b484 23:45:39 Step 24/24 : LABEL version=0.0.0 23:45:39 ---> Running in 30aa855c2c89 23:45:39 Removing intermediate container 30aa855c2c89 23:45:39 ---> 01b7de2ff7c7 23:45:39 [Warning] One or more build-args [ARCH] were not consumed 23:45:39 Successfully built 01b7de2ff7c7 23:45:39 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:45:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:45:39 23:45:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:45:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:45:40 latest: Pulling from edgex-lftools-log-publisher 23:45:40 5eb5b503b376: Pulling fs layer 23:45:40 5c69ac0246d0: Pulling fs layer 23:45:40 ec43610c2a17: Pulling fs layer 23:45:40 3a2ae6a8a46f: Pulling fs layer 23:45:40 33b1e0a273af: Pulling fs layer 23:45:40 5d3b04190fa2: Pulling fs layer 23:45:40 2f39f015ded8: Pulling fs layer 23:45:40 33b1e0a273af: Waiting 23:45:40 3a2ae6a8a46f: Waiting 23:45:40 5d3b04190fa2: Waiting 23:45:40 5c69ac0246d0: Verifying Checksum 23:45:40 5c69ac0246d0: Download complete 23:45:40 3a2ae6a8a46f: Download complete 23:45:40 33b1e0a273af: Verifying Checksum 23:45:40 33b1e0a273af: Download complete 23:45:40 ec43610c2a17: Verifying Checksum 23:45:40 ec43610c2a17: Download complete 23:45:40 5eb5b503b376: Verifying Checksum 23:45:40 5eb5b503b376: Download complete 23:45:41 2f39f015ded8: Download complete 23:45:41 5eb5b503b376: Pull complete 23:45:41 5c69ac0246d0: Pull complete 23:45:42 ec43610c2a17: Pull complete 23:45:42 3a2ae6a8a46f: Pull complete 23:45:42 33b1e0a273af: Pull complete 23:45:42 5d3b04190fa2: Pull complete 23:45:46 2f39f015ded8: Pull complete 23:45:46 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:45:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:45:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:45:47 prd-ubuntu20.04-docker-8c-8g-62255 does not seem to be running inside a container 23:45:47 $ 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-168 -v /w/workspace/gexfoundry_device-snmp-go_PR-168:/w/workspace/gexfoundry_device-snmp-go_PR-168:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-168@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-168@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:45:49 $ docker top 0f686c92ab4357c7a673e678e4b7c33bd8537929ee942bef26d201331386ad82 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:45:50 ---> job-cost.sh 23:45:50 lf-activate-venv: SKIPPING 23:45:50 INFO: No Stack... 23:45:50 INFO: Retrieving Pricing Info for: v3-standard-8 23:45:50 INFO: Archiving Costs [Pipeline] sh 23:45:51 + cat /w/workspace/gexfoundry_device-snmp-go_PR-168/archives/cost.csv 23:45:51 + cut -d, -f6 [Pipeline] lock 23:45:51 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-168-3-stack-cost] 23:45:51 Resource [jenkins-edgexfoundry-device-snmp-go-PR-168-3-stack-cost] did not exist. Created. 23:45:51 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-168-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:45:51 + echo total: 0.2199999988079071 [Pipeline] stash 23:45:51 Stashed 1 file(s) [Pipeline] } 23:45:51 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-168-3-stack-cost] [Pipeline] // lock [Pipeline] } 23:45:51 $ docker stop --time=1 0f686c92ab4357c7a673e678e4b7c33bd8537929ee942bef26d201331386ad82 23:45:52 $ docker rm -f 0f686c92ab4357c7a673e678e4b7c33bd8537929ee942bef26d201331386ad82 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:05:04 Running on prd-ubuntu20.04-docker-arm64-4c-16g-63000 in /w/workspace/gexfoundry_device-snmp-go_PR-168 [Pipeline] { [Pipeline] ws 00:05:05 Running in /w/workspace/device-snmp-go/3 [Pipeline] { [Pipeline] checkout 00:05:05 Selected Git installation does not exist. Using Default 00:05:05 The recommended git tool is: NONE 00:05:15 using credential edgex-jenkins-ssh 00:05:16 Cloning the remote Git repository 00:05:16 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 00:05:16 > git init /w/workspace/device-snmp-go/3 # timeout=10 00:05:16 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 00:05:16 > git --version # timeout=10 00:05:16 > git --version # 'git version 2.25.1' 00:05:16 using GIT_SSH to set credentials SSH Credentials for GitHub 00:05:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:05:19 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 00:05:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:05:19 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 00:05:19 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 00:05:19 using GIT_SSH to set credentials SSH Credentials for GitHub 00:05:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/pull/168/head:refs/remotes/origin/PR-168 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:05:20 Merging remotes/origin/main commit dc31039becec9772b0a461c07f986a5f4714edf6 into PR head commit 0d9b53f380664d327cdd8d5493c2988863f41b5b 00:05:20 Merge succeeded, producing 71b9dccf29a38813ae7bef044bf0cb86530fd5ae 00:05:20 Checking out Revision 71b9dccf29a38813ae7bef044bf0cb86530fd5ae (PR-168) 00:05:20 > git config core.sparsecheckout # timeout=10 00:05:20 > git checkout -f 0d9b53f380664d327cdd8d5493c2988863f41b5b # timeout=10 00:05:20 > git remote # timeout=10 00:05:20 > git config --get remote.origin.url # timeout=10 00:05:20 using GIT_SSH to set credentials SSH Credentials for GitHub 00:05:20 > git merge dc31039becec9772b0a461c07f986a5f4714edf6 # timeout=10 00:05:20 > git rev-parse HEAD^{commit} # timeout=10 00:05:20 > git config core.sparsecheckout # timeout=10 00:05:20 > git checkout -f 71b9dccf29a38813ae7bef044bf0cb86530fd5ae # timeout=10 00:05:25 Commit message: "Merge commit 'dc31039becec9772b0a461c07f986a5f4714edf6' into HEAD" 00:05:25 > git rev-list --no-walk 0d9b53f380664d327cdd8d5493c2988863f41b5b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:05:26 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:05:26 % Total % Received % Xferd Average Speed Time Time Time Current 00:05:26 Dload Upload Total Spent Left Speed 00:05:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 165k 0 --:--:-- --:--:-- --:--:-- 165k [Pipeline] sh 00:05:27 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:05:27 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:05:27 + sudo tee /etc/docker/daemon.new 00:05:27 { 00:05:27 "registry-mirrors": [ 00:05:27 "https://nexus3.edgexfoundry.org:10001" 00:05:27 ], 00:05:27 "bip": "10.250.0.254/24", 00:05:27 "hosts": [ 00:05:27 "tcp://0.0.0.0:5555", 00:05:27 "unix:///var/run/docker.sock" 00:05:27 ], 00:05:27 "mtu": 1458, 00:05:27 "selinux-enabled": true, 00:05:27 "seccomp-profile": "/etc/docker/seccomp.json" 00:05:27 } [Pipeline] sh 00:05:28 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:05:28 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:05:46 provisioning config files... 00:05:46 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/3@tmp/config6030121879237305350tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:05:47 ---> docker-login.sh 00:05:47 nexus3.edgexfoundry.org:10001 00:05:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:05:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:05:48 Configure a credential helper to remove this warning. See 00:05:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:05:48 00:05:48 Login Succeeded 00:05:48 nexus3.edgexfoundry.org:10002 00:05:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:05:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:05:49 Configure a credential helper to remove this warning. See 00:05:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:05:49 00:05:49 Login Succeeded 00:05:49 nexus3.edgexfoundry.org:10003 00:05:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:05:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:05:49 Configure a credential helper to remove this warning. See 00:05:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:05:49 00:05:49 Login Succeeded 00:05:49 nexus3.edgexfoundry.org:10004 00:05:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:05:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:05:50 Configure a credential helper to remove this warning. See 00:05:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:05:50 00:05:50 Login Succeeded 00:05:50 docker.io 00:05:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:05:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:05:51 Configure a credential helper to remove this warning. See 00:05:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:05:51 00:05:51 Login Succeeded 00:05:51 ---> docker-login.sh ends [Pipeline] } 00:05:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:05:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:05:52 ========================================================= 00:05:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 00:05:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 00:05:52 + 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 . 00:05:53 Sending build context to Docker daemon 2.769MB 00:05:53 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 00:05:53 Step 2/12 : FROM ${BASE} AS builder 00:05:53 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:05:53 9b3977197b4f: Pulling fs layer 00:05:53 1a89e8eeedd5: Pulling fs layer 00:05:53 94645a83ff95: Pulling fs layer 00:05:53 3f3a8bcf1eab: Pulling fs layer 00:05:53 0c92f367c5e7: Pulling fs layer 00:05:53 3096ccb668a1: Pulling fs layer 00:05:53 e8cf19c19ddd: Pulling fs layer 00:05:53 a4caa8a26152: Pulling fs layer 00:05:53 3f3a8bcf1eab: Waiting 00:05:53 0c92f367c5e7: Waiting 00:05:53 3096ccb668a1: Waiting 00:05:53 e8cf19c19ddd: Waiting 00:05:53 a4caa8a26152: Waiting 00:05:53 94645a83ff95: Verifying Checksum 00:05:53 94645a83ff95: Download complete 00:05:53 1a89e8eeedd5: Verifying Checksum 00:05:53 1a89e8eeedd5: Download complete 00:05:53 0c92f367c5e7: Download complete 00:05:53 3096ccb668a1: Verifying Checksum 00:05:53 3096ccb668a1: Download complete 00:05:53 e8cf19c19ddd: Verifying Checksum 00:05:53 e8cf19c19ddd: Download complete 00:05:53 9b3977197b4f: Verifying Checksum 00:05:53 9b3977197b4f: Download complete 00:05:54 9b3977197b4f: Pull complete 00:05:55 1a89e8eeedd5: Pull complete 00:05:55 94645a83ff95: Pull complete 00:05:55 a4caa8a26152: Verifying Checksum 00:05:55 a4caa8a26152: Download complete 00:05:56 3f3a8bcf1eab: Verifying Checksum 00:05:56 3f3a8bcf1eab: Download complete 00:06:11 3f3a8bcf1eab: Pull complete 00:06:11 0c92f367c5e7: Pull complete 00:06:11 3096ccb668a1: Pull complete 00:06:11 e8cf19c19ddd: Pull complete 00:06:17 a4caa8a26152: Pull complete 00:06:17 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 00:06:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 00:06:17 ---> 725f1c02e7f9 00:06:17 Step 3/12 : ARG MAKE='make build' 00:06:18 ---> Running in fa4e3293b34f 00:06:18 Removing intermediate container fa4e3293b34f 00:06:18 ---> f3d547f52cd8 00:06:18 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:06:18 ---> Running in 62a8df3b36d2 00:06:19 Removing intermediate container 62a8df3b36d2 00:06:19 ---> 86ede168205e 00:06:19 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 00:06:19 ---> Running in f8eda423cf39 00:06:19 Removing intermediate container f8eda423cf39 00:06:19 ---> 08cd52c09c6e 00:06:19 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:06:20 ---> Running in cffc225c4a0e 00:06:23 Removing intermediate container cffc225c4a0e 00:06:23 ---> d32d384b20f2 00:06:23 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:06:23 ---> Running in d8080e976400 00:06:24 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:06:25 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:06:26 (1/4) Installing openssh-keygen (8.8_p1-r1) 00:06:26 (2/4) Installing libedit (20210910.3.1-r0) 00:06:26 (3/4) Installing openssh-client-common (8.8_p1-r1) 00:06:26 (4/4) Installing openssh-client-default (8.8_p1-r1) 00:06:26 Executing busybox-1.34.1-r3.trigger 00:06:26 OK: 224 MiB in 56 packages 00:06:27 Removing intermediate container d8080e976400 00:06:27 ---> 730d0d640b99 00:06:27 Step 8/12 : WORKDIR /device-snmp-go 00:06:28 ---> Running in 89fa42a6014d 00:06:28 Removing intermediate container 89fa42a6014d 00:06:28 ---> 6b151dfd2337 00:06:28 Step 9/12 : COPY go.mod vendor* ./ 00:06:28 ---> d883286a06d6 00:06:28 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:06:29 ---> Running in cae18abe794f 00:07:25 Removing intermediate container cae18abe794f 00:07:25 ---> 518d0497e2b2 00:07:25 Step 11/12 : COPY . . 00:07:25 ---> b68241a71f06 00:07:25 Step 12/12 : RUN ${MAKE} 00:07:25 ---> Running in 8d8bd17a5341 00:07:25 noop 00:07:25 Removing intermediate container 8d8bd17a5341 00:07:25 ---> 8401b9800a79 00:07:25 Successfully built 8401b9800a79 00:07:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:07:26 + docker inspect -f . ci-base-image-arm64 00:07:26 . [Pipeline] withDockerContainer 00:07:26 prd-ubuntu20.04-docker-arm64-4c-16g-63000 does not seem to be running inside a container 00:07:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/3 -v /w/workspace/device-snmp-go/3:/w/workspace/device-snmp-go/3:rw,z -v /w/workspace/device-snmp-go/3@tmp:/w/workspace/device-snmp-go/3@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 00:07:28 $ docker top 5ac580d64abcacd4beea5131924f45be5e22c57af4131ceed701498666262b97 -eo pid,comm [Pipeline] { [Pipeline] sh 00:07:28 + go version 00:07:28 go version go1.17.6 linux/arm64 [Pipeline] } 00:07:29 $ docker stop --time=1 5ac580d64abcacd4beea5131924f45be5e22c57af4131ceed701498666262b97 00:07:30 $ docker rm -f 5ac580d64abcacd4beea5131924f45be5e22c57af4131ceed701498666262b97 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:07:31 + docker inspect -f . ci-base-image-arm64 00:07:31 . [Pipeline] withDockerContainer 00:07:31 prd-ubuntu20.04-docker-arm64-4c-16g-63000 does not seem to be running inside a container 00:07:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/3 -v /w/workspace/device-snmp-go/3:/w/workspace/device-snmp-go/3:rw,z -v /w/workspace/device-snmp-go/3@tmp:/w/workspace/device-snmp-go/3@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 00:07:33 $ docker top c058a28405f0888e3946234dd9d4980762753b3c5505d6bee8a6c2334e5c1513 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:07:34 + make test 00:07:34 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 00:07:36 ? github.com/edgexfoundry/device-snmp-go [no test files] 00:09:13 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 00:09:13 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.049s coverage: 0.0% of statements 00:09:13 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:09:13 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:09:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:09:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:09:40 ./bin/test-attribution-txt.sh [Pipeline] echo 00:09:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:09:40 $ docker stop --time=1 c058a28405f0888e3946234dd9d4980762753b3c5505d6bee8a6c2334e5c1513 00:09:42 $ docker rm -f c058a28405f0888e3946234dd9d4980762753b3c5505d6bee8a6c2334e5c1513 [Pipeline] // withDockerContainer [Pipeline] sh 00:09:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:09:43 Warning: overwriting stash ‘coverage-report’ 00:09:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:09:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:09:45 + ls -al . 00:09:45 total 164 00:09:45 drwxrwxr-x 8 jenkins jenkins 4096 May 11 00:09 . 00:09:45 drwxrwxr-x 4 jenkins jenkins 4096 May 11 00:05 .. 00:09:45 -rw-rw-r-- 1 jenkins jenkins 6 May 11 00:05 .dockerignore 00:09:45 drwxrwxr-x 8 jenkins jenkins 4096 May 11 00:05 .git 00:09:45 drwxrwxr-x 3 jenkins jenkins 4096 May 11 00:05 .github 00:09:45 -rw-rw-r-- 1 jenkins jenkins 328 May 11 00:05 .gitignore 00:09:45 -rw-rw-r-- 1 jenkins jenkins 41 May 11 00:05 .golangci.yml 00:09:45 -rw-rw-r-- 1 jenkins jenkins 8296 May 11 00:05 Attribution.txt 00:09:45 -rw-rw-r-- 1 jenkins jenkins 7102 May 11 00:05 CHANGELOG.md 00:09:45 -rw-rw-r-- 1 jenkins jenkins 1516 May 11 00:05 Dockerfile 00:09:45 -rw-rw-r-- 1 jenkins jenkins 677 May 11 00:05 GOVERNANCE.md 00:09:45 -rw-rw-r-- 1 jenkins jenkins 656 May 11 00:05 Jenkinsfile 00:09:45 -rw-rw-r-- 1 jenkins jenkins 11340 May 11 00:05 LICENSE 00:09:45 -rw-rw-r-- 1 jenkins jenkins 1938 May 11 00:05 Makefile 00:09:45 -rw-rw-r-- 1 jenkins jenkins 620 May 11 00:05 OWNERS.md 00:09:45 -rw-rw-r-- 1 jenkins jenkins 9390 May 11 00:05 README.md 00:09:45 -rw-rw-r-- 1 jenkins jenkins 5 May 10 23:44 VERSION 00:09:45 drwxrwxr-x 2 jenkins jenkins 4096 May 11 00:05 bin 00:09:45 drwxrwxr-x 3 jenkins jenkins 4096 May 11 00:05 cmd 00:09:45 -rw-r--r-- 1 jenkins jenkins 7631 May 11 00:09 coverage.out 00:09:45 -rw-rw-r-- 1 jenkins jenkins 3296 May 11 00:05 go.mod 00:09:45 -rw-rw-r-- 1 jenkins jenkins 35911 May 11 00:05 go.sum 00:09:45 drwxrwxr-x 3 jenkins jenkins 4096 May 11 00:05 internal 00:09:45 drwxrwxr-x 3 jenkins jenkins 4096 May 11 00:05 snap 00:09:45 -rw-rw-r-- 1 jenkins jenkins 209 May 11 00:05 version.go [Pipeline] isUnix [Pipeline] sh 00:09:45 + 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=71b9dccf29a38813ae7bef044bf0cb86530fd5ae --label arch=arm64 --label version=0.0.0 . 00:09:45 Sending build context to Docker daemon 2.778MB 00:09:46 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 00:09:46 Step 2/24 : FROM ${BASE} AS builder 00:09:46 ---> 8401b9800a79 00:09:46 Step 3/24 : ARG MAKE='make build' 00:09:46 ---> Running in 68034177c719 00:09:46 Removing intermediate container 68034177c719 00:09:46 ---> 436c2317acd1 00:09:46 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:09:46 ---> Running in 34c87b926dde 00:09:47 Removing intermediate container 34c87b926dde 00:09:47 ---> 2a1ae3ee375f 00:09:47 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 00:09:47 ---> Running in 4ab3a1db4193 00:09:47 Removing intermediate container 4ab3a1db4193 00:09:47 ---> d5c34b0c16c3 00:09:47 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:09:47 ---> Running in ac5a12aef3e8 00:09:49 Removing intermediate container ac5a12aef3e8 00:09:49 ---> 6e5a44b7c731 00:09:49 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:09:49 ---> Running in d970079d0b0a 00:09:50 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:09:51 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:09:52 OK: 224 MiB in 56 packages 00:09:53 Removing intermediate container d970079d0b0a 00:09:53 ---> 7638ca80acf3 00:09:53 Step 8/24 : WORKDIR /device-snmp-go 00:09:53 ---> Running in f5ddd26fbd62 00:09:54 Removing intermediate container f5ddd26fbd62 00:09:54 ---> 32fe586f9d64 00:09:54 Step 9/24 : COPY go.mod vendor* ./ 00:09:54 ---> a99aea983a12 00:09:54 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:09:54 ---> Running in 264f7bd536d7 00:09:56 Removing intermediate container 264f7bd536d7 00:09:56 ---> 10a5087c6e0f 00:09:56 Step 11/24 : COPY . . 00:09:58 ---> 701f86f05e8c 00:09:58 Step 12/24 : RUN ${MAKE} 00:09:58 ---> Running in 4b398884ad89 00:09:59 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 00:12:36 Removing intermediate container 4b398884ad89 00:12:36 ---> 67827a6368a7 00:12:36 Step 13/24 : FROM alpine:3.14 00:12:36 3.14: Pulling from library/alpine 00:12:36 455c02918c45: Pulling fs layer 00:12:36 455c02918c45: Download complete 00:12:36 455c02918c45: Pull complete 00:12:36 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 00:12:36 Status: Downloaded newer image for alpine:3.14 00:12:36 ---> ac73e934f311 00:12:36 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 00:12:36 ---> Running in 093301e9d780 00:12:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 00:12:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 00:12:36 (1/6) Installing dumb-init (1.2.5-r1) 00:12:36 (2/6) Installing libgcc (10.3.1_git20210424-r2) 00:12:36 (3/6) Installing libsodium (1.0.18-r0) 00:12:36 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 00:12:36 (5/6) Installing libzmq (4.3.4-r0) 00:12:36 (6/6) Installing zeromq (4.3.4-r0) 00:12:36 Executing busybox-1.33.1-r7.trigger 00:12:36 OK: 8 MiB in 20 packages 00:12:36 Removing intermediate container 093301e9d780 00:12:36 ---> a5e9804447d3 00:12:36 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 00:12:36 ---> bce7d0590fae 00:12:36 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 00:12:36 ---> 2207be1233ce 00:12:36 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 00:12:37 ---> 12a5a1dbd0dc 00:12:37 Step 18/24 : EXPOSE 59993 00:12:37 ---> Running in 88ed4eb3b3c0 00:12:38 Removing intermediate container 88ed4eb3b3c0 00:12:38 ---> dd8a3d347135 00:12:38 Step 19/24 : EXPOSE 161 00:12:38 ---> Running in 6e78ccbca5b1 00:12:38 Removing intermediate container 6e78ccbca5b1 00:12:38 ---> baf575d3c68f 00:12:38 Step 20/24 : ENTRYPOINT ["/device-snmp"] 00:12:38 ---> Running in 8319de8b394c 00:12:38 Removing intermediate container 8319de8b394c 00:12:38 ---> 583077b65814 00:12:38 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 00:12:38 ---> Running in ba0bc34f60a6 00:12:39 Removing intermediate container ba0bc34f60a6 00:12:39 ---> fd34f566aec2 00:12:39 Step 22/24 : LABEL arch=arm64 00:12:39 ---> Running in 046ab2c80a4a 00:12:39 Removing intermediate container 046ab2c80a4a 00:12:39 ---> 14558e77e331 00:12:39 Step 23/24 : LABEL git_sha=71b9dccf29a38813ae7bef044bf0cb86530fd5ae 00:12:39 ---> Running in ae29b53b9892 00:12:40 Removing intermediate container ae29b53b9892 00:12:40 ---> d996495ae5fc 00:12:40 Step 24/24 : LABEL version=0.0.0 00:12:40 ---> Running in d282d4d4ab6f 00:12:40 Removing intermediate container d282d4d4ab6f 00:12:40 ---> d08c9492eb77 00:12:40 [Warning] One or more build-args [ARCH] were not consumed 00:12:40 Successfully built d08c9492eb77 00:12:40 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 00:12:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:12:40 00:12:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 00:12:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:12:41 arm64: Pulling from edgex-lftools-log-publisher 00:12:41 8998bd30e6a1: Pulling fs layer 00:12:41 04944245beec: Pulling fs layer 00:12:41 699f458cf7ca: Pulling fs layer 00:12:41 765212b225bb: Pulling fs layer 00:12:41 f23df028b6ca: Pulling fs layer 00:12:41 d65c8cfc05b1: Pulling fs layer 00:12:41 2437ff75d9bd: Pulling fs layer 00:12:41 765212b225bb: Waiting 00:12:41 f23df028b6ca: Waiting 00:12:41 d65c8cfc05b1: Waiting 00:12:41 04944245beec: Verifying Checksum 00:12:41 04944245beec: Download complete 00:12:41 765212b225bb: Verifying Checksum 00:12:41 765212b225bb: Download complete 00:12:41 f23df028b6ca: Verifying Checksum 00:12:41 f23df028b6ca: Download complete 00:12:41 d65c8cfc05b1: Verifying Checksum 00:12:41 d65c8cfc05b1: Download complete 00:12:41 699f458cf7ca: Verifying Checksum 00:12:41 699f458cf7ca: Download complete 00:12:41 8998bd30e6a1: Download complete 00:12:44 2437ff75d9bd: Verifying Checksum 00:12:44 2437ff75d9bd: Download complete 00:12:46 8998bd30e6a1: Pull complete 00:12:47 04944245beec: Pull complete 00:12:48 699f458cf7ca: Pull complete 00:12:48 765212b225bb: Pull complete 00:12:49 f23df028b6ca: Pull complete 00:12:49 d65c8cfc05b1: Pull complete 00:13:05 2437ff75d9bd: Pull complete 00:13:05 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:13:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:13:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 00:13:05 prd-ubuntu20.04-docker-arm64-4c-16g-63000 does not seem to be running inside a container 00:13:05 $ 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/3 -v /w/workspace/device-snmp-go/3:/w/workspace/device-snmp-go/3:rw,z -v /w/workspace/device-snmp-go/3@tmp:/w/workspace/device-snmp-go/3@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 00:13:08 $ docker top bf3a6832d14e94da7d78be6c824a56189d7ea31da7bcb2119ca0dc1d8191caee -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:13:09 ---> job-cost.sh 00:13:09 lf-activate-venv: SKIPPING 00:13:09 INFO: No Stack... 00:13:09 INFO: Retrieving Pricing Info for: v3-standard-4 00:13:10 INFO: Archiving Costs [Pipeline] sh 00:13:11 + cat /w/workspace/device-snmp-go/3/archives/cost.csv 00:13:11 + cut -d, -f6 [Pipeline] lock 00:13:11 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-168-3-stack-cost] 00:13:11 Resource [jenkins-edgexfoundry-device-snmp-go-PR-168-3-stack-cost] did not exist. Created. 00:13:11 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-168-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:13:12 /w/workspace/device-snmp-go/3@tmp/durable-2d99f807/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:13:12 + echo total: 0.10999999940395355 [Pipeline] stash 00:13:12 Warning: overwriting stash ‘stack-cost’ 00:13:12 Stashed 1 file(s) [Pipeline] } 00:13:12 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-168-3-stack-cost] [Pipeline] // lock [Pipeline] } 00:13:12 $ docker stop --time=1 bf3a6832d14e94da7d78be6c824a56189d7ea31da7bcb2119ca0dc1d8191caee 00:13:14 $ docker rm -f bf3a6832d14e94da7d78be6c824a56189d7ea31da7bcb2119ca0dc1d8191caee [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 00:13:15 provisioning config files... 00:13:15 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-168@tmp/config6249049148136659443tmp [Pipeline] { [Pipeline] sh 00:13:15 + set +x 00:13:15 + curl -s https://codecov.io/bash 00:13:15 + bash -s -- 00:13:15 00:13:15 _____ _ 00:13:15 / ____| | | 00:13:15 | | ___ __| | ___ ___ _____ __ 00:13:15 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:13:15 | |___| (_) | (_| | __/ (_| (_) \ V / 00:13:15 \_____\___/ \__,_|\___|\___\___/ \_/ 00:13:15 Bash-1.0.6 00:13:15 00:13:15 00:13:15 ==> git version 2.25.1 found 00:13:15 ==> 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 00:13:15 Release-Date: 2020-01-08 00:13:15 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:13:15 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:13:15 ==> Jenkins CI detected. 00:13:15 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-168 00:13:15 project root: . 00:13:15 --> token set from env 00:13:15 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:13:15 ==> Running gcov in . (disable via -X gcov) 00:13:15 ==> Python coveragepy not found 00:13:15 ==> Searching for coverage reports in: 00:13:15 + . 00:13:15 -> Found 1 reports 00:13:15 ==> Detecting git/mercurial file structure 00:13:15 ==> Reading reports 00:13:15 + ./coverage.out bytes=7631 00:13:15 ==> Appending adjustments 00:13:15 https://docs.codecov.io/docs/fixing-reports 00:13:15 + Found adjustments 00:13:15 ==> Gzipping contents 00:13:15 4.0K /tmp/codecov.VnnSGf.gz 00:13:15 ==> Uploading reports 00:13:15 url: https://codecov.io 00:13:15 query: branch=PR-168&commit=925890df69d5f2b828904257ec357abd66d8c98b&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-168%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=168&job=&cmd_args= 00:13:15 -> Pinging Codecov 00:13:15 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=PR-168&commit=925890df69d5f2b828904257ec357abd66d8c98b&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-168%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=168&job=&cmd_args= 00:13:15 -> Uploading to 00:13:15 https://storage.googleapis.com/codecov/v4/raw/2022-05-11/6C56EA5C29638FB4528AC87E60AF5AE0/925890df69d5f2b828904257ec357abd66d8c98b/fb811906-51cc-4d7c-a60b-dc6a4c1618ef.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220511T001315Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0070cad1a73247d06ff5c79859c63ae90bbddb212fc988aa060659e08e7db43f 00:13:15 % Total % Received % Xferd Average Speed Time Time Time Current 00:13:15 Dload Upload Total Spent Left Speed 00:13:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1602 0 0 100 1602 0 5357 --:--:-- --:--:-- --:--:-- 5357 00:13:16 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/925890df69d5f2b828904257ec357abd66d8c98b [Pipeline] } 00:13:16 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 00:13:16 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-168/archives ] 00:13:16 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-168/archives 00:13:16 total 16 00:13:16 drwxr-xr-x 3 root root 4096 May 10 23:45 . 00:13:16 drwxrwxr-x 10 jenkins jenkins 4096 May 10 23:45 .. 00:13:16 drwxr-xr-x 2 root root 4096 May 10 23:45 cost 00:13:16 -rw-r--r-- 1 root root 85 May 10 23:45 cost.csv 00:13:16 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-168/archives 00:13:16 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-168/archives 00:13:16 total 16 00:13:16 drwxr-xr-x 3 jenkins jenkins 4096 May 10 23:45 . 00:13:16 drwxrwxr-x 10 jenkins jenkins 4096 May 10 23:45 .. 00:13:16 drwxr-xr-x 2 jenkins jenkins 4096 May 10 23:45 cost 00:13:16 -rw-r--r-- 1 jenkins jenkins 85 May 10 23:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:13:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:13:18 ---> package-listing.sh 00:13:18 ++ facter osfamily 00:13:18 ++ tr '[:upper:]' '[:lower:]' 00:13:18 + OS_FAMILY=debian 00:13:18 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-168 00:13:18 + START_PACKAGES=/tmp/packages_start.txt 00:13:18 + END_PACKAGES=/tmp/packages_end.txt 00:13:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:13:18 + PACKAGES=/tmp/packages_start.txt 00:13:18 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-168 ']' 00:13:18 + PACKAGES=/tmp/packages_end.txt 00:13:18 + case "${OS_FAMILY}" in 00:13:18 + dpkg -l 00:13:18 + grep '^ii' 00:13:18 + '[' -f /tmp/packages_start.txt ']' 00:13:18 + '[' -f /tmp/packages_end.txt ']' 00:13:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:13:18 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-168 ']' 00:13:18 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-168/archives/ 00:13:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_PR-168/archives/ [Pipeline] echo 00:13:18 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-168/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:13:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:13:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:13:19 . [Pipeline] withDockerContainer 00:13:19 prd-ubuntu20.04-docker-8c-8g-62255 does not seem to be running inside a container 00:13:19 $ 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-168/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-168 -v /w/workspace/gexfoundry_device-snmp-go_PR-168:/w/workspace/gexfoundry_device-snmp-go_PR-168:rw,z -v /w/workspace/gexfoundry_device-snmp-go_PR-168@tmp:/w/workspace/gexfoundry_device-snmp-go_PR-168@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 00:13:19 $ docker top cf1694086d8c2f3cf77dfb404e412e844b89e6ad56f4132b5fde90c76673d642 -eo pid,comm [Pipeline] { [Pipeline] sh 00:13:19 + touch /tmp/pre-build-complete [Pipeline] sh 00:13:20 + mkdir -p /var/log/sysstat [Pipeline] sh 00:13:20 + ls /var/log/sa-host 00:13:20 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:13:20 provisioning config files... 00:13:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-168@tmp/config7106018229955303285tmp [Pipeline] { [Pipeline] echo 00:13:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:13:21 ---> create-netrc.sh [Pipeline] } 00:13:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:13:21 ---> python-tools-install.sh [Pipeline] echo 00:13:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:13:21 ---> sudo-logs.sh 00:13:21 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:13:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:13:22 ---> job-cost.sh 00:13:22 lf-activate-venv: SKIPPING 00:13:22 DEBUG: total: 0.2199999988079071 00:13:22 INFO: Retrieving Stack Cost... 00:13:22 INFO: Retrieving Pricing Info for: v3-standard-8 00:13:22 INFO: Archiving Costs [Pipeline] echo 00:13:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:13:23 ---> logs-deploy.sh 00:13:23 lf-activate-venv: SKIPPING 00:13:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-168/3 00:13:23 INFO: archiving workspace using pattern(s): 00:13:24 Archives upload complete. 00:13:24 INFO: archiving logs to Nexus