Pull request #168 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jpwhitemn for edgexfoundry/device-snmp-go Obtained Jenkinsfile from fecc1a7274781fe2a632e6dfb08c7ebe00cef023+2a65a39039cf7664a715857da731e59ec3cb9dfd (f0da6f860fa16fb17b8e83ab7aebed6488ec4e9d) 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-ssh12302079819727082789.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-ssh4563045750921765521.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-ssh1432183971251352696.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-ssh14518476406034786073.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-ssh6348660489242439875.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-63158 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 2a65a39039cf7664a715857da731e59ec3cb9dfd into PR head commit fecc1a7274781fe2a632e6dfb08c7ebe00cef023 Merge succeeded, producing bc539e7293b2e699c7dc79685522d5f8b83ae0a9 Checking out Revision bc539e7293b2e699c7dc79685522d5f8b83ae0a9 (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 fecc1a7274781fe2a632e6dfb08c7ebe00cef023 # 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 2a65a39039cf7664a715857da731e59ec3cb9dfd # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bc539e7293b2e699c7dc79685522d5f8b83ae0a9 # timeout=10 Commit message: "Merge commit '2a65a39039cf7664a715857da731e59ec3cb9dfd' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:11:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:11:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:11:20 ========================================================= 16:11:20 EdgeX Global Pipelines Version Info 16:11:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 71b9dccf29a38813ae7bef044bf0cb86530fd5ae # timeout=10 16:11:21 ------------------- 16:11:21 stable info: 16:11:21 ------------------- 16:11:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:11:21 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 16:11:21 Message: update stable to v1.0.230 16:11:21 ------------------- 16:11:21 experimental info: 16:11:21 ------------------- 16:11:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:11:21 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 16:11:21 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:11:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 16:11:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 16:11:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:11:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:11:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:11:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 16:11:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:11:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:11:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:11:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:11:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:11:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 16:11:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:11:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:11:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:11:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:11:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:11:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:11:22 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:11:22 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:11:22 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:11:22 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:11:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:11:22 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:11:22 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:11:22 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:11:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-168 [Pipeline] echo 16:11:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-168 [Pipeline] echo 16:11:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-168 [Pipeline] echo 16:11:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bc539e7293b2e699c7dc79685522d5f8b83ae0a9 [Pipeline] echo 16:11:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bc539e7 [Pipeline] echo 16:11:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:11:22 provisioning config files... 16:11:22 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-168@tmp/config1530592436236442747tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:11:22 ---> docker-login.sh 16:11:22 nexus3.edgexfoundry.org:10001 16:11:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:22 Configure a credential helper to remove this warning. See 16:11:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:22 16:11:22 Login Succeeded 16:11:22 nexus3.edgexfoundry.org:10002 16:11:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:23 Configure a credential helper to remove this warning. See 16:11:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:23 16:11:23 Login Succeeded 16:11:23 nexus3.edgexfoundry.org:10003 16:11:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:23 Configure a credential helper to remove this warning. See 16:11:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:23 16:11:23 Login Succeeded 16:11:23 nexus3.edgexfoundry.org:10004 16:11:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:23 Configure a credential helper to remove this warning. See 16:11:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:23 16:11:23 Login Succeeded 16:11:23 docker.io 16:11:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:23 Configure a credential helper to remove this warning. See 16:11:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:23 16:11:23 Login Succeeded 16:11:23 ---> docker-login.sh ends [Pipeline] } 16:11:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:11:24 + git rev-list -1 --merges bc539e7293b2e699c7dc79685522d5f8b83ae0a9~1..bc539e7293b2e699c7dc79685522d5f8b83ae0a9 [Pipeline] echo 16:11:24 -----------> git rev-list -1 --merges bc539e7293b2e699c7dc79685522d5f8b83ae0a9~1..bc539e7293b2e699c7dc79685522d5f8b83ae0a9 bc539e7293b2e699c7dc79685522d5f8b83ae0a9 16:11:24 bc539e7293b2e699c7dc79685522d5f8b83ae0a9 [false] [Pipeline] sh 16:11:24 + git log --format=format:%s -1 bc539e7293b2e699c7dc79685522d5f8b83ae0a9 [Pipeline] echo 16:11:24 ========================================================= 16:11:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:11:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:11:24 + git log --format=format:%s -1 bc539e7293b2e699c7dc79685522d5f8b83ae0a9 [Pipeline] echo 16:11:24 [semverPrep] GIT_COMMIT: bc539e7293b2e699c7dc79685522d5f8b83ae0a9, Commit Message: Merge commit '2a65a39039cf7664a715857da731e59ec3cb9dfd' into HEAD [Pipeline] echo 16:11:24 [semverPrep] This is not a build commit. [Pipeline] sh 16:11:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:11:25 + grep -v github /etc/ssh/ssh_known_hosts 16:11:25 + [ -e /tmp/ssh_known_hosts ] 16:11:25 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:11:25 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:11:25 + sudo tee -a /etc/ssh/ssh_known_hosts 16:11:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 16:11:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 16:11:25 16:11:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:11:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 16:11:26 latest: Pulling from edgex-devops/py-git-semver 16:11:26 1fe172e4850f: Pulling fs layer 16:11:26 caf521ccaac6: Pulling fs layer 16:11:26 3ead6fa29328: Pulling fs layer 16:11:26 5c2a1cbceb83: Pulling fs layer 16:11:26 a8d5f1318db7: Pulling fs layer 16:11:26 c427282e49a2: Pulling fs layer 16:11:26 1827001aaf11: Pulling fs layer 16:11:26 0714d37db230: Pulling fs layer 16:11:26 ac28cf19c067: Pulling fs layer 16:11:26 ca983d60f3e2: Pulling fs layer 16:11:26 a8d5f1318db7: Waiting 16:11:26 ac28cf19c067: Waiting 16:11:26 0714d37db230: Waiting 16:11:26 9f894cec8388: Pulling fs layer 16:11:26 ca983d60f3e2: Waiting 16:11:26 c427282e49a2: Waiting 16:11:26 9f894cec8388: Waiting 16:11:26 caf521ccaac6: Download complete 16:11:26 5c2a1cbceb83: Verifying Checksum 16:11:26 5c2a1cbceb83: Download complete 16:11:26 3ead6fa29328: Verifying Checksum 16:11:26 3ead6fa29328: Download complete 16:11:26 a8d5f1318db7: Verifying Checksum 16:11:26 a8d5f1318db7: Download complete 16:11:26 c427282e49a2: Verifying Checksum 16:11:26 c427282e49a2: Download complete 16:11:26 0714d37db230: Verifying Checksum 16:11:26 0714d37db230: Download complete 16:11:26 ac28cf19c067: Download complete 16:11:26 ca983d60f3e2: Download complete 16:11:26 9f894cec8388: Verifying Checksum 16:11:26 9f894cec8388: Download complete 16:11:26 1fe172e4850f: Verifying Checksum 16:11:26 1fe172e4850f: Download complete 16:11:26 1827001aaf11: Verifying Checksum 16:11:26 1827001aaf11: Download complete 16:11:28 1fe172e4850f: Pull complete 16:11:28 caf521ccaac6: Pull complete 16:11:28 3ead6fa29328: Pull complete 16:11:28 5c2a1cbceb83: Pull complete 16:11:28 a8d5f1318db7: Pull complete 16:11:29 c427282e49a2: Pull complete 16:11:31 1827001aaf11: Pull complete 16:11:31 0714d37db230: Pull complete 16:11:31 ac28cf19c067: Pull complete 16:11:31 ca983d60f3e2: Pull complete 16:11:31 9f894cec8388: Pull complete 16:11:31 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 16:11:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 16:11:31 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 16:11:31 prd-ubuntu20.04-docker-8c-8g-63158 does not seem to be running inside a container 16:11:31 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 16:11:33 $ docker top 06af97713220e45dde2b5e7d41850b6a70d12570df68b68e9ab5fdb8e1502dcc -eo pid,comm 16:11:33 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). 16:11:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:11:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:11:33 [ssh-agent] Looking for ssh-agent implementation... 16:11:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:11:33 $ docker exec 06af97713220e45dde2b5e7d41850b6a70d12570df68b68e9ab5fdb8e1502dcc ssh-agent 16:11:33 SSH_AUTH_SOCK=/tmp/ssh-ebjCKvG5migP/agent.32 16:11:33 SSH_AGENT_PID=38 16:11:33 Running ssh-add (command line suppressed) 16:11:33 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-168@tmp/private_key_8617540982394543570.key (/w/workspace/gexfoundry_device-snmp-go_PR-168@tmp/private_key_8617540982394543570.key) 16:11:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:11:34 + git tag --points-at HEAD [Pipeline] } 16:11:34 $ docker exec --env ******** --env ******** 06af97713220e45dde2b5e7d41850b6a70d12570df68b68e9ab5fdb8e1502dcc ssh-agent -k 16:11:34 unset SSH_AUTH_SOCK; 16:11:34 unset SSH_AGENT_PID; 16:11:34 echo Agent pid 38 killed; 16:11:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:11:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:11:34 [ssh-agent] Looking for ssh-agent implementation... 16:11:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:11:34 $ docker exec 06af97713220e45dde2b5e7d41850b6a70d12570df68b68e9ab5fdb8e1502dcc ssh-agent 16:11:34 SSH_AUTH_SOCK=/tmp/ssh-XPoI84hcDKdF/agent.71 16:11:34 SSH_AGENT_PID=78 16:11:34 Running ssh-add (command line suppressed) 16:11:34 Identity added: /w/workspace/gexfoundry_device-snmp-go_PR-168@tmp/private_key_750308792493856694.key (/w/workspace/gexfoundry_device-snmp-go_PR-168@tmp/private_key_750308792493856694.key) 16:11:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:11:35 + git semver init 16:11:35 2022-05-11 16:11:35,213 [run_init] DEBUG init version:0.0.0 force:False 16:11:35 2022-05-11 16:11:35,214 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-snmp-go_PR-168/.semver 16:11:35 2022-05-11 16:11:35,215 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/gexfoundry_device-snmp-go_PR-168/.semver 16:11:35 2022-05-11 16:11:35,215 [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) 16:11:36 2022-05-11 16:11:36,042 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-snmp-go_PR-168/.git/info/exclude 16:11:36 2022-05-11 16:11:36,043 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-snmp-go_PR-168/.semver/PR-168 with force:False 16:11:36 2022-05-11 16:11:36,043 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-snmp-go_PR-168/.semver/PR-168 16:11:36 2022-05-11 16:11:36,046 [execute] INFO git cat-file --batch-check 16:11:36 2022-05-11 16:11:36,047 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-168/.semver, universal_newlines=False, shell=None, istream=) 16:11:36 2022-05-11 16:11:36,052 [execute] INFO git cat-file --batch 16:11:36 2022-05-11 16:11:36,053 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-snmp-go_PR-168/.semver, universal_newlines=False, shell=None, istream=) 16:11:36 2022-05-11 16:11:36,059 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-snmp-go_PR-168/.semver/PR-168 16:11:36 0.0.0 [Pipeline] } 16:11:36 $ docker exec --env ******** --env ******** 06af97713220e45dde2b5e7d41850b6a70d12570df68b68e9ab5fdb8e1502dcc ssh-agent -k 16:11:36 unset SSH_AUTH_SOCK; 16:11:36 unset SSH_AGENT_PID; 16:11:36 echo Agent pid 78 killed; 16:11:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:11:36 + git semver [Pipeline] } 16:11:36 $ docker stop --time=1 06af97713220e45dde2b5e7d41850b6a70d12570df68b68e9ab5fdb8e1502dcc 16:11:38 $ docker rm -f 06af97713220e45dde2b5e7d41850b6a70d12570df68b68e9ab5fdb8e1502dcc [Pipeline] // withDockerContainer [Pipeline] sh 16:11:38 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:11:38 Stashed 1 file(s) [Pipeline] echo 16:11:38 [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 16:11:39 provisioning config files... 16:11:39 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-168@tmp/config3197034200288266074tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:11:39 ---> docker-login.sh 16:11:39 nexus3.edgexfoundry.org:10001 16:11:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:39 Configure a credential helper to remove this warning. See 16:11:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:39 16:11:39 Login Succeeded 16:11:39 nexus3.edgexfoundry.org:10002 16:11:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:39 Configure a credential helper to remove this warning. See 16:11:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:39 16:11:39 Login Succeeded 16:11:39 nexus3.edgexfoundry.org:10003 16:11:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:39 Configure a credential helper to remove this warning. See 16:11:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:39 16:11:39 Login Succeeded 16:11:39 nexus3.edgexfoundry.org:10004 16:11:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:39 Configure a credential helper to remove this warning. See 16:11:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:39 16:11:39 Login Succeeded 16:11:39 docker.io 16:11:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:40 Configure a credential helper to remove this warning. See 16:11:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:40 16:11:40 Login Succeeded 16:11:40 ---> docker-login.sh ends [Pipeline] } 16:11:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:11:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:11:40 ========================================================= 16:11:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 16:11:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 16:11:40 + 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 . 16:11:40 Sending build context to Docker daemon 5.363MB 16:11:40 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 16:11:40 Step 2/12 : FROM ${BASE} AS builder 16:11:40 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 16:11:40 59bf1c3509f3: Pulling fs layer 16:11:40 666ba61612fd: Pulling fs layer 16:11:40 8ed8ca486205: Pulling fs layer 16:11:40 4fe6c5a15a65: Pulling fs layer 16:11:40 22a0e8bec74d: Pulling fs layer 16:11:40 ca2b28591e48: Pulling fs layer 16:11:40 a51346096db8: Pulling fs layer 16:11:40 daebc70d1ce1: Pulling fs layer 16:11:40 0e18a0eac166: Pulling fs layer 16:11:40 ca2b28591e48: Waiting 16:11:40 a51346096db8: Waiting 16:11:40 4fe6c5a15a65: Waiting 16:11:40 daebc70d1ce1: Waiting 16:11:40 0e18a0eac166: Waiting 16:11:40 8ed8ca486205: Verifying Checksum 16:11:40 8ed8ca486205: Download complete 16:11:40 666ba61612fd: Download complete 16:11:40 22a0e8bec74d: Verifying Checksum 16:11:40 22a0e8bec74d: Download complete 16:11:41 ca2b28591e48: Verifying Checksum 16:11:41 ca2b28591e48: Download complete 16:11:41 59bf1c3509f3: Verifying Checksum 16:11:41 59bf1c3509f3: Download complete 16:11:41 a51346096db8: Verifying Checksum 16:11:41 a51346096db8: Download complete 16:11:41 daebc70d1ce1: Verifying Checksum 16:11:41 daebc70d1ce1: Download complete 16:11:41 59bf1c3509f3: Pull complete 16:11:41 666ba61612fd: Pull complete 16:11:41 8ed8ca486205: Pull complete 16:11:41 0e18a0eac166: Download complete 16:11:41 4fe6c5a15a65: Verifying Checksum 16:11:41 4fe6c5a15a65: Download complete 16:11:45 4fe6c5a15a65: Pull complete 16:11:45 22a0e8bec74d: Pull complete 16:11:46 ca2b28591e48: Pull complete 16:11:46 a51346096db8: Pull complete 16:11:46 daebc70d1ce1: Pull complete 16:11:48 0e18a0eac166: Pull complete 16:11:48 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 16:11:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 16:11:48 ---> f018257e8ee9 16:11:48 Step 3/12 : ARG MAKE='make build' 16:11:50 ---> Running in a4467f092f2c 16:11:50 Removing intermediate container a4467f092f2c 16:11:50 ---> 3f4e329b5f89 16:11:50 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:11:50 ---> Running in a367f0b6e5fa 16:11:50 Removing intermediate container a367f0b6e5fa 16:11:50 ---> a9877cb092a6 16:11:50 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 16:11:50 ---> Running in cc4e9c6b6a69 16:11:50 Removing intermediate container cc4e9c6b6a69 16:11:50 ---> 307ad09caa06 16:11:50 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:11:50 ---> Running in 4d7940ef8e25 16:11:51 Removing intermediate container 4d7940ef8e25 16:11:51 ---> 5246ffa60322 16:11:51 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:11:51 ---> Running in 504d34023642 16:11:51 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 16:11:52 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 16:11:52 (1/4) Installing openssh-keygen (8.8_p1-r1) 16:11:52 (2/4) Installing libedit (20210910.3.1-r0) 16:11:52 (3/4) Installing openssh-client-common (8.8_p1-r1) 16:11:53 (4/4) Installing openssh-client-default (8.8_p1-r1) 16:11:53 Executing busybox-1.34.1-r3.trigger 16:11:53 OK: 224 MiB in 56 packages 16:11:53 Removing intermediate container 504d34023642 16:11:53 ---> da582d9109d9 16:11:53 Step 8/12 : WORKDIR /device-snmp-go 16:11:53 ---> Running in 97776b122ec7 16:11:53 Removing intermediate container 97776b122ec7 16:11:53 ---> c30fcaf59fff 16:11:53 Step 9/12 : COPY go.mod vendor* ./ 16:11:53 ---> 2d9a5eb71045 16:11:53 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:11:54 Still waiting to schedule task 16:11:54 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 16:11:54 ---> Running in baa801e44b0e 16:12:12 Removing intermediate container baa801e44b0e 16:12:12 ---> 262a1b880feb 16:12:12 Step 11/12 : COPY . . 16:12:12 ---> 8b779bd7902c 16:12:12 Step 12/12 : RUN ${MAKE} 16:12:12 ---> Running in bf887652eeba 16:12:12 noop 16:12:12 Removing intermediate container bf887652eeba 16:12:12 ---> f796d3f5b5bc 16:12:12 Successfully built f796d3f5b5bc 16:12:12 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 16:12:12 + docker inspect -f . ci-base-image-x86_64 16:12:12 . [Pipeline] withDockerContainer 16:12:12 prd-ubuntu20.04-docker-8c-8g-63158 does not seem to be running inside a container 16:12:12 $ 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 ******** -e ******** ci-base-image-x86_64 cat 16:12:13 $ docker top 4bc313f27769f6b9849c42475b213bc0a76081619aafdbfb4954b814b4a37fcb -eo pid,comm [Pipeline] { [Pipeline] sh 16:12:13 + go version 16:12:13 go version go1.17.6 linux/amd64 [Pipeline] } 16:12:13 $ docker stop --time=1 4bc313f27769f6b9849c42475b213bc0a76081619aafdbfb4954b814b4a37fcb 16:12:14 $ docker rm -f 4bc313f27769f6b9849c42475b213bc0a76081619aafdbfb4954b814b4a37fcb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:12:15 + docker inspect -f . ci-base-image-x86_64 16:12:15 . [Pipeline] withDockerContainer 16:12:15 prd-ubuntu20.04-docker-8c-8g-63158 does not seem to be running inside a container 16:12:15 $ 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 ******** -e ******** ci-base-image-x86_64 cat 16:12:15 $ docker top 3edd0f5bb3a06830bec3b8a54122c70d5a0eb50be6a7cada1178afbcda823f78 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:12:16 + make test 16:12:16 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 16:12:16 ? github.com/edgexfoundry/device-snmp-go [no test files] 16:12:26 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 16:12:26 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.011s coverage: 0.0% of statements 16:12:34 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:12:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:12:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:12:38 ./bin/test-attribution-txt.sh [Pipeline] echo 16:12:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:12:38 $ docker stop --time=1 3edd0f5bb3a06830bec3b8a54122c70d5a0eb50be6a7cada1178afbcda823f78 16:12:40 $ docker rm -f 3edd0f5bb3a06830bec3b8a54122c70d5a0eb50be6a7cada1178afbcda823f78 [Pipeline] // withDockerContainer [Pipeline] sh 16:12:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:12:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:12:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:12:41 + ls -al . 16:12:41 total 168 16:12:41 drwxrwxr-x 9 jenkins jenkins 4096 May 11 16:12 . 16:12:41 drwxrwxr-x 4 jenkins jenkins 4096 May 11 16:11 .. 16:12:41 -rw-rw-r-- 1 jenkins jenkins 6 May 11 16:11 .dockerignore 16:12:41 drwxrwxr-x 8 jenkins jenkins 4096 May 11 16:11 .git 16:12:41 drwxrwxr-x 3 jenkins jenkins 4096 May 11 16:11 .github 16:12:41 -rw-rw-r-- 1 jenkins jenkins 328 May 11 16:11 .gitignore 16:12:41 -rw-rw-r-- 1 jenkins jenkins 41 May 11 16:11 .golangci.yml 16:12:41 drwxr-xr-x 3 jenkins jenkins 4096 May 11 16:11 .semver 16:12:41 -rw-rw-r-- 1 jenkins jenkins 8296 May 11 16:11 Attribution.txt 16:12:41 -rw-rw-r-- 1 jenkins jenkins 6947 May 11 16:11 CHANGELOG.md 16:12:41 -rw-rw-r-- 1 jenkins jenkins 1516 May 11 16:11 Dockerfile 16:12:41 -rw-rw-r-- 1 jenkins jenkins 677 May 11 16:11 GOVERNANCE.md 16:12:41 -rw-rw-r-- 1 jenkins jenkins 656 May 11 16:11 Jenkinsfile 16:12:41 -rw-rw-r-- 1 jenkins jenkins 11340 May 11 16:11 LICENSE 16:12:41 -rw-rw-r-- 1 jenkins jenkins 1938 May 11 16:11 Makefile 16:12:41 -rw-rw-r-- 1 jenkins jenkins 620 May 11 16:11 OWNERS.md 16:12:41 -rw-rw-r-- 1 jenkins jenkins 9390 May 11 16:11 README.md 16:12:41 -rw-rw-r-- 1 jenkins jenkins 5 May 11 16:11 VERSION 16:12:41 drwxrwxr-x 2 jenkins jenkins 4096 May 11 16:11 bin 16:12:41 drwxrwxr-x 3 jenkins jenkins 4096 May 11 16:11 cmd 16:12:41 -rw-r--r-- 1 jenkins jenkins 7631 May 11 16:12 coverage.out 16:12:41 -rw-rw-r-- 1 jenkins jenkins 3250 May 11 16:11 go.mod 16:12:41 -rw-rw-r-- 1 jenkins jenkins 35701 May 11 16:11 go.sum 16:12:41 drwxrwxr-x 3 jenkins jenkins 4096 May 11 16:11 internal 16:12:41 drwxrwxr-x 3 jenkins jenkins 4096 May 11 16:11 snap 16:12:41 -rw-rw-r-- 1 jenkins jenkins 209 May 11 16:11 version.go [Pipeline] isUnix [Pipeline] sh 16:12:42 + 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=bc539e7293b2e699c7dc79685522d5f8b83ae0a9 --label arch=amd64 --label version=0.0.0 . 16:12:42 Sending build context to Docker daemon 5.371MB 16:12:42 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 16:12:42 Step 2/24 : FROM ${BASE} AS builder 16:12:42 ---> f796d3f5b5bc 16:12:42 Step 3/24 : ARG MAKE='make build' 16:12:42 ---> Running in a7aeed611f85 16:12:42 Removing intermediate container a7aeed611f85 16:12:42 ---> 047d2cf10478 16:12:42 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:12:42 ---> Running in 4079b48be983 16:12:42 Removing intermediate container 4079b48be983 16:12:42 ---> ca76768efcf3 16:12:42 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 16:12:42 ---> Running in 3183a0f0f21f 16:12:42 Removing intermediate container 3183a0f0f21f 16:12:42 ---> 70124d3a9fff 16:12:42 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:12:42 ---> Running in 323b845389ab 16:12:43 Removing intermediate container 323b845389ab 16:12:43 ---> f0e2db816aa9 16:12:43 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:12:43 ---> Running in d9fe3baa02f5 16:12:43 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 16:12:44 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 16:12:44 OK: 224 MiB in 56 packages 16:12:45 Removing intermediate container d9fe3baa02f5 16:12:45 ---> baa90a143d6f 16:12:45 Step 8/24 : WORKDIR /device-snmp-go 16:12:45 ---> Running in cd51681f1cda 16:12:45 Removing intermediate container cd51681f1cda 16:12:45 ---> 3223f0e783da 16:12:45 Step 9/24 : COPY go.mod vendor* ./ 16:12:45 ---> 13d70772c1ae 16:12:45 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:12:45 ---> Running in 0846398b732a 16:12:46 Removing intermediate container 0846398b732a 16:12:46 ---> e58b06f32717 16:12:46 Step 11/24 : COPY . . 16:12:46 ---> bf18009a5794 16:12:46 Step 12/24 : RUN ${MAKE} 16:12:46 ---> Running in 333d56eee1f1 16:12:46 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 16:13:08 Removing intermediate container 333d56eee1f1 16:13:08 ---> 8d92df04583f 16:13:08 Step 13/24 : FROM alpine:3.14 16:13:08 3.14: Pulling from library/alpine 16:13:08 8663204ce13b: Pulling fs layer 16:13:08 8663204ce13b: Verifying Checksum 16:13:08 8663204ce13b: Download complete 16:13:08 8663204ce13b: Pull complete 16:13:08 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 16:13:08 Status: Downloaded newer image for alpine:3.14 16:13:08 ---> e04c818066af 16:13:08 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 16:13:08 ---> Running in 434f8a70adb6 16:13:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 16:13:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 16:13:09 (1/6) Installing dumb-init (1.2.5-r1) 16:13:09 (2/6) Installing libgcc (10.3.1_git20210424-r2) 16:13:09 (3/6) Installing libsodium (1.0.18-r0) 16:13:09 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 16:13:09 (5/6) Installing libzmq (4.3.4-r0) 16:13:09 (6/6) Installing zeromq (4.3.4-r0) 16:13:09 Executing busybox-1.33.1-r7.trigger 16:13:09 OK: 8 MiB in 20 packages 16:13:09 Removing intermediate container 434f8a70adb6 16:13:09 ---> 30527b947dbe 16:13:09 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 16:13:10 ---> a865c7c1c9d1 16:13:10 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 16:13:10 ---> 28aaf06c717a 16:13:10 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 16:13:10 ---> 8ab5e0708708 16:13:10 Step 18/24 : EXPOSE 59993 16:13:10 ---> Running in d25283aa7631 16:13:11 Removing intermediate container d25283aa7631 16:13:11 ---> e42abac3d4d5 16:13:11 Step 19/24 : EXPOSE 161 16:13:11 ---> Running in d3d709c0214e 16:13:11 Removing intermediate container d3d709c0214e 16:13:11 ---> ecc568d73d44 16:13:11 Step 20/24 : ENTRYPOINT ["/device-snmp"] 16:13:11 ---> Running in 3a07bbb42148 16:13:11 Removing intermediate container 3a07bbb42148 16:13:11 ---> b7564beea718 16:13:11 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 16:13:11 ---> Running in 996927b1a825 16:13:11 Removing intermediate container 996927b1a825 16:13:11 ---> 84b08585cc67 16:13:11 Step 22/24 : LABEL arch=amd64 16:13:11 ---> Running in e545a8a7a3fa 16:13:11 Removing intermediate container e545a8a7a3fa 16:13:11 ---> 4d40d70a0e4a 16:13:11 Step 23/24 : LABEL git_sha=bc539e7293b2e699c7dc79685522d5f8b83ae0a9 16:13:11 ---> Running in cff224d440d1 16:13:11 Removing intermediate container cff224d440d1 16:13:11 ---> 74c7427ccf3a 16:13:11 Step 24/24 : LABEL version=0.0.0 16:13:11 ---> Running in e02cfa03f39c 16:13:11 Removing intermediate container e02cfa03f39c 16:13:11 ---> b212713461d6 16:13:11 [Warning] One or more build-args [ARCH] were not consumed 16:13:11 Successfully built b212713461d6 16:13:11 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 16:13:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:13:12 16:13:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 16:13:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:13:12 latest: Pulling from edgex-lftools-log-publisher 16:13:12 5eb5b503b376: Pulling fs layer 16:13:12 5c69ac0246d0: Pulling fs layer 16:13:12 ec43610c2a17: Pulling fs layer 16:13:12 3a2ae6a8a46f: Pulling fs layer 16:13:12 33b1e0a273af: Pulling fs layer 16:13:12 5d3b04190fa2: Pulling fs layer 16:13:12 2f39f015ded8: Pulling fs layer 16:13:12 3a2ae6a8a46f: Waiting 16:13:12 33b1e0a273af: Waiting 16:13:12 5d3b04190fa2: Waiting 16:13:12 2f39f015ded8: Waiting 16:13:12 5c69ac0246d0: Verifying Checksum 16:13:12 5c69ac0246d0: Download complete 16:13:12 3a2ae6a8a46f: Verifying Checksum 16:13:12 3a2ae6a8a46f: Download complete 16:13:12 33b1e0a273af: Verifying Checksum 16:13:12 33b1e0a273af: Download complete 16:13:12 5d3b04190fa2: Verifying Checksum 16:13:12 5d3b04190fa2: Download complete 16:13:12 ec43610c2a17: Verifying Checksum 16:13:12 ec43610c2a17: Download complete 16:13:12 5eb5b503b376: Verifying Checksum 16:13:12 5eb5b503b376: Download complete 16:13:13 2f39f015ded8: Download complete 16:13:14 5eb5b503b376: Pull complete 16:13:14 5c69ac0246d0: Pull complete 16:13:14 ec43610c2a17: Pull complete 16:13:14 3a2ae6a8a46f: Pull complete 16:13:15 33b1e0a273af: Pull complete 16:13:15 5d3b04190fa2: Pull complete 16:13:20 2f39f015ded8: Pull complete 16:13:20 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:13:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:13:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 16:13:20 prd-ubuntu20.04-docker-8c-8g-63158 does not seem to be running inside a container 16:13:20 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:13:22 $ docker top 05ba51e7ef9d0565e195a8cc56b4b55340a4c9b260a289a99ec57eb4700579ef -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:13:22 ---> job-cost.sh 16:13:22 lf-activate-venv: SKIPPING 16:13:22 INFO: No Stack... 16:13:23 INFO: Retrieving Pricing Info for: v3-standard-8 16:13:23 INFO: Archiving Costs [Pipeline] sh 16:13:24 + cat /w/workspace/gexfoundry_device-snmp-go_PR-168/archives/cost.csv 16:13:24 + cut -d, -f6 [Pipeline] lock 16:13:24 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-168-4-stack-cost] 16:13:24 Resource [jenkins-edgexfoundry-device-snmp-go-PR-168-4-stack-cost] did not exist. Created. 16:13:24 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-168-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:13:24 + echo total: 0.2199999988079071 [Pipeline] stash 16:13:24 Stashed 1 file(s) [Pipeline] } 16:13:24 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-168-4-stack-cost] [Pipeline] // lock [Pipeline] } 16:13:24 $ docker stop --time=1 05ba51e7ef9d0565e195a8cc56b4b55340a4c9b260a289a99ec57eb4700579ef 16:13:25 $ docker rm -f 05ba51e7ef9d0565e195a8cc56b4b55340a4c9b260a289a99ec57eb4700579ef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:13:29 Running on prd-ubuntu20.04-docker-arm64-4c-16g-63159 in /w/workspace/gexfoundry_device-snmp-go_PR-168 [Pipeline] { [Pipeline] ws 16:13:29 Running in /w/workspace/device-snmp-go/4 [Pipeline] { [Pipeline] checkout 16:13:29 Selected Git installation does not exist. Using Default 16:13:29 The recommended git tool is: NONE 16:13:36 using credential edgex-jenkins-ssh 16:13:36 Cloning the remote Git repository 16:13:36 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 16:13:36 > git init /w/workspace/device-snmp-go/4 # timeout=10 16:13:36 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 16:13:36 > git --version # timeout=10 16:13:36 > git --version # 'git version 2.25.1' 16:13:36 using GIT_SSH to set credentials SSH Credentials for GitHub 16:13:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:13:38 Merging remotes/origin/main commit 2a65a39039cf7664a715857da731e59ec3cb9dfd into PR head commit fecc1a7274781fe2a632e6dfb08c7ebe00cef023 16:13:38 Merge succeeded, producing acdb4c3149c01840aabeaf38edb55bf363a6457a 16:13:38 Checking out Revision acdb4c3149c01840aabeaf38edb55bf363a6457a (PR-168) 16:13:38 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 16:13:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:13:38 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 16:13:38 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 16:13:38 using GIT_SSH to set credentials SSH Credentials for GitHub 16:13:38 > 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 16:13:38 > git config core.sparsecheckout # timeout=10 16:13:38 > git checkout -f fecc1a7274781fe2a632e6dfb08c7ebe00cef023 # timeout=10 16:13:38 > git remote # timeout=10 16:13:38 > git config --get remote.origin.url # timeout=10 16:13:38 using GIT_SSH to set credentials SSH Credentials for GitHub 16:13:38 > git merge 2a65a39039cf7664a715857da731e59ec3cb9dfd # timeout=10 16:13:38 > git rev-parse HEAD^{commit} # timeout=10 16:13:38 > git config core.sparsecheckout # timeout=10 16:13:38 > git checkout -f acdb4c3149c01840aabeaf38edb55bf363a6457a # timeout=10 16:13:43 Commit message: "Merge commit '2a65a39039cf7664a715857da731e59ec3cb9dfd' into HEAD" 16:13:43 First time build. Skipping changelog. 16:13:43 > git rev-list --no-walk 71b9dccf29a38813ae7bef044bf0cb86530fd5ae # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:13:44 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:13:44 % Total % Received % Xferd Average Speed Time Time Time Current 16:13:44 Dload Upload Total Spent Left Speed 16:13:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 85818 0 --:--:-- --:--:-- --:--:-- 86445 [Pipeline] sh 16:13:44 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:13:45 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:13:45 + sudo tee /etc/docker/daemon.new 16:13:45 { 16:13:45 "registry-mirrors": [ 16:13:45 "https://nexus3.edgexfoundry.org:10001" 16:13:45 ], 16:13:45 "bip": "10.250.0.254/24", 16:13:45 "hosts": [ 16:13:45 "tcp://0.0.0.0:5555", 16:13:45 "unix:///var/run/docker.sock" 16:13:45 ], 16:13:45 "mtu": 1458, 16:13:45 "selinux-enabled": true, 16:13:45 "seccomp-profile": "/etc/docker/seccomp.json" 16:13:45 } [Pipeline] sh 16:13:45 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:13:45 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:14:04 provisioning config files... 16:14:04 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/4@tmp/config5668905872237533929tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:14:04 ---> docker-login.sh 16:14:04 nexus3.edgexfoundry.org:10001 16:14:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:05 Configure a credential helper to remove this warning. See 16:14:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:05 16:14:05 Login Succeeded 16:14:05 nexus3.edgexfoundry.org:10002 16:14:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:05 Configure a credential helper to remove this warning. See 16:14:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:05 16:14:05 Login Succeeded 16:14:05 nexus3.edgexfoundry.org:10003 16:14:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:06 Configure a credential helper to remove this warning. See 16:14:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:06 16:14:06 Login Succeeded 16:14:06 nexus3.edgexfoundry.org:10004 16:14:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:06 Configure a credential helper to remove this warning. See 16:14:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:06 16:14:06 Login Succeeded 16:14:06 docker.io 16:14:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:07 Configure a credential helper to remove this warning. See 16:14:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:07 16:14:07 Login Succeeded 16:14:07 ---> docker-login.sh ends [Pipeline] } 16:14:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:14:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:14:08 ========================================================= 16:14:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 16:14:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 16:14:08 + 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 . 16:14:08 Sending build context to Docker daemon 2.783MB 16:14:08 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 16:14:08 Step 2/12 : FROM ${BASE} AS builder 16:14:08 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:14:08 9b3977197b4f: Pulling fs layer 16:14:08 1a89e8eeedd5: Pulling fs layer 16:14:08 94645a83ff95: Pulling fs layer 16:14:08 3f3a8bcf1eab: Pulling fs layer 16:14:08 0c92f367c5e7: Pulling fs layer 16:14:08 3096ccb668a1: Pulling fs layer 16:14:08 e8cf19c19ddd: Pulling fs layer 16:14:08 a4caa8a26152: Pulling fs layer 16:14:08 3096ccb668a1: Waiting 16:14:08 e8cf19c19ddd: Waiting 16:14:08 a4caa8a26152: Waiting 16:14:08 3f3a8bcf1eab: Waiting 16:14:08 0c92f367c5e7: Waiting 16:14:08 94645a83ff95: Download complete 16:14:08 1a89e8eeedd5: Download complete 16:14:08 0c92f367c5e7: Verifying Checksum 16:14:08 0c92f367c5e7: Download complete 16:14:08 3096ccb668a1: Verifying Checksum 16:14:08 3096ccb668a1: Download complete 16:14:09 9b3977197b4f: Verifying Checksum 16:14:09 9b3977197b4f: Download complete 16:14:09 e8cf19c19ddd: Verifying Checksum 16:14:09 e8cf19c19ddd: Download complete 16:14:09 9b3977197b4f: Pull complete 16:14:10 1a89e8eeedd5: Pull complete 16:14:10 94645a83ff95: Pull complete 16:14:10 a4caa8a26152: Verifying Checksum 16:14:10 a4caa8a26152: Download complete 16:14:11 3f3a8bcf1eab: Verifying Checksum 16:14:11 3f3a8bcf1eab: Download complete 16:14:23 3f3a8bcf1eab: Pull complete 16:14:23 0c92f367c5e7: Pull complete 16:14:23 3096ccb668a1: Pull complete 16:14:24 e8cf19c19ddd: Pull complete 16:14:30 a4caa8a26152: Pull complete 16:14:30 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 16:14:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 16:14:30 ---> 725f1c02e7f9 16:14:30 Step 3/12 : ARG MAKE='make build' 16:14:31 ---> Running in eabe042e1fcb 16:14:31 Removing intermediate container eabe042e1fcb 16:14:31 ---> 58c2687d5d4e 16:14:31 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:14:32 ---> Running in 93fa18dcaa9c 16:14:32 Removing intermediate container 93fa18dcaa9c 16:14:32 ---> 374f1cbdeed0 16:14:32 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 16:14:32 ---> Running in 098f9d98ae4c 16:14:32 Removing intermediate container 098f9d98ae4c 16:14:32 ---> ce35a26fb733 16:14:32 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:14:32 ---> Running in a58b813eb166 16:14:34 Removing intermediate container a58b813eb166 16:14:34 ---> a32d68898ea6 16:14:34 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:14:34 ---> Running in df6d9b7a1ca2 16:14:35 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 16:14:36 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 16:14:37 (1/4) Installing openssh-keygen (8.8_p1-r1) 16:14:37 (2/4) Installing libedit (20210910.3.1-r0) 16:14:37 (3/4) Installing openssh-client-common (8.8_p1-r1) 16:14:37 (4/4) Installing openssh-client-default (8.8_p1-r1) 16:14:37 Executing busybox-1.34.1-r3.trigger 16:14:37 OK: 224 MiB in 56 packages 16:14:38 Removing intermediate container df6d9b7a1ca2 16:14:38 ---> 4e9a05b2da29 16:14:38 Step 8/12 : WORKDIR /device-snmp-go 16:14:38 ---> Running in 24f634da70d8 16:14:39 Removing intermediate container 24f634da70d8 16:14:39 ---> 529adf939b1f 16:14:39 Step 9/12 : COPY go.mod vendor* ./ 16:14:39 ---> 9e7981252b76 16:14:39 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:14:39 ---> Running in c00c37dd7068 16:15:26 Removing intermediate container c00c37dd7068 16:15:26 ---> 9ae6b127a1b7 16:15:26 Step 11/12 : COPY . . 16:15:26 ---> bde9f231240c 16:15:26 Step 12/12 : RUN ${MAKE} 16:15:26 ---> Running in 89075906484c 16:15:26 noop 16:15:26 Removing intermediate container 89075906484c 16:15:26 ---> ba777842815b 16:15:26 Successfully built ba777842815b 16:15:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:15:27 + docker inspect -f . ci-base-image-arm64 16:15:27 . [Pipeline] withDockerContainer 16:15:27 prd-ubuntu20.04-docker-arm64-4c-16g-63159 does not seem to be running inside a container 16:15:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/4 -v /w/workspace/device-snmp-go/4:/w/workspace/device-snmp-go/4:rw,z -v /w/workspace/device-snmp-go/4@tmp:/w/workspace/device-snmp-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:15:28 $ docker top 48b5b26d1e97c5fd90ec56f495939c123908c2904c5ffe50d0e88d1b6e7e7fe7 -eo pid,comm [Pipeline] { [Pipeline] sh 16:15:29 + go version 16:15:29 go version go1.17.6 linux/arm64 [Pipeline] } 16:15:29 $ docker stop --time=1 48b5b26d1e97c5fd90ec56f495939c123908c2904c5ffe50d0e88d1b6e7e7fe7 16:15:31 $ docker rm -f 48b5b26d1e97c5fd90ec56f495939c123908c2904c5ffe50d0e88d1b6e7e7fe7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:15:31 + docker inspect -f . ci-base-image-arm64 16:15:31 . [Pipeline] withDockerContainer 16:15:32 prd-ubuntu20.04-docker-arm64-4c-16g-63159 does not seem to be running inside a container 16:15:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/4 -v /w/workspace/device-snmp-go/4:/w/workspace/device-snmp-go/4:rw,z -v /w/workspace/device-snmp-go/4@tmp:/w/workspace/device-snmp-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:15:33 $ docker top 694c9257d6817143d727b609d40fcfc27719762b81a065c58c61c73424e8a179 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:15:34 + make test 16:15:34 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 16:15:35 ? github.com/edgexfoundry/device-snmp-go [no test files] 16:16:57 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 16:16:57 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.047s coverage: 0.0% of statements 16:16:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:16:57 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:17:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:17:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:17:19 ./bin/test-attribution-txt.sh [Pipeline] echo 16:17:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:17:21 $ docker stop --time=1 694c9257d6817143d727b609d40fcfc27719762b81a065c58c61c73424e8a179 16:17:23 $ docker rm -f 694c9257d6817143d727b609d40fcfc27719762b81a065c58c61c73424e8a179 [Pipeline] // withDockerContainer [Pipeline] sh 16:17:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:17:24 Warning: overwriting stash ‘coverage-report’ 16:17:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:17:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:17:25 + ls -al . 16:17:25 total 164 16:17:25 drwxrwxr-x 8 jenkins jenkins 4096 May 11 16:17 . 16:17:25 drwxrwxr-x 4 jenkins jenkins 4096 May 11 16:13 .. 16:17:25 -rw-rw-r-- 1 jenkins jenkins 6 May 11 16:13 .dockerignore 16:17:25 drwxrwxr-x 8 jenkins jenkins 4096 May 11 16:13 .git 16:17:25 drwxrwxr-x 3 jenkins jenkins 4096 May 11 16:13 .github 16:17:25 -rw-rw-r-- 1 jenkins jenkins 328 May 11 16:13 .gitignore 16:17:25 -rw-rw-r-- 1 jenkins jenkins 41 May 11 16:13 .golangci.yml 16:17:25 -rw-rw-r-- 1 jenkins jenkins 8296 May 11 16:13 Attribution.txt 16:17:25 -rw-rw-r-- 1 jenkins jenkins 6947 May 11 16:13 CHANGELOG.md 16:17:25 -rw-rw-r-- 1 jenkins jenkins 1516 May 11 16:13 Dockerfile 16:17:25 -rw-rw-r-- 1 jenkins jenkins 677 May 11 16:13 GOVERNANCE.md 16:17:25 -rw-rw-r-- 1 jenkins jenkins 656 May 11 16:13 Jenkinsfile 16:17:25 -rw-rw-r-- 1 jenkins jenkins 11340 May 11 16:13 LICENSE 16:17:25 -rw-rw-r-- 1 jenkins jenkins 1938 May 11 16:13 Makefile 16:17:25 -rw-rw-r-- 1 jenkins jenkins 620 May 11 16:13 OWNERS.md 16:17:25 -rw-rw-r-- 1 jenkins jenkins 9390 May 11 16:13 README.md 16:17:25 -rw-rw-r-- 1 jenkins jenkins 5 May 11 16:11 VERSION 16:17:25 drwxrwxr-x 2 jenkins jenkins 4096 May 11 16:13 bin 16:17:25 drwxrwxr-x 3 jenkins jenkins 4096 May 11 16:13 cmd 16:17:25 -rw-r--r-- 1 jenkins jenkins 7631 May 11 16:16 coverage.out 16:17:25 -rw-rw-r-- 1 jenkins jenkins 3250 May 11 16:13 go.mod 16:17:25 -rw-rw-r-- 1 jenkins jenkins 35701 May 11 16:13 go.sum 16:17:25 drwxrwxr-x 3 jenkins jenkins 4096 May 11 16:13 internal 16:17:25 drwxrwxr-x 3 jenkins jenkins 4096 May 11 16:13 snap 16:17:25 -rw-rw-r-- 1 jenkins jenkins 209 May 11 16:13 version.go [Pipeline] isUnix [Pipeline] sh 16:17:26 + 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=acdb4c3149c01840aabeaf38edb55bf363a6457a --label arch=arm64 --label version=0.0.0 . 16:17:26 Sending build context to Docker daemon 2.791MB 16:17:26 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 16:17:26 Step 2/24 : FROM ${BASE} AS builder 16:17:26 ---> ba777842815b 16:17:26 Step 3/24 : ARG MAKE='make build' 16:17:26 ---> Running in 89f35f47d78f 16:17:26 Removing intermediate container 89f35f47d78f 16:17:26 ---> 672f36ad2350 16:17:26 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:17:26 ---> Running in 9bd3e286d6a8 16:17:27 Removing intermediate container 9bd3e286d6a8 16:17:27 ---> 4c2df4982c5f 16:17:27 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 16:17:27 ---> Running in caf8fa196b2c 16:17:27 Removing intermediate container caf8fa196b2c 16:17:27 ---> 0d609cff4575 16:17:27 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:17:27 ---> Running in 88a60702cab4 16:17:29 Removing intermediate container 88a60702cab4 16:17:29 ---> d8ad8ff58c98 16:17:29 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:17:29 ---> Running in 41b469b651b1 16:17:30 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 16:17:31 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 16:17:32 OK: 224 MiB in 56 packages 16:17:32 Removing intermediate container 41b469b651b1 16:17:32 ---> 6a50913feebb 16:17:32 Step 8/24 : WORKDIR /device-snmp-go 16:17:32 ---> Running in 3d416a945122 16:17:33 Removing intermediate container 3d416a945122 16:17:33 ---> dcb7e5f5b128 16:17:33 Step 9/24 : COPY go.mod vendor* ./ 16:17:33 ---> 6eaa3b672fd2 16:17:33 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:17:33 ---> Running in 9395baf08267 16:17:35 Removing intermediate container 9395baf08267 16:17:35 ---> fc1444d68cdb 16:17:35 Step 11/24 : COPY . . 16:17:36 ---> 73c7058fcec5 16:17:36 Step 12/24 : RUN ${MAKE} 16:17:36 ---> Running in 5ab1e8bf6f32 16:17:37 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 16:19:44 Removing intermediate container 5ab1e8bf6f32 16:19:44 ---> 509e19947e2e 16:19:44 Step 13/24 : FROM alpine:3.14 16:19:44 3.14: Pulling from library/alpine 16:19:44 455c02918c45: Pulling fs layer 16:19:44 455c02918c45: Download complete 16:19:44 455c02918c45: Pull complete 16:19:44 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 16:19:44 Status: Downloaded newer image for alpine:3.14 16:19:44 ---> ac73e934f311 16:19:44 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 16:19:44 ---> Running in 775a4ddd49e1 16:19:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 16:19:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 16:19:44 (1/6) Installing dumb-init (1.2.5-r1) 16:19:44 (2/6) Installing libgcc (10.3.1_git20210424-r2) 16:19:44 (3/6) Installing libsodium (1.0.18-r0) 16:19:44 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 16:19:44 (5/6) Installing libzmq (4.3.4-r0) 16:19:44 (6/6) Installing zeromq (4.3.4-r0) 16:19:44 Executing busybox-1.33.1-r7.trigger 16:19:44 OK: 8 MiB in 20 packages 16:19:44 Removing intermediate container 775a4ddd49e1 16:19:44 ---> 3243e2ca296d 16:19:44 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 16:19:44 ---> 7110f81e3996 16:19:44 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 16:19:44 ---> 7014307b2058 16:19:44 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 16:19:44 ---> 8d1d3b851210 16:19:44 Step 18/24 : EXPOSE 59993 16:19:44 ---> Running in 4c5f7d66a45e 16:19:44 Removing intermediate container 4c5f7d66a45e 16:19:44 ---> 7547c92c2e32 16:19:44 Step 19/24 : EXPOSE 161 16:19:44 ---> Running in 8a0f0bc0243e 16:19:44 Removing intermediate container 8a0f0bc0243e 16:19:44 ---> 678d63308cf6 16:19:44 Step 20/24 : ENTRYPOINT ["/device-snmp"] 16:19:44 ---> Running in d22f50d6e5f3 16:19:44 Removing intermediate container d22f50d6e5f3 16:19:44 ---> 49ecd3aa3182 16:19:44 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 16:19:44 ---> Running in f2973b485c5f 16:19:44 Removing intermediate container f2973b485c5f 16:19:44 ---> 74f9d0e5388e 16:19:44 Step 22/24 : LABEL arch=arm64 16:19:44 ---> Running in 47388a6aeb2e 16:19:44 Removing intermediate container 47388a6aeb2e 16:19:44 ---> c1bcfe78e83b 16:19:44 Step 23/24 : LABEL git_sha=acdb4c3149c01840aabeaf38edb55bf363a6457a 16:19:44 ---> Running in b2c31300df32 16:19:44 Removing intermediate container b2c31300df32 16:19:44 ---> 335851e57ec7 16:19:44 Step 24/24 : LABEL version=0.0.0 16:19:44 ---> Running in 7f56473e0423 16:19:44 Removing intermediate container 7f56473e0423 16:19:44 ---> d0dfcd42fb77 16:19:44 [Warning] One or more build-args [ARCH] were not consumed 16:19:44 Successfully built d0dfcd42fb77 16:19:44 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 16:19:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:19:44 16:19:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 16:19:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:19:45 arm64: Pulling from edgex-lftools-log-publisher 16:19:45 8998bd30e6a1: Pulling fs layer 16:19:45 04944245beec: Pulling fs layer 16:19:45 699f458cf7ca: Pulling fs layer 16:19:45 765212b225bb: Pulling fs layer 16:19:45 f23df028b6ca: Pulling fs layer 16:19:45 d65c8cfc05b1: Pulling fs layer 16:19:45 2437ff75d9bd: Pulling fs layer 16:19:45 765212b225bb: Waiting 16:19:45 d65c8cfc05b1: Waiting 16:19:45 f23df028b6ca: Waiting 16:19:45 2437ff75d9bd: Waiting 16:19:45 04944245beec: Verifying Checksum 16:19:45 04944245beec: Download complete 16:19:45 765212b225bb: Verifying Checksum 16:19:45 765212b225bb: Download complete 16:19:45 f23df028b6ca: Download complete 16:19:45 d65c8cfc05b1: Verifying Checksum 16:19:45 d65c8cfc05b1: Download complete 16:19:45 699f458cf7ca: Verifying Checksum 16:19:45 699f458cf7ca: Download complete 16:19:45 8998bd30e6a1: Verifying Checksum 16:19:45 8998bd30e6a1: Download complete 16:19:47 2437ff75d9bd: Verifying Checksum 16:19:47 2437ff75d9bd: Download complete 16:19:49 8998bd30e6a1: Pull complete 16:19:50 04944245beec: Pull complete 16:19:51 699f458cf7ca: Pull complete 16:19:52 765212b225bb: Pull complete 16:19:53 f23df028b6ca: Pull complete 16:19:53 d65c8cfc05b1: Pull complete 16:20:08 2437ff75d9bd: Pull complete 16:20:08 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:20:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:20:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 16:20:08 prd-ubuntu20.04-docker-arm64-4c-16g-63159 does not seem to be running inside a container 16:20:08 $ 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/4 -v /w/workspace/device-snmp-go/4:/w/workspace/device-snmp-go/4:rw,z -v /w/workspace/device-snmp-go/4@tmp:/w/workspace/device-snmp-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:20:11 $ docker top 5cddd6337591133ab0a224ebfc93e192d01c414a4a981d956a61cf153faba455 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:20:12 ---> job-cost.sh 16:20:12 lf-activate-venv: SKIPPING 16:20:12 INFO: No Stack... 16:20:12 INFO: Retrieving Pricing Info for: v3-standard-4 16:20:13 INFO: Archiving Costs [Pipeline] sh 16:20:13 + cat /w/workspace/device-snmp-go/4/archives/cost.csv 16:20:13 + cut -d, -f6 [Pipeline] lock 16:20:14 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-PR-168-4-stack-cost] 16:20:14 Resource [jenkins-edgexfoundry-device-snmp-go-PR-168-4-stack-cost] did not exist. Created. 16:20:14 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-PR-168-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:20:14 /w/workspace/device-snmp-go/4@tmp/durable-82c81259/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:20:15 + echo total: 0.10999999940395355 [Pipeline] stash 16:20:15 Warning: overwriting stash ‘stack-cost’ 16:20:15 Stashed 1 file(s) [Pipeline] } 16:20:15 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-PR-168-4-stack-cost] [Pipeline] // lock [Pipeline] } 16:20:15 $ docker stop --time=1 5cddd6337591133ab0a224ebfc93e192d01c414a4a981d956a61cf153faba455 16:20:17 $ docker rm -f 5cddd6337591133ab0a224ebfc93e192d01c414a4a981d956a61cf153faba455 [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 16:20:17 provisioning config files... 16:20:17 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_PR-168@tmp/config1000772659729858944tmp [Pipeline] { [Pipeline] sh 16:20:17 + set +x 16:20:17 + curl -s https://codecov.io/bash 16:20:17 + bash -s -- 16:20:17 16:20:17 _____ _ 16:20:17 / ____| | | 16:20:17 | | ___ __| | ___ ___ _____ __ 16:20:17 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:20:17 | |___| (_) | (_| | __/ (_| (_) \ V / 16:20:17 \_____\___/ \__,_|\___|\___\___/ \_/ 16:20:17 Bash-1.0.6 16:20:17 16:20:17 16:20:17 ==> git version 2.25.1 found 16:20:17 ==> 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 16:20:17 Release-Date: 2020-01-08 16:20:17 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:20:17 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:20:17 ==> Jenkins CI detected. 16:20:17 current dir:  /w/workspace/gexfoundry_device-snmp-go_PR-168 16:20:17 project root: . 16:20:17 --> token set from env 16:20:17 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:20:18 ==> Running gcov in . (disable via -X gcov) 16:20:18 ==> Python coveragepy not found 16:20:18 ==> Searching for coverage reports in: 16:20:18 + . 16:20:18 -> Found 1 reports 16:20:18 ==> Detecting git/mercurial file structure 16:20:18 ==> Reading reports 16:20:18 + ./coverage.out bytes=7631 16:20:18 ==> Appending adjustments 16:20:18 https://docs.codecov.io/docs/fixing-reports 16:20:18 + Found adjustments 16:20:18 ==> Gzipping contents 16:20:18 4.0K /tmp/codecov.Lp2n8X.gz 16:20:18 ==> Uploading reports 16:20:18 url: https://codecov.io 16:20:18 query: branch=PR-168&commit=bc539e7293b2e699c7dc79685522d5f8b83ae0a9&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-168%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=168&job=&cmd_args= 16:20:18 -> Pinging Codecov 16:20:18 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=bc539e7293b2e699c7dc79685522d5f8b83ae0a9&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2FPR-168%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=168&job=&cmd_args= 16:20:18 -> Uploading to 16:20:18 https://storage.googleapis.com/codecov/v4/raw/2022-05-11/6C56EA5C29638FB4528AC87E60AF5AE0/bc539e7293b2e699c7dc79685522d5f8b83ae0a9/7cd6a481-5720-4436-8568-69ff2174ce99.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220511T162018Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8ff60afd874359e9995b40f6eaa57bf60b7c12600ba3c7131acc20ccaac5eaa6 16:20:18 % Total % Received % Xferd Average Speed Time Time Time Current 16:20:18 Dload Upload Total Spent Left Speed 16:20:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1602 0 0 100 1602 0 6485 --:--:-- --:--:-- --:--:-- 6485 16:20:18 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/bc539e7293b2e699c7dc79685522d5f8b83ae0a9 [Pipeline] } 16:20:18 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 16:20:19 + [ -d /w/workspace/gexfoundry_device-snmp-go_PR-168/archives ] 16:20:19 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-168/archives 16:20:19 total 16 16:20:19 drwxr-xr-x 3 root root 4096 May 11 16:13 . 16:20:19 drwxrwxr-x 10 jenkins jenkins 4096 May 11 16:13 .. 16:20:19 drwxr-xr-x 2 root root 4096 May 11 16:13 cost 16:20:19 -rw-r--r-- 1 root root 85 May 11 16:13 cost.csv 16:20:19 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-snmp-go_PR-168/archives 16:20:19 + ls -al /w/workspace/gexfoundry_device-snmp-go_PR-168/archives 16:20:19 total 16 16:20:19 drwxr-xr-x 3 jenkins jenkins 4096 May 11 16:13 . 16:20:19 drwxrwxr-x 10 jenkins jenkins 4096 May 11 16:13 .. 16:20:19 drwxr-xr-x 2 jenkins jenkins 4096 May 11 16:13 cost 16:20:19 -rw-r--r-- 1 jenkins jenkins 85 May 11 16:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:20:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:20:20 ---> package-listing.sh 16:20:20 ++ facter osfamily 16:20:20 ++ tr '[:upper:]' '[:lower:]' 16:20:20 + OS_FAMILY=debian 16:20:20 + workspace=/w/workspace/gexfoundry_device-snmp-go_PR-168 16:20:20 + START_PACKAGES=/tmp/packages_start.txt 16:20:20 + END_PACKAGES=/tmp/packages_end.txt 16:20:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:20:20 + PACKAGES=/tmp/packages_start.txt 16:20:20 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-168 ']' 16:20:20 + PACKAGES=/tmp/packages_end.txt 16:20:20 + case "${OS_FAMILY}" in 16:20:20 + dpkg -l 16:20:20 + grep '^ii' 16:20:20 + '[' -f /tmp/packages_start.txt ']' 16:20:20 + '[' -f /tmp/packages_end.txt ']' 16:20:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:20:20 + '[' /w/workspace/gexfoundry_device-snmp-go_PR-168 ']' 16:20:20 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_PR-168/archives/ 16:20:20 + 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 16:20:20 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 16:20:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 16:20:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:20:21 . [Pipeline] withDockerContainer 16:20:21 prd-ubuntu20.04-docker-8c-8g-63158 does not seem to be running inside a container 16:20:21 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:20:22 $ docker top 3f24f88a1fbafa3a4645ebb55c474feb6d59dfd9c1b10e57a80c7679940a9791 -eo pid,comm [Pipeline] { [Pipeline] sh 16:20:22 + touch /tmp/pre-build-complete [Pipeline] sh 16:20:22 + mkdir -p /var/log/sysstat [Pipeline] sh 16:20:22 + ls /var/log/sa-host 16:20:22 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:20:23 provisioning config files... 16:20:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_PR-168@tmp/config2953708291427612760tmp [Pipeline] { [Pipeline] echo 16:20:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:20:23 ---> create-netrc.sh [Pipeline] } 16:20:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:20:23 ---> python-tools-install.sh [Pipeline] echo 16:20:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:20:24 ---> sudo-logs.sh 16:20:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:20:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:20:24 ---> job-cost.sh 16:20:24 lf-activate-venv: SKIPPING 16:20:24 DEBUG: total: 0.2199999988079071 16:20:24 INFO: Retrieving Stack Cost... 16:20:25 INFO: Retrieving Pricing Info for: v3-standard-8 16:20:25 INFO: Archiving Costs [Pipeline] echo 16:20:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:20:26 ---> logs-deploy.sh 16:20:26 lf-activate-venv: SKIPPING 16:20:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/PR-168/4 16:20:26 INFO: archiving workspace using pattern(s): 16:20:27 Archives upload complete. 16:20:27 INFO: archiving logs to Nexus