Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d555bf136e773009b6ef88c6c814540d1eb4cbee 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-ssh10766948154580286039.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh3442545644040723046.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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/main/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/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh18271965736896069073.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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-ssh15214391214935833071.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/main/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/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3320324465083202031.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-40354 in /w/workspace/edgexfoundry_device-snmp-go_main [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/edgexfoundry_device-snmp-go_main # 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 Avoid second fetch Checking out Revision d555bf136e773009b6ef88c6c814540d1eb4cbee (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f d555bf136e773009b6ef88c6c814540d1eb4cbee # timeout=10 Commit message: "Merge pull request #166 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.37" > git rev-list --no-walk 60c29c8ddffb83da8ea2aabad72ac966629b6d3c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:33:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:33:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:33:56 ========================================================= 04:33:56 EdgeX Global Pipelines Version Info 04:33:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:33:57 ------------------- 04:33:57 stable info: 04:33:57 ------------------- 04:33:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:33:57 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 04:33:57 Message: update stable to v1.0.227 04:33:58 ------------------- 04:33:58 experimental info: 04:33:58 ------------------- 04:33:58 Commited By: **** collab-it+edgex@linuxfoundation.org 04:33:58 Commit SHA: 602d0728ebfd21a5b975e02ac0465e47e5fef8c7 04:33:58 Message: update experimental to v1.0.228 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:33:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 04:33:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 04:33:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:33:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:33:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:33:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 04:33:58 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:33:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:33:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:33:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:33:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:33:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 04:33:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:33:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:33:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:33:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:33:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:33:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:33:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:33:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:33:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:33:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:33:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:33:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:33:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:33:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:33:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 04:33:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 04:33:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 04:33:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d555bf136e773009b6ef88c6c814540d1eb4cbee [Pipeline] echo 04:33:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d555bf1 [Pipeline] echo 04:33:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:33:58 provisioning config files... 04:33:58 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8819479867652225319tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:33:59 ---> docker-login.sh 04:33:59 nexus3.edgexfoundry.org:10001 04:33:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:33:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:33:59 Configure a credential helper to remove this warning. See 04:33:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:33:59 04:33:59 Login Succeeded 04:33:59 nexus3.edgexfoundry.org:10002 04:33:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:33:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:33:59 Configure a credential helper to remove this warning. See 04:33:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:33:59 04:33:59 Login Succeeded 04:33:59 nexus3.edgexfoundry.org:10003 04:33:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:33:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:33:59 Configure a credential helper to remove this warning. See 04:33:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:33:59 04:33:59 Login Succeeded 04:33:59 nexus3.edgexfoundry.org:10004 04:33:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:33:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:33:59 Configure a credential helper to remove this warning. See 04:33:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:33:59 04:33:59 Login Succeeded 04:33:59 docker.io 04:34:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:34:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:34:00 Configure a credential helper to remove this warning. See 04:34:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:34:00 04:34:00 Login Succeeded 04:34:00 ---> docker-login.sh ends [Pipeline] } 04:34:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:34:00 + git rev-list -1 --merges d555bf136e773009b6ef88c6c814540d1eb4cbee~1..d555bf136e773009b6ef88c6c814540d1eb4cbee [Pipeline] echo 04:34:00 -----------> git rev-list -1 --merges d555bf136e773009b6ef88c6c814540d1eb4cbee~1..d555bf136e773009b6ef88c6c814540d1eb4cbee d555bf136e773009b6ef88c6c814540d1eb4cbee 04:34:00 d555bf136e773009b6ef88c6c814540d1eb4cbee [false] [Pipeline] sh 04:34:01 + git log --format=format:%s -1 d555bf136e773009b6ef88c6c814540d1eb4cbee [Pipeline] echo 04:34:01 ========================================================= 04:34:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:34:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:34:01 + git log --format=format:%s -1 d555bf136e773009b6ef88c6c814540d1eb4cbee [Pipeline] echo 04:34:01 [semverPrep] GIT_COMMIT: d555bf136e773009b6ef88c6c814540d1eb4cbee, Commit Message: Merge pull request #166 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.37 [Pipeline] echo 04:34:01 [semverPrep] This is not a build commit. [Pipeline] sh 04:34:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:34:02 + grep -v github /etc/ssh/ssh_known_hosts 04:34:02 + [ -e /tmp/ssh_known_hosts ] 04:34:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:34:02 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:34:02 + sudo tee -a /etc/ssh/ssh_known_hosts 04:34:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 04:34:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 04:34:02 04:34:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:34:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 04:34:02 latest: Pulling from edgex-devops/py-git-semver 04:34:02 1fe172e4850f: Pulling fs layer 04:34:02 caf521ccaac6: Pulling fs layer 04:34:02 3ead6fa29328: Pulling fs layer 04:34:02 5c2a1cbceb83: Pulling fs layer 04:34:02 a8d5f1318db7: Pulling fs layer 04:34:02 c427282e49a2: Pulling fs layer 04:34:02 1827001aaf11: Pulling fs layer 04:34:02 0714d37db230: Pulling fs layer 04:34:02 ac28cf19c067: Pulling fs layer 04:34:02 ca983d60f3e2: Pulling fs layer 04:34:02 0714d37db230: Waiting 04:34:02 a8d5f1318db7: Waiting 04:34:02 c427282e49a2: Waiting 04:34:02 1827001aaf11: Waiting 04:34:02 5c2a1cbceb83: Waiting 04:34:02 ac28cf19c067: Waiting 04:34:02 9f894cec8388: Pulling fs layer 04:34:02 ca983d60f3e2: Waiting 04:34:02 9f894cec8388: Waiting 04:34:02 caf521ccaac6: Download complete 04:34:02 5c2a1cbceb83: Verifying Checksum 04:34:02 5c2a1cbceb83: Download complete 04:34:03 a8d5f1318db7: Verifying Checksum 04:34:03 a8d5f1318db7: Download complete 04:34:03 3ead6fa29328: Verifying Checksum 04:34:03 3ead6fa29328: Download complete 04:34:03 c427282e49a2: Download complete 04:34:03 0714d37db230: Download complete 04:34:03 ac28cf19c067: Verifying Checksum 04:34:03 ac28cf19c067: Download complete 04:34:03 ca983d60f3e2: Verifying Checksum 04:34:03 ca983d60f3e2: Download complete 04:34:03 9f894cec8388: Download complete 04:34:03 1fe172e4850f: Verifying Checksum 04:34:03 1fe172e4850f: Download complete 04:34:03 1827001aaf11: Verifying Checksum 04:34:03 1827001aaf11: Download complete 04:34:04 1fe172e4850f: Pull complete 04:34:04 caf521ccaac6: Pull complete 04:34:05 3ead6fa29328: Pull complete 04:34:05 5c2a1cbceb83: Pull complete 04:34:05 a8d5f1318db7: Pull complete 04:34:05 c427282e49a2: Pull complete 04:34:08 1827001aaf11: Pull complete 04:34:08 0714d37db230: Pull complete 04:34:08 ac28cf19c067: Pull complete 04:34:08 ca983d60f3e2: Pull complete 04:34:09 9f894cec8388: Pull complete 04:34:09 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 04:34:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 04:34:09 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 04:34:09 prd-ubuntu20.04-docker-8c-8g-40354 does not seem to be running inside a container 04:34:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 04:34:10 $ docker top c19388e68483e7d8ea532e01ac84cf2426c7637bd11bcee2a6aa275537e2c29b -eo pid,comm 04:34:10 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). 04:34:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:34:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:34:10 [ssh-agent] Looking for ssh-agent implementation... 04:34:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:34:11 $ docker exec c19388e68483e7d8ea532e01ac84cf2426c7637bd11bcee2a6aa275537e2c29b ssh-agent 04:34:11 SSH_AUTH_SOCK=/tmp/ssh-OqUEiBl4wSeg/agent.32 04:34:11 SSH_AGENT_PID=38 04:34:11 Running ssh-add (command line suppressed) 04:34:11 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6017838698869204854.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6017838698869204854.key) 04:34:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:34:11 + git tag --points-at HEAD [Pipeline] } 04:34:11 $ docker exec --env ******** --env ******** c19388e68483e7d8ea532e01ac84cf2426c7637bd11bcee2a6aa275537e2c29b ssh-agent -k 04:34:11 unset SSH_AUTH_SOCK; 04:34:11 unset SSH_AGENT_PID; 04:34:11 echo Agent pid 38 killed; 04:34:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:34:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:34:11 [ssh-agent] Looking for ssh-agent implementation... 04:34:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:34:12 $ docker exec c19388e68483e7d8ea532e01ac84cf2426c7637bd11bcee2a6aa275537e2c29b ssh-agent 04:34:12 SSH_AUTH_SOCK=/tmp/ssh-Wf8xOZNBKghu/agent.73 04:34:12 SSH_AGENT_PID=80 04:34:12 Running ssh-add (command line suppressed) 04:34:12 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1653592694341843086.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1653592694341843086.key) 04:34:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:34:12 + git semver init 04:34:12 2022-05-03 04:34:12,876 [run_init] DEBUG init version:0.0.0 force:False 04:34:12 2022-05-03 04:34:12,877 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver 04:34:12 2022-05-03 04:34:12,878 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver 04:34:12 2022-05-03 04:34:12,879 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/edgexfoundry_device-snmp-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 04:34:13 2022-05-03 04:34:13,686 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude 04:34:13 2022-05-03 04:34:13,687 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False 04:34:13 2022-05-03 04:34:13,687 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 04:34:13 2022-05-03 04:34:13,687 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 04:34:13 2.2.0-dev.14 [Pipeline] } 04:34:13 $ docker exec --env ******** --env ******** c19388e68483e7d8ea532e01ac84cf2426c7637bd11bcee2a6aa275537e2c29b ssh-agent -k 04:34:13 unset SSH_AUTH_SOCK; 04:34:13 unset SSH_AGENT_PID; 04:34:13 echo Agent pid 80 killed; 04:34:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:34:14 + git semver [Pipeline] } 04:34:14 $ docker stop --time=1 c19388e68483e7d8ea532e01ac84cf2426c7637bd11bcee2a6aa275537e2c29b 04:34:15 $ docker rm -f c19388e68483e7d8ea532e01ac84cf2426c7637bd11bcee2a6aa275537e2c29b [Pipeline] // withDockerContainer [Pipeline] sh 04:34:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:34:16 Stashed 1 file(s) [Pipeline] echo 04:34:16 [edgeXSemver]: initialized semver on version 2.2.0-dev.14 [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 04:34:16 provisioning config files... 04:34:16 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4849870924059446573tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:34:16 Running on prd-ubuntu20.04-docker-arm64-4c-16g-40303 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws 04:34:16 Running in /w/workspace/device-snmp-go/24 [Pipeline] { [Pipeline] checkout 04:34:17 ---> docker-login.sh 04:34:17 nexus3.edgexfoundry.org:10001 04:34:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:34:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:34:17 Configure a credential helper to remove this warning. See 04:34:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:34:17 04:34:17 Login Succeeded 04:34:17 nexus3.edgexfoundry.org:10002 04:34:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:34:17 Selected Git installation does not exist. Using Default 04:34:17 The recommended git tool is: NONE 04:34:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:34:17 Configure a credential helper to remove this warning. See 04:34:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:34:17 04:34:17 Login Succeeded 04:34:17 nexus3.edgexfoundry.org:10003 04:34:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:34:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:34:17 Configure a credential helper to remove this warning. See 04:34:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:34:17 04:34:17 Login Succeeded 04:34:17 nexus3.edgexfoundry.org:10004 04:34:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:34:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:34:17 Configure a credential helper to remove this warning. See 04:34:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:34:17 04:34:17 Login Succeeded 04:34:17 docker.io 04:34:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:34:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:34:17 Configure a credential helper to remove this warning. See 04:34:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:34:17 04:34:17 Login Succeeded 04:34:17 ---> docker-login.sh ends [Pipeline] } 04:34:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:34:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:34:17 ========================================================= 04:34:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 04:34:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:34:18 + 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 . 04:34:18 Sending build context to Docker daemon 5.302MB 04:34:18 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 04:34:18 Step 2/12 : FROM ${BASE} AS builder 04:34:18 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 04:34:18 59bf1c3509f3: Pulling fs layer 04:34:18 666ba61612fd: Pulling fs layer 04:34:18 8ed8ca486205: Pulling fs layer 04:34:18 4fe6c5a15a65: Pulling fs layer 04:34:18 22a0e8bec74d: Pulling fs layer 04:34:18 ca2b28591e48: Pulling fs layer 04:34:18 a51346096db8: Pulling fs layer 04:34:18 daebc70d1ce1: Pulling fs layer 04:34:18 0e18a0eac166: Pulling fs layer 04:34:18 4fe6c5a15a65: Waiting 04:34:18 22a0e8bec74d: Waiting 04:34:18 ca2b28591e48: Waiting 04:34:18 a51346096db8: Waiting 04:34:18 0e18a0eac166: Waiting 04:34:18 8ed8ca486205: Verifying Checksum 04:34:18 8ed8ca486205: Download complete 04:34:18 666ba61612fd: Verifying Checksum 04:34:18 666ba61612fd: Download complete 04:34:18 22a0e8bec74d: Verifying Checksum 04:34:18 22a0e8bec74d: Download complete 04:34:18 ca2b28591e48: Verifying Checksum 04:34:18 ca2b28591e48: Download complete 04:34:18 59bf1c3509f3: Verifying Checksum 04:34:18 59bf1c3509f3: Download complete 04:34:18 a51346096db8: Download complete 04:34:18 daebc70d1ce1: Verifying Checksum 04:34:18 daebc70d1ce1: Download complete 04:34:18 59bf1c3509f3: Pull complete 04:34:18 666ba61612fd: Pull complete 04:34:18 8ed8ca486205: Pull complete 04:34:19 0e18a0eac166: Verifying Checksum 04:34:19 0e18a0eac166: Download complete 04:34:19 4fe6c5a15a65: Verifying Checksum 04:34:19 4fe6c5a15a65: Download complete 04:34:21 using credential edgex-jenkins-ssh 04:34:21 Cloning the remote Git repository 04:34:22 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 04:34:22 > git init /w/workspace/device-snmp-go/24 # timeout=10 04:34:22 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 04:34:22 > git --version # timeout=10 04:34:22 > git --version # 'git version 2.25.1' 04:34:22 using GIT_SSH to set credentials SSH Credentials for GitHub 04:34:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:34:23 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 04:34:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:34:23 Avoid second fetch 04:34:23 Checking out Revision d555bf136e773009b6ef88c6c814540d1eb4cbee (main) 04:34:23 4fe6c5a15a65: Pull complete 04:34:23 22a0e8bec74d: Pull complete 04:34:23 ca2b28591e48: Pull complete 04:34:23 a51346096db8: Pull complete 04:34:23 daebc70d1ce1: Pull complete 04:34:23 > git config core.sparsecheckout # timeout=10 04:34:23 > git checkout -f d555bf136e773009b6ef88c6c814540d1eb4cbee # timeout=10 04:34:26 0e18a0eac166: Pull complete 04:34:26 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 04:34:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 04:34:26 ---> f018257e8ee9 04:34:26 Step 3/12 : ARG MAKE='make build' 04:34:27 Commit message: "Merge pull request #166 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.37" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:34:27 ---> Running in 1c2c2ae06e25 04:34:27 Removing intermediate container 1c2c2ae06e25 04:34:27 ---> 11f0017c5793 04:34:27 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 04:34:27 ---> Running in a28854bf8b68 04:34:27 Removing intermediate container a28854bf8b68 04:34:27 ---> 2541ad513e1f 04:34:27 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 04:34:27 ---> Running in e17b3be84849 04:34:28 Removing intermediate container e17b3be84849 04:34:28 ---> db15cc7ab164 04:34:28 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:34:28 ---> Running in 3943de8909ff 04:34:28 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:34:28 % Total % Received % Xferd Average Speed Time Time Time Current 04:34:28 Dload Upload Total Spent Left Speed 04:34:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 103k 0 --:--:-- --:--:-- --:--:-- 104k [Pipeline] sh 04:34:28 Removing intermediate container 3943de8909ff 04:34:28 ---> 572758222b7b 04:34:28 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:34:28 ---> Running in 71f55d4cf333 04:34:28 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:34:29 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:34:29 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:34:29 + sudo tee /etc/docker/daemon.new 04:34:29 { 04:34:29 "registry-mirrors": [ 04:34:29 "https://nexus3.edgexfoundry.org:10001" 04:34:29 ], 04:34:29 "bip": "10.250.0.254/24", 04:34:29 "hosts": [ 04:34:29 "tcp://0.0.0.0:5555", 04:34:29 "unix:///var/run/docker.sock" 04:34:29 ], 04:34:29 "mtu": 1458, 04:34:29 "selinux-enabled": true, 04:34:29 "seccomp-profile": "/etc/docker/seccomp.json" 04:34:29 } [Pipeline] sh 04:34:29 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:34:30 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:34:30 + sudo service docker restart 04:34:30 (1/4) Installing openssh-keygen (8.8_p1-r1) 04:34:30 (2/4) Installing libedit (20210910.3.1-r0) 04:34:30 (3/4) Installing openssh-client-common (8.8_p1-r1) 04:34:30 (4/4) Installing openssh-client-default (8.8_p1-r1) 04:34:30 Executing busybox-1.34.1-r3.trigger 04:34:30 OK: 224 MiB in 56 packages 04:34:31 Removing intermediate container 71f55d4cf333 04:34:31 ---> a73225b166cb 04:34:31 Step 8/12 : WORKDIR /device-snmp-go 04:34:31 ---> Running in 9686573cfcf1 04:34:31 Removing intermediate container 9686573cfcf1 04:34:31 ---> 8f533c54dfb1 04:34:31 Step 9/12 : COPY go.mod vendor* ./ 04:34:31 ---> 9d1cc9ea7625 04:34:31 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:34:31 ---> Running in aea1bc31dd21 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:34:48 provisioning config files... 04:34:48 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/24@tmp/config6226731540753645007tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:34:48 ---> docker-login.sh 04:34:48 nexus3.edgexfoundry.org:10001 04:34:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:34:49 Removing intermediate container aea1bc31dd21 04:34:49 ---> 8eecf979f18e 04:34:49 Step 11/12 : COPY . . 04:34:49 ---> ab2e24561408 04:34:49 Step 12/12 : RUN ${MAKE} 04:34:49 ---> Running in 3ce86f7a6976 04:34:49 noop 04:34:49 Removing intermediate container 3ce86f7a6976 04:34:49 ---> 1ab15e478d8c 04:34:49 Successfully built 1ab15e478d8c 04:34:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 04:34:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:34:49 Configure a credential helper to remove this warning. See 04:34:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:34:49 04:34:49 Login Succeeded 04:34:49 nexus3.edgexfoundry.org:10002 04:34:49 + docker inspect -f . ci-base-image-x86_64 04:34:49 . [Pipeline] withDockerContainer 04:34:49 prd-ubuntu20.04-docker-8c-8g-40354 does not seem to be running inside a container 04:34:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@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 ******** ci-base-image-x86_64 cat 04:34:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:34:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:34:49 Configure a credential helper to remove this warning. See 04:34:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:34:49 04:34:49 Login Succeeded 04:34:49 nexus3.edgexfoundry.org:10003 04:34:50 $ docker top 2852ff0e5d0f12c1b26f004226e8a1edc06a952bb5f66a5bb7f1c66ee86848ea -eo pid,comm [Pipeline] { [Pipeline] sh 04:34:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:34:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:34:50 Configure a credential helper to remove this warning. See 04:34:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:34:50 04:34:50 Login Succeeded 04:34:50 nexus3.edgexfoundry.org:10004 04:34:50 + go version 04:34:50 go version go1.17.6 linux/amd64 [Pipeline] } 04:34:50 $ docker stop --time=1 2852ff0e5d0f12c1b26f004226e8a1edc06a952bb5f66a5bb7f1c66ee86848ea 04:34:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:34:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:34:51 Configure a credential helper to remove this warning. See 04:34:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:34:51 04:34:51 Login Succeeded 04:34:51 docker.io 04:34:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:34:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:34:51 Configure a credential helper to remove this warning. See 04:34:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:34:51 04:34:51 Login Succeeded 04:34:51 ---> docker-login.sh ends 04:34:52 $ docker rm -f 2852ff0e5d0f12c1b26f004226e8a1edc06a952bb5f66a5bb7f1c66ee86848ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 04:34:52 Deleting 1 temporary files [Pipeline] // script [Pipeline] } [Pipeline] // configFileProvider [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:34:52 + docker inspect -f . ci-base-image-x86_64 04:34:52 . [Pipeline] withDockerContainer 04:34:52 prd-ubuntu20.04-docker-8c-8g-40354 does not seem to be running inside a container 04:34:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@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 ******** ci-base-image-x86_64 cat 04:34:53 $ docker top 88ce2f9bd2411c8ef36ef63d9ac0d442de96e27bf71f9809adb5b4e61b824f7b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] echo 04:34:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] sh [Pipeline] echo 04:34:53 ========================================================= 04:34:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 04:34:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:34:53 + make test 04:34:53 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 04:34:53 + 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 . 04:34:53 ? github.com/edgexfoundry/device-snmp-go [no test files] 04:34:53 Sending build context to Docker daemon 2.74MB 04:34:53 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 04:34:53 Step 2/12 : FROM ${BASE} AS builder 04:34:54 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:34:54 9b3977197b4f: Pulling fs layer 04:34:54 1a89e8eeedd5: Pulling fs layer 04:34:54 94645a83ff95: Pulling fs layer 04:34:54 3f3a8bcf1eab: Pulling fs layer 04:34:54 0c92f367c5e7: Pulling fs layer 04:34:54 3096ccb668a1: Pulling fs layer 04:34:54 e8cf19c19ddd: Pulling fs layer 04:34:54 a4caa8a26152: Pulling fs layer 04:34:54 3f3a8bcf1eab: Waiting 04:34:54 3096ccb668a1: Waiting 04:34:54 e8cf19c19ddd: Waiting 04:34:54 a4caa8a26152: Waiting 04:34:54 0c92f367c5e7: Waiting 04:34:54 94645a83ff95: Verifying Checksum 04:34:54 94645a83ff95: Download complete 04:34:54 1a89e8eeedd5: Verifying Checksum 04:34:54 1a89e8eeedd5: Download complete 04:34:54 0c92f367c5e7: Verifying Checksum 04:34:54 0c92f367c5e7: Download complete 04:34:54 3096ccb668a1: Verifying Checksum 04:34:54 3096ccb668a1: Download complete 04:34:54 e8cf19c19ddd: Verifying Checksum 04:34:54 e8cf19c19ddd: Download complete 04:34:54 9b3977197b4f: Download complete 04:34:55 9b3977197b4f: Pull complete 04:34:55 1a89e8eeedd5: Pull complete 04:34:55 94645a83ff95: Pull complete 04:34:55 a4caa8a26152: Verifying Checksum 04:34:55 a4caa8a26152: Download complete 04:34:56 3f3a8bcf1eab: Verifying Checksum 04:34:56 3f3a8bcf1eab: Download complete 04:35:03 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 04:35:03 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.007s coverage: 0.0% of statements 04:35:09 CGO_ENABLED=1 GO111MODULE=on go vet ./... 04:35:09 3f3a8bcf1eab: Pull complete 04:35:09 0c92f367c5e7: Pull complete 04:35:09 3096ccb668a1: Pull complete 04:35:09 e8cf19c19ddd: Pull complete 04:35:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:35:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:35:13 ./bin/test-attribution-txt.sh [Pipeline] echo 04:35:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:35:13 $ docker stop --time=1 88ce2f9bd2411c8ef36ef63d9ac0d442de96e27bf71f9809adb5b4e61b824f7b 04:35:15 $ docker rm -f 88ce2f9bd2411c8ef36ef63d9ac0d442de96e27bf71f9809adb5b4e61b824f7b [Pipeline] // withDockerContainer [Pipeline] sh 04:35:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:35:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 04:35:16 a4caa8a26152: Pull complete 04:35:16 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 04:35:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 04:35:16 ---> 725f1c02e7f9 04:35:16 Step 3/12 : ARG MAKE='make build' [Pipeline] sh 04:35:16 ---> Running in 16ff720aad1c 04:35:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:35:16 Removing intermediate container 16ff720aad1c 04:35:16 ---> c5d9b2dfd7b4 04:35:16 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 04:35:16 ---> Running in 26194bdf55ab 04:35:16 + ls -al . 04:35:16 total 168 04:35:16 drwxrwxr-x 9 jenkins jenkins 4096 May 3 04:35 . 04:35:16 drwxrwxr-x 4 jenkins jenkins 4096 May 3 04:33 .. 04:35:16 -rw-rw-r-- 1 jenkins jenkins 6 May 3 04:33 .dockerignore 04:35:16 drwxrwxr-x 8 jenkins jenkins 4096 May 3 04:34 .git 04:35:16 drwxrwxr-x 3 jenkins jenkins 4096 May 3 04:33 .github 04:35:16 -rw-rw-r-- 1 jenkins jenkins 328 May 3 04:33 .gitignore 04:35:16 -rw-rw-r-- 1 jenkins jenkins 41 May 3 04:33 .golangci.yml 04:35:16 drwxr-xr-x 3 jenkins jenkins 4096 May 3 04:34 .semver 04:35:16 -rw-rw-r-- 1 jenkins jenkins 8296 May 3 04:33 Attribution.txt 04:35:16 -rw-rw-r-- 1 jenkins jenkins 4401 May 3 04:33 CHANGELOG.md 04:35:16 -rw-rw-r-- 1 jenkins jenkins 1516 May 3 04:33 Dockerfile 04:35:16 -rw-rw-r-- 1 jenkins jenkins 677 May 3 04:33 GOVERNANCE.md 04:35:16 -rw-rw-r-- 1 jenkins jenkins 656 May 3 04:33 Jenkinsfile 04:35:16 -rw-rw-r-- 1 jenkins jenkins 11340 May 3 04:33 LICENSE 04:35:16 -rw-rw-r-- 1 jenkins jenkins 1938 May 3 04:33 Makefile 04:35:16 -rw-rw-r-- 1 jenkins jenkins 620 May 3 04:33 OWNERS.md 04:35:16 -rw-rw-r-- 1 jenkins jenkins 9074 May 3 04:33 README.md 04:35:16 -rw-rw-r-- 1 jenkins jenkins 12 May 3 04:34 VERSION 04:35:16 drwxrwxr-x 2 jenkins jenkins 4096 May 3 04:33 bin 04:35:16 drwxrwxr-x 3 jenkins jenkins 4096 May 3 04:33 cmd 04:35:16 -rw-r--r-- 1 jenkins jenkins 7631 May 3 04:35 coverage.out 04:35:16 -rw-rw-r-- 1 jenkins jenkins 3296 May 3 04:33 go.mod 04:35:16 -rw-rw-r-- 1 jenkins jenkins 35911 May 3 04:33 go.sum 04:35:16 drwxrwxr-x 3 jenkins jenkins 4096 May 3 04:33 internal 04:35:16 drwxrwxr-x 3 jenkins jenkins 4096 May 3 04:33 snap 04:35:16 -rw-rw-r-- 1 jenkins jenkins 209 May 3 04:33 version.go [Pipeline] isUnix [Pipeline] sh 04:35:16 Removing intermediate container 26194bdf55ab 04:35:16 ---> 2a6dedf34f15 04:35:16 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 04:35:16 ---> Running in b9f56cbf7f9b 04:35:17 + 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=d555bf136e773009b6ef88c6c814540d1eb4cbee --label arch=amd64 --label version=2.2.0-dev.14 . 04:35:17 Sending build context to Docker daemon 5.31MB 04:35:17 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 04:35:17 Step 2/24 : FROM ${BASE} AS builder 04:35:17 ---> 1ab15e478d8c 04:35:17 Step 3/24 : ARG MAKE='make build' 04:35:17 ---> Running in 06b0c7018fac 04:35:17 Removing intermediate container b9f56cbf7f9b 04:35:17 ---> 8fecd3e31a68 04:35:17 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:35:17 Removing intermediate container 06b0c7018fac 04:35:17 ---> 04be658300d5 04:35:17 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 04:35:17 ---> Running in c4bd3f2bb04d 04:35:17 Removing intermediate container c4bd3f2bb04d 04:35:17 ---> 145060d163b0 04:35:17 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 04:35:17 ---> Running in ea403663645e 04:35:17 ---> Running in 165b14af155d 04:35:17 Removing intermediate container 165b14af155d 04:35:17 ---> 03b1bcaae325 04:35:17 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:35:17 ---> Running in 05a7d7cee324 04:35:18 Removing intermediate container 05a7d7cee324 04:35:18 ---> ecb05540c294 04:35:18 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:35:18 ---> Running in cf795e85a40a 04:35:18 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:35:19 Removing intermediate container ea403663645e 04:35:19 ---> 9414f1ed613b 04:35:19 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:35:19 ---> Running in 43142072b344 04:35:19 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:35:19 OK: 224 MiB in 56 packages 04:35:19 Removing intermediate container cf795e85a40a 04:35:19 ---> 13bef497dd75 04:35:19 Step 8/24 : WORKDIR /device-snmp-go 04:35:19 ---> Running in 1808f0893733 04:35:20 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:35:20 Removing intermediate container 1808f0893733 04:35:20 ---> 614c76bd5d34 04:35:20 Step 9/24 : COPY go.mod vendor* ./ 04:35:20 ---> 2a128dda3491 04:35:20 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:35:20 ---> Running in 69c29fe6a33a 04:35:21 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:35:21 Removing intermediate container 69c29fe6a33a 04:35:21 ---> ae497b8f0cf2 04:35:21 Step 11/24 : COPY . . 04:35:21 ---> 97db810bb211 04:35:21 Step 12/24 : RUN ${MAKE} 04:35:21 ---> Running in c2a2727a5cfe 04:35:21 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=2.2.0-dev.14" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 04:35:21 (1/4) Installing openssh-keygen (8.8_p1-r1) 04:35:21 (2/4) Installing libedit (20210910.3.1-r0) 04:35:21 (3/4) Installing openssh-client-common (8.8_p1-r1) 04:35:22 (4/4) Installing openssh-client-default (8.8_p1-r1) 04:35:22 Executing busybox-1.34.1-r3.trigger 04:35:22 OK: 224 MiB in 56 packages 04:35:23 Removing intermediate container 43142072b344 04:35:23 ---> 8f46016451ff 04:35:23 Step 8/12 : WORKDIR /device-snmp-go 04:35:23 ---> Running in d0ed9ed04912 04:35:23 Removing intermediate container d0ed9ed04912 04:35:23 ---> 1c7e963898ba 04:35:23 Step 9/12 : COPY go.mod vendor* ./ 04:35:24 ---> b8e86ac03de3 04:35:24 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:35:24 ---> Running in 3b0dc93714d7 04:35:43 Removing intermediate container c2a2727a5cfe 04:35:43 ---> f3bdd310cedd 04:35:43 Step 13/24 : FROM alpine:3.14 04:35:43 3.14: Pulling from library/alpine 04:35:43 8663204ce13b: Pulling fs layer 04:35:43 8663204ce13b: Download complete 04:35:43 8663204ce13b: Pull complete 04:35:43 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 04:35:43 Status: Downloaded newer image for alpine:3.14 04:35:43 ---> e04c818066af 04:35:43 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 04:35:43 ---> Running in 2e2a0caa481b 04:35:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 04:35:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 04:35:43 (1/6) Installing dumb-init (1.2.5-r1) 04:35:43 (2/6) Installing libgcc (10.3.1_git20210424-r2) 04:35:43 (3/6) Installing libsodium (1.0.18-r0) 04:35:43 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 04:35:43 (5/6) Installing libzmq (4.3.4-r0) 04:35:43 (6/6) Installing zeromq (4.3.4-r0) 04:35:43 Executing busybox-1.33.1-r7.trigger 04:35:43 OK: 8 MiB in 20 packages 04:35:43 Removing intermediate container 2e2a0caa481b 04:35:43 ---> 4c1907532170 04:35:43 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 04:35:43 ---> c267140486fe 04:35:43 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 04:35:43 ---> 07ae1c52053c 04:35:43 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 04:35:43 ---> a224c04aabc9 04:35:43 Step 18/24 : EXPOSE 59993 04:35:43 ---> Running in b53c7c8dba0e 04:35:43 Removing intermediate container b53c7c8dba0e 04:35:43 ---> 795466e939fe 04:35:43 Step 19/24 : EXPOSE 161 04:35:44 ---> Running in 7d38cd5daa9d 04:35:44 Removing intermediate container 7d38cd5daa9d 04:35:44 ---> a2e62c6c8d3e 04:35:44 Step 20/24 : ENTRYPOINT ["/device-snmp"] 04:35:44 ---> Running in da1913540ec0 04:35:44 Removing intermediate container da1913540ec0 04:35:44 ---> 5488eee3f23a 04:35:44 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 04:35:44 ---> Running in f8e6edcad14c 04:35:44 Removing intermediate container f8e6edcad14c 04:35:44 ---> 64e1af62f4f4 04:35:44 Step 22/24 : LABEL arch=amd64 04:35:44 ---> Running in c37211f28fcb 04:35:44 Removing intermediate container c37211f28fcb 04:35:44 ---> 51451f27056b 04:35:44 Step 23/24 : LABEL git_sha=d555bf136e773009b6ef88c6c814540d1eb4cbee 04:35:44 ---> Running in 94b47f096b27 04:35:44 Removing intermediate container 94b47f096b27 04:35:44 ---> f89972375edd 04:35:44 Step 24/24 : LABEL version=2.2.0-dev.14 04:35:44 ---> Running in f212fc491a6c 04:35:44 Removing intermediate container f212fc491a6c 04:35:44 ---> 6b96501942d3 04:35:44 [Warning] One or more build-args [ARCH] were not consumed 04:35:44 Successfully built 6b96501942d3 04:35:44 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:35:44 provisioning config files... 04:35:44 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1429983260099195029tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:35:45 ---> docker-login.sh 04:35:45 nexus3.edgexfoundry.org:10001 04:35:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:35:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:35:45 Configure a credential helper to remove this warning. See 04:35:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:35:45 04:35:45 Login Succeeded 04:35:45 nexus3.edgexfoundry.org:10002 04:35:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:35:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:35:45 Configure a credential helper to remove this warning. See 04:35:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:35:45 04:35:45 Login Succeeded 04:35:45 nexus3.edgexfoundry.org:10003 04:35:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:35:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:35:45 Configure a credential helper to remove this warning. See 04:35:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:35:45 04:35:45 Login Succeeded 04:35:45 nexus3.edgexfoundry.org:10004 04:35:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:35:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:35:45 Configure a credential helper to remove this warning. See 04:35:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:35:45 04:35:45 Login Succeeded 04:35:45 docker.io 04:35:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:35:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:35:46 Configure a credential helper to remove this warning. See 04:35:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:35:46 04:35:46 Login Succeeded 04:35:46 ---> docker-login.sh ends [Pipeline] } 04:35:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:35:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:35:46 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 04:35:46 d555bf136e773009b6ef88c6c814540d1eb4cbee 04:35:46 latest 04:35:46 2.2.0-dev.14 04:35:46 d555bf136e773009b6ef88c6c814540d1eb4cbee-2.2.0-dev.14 04:35:46 main 04:35:46 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:35:46 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:d555bf136e773009b6ef88c6c814540d1eb4cbee [Pipeline] isUnix [Pipeline] sh 04:35:46 + docker push nexus3.edgexfoundry.org:10004/device-snmp:d555bf136e773009b6ef88c6c814540d1eb4cbee 04:35:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 04:35:46 85de062b9995: Preparing 04:35:46 0e9bcb649130: Preparing 04:35:46 7c344028a982: Preparing 04:35:46 dff4d09c09e3: Preparing 04:35:46 b541d28bf3b4: Preparing 04:35:46 b541d28bf3b4: Layer already exists 04:35:46 85de062b9995: Pushed 04:35:46 0e9bcb649130: Pushed 04:35:47 dff4d09c09e3: Pushed 04:35:49 7c344028a982: Pushed 04:35:49 d555bf136e773009b6ef88c6c814540d1eb4cbee: digest: sha256:3de881c1e031eec14b76ea38643b7fede5e5bceaaeb082981c5c1ce145e767e5 size: 1367 [Pipeline] isUnix [Pipeline] sh 04:35:49 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] isUnix [Pipeline] sh 04:35:50 + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest 04:35:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 04:35:50 85de062b9995: Preparing 04:35:50 0e9bcb649130: Preparing 04:35:50 7c344028a982: Preparing 04:35:50 dff4d09c09e3: Preparing 04:35:50 b541d28bf3b4: Preparing 04:35:50 b541d28bf3b4: Layer already exists 04:35:50 0e9bcb649130: Layer already exists 04:35:50 7c344028a982: Layer already exists 04:35:50 85de062b9995: Layer already exists 04:35:50 dff4d09c09e3: Layer already exists 04:35:50 latest: digest: sha256:3de881c1e031eec14b76ea38643b7fede5e5bceaaeb082981c5c1ce145e767e5 size: 1367 [Pipeline] isUnix [Pipeline] sh 04:35:50 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.14 [Pipeline] isUnix [Pipeline] sh 04:35:50 + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.14 04:35:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 04:35:50 85de062b9995: Preparing 04:35:50 0e9bcb649130: Preparing 04:35:50 7c344028a982: Preparing 04:35:50 dff4d09c09e3: Preparing 04:35:50 b541d28bf3b4: Preparing 04:35:50 dff4d09c09e3: Layer already exists 04:35:50 85de062b9995: Layer already exists 04:35:50 0e9bcb649130: Layer already exists 04:35:50 b541d28bf3b4: Layer already exists 04:35:50 7c344028a982: Layer already exists 04:35:50 2.2.0-dev.14: digest: sha256:3de881c1e031eec14b76ea38643b7fede5e5bceaaeb082981c5c1ce145e767e5 size: 1367 [Pipeline] isUnix [Pipeline] sh 04:35:51 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:d555bf136e773009b6ef88c6c814540d1eb4cbee-2.2.0-dev.14 [Pipeline] isUnix [Pipeline] sh 04:35:51 + docker push nexus3.edgexfoundry.org:10004/device-snmp:d555bf136e773009b6ef88c6c814540d1eb4cbee-2.2.0-dev.14 04:35:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 04:35:51 85de062b9995: Preparing 04:35:51 0e9bcb649130: Preparing 04:35:51 7c344028a982: Preparing 04:35:51 dff4d09c09e3: Preparing 04:35:51 b541d28bf3b4: Preparing 04:35:51 0e9bcb649130: Layer already exists 04:35:51 dff4d09c09e3: Layer already exists 04:35:51 7c344028a982: Layer already exists 04:35:51 85de062b9995: Layer already exists 04:35:51 b541d28bf3b4: Layer already exists 04:35:51 d555bf136e773009b6ef88c6c814540d1eb4cbee-2.2.0-dev.14: digest: sha256:3de881c1e031eec14b76ea38643b7fede5e5bceaaeb082981c5c1ce145e767e5 size: 1367 [Pipeline] isUnix [Pipeline] sh 04:35:51 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] isUnix [Pipeline] sh 04:35:51 + docker push nexus3.edgexfoundry.org:10004/device-snmp:main 04:35:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 04:35:51 85de062b9995: Preparing 04:35:51 0e9bcb649130: Preparing 04:35:51 7c344028a982: Preparing 04:35:51 dff4d09c09e3: Preparing 04:35:51 b541d28bf3b4: Preparing 04:35:51 7c344028a982: Layer already exists 04:35:51 0e9bcb649130: Layer already exists 04:35:51 85de062b9995: Layer already exists 04:35:51 b541d28bf3b4: Layer already exists 04:35:51 dff4d09c09e3: Layer already exists 04:35:51 main: digest: sha256:3de881c1e031eec14b76ea38643b7fede5e5bceaaeb082981c5c1ce145e767e5 size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:35:51 ===================================================== [Pipeline] echo 04:35:51 taggedImages: 04:35:51 - nexus3.edgexfoundry.org:10004/device-snmp:d555bf136e773009b6ef88c6c814540d1eb4cbee 04:35:51 - nexus3.edgexfoundry.org:10004/device-snmp:latest 04:35:51 - nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.14 04:35:51 - nexus3.edgexfoundry.org:10004/device-snmp:d555bf136e773009b6ef88c6c814540d1eb4cbee-2.2.0-dev.14 04:35:51 - nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // script [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 04:35:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:35:52 04:35:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 04:35:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:35:52 latest: Pulling from edgex-lftools-log-publisher 04:35:52 5eb5b503b376: Pulling fs layer 04:35:52 5c69ac0246d0: Pulling fs layer 04:35:52 ec43610c2a17: Pulling fs layer 04:35:52 3a2ae6a8a46f: Pulling fs layer 04:35:52 33b1e0a273af: Pulling fs layer 04:35:52 5d3b04190fa2: Pulling fs layer 04:35:52 3a2ae6a8a46f: Waiting 04:35:52 2f39f015ded8: Pulling fs layer 04:35:52 33b1e0a273af: Waiting 04:35:52 5d3b04190fa2: Waiting 04:35:52 2f39f015ded8: Waiting 04:35:52 5c69ac0246d0: Download complete 04:35:52 3a2ae6a8a46f: Download complete 04:35:52 ec43610c2a17: Verifying Checksum 04:35:52 ec43610c2a17: Download complete 04:35:52 33b1e0a273af: Verifying Checksum 04:35:52 33b1e0a273af: Download complete 04:35:52 5d3b04190fa2: Verifying Checksum 04:35:52 5d3b04190fa2: Download complete 04:35:52 5eb5b503b376: Verifying Checksum 04:35:52 5eb5b503b376: Download complete 04:35:53 2f39f015ded8: Download complete 04:35:54 5eb5b503b376: Pull complete 04:35:54 5c69ac0246d0: Pull complete 04:35:54 ec43610c2a17: Pull complete 04:35:54 3a2ae6a8a46f: Pull complete 04:35:54 33b1e0a273af: Pull complete 04:35:55 5d3b04190fa2: Pull complete 04:35:59 2f39f015ded8: Pull complete 04:35:59 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:35:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:35:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 04:35:59 prd-ubuntu20.04-docker-8c-8g-40354 does not seem to be running inside a container 04:35:59 $ 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/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:36:01 $ docker top f8f5566c6ecdc258e72f08d212c20530525562a4ee764301d4c15af753059129 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:36:01 ---> job-cost.sh 04:36:01 lf-activate-venv: SKIPPING 04:36:01 INFO: No Stack... 04:36:02 INFO: Retrieving Pricing Info for: v3-standard-8 04:36:02 INFO: Archiving Costs [Pipeline] sh 04:36:02 + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv 04:36:02 + cut -d, -f6 [Pipeline] lock 04:36:02 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-24-stack-cost] 04:36:03 Resource [jenkins-edgexfoundry-device-snmp-go-main-24-stack-cost] did not exist. Created. 04:36:03 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-24-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:36:03 + echo total: 0.2199999988079071 [Pipeline] stash 04:36:03 Stashed 1 file(s) [Pipeline] } 04:36:03 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-24-stack-cost] [Pipeline] // lock [Pipeline] } 04:36:03 $ docker stop --time=1 f8f5566c6ecdc258e72f08d212c20530525562a4ee764301d4c15af753059129 04:36:04 $ docker rm -f f8f5566c6ecdc258e72f08d212c20530525562a4ee764301d4c15af753059129 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:36:11 Removing intermediate container 3b0dc93714d7 04:36:11 ---> 8a19be45fc82 04:36:11 Step 11/12 : COPY . . 04:36:11 ---> fd0488656b67 04:36:11 Step 12/12 : RUN ${MAKE} 04:36:11 ---> Running in f795d0bf4879 04:36:11 noop 04:36:11 Removing intermediate container f795d0bf4879 04:36:11 ---> edcf6c3e03b5 04:36:11 Successfully built edcf6c3e03b5 04:36:11 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:36:11 + docker inspect -f . ci-base-image-arm64 04:36:11 . [Pipeline] withDockerContainer 04:36:11 prd-ubuntu20.04-docker-arm64-4c-16g-40303 does not seem to be running inside a container 04:36:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/24 -v /w/workspace/device-snmp-go/24:/w/workspace/device-snmp-go/24:rw,z -v /w/workspace/device-snmp-go/24@tmp:/w/workspace/device-snmp-go/24@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 ******** ci-base-image-arm64 cat 04:36:12 $ docker top be255c0fc362b5f1afcc465c9181021796cb482d7359f7489e6235c22d86ebdd -eo pid,comm [Pipeline] { [Pipeline] sh 04:36:13 + go version 04:36:13 go version go1.17.6 linux/arm64 [Pipeline] } 04:36:13 $ docker stop --time=1 be255c0fc362b5f1afcc465c9181021796cb482d7359f7489e6235c22d86ebdd 04:36:15 $ docker rm -f be255c0fc362b5f1afcc465c9181021796cb482d7359f7489e6235c22d86ebdd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:36:16 + docker inspect -f . ci-base-image-arm64 04:36:16 . [Pipeline] withDockerContainer 04:36:16 prd-ubuntu20.04-docker-arm64-4c-16g-40303 does not seem to be running inside a container 04:36:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/24 -v /w/workspace/device-snmp-go/24:/w/workspace/device-snmp-go/24:rw,z -v /w/workspace/device-snmp-go/24@tmp:/w/workspace/device-snmp-go/24@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 ******** ci-base-image-arm64 cat 04:36:17 $ docker top 5fb6eb991e0ae50b7bb2dceb13752fe0136895778f03aadca1dbd3b4d1a48261 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:36:18 + make test 04:36:18 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 04:36:19 ? github.com/edgexfoundry/device-snmp-go [no test files] 04:37:41 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 04:37:41 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.042s coverage: 0.0% of statements 04:37:41 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:37:41 CGO_ENABLED=1 GO111MODULE=on go vet ./... 04:38:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:38:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:38:00 ./bin/test-attribution-txt.sh [Pipeline] echo 04:38:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:38:02 $ docker stop --time=1 5fb6eb991e0ae50b7bb2dceb13752fe0136895778f03aadca1dbd3b4d1a48261 04:38:03 $ docker rm -f 5fb6eb991e0ae50b7bb2dceb13752fe0136895778f03aadca1dbd3b4d1a48261 [Pipeline] // withDockerContainer [Pipeline] sh 04:38:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:38:04 Warning: overwriting stash ‘coverage-report’ 04:38:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:38:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:38:06 + ls -al . 04:38:06 total 164 04:38:06 drwxrwxr-x 8 jenkins jenkins 4096 May 3 04:38 . 04:38:06 drwxrwxr-x 4 jenkins jenkins 4096 May 3 04:34 .. 04:38:06 -rw-rw-r-- 1 jenkins jenkins 6 May 3 04:34 .dockerignore 04:38:06 drwxrwxr-x 8 jenkins jenkins 4096 May 3 04:34 .git 04:38:06 drwxrwxr-x 3 jenkins jenkins 4096 May 3 04:34 .github 04:38:06 -rw-rw-r-- 1 jenkins jenkins 328 May 3 04:34 .gitignore 04:38:06 -rw-rw-r-- 1 jenkins jenkins 41 May 3 04:34 .golangci.yml 04:38:06 -rw-rw-r-- 1 jenkins jenkins 8296 May 3 04:34 Attribution.txt 04:38:06 -rw-rw-r-- 1 jenkins jenkins 4401 May 3 04:34 CHANGELOG.md 04:38:06 -rw-rw-r-- 1 jenkins jenkins 1516 May 3 04:34 Dockerfile 04:38:06 -rw-rw-r-- 1 jenkins jenkins 677 May 3 04:34 GOVERNANCE.md 04:38:06 -rw-rw-r-- 1 jenkins jenkins 656 May 3 04:34 Jenkinsfile 04:38:06 -rw-rw-r-- 1 jenkins jenkins 11340 May 3 04:34 LICENSE 04:38:06 -rw-rw-r-- 1 jenkins jenkins 1938 May 3 04:34 Makefile 04:38:06 -rw-rw-r-- 1 jenkins jenkins 620 May 3 04:34 OWNERS.md 04:38:06 -rw-rw-r-- 1 jenkins jenkins 9074 May 3 04:34 README.md 04:38:06 -rw-rw-r-- 1 jenkins jenkins 12 May 3 04:34 VERSION 04:38:06 drwxrwxr-x 2 jenkins jenkins 4096 May 3 04:34 bin 04:38:06 drwxrwxr-x 3 jenkins jenkins 4096 May 3 04:34 cmd 04:38:06 -rw-r--r-- 1 jenkins jenkins 7631 May 3 04:37 coverage.out 04:38:06 -rw-rw-r-- 1 jenkins jenkins 3296 May 3 04:34 go.mod 04:38:06 -rw-rw-r-- 1 jenkins jenkins 35911 May 3 04:34 go.sum 04:38:06 drwxrwxr-x 3 jenkins jenkins 4096 May 3 04:34 internal 04:38:06 drwxrwxr-x 3 jenkins jenkins 4096 May 3 04:34 snap 04:38:06 -rw-rw-r-- 1 jenkins jenkins 209 May 3 04:34 version.go [Pipeline] isUnix [Pipeline] sh 04:38:06 + 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=d555bf136e773009b6ef88c6c814540d1eb4cbee --label arch=arm64 --label version=2.2.0-dev.14 . 04:38:06 Sending build context to Docker daemon 2.748MB 04:38:06 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 04:38:06 Step 2/24 : FROM ${BASE} AS builder 04:38:06 ---> edcf6c3e03b5 04:38:06 Step 3/24 : ARG MAKE='make build' 04:38:06 ---> Running in 57debb3d2c3c 04:38:07 Removing intermediate container 57debb3d2c3c 04:38:07 ---> 611bf0d0052a 04:38:07 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 04:38:07 ---> Running in 5718511fa625 04:38:07 Removing intermediate container 5718511fa625 04:38:07 ---> 70c2de037a8f 04:38:07 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 04:38:07 ---> Running in 883620a3a4d1 04:38:07 Removing intermediate container 883620a3a4d1 04:38:07 ---> 929f99387a1d 04:38:07 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:38:08 ---> Running in aedb79f96906 04:38:09 Removing intermediate container aedb79f96906 04:38:09 ---> a4197a4d63c7 04:38:09 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:38:09 ---> Running in a4d6f4456898 04:38:10 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:38:11 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:38:12 OK: 224 MiB in 56 packages 04:38:13 Removing intermediate container a4d6f4456898 04:38:13 ---> ac4a3bb30c4f 04:38:13 Step 8/24 : WORKDIR /device-snmp-go 04:38:13 ---> Running in 1b224f86f114 04:38:13 Removing intermediate container 1b224f86f114 04:38:13 ---> 38bfadb65f7e 04:38:13 Step 9/24 : COPY go.mod vendor* ./ 04:38:14 ---> 0377f3312179 04:38:14 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:38:14 ---> Running in 660acab5a48e 04:38:16 Removing intermediate container 660acab5a48e 04:38:16 ---> baf913a602aa 04:38:16 Step 11/24 : COPY . . 04:38:17 ---> 76cc27d0519a 04:38:17 Step 12/24 : RUN ${MAKE} 04:38:17 ---> Running in edd9f00e12d2 04:38:18 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=2.2.0-dev.14" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 04:40:25 Removing intermediate container edd9f00e12d2 04:40:25 ---> 94118fa5c260 04:40:25 Step 13/24 : FROM alpine:3.14 04:40:25 3.14: Pulling from library/alpine 04:40:25 455c02918c45: Pulling fs layer 04:40:25 455c02918c45: Download complete 04:40:25 455c02918c45: Pull complete 04:40:25 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 04:40:25 Status: Downloaded newer image for alpine:3.14 04:40:25 ---> ac73e934f311 04:40:25 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 04:40:25 ---> Running in 3b5e398dbeaf 04:40:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:40:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:40:25 (1/6) Installing dumb-init (1.2.5-r1) 04:40:25 (2/6) Installing libgcc (10.3.1_git20210424-r2) 04:40:25 (3/6) Installing libsodium (1.0.18-r0) 04:40:25 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 04:40:25 (5/6) Installing libzmq (4.3.4-r0) 04:40:25 (6/6) Installing zeromq (4.3.4-r0) 04:40:25 Executing busybox-1.33.1-r7.trigger 04:40:25 OK: 8 MiB in 20 packages 04:40:25 Removing intermediate container 3b5e398dbeaf 04:40:25 ---> bdac88eba0d6 04:40:25 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 04:40:25 ---> e3eae42e807e 04:40:25 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 04:40:25 ---> 8e44305cebb9 04:40:25 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 04:40:25 ---> 4225b60f5673 04:40:25 Step 18/24 : EXPOSE 59993 04:40:25 ---> Running in cd374bd88463 04:40:25 Removing intermediate container cd374bd88463 04:40:25 ---> 6122a7e7a7c1 04:40:25 Step 19/24 : EXPOSE 161 04:40:25 ---> Running in 34382d07d2a7 04:40:25 Removing intermediate container 34382d07d2a7 04:40:25 ---> e63ae7e8c787 04:40:25 Step 20/24 : ENTRYPOINT ["/device-snmp"] 04:40:25 ---> Running in 7de8205e2505 04:40:25 Removing intermediate container 7de8205e2505 04:40:25 ---> 37c674fb9854 04:40:25 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 04:40:25 ---> Running in 2745db03daaa 04:40:25 Removing intermediate container 2745db03daaa 04:40:25 ---> 5147f76a1d94 04:40:25 Step 22/24 : LABEL arch=arm64 04:40:25 ---> Running in 9fb803530ccd 04:40:25 Removing intermediate container 9fb803530ccd 04:40:25 ---> f564194f1de5 04:40:25 Step 23/24 : LABEL git_sha=d555bf136e773009b6ef88c6c814540d1eb4cbee 04:40:25 ---> Running in 3d35817914af 04:40:25 Removing intermediate container 3d35817914af 04:40:25 ---> aa3cbe85c4ea 04:40:25 Step 24/24 : LABEL version=2.2.0-dev.14 04:40:25 ---> Running in 96842c393a4a 04:40:25 Removing intermediate container 96842c393a4a 04:40:25 ---> e49ddc02d220 04:40:25 [Warning] One or more build-args [ARCH] were not consumed 04:40:25 Successfully built e49ddc02d220 04:40:25 Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:40:25 provisioning config files... 04:40:25 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/24@tmp/config982364181240942942tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:40:25 ---> docker-login.sh 04:40:25 nexus3.edgexfoundry.org:10001 04:40:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:40:25 Configure a credential helper to remove this warning. See 04:40:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:40:25 04:40:25 Login Succeeded 04:40:25 nexus3.edgexfoundry.org:10002 04:40:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:40:26 Configure a credential helper to remove this warning. See 04:40:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:40:26 04:40:26 Login Succeeded 04:40:26 nexus3.edgexfoundry.org:10003 04:40:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:40:26 Configure a credential helper to remove this warning. See 04:40:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:40:26 04:40:26 Login Succeeded 04:40:26 nexus3.edgexfoundry.org:10004 04:40:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:40:27 Configure a credential helper to remove this warning. See 04:40:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:40:27 04:40:27 Login Succeeded 04:40:27 docker.io 04:40:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:40:28 Configure a credential helper to remove this warning. See 04:40:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:40:28 04:40:28 Login Succeeded 04:40:28 ---> docker-login.sh ends [Pipeline] } 04:40:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:40:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:40:28 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 04:40:28 d555bf136e773009b6ef88c6c814540d1eb4cbee 04:40:28 latest 04:40:28 2.2.0-dev.14 04:40:28 d555bf136e773009b6ef88c6c814540d1eb4cbee-2.2.0-dev.14 04:40:28 main 04:40:28 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:40:28 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:d555bf136e773009b6ef88c6c814540d1eb4cbee [Pipeline] isUnix [Pipeline] sh 04:40:28 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:d555bf136e773009b6ef88c6c814540d1eb4cbee 04:40:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 04:40:28 b0aa7828f4ae: Preparing 04:40:28 e704ab255f69: Preparing 04:40:28 722653610307: Preparing 04:40:28 93a35a160e8b: Preparing 04:40:28 f73e7dbfee58: Preparing 04:40:28 f73e7dbfee58: Layer already exists 04:40:29 b0aa7828f4ae: Pushed 04:40:29 e704ab255f69: Pushed 04:40:29 93a35a160e8b: Pushed 04:40:35 722653610307: Pushed 04:40:35 d555bf136e773009b6ef88c6c814540d1eb4cbee: digest: sha256:4c5f6a55b47982c50e7dd523ede2fd8b8b39f4d9c4e773f3781f0a6e441ae4aa size: 1366 [Pipeline] isUnix [Pipeline] sh 04:40:36 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:40:36 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 04:40:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 04:40:36 b0aa7828f4ae: Preparing 04:40:36 e704ab255f69: Preparing 04:40:36 722653610307: Preparing 04:40:36 93a35a160e8b: Preparing 04:40:36 f73e7dbfee58: Preparing 04:40:36 e704ab255f69: Layer already exists 04:40:36 722653610307: Layer already exists 04:40:36 b0aa7828f4ae: Layer already exists 04:40:36 f73e7dbfee58: Layer already exists 04:40:36 93a35a160e8b: Layer already exists 04:40:36 latest: digest: sha256:4c5f6a55b47982c50e7dd523ede2fd8b8b39f4d9c4e773f3781f0a6e441ae4aa size: 1366 [Pipeline] isUnix [Pipeline] sh 04:40:36 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.14 [Pipeline] isUnix [Pipeline] sh 04:40:37 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.14 04:40:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 04:40:37 b0aa7828f4ae: Preparing 04:40:37 e704ab255f69: Preparing 04:40:37 722653610307: Preparing 04:40:37 93a35a160e8b: Preparing 04:40:37 f73e7dbfee58: Preparing 04:40:37 93a35a160e8b: Layer already exists 04:40:37 b0aa7828f4ae: Layer already exists 04:40:37 e704ab255f69: Layer already exists 04:40:37 722653610307: Layer already exists 04:40:37 f73e7dbfee58: Layer already exists 04:40:37 2.2.0-dev.14: digest: sha256:4c5f6a55b47982c50e7dd523ede2fd8b8b39f4d9c4e773f3781f0a6e441ae4aa size: 1366 [Pipeline] isUnix [Pipeline] sh 04:40:37 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:d555bf136e773009b6ef88c6c814540d1eb4cbee-2.2.0-dev.14 [Pipeline] isUnix [Pipeline] sh 04:40:38 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:d555bf136e773009b6ef88c6c814540d1eb4cbee-2.2.0-dev.14 04:40:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 04:40:38 b0aa7828f4ae: Preparing 04:40:38 e704ab255f69: Preparing 04:40:38 722653610307: Preparing 04:40:38 93a35a160e8b: Preparing 04:40:38 f73e7dbfee58: Preparing 04:40:38 722653610307: Layer already exists 04:40:38 f73e7dbfee58: Layer already exists 04:40:38 e704ab255f69: Layer already exists 04:40:38 b0aa7828f4ae: Layer already exists 04:40:38 93a35a160e8b: Layer already exists 04:40:38 d555bf136e773009b6ef88c6c814540d1eb4cbee-2.2.0-dev.14: digest: sha256:4c5f6a55b47982c50e7dd523ede2fd8b8b39f4d9c4e773f3781f0a6e441ae4aa size: 1366 [Pipeline] isUnix [Pipeline] sh 04:40:38 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] isUnix [Pipeline] sh 04:40:39 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main 04:40:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 04:40:39 b0aa7828f4ae: Preparing 04:40:39 e704ab255f69: Preparing 04:40:39 722653610307: Preparing 04:40:39 93a35a160e8b: Preparing 04:40:39 f73e7dbfee58: Preparing 04:40:39 f73e7dbfee58: Layer already exists 04:40:39 722653610307: Layer already exists 04:40:39 93a35a160e8b: Layer already exists 04:40:39 b0aa7828f4ae: Layer already exists 04:40:39 e704ab255f69: Layer already exists 04:40:39 main: digest: sha256:4c5f6a55b47982c50e7dd523ede2fd8b8b39f4d9c4e773f3781f0a6e441ae4aa size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:40:39 ===================================================== [Pipeline] echo 04:40:39 taggedImages: 04:40:39 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:d555bf136e773009b6ef88c6c814540d1eb4cbee 04:40:39 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 04:40:39 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.14 04:40:39 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:d555bf136e773009b6ef88c6c814540d1eb4cbee-2.2.0-dev.14 04:40:39 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:40:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:40:39 04:40:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 04:40:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:40:40 arm64: Pulling from edgex-lftools-log-publisher 04:40:40 8998bd30e6a1: Pulling fs layer 04:40:40 04944245beec: Pulling fs layer 04:40:40 699f458cf7ca: Pulling fs layer 04:40:40 765212b225bb: Pulling fs layer 04:40:40 f23df028b6ca: Pulling fs layer 04:40:40 d65c8cfc05b1: Pulling fs layer 04:40:40 2437ff75d9bd: Pulling fs layer 04:40:40 765212b225bb: Waiting 04:40:40 f23df028b6ca: Waiting 04:40:40 d65c8cfc05b1: Waiting 04:40:40 2437ff75d9bd: Waiting 04:40:40 04944245beec: Verifying Checksum 04:40:40 04944245beec: Download complete 04:40:40 765212b225bb: Verifying Checksum 04:40:40 765212b225bb: Download complete 04:40:40 f23df028b6ca: Download complete 04:40:40 d65c8cfc05b1: Verifying Checksum 04:40:40 d65c8cfc05b1: Download complete 04:40:40 699f458cf7ca: Verifying Checksum 04:40:40 699f458cf7ca: Download complete 04:40:41 8998bd30e6a1: Verifying Checksum 04:40:41 8998bd30e6a1: Download complete 04:40:43 2437ff75d9bd: Verifying Checksum 04:40:43 2437ff75d9bd: Download complete 04:40:45 8998bd30e6a1: Pull complete 04:40:46 04944245beec: Pull complete 04:40:47 699f458cf7ca: Pull complete 04:40:47 765212b225bb: Pull complete 04:40:48 f23df028b6ca: Pull complete 04:40:48 d65c8cfc05b1: Pull complete 04:41:03 2437ff75d9bd: Pull complete 04:41:03 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:41:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:41:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 04:41:03 prd-ubuntu20.04-docker-arm64-4c-16g-40303 does not seem to be running inside a container 04:41:04 $ 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/24 -v /w/workspace/device-snmp-go/24:/w/workspace/device-snmp-go/24:rw,z -v /w/workspace/device-snmp-go/24@tmp:/w/workspace/device-snmp-go/24@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:41:06 $ docker top 1c7656b334436be593a60110ab40c7e406ce7411eb98598ba875d10155f0884f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:41:07 ---> job-cost.sh 04:41:07 lf-activate-venv: SKIPPING 04:41:07 INFO: No Stack... 04:41:08 INFO: Retrieving Pricing Info for: v3-standard-4 04:41:08 INFO: Archiving Costs [Pipeline] sh 04:41:09 + cat /w/workspace/device-snmp-go/24/archives/cost.csv 04:41:09 + cut -d, -f6 [Pipeline] lock 04:41:09 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-24-stack-cost] 04:41:09 Resource [jenkins-edgexfoundry-device-snmp-go-main-24-stack-cost] did not exist. Created. 04:41:09 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-24-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:41:10 /w/workspace/device-snmp-go/24@tmp/durable-46043320/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:41:10 + echo total: 0.10999999940395355 [Pipeline] stash 04:41:10 Warning: overwriting stash ‘stack-cost’ 04:41:10 Stashed 1 file(s) [Pipeline] } 04:41:10 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-24-stack-cost] [Pipeline] // lock [Pipeline] } 04:41:10 $ docker stop --time=1 1c7656b334436be593a60110ab40c7e406ce7411eb98598ba875d10155f0884f 04:41:12 $ docker rm -f 1c7656b334436be593a60110ab40c7e406ce7411eb98598ba875d10155f0884f [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 04:41:13 provisioning config files... 04:41:13 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7778915406690262645tmp [Pipeline] { [Pipeline] sh 04:41:13 + set +x 04:41:13 + bash -s -- 04:41:13 + curl -s https://codecov.io/bash 04:41:13 04:41:13 _____ _ 04:41:13 / ____| | | 04:41:13 | | ___ __| | ___ ___ _____ __ 04:41:13 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:41:13 | |___| (_) | (_| | __/ (_| (_) \ V / 04:41:13 \_____\___/ \__,_|\___|\___\___/ \_/ 04:41:13 Bash-1.0.6 04:41:13 04:41:13 04:41:13 ==> git version 2.25.1 found 04:41:13 ==> 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 04:41:13 Release-Date: 2020-01-08 04:41:13 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:41:13 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:41:13 ==> Jenkins CI detected. 04:41:13 current dir:  /w/workspace/edgexfoundry_device-snmp-go_main 04:41:13 project root: . 04:41:13 --> token set from env 04:41:13 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:41:13 ==> Running gcov in . (disable via -X gcov) 04:41:13 ==> Python coveragepy not found 04:41:13 ==> Searching for coverage reports in: 04:41:13 + . 04:41:13 -> Found 1 reports 04:41:13 ==> Detecting git/mercurial file structure 04:41:13 ==> Reading reports 04:41:13 + ./coverage.out bytes=7631 04:41:13 ==> Appending adjustments 04:41:13 https://docs.codecov.io/docs/fixing-reports 04:41:13 + Found adjustments 04:41:13 ==> Gzipping contents 04:41:13 4.0K /tmp/codecov.CCjtSD.gz 04:41:13 ==> Uploading reports 04:41:13 url: https://codecov.io 04:41:13 query: branch=main&commit=d555bf136e773009b6ef88c6c814540d1eb4cbee&build=24&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F24%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:41:13 -> Pinging Codecov 04:41:13 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=main&commit=d555bf136e773009b6ef88c6c814540d1eb4cbee&build=24&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F24%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:41:13 -> Uploading to 04:41:13 https://storage.googleapis.com/codecov/v4/raw/2022-05-03/6C56EA5C29638FB4528AC87E60AF5AE0/d555bf136e773009b6ef88c6c814540d1eb4cbee/e25c2ac4-2956-4329-a743-80410a933cfe.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220503%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220503T044113Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c83569a78a38d6a22deb2b5f1231fa19a7de345c2e8379b4d9908f5485cc814f 04:41:13 % Total % Received % Xferd Average Speed Time Time Time Current 04:41:13 Dload Upload Total Spent Left Speed 04:41:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1602 0 0 100 1602 0 7057 --:--:-- --:--:-- --:--:-- 7057 04:41:14 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/d555bf136e773009b6ef88c6c814540d1eb4cbee [Pipeline] } 04:41:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:41:14 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:41:14 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:41:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:41:14 04:41:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 04:41:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:41:14 1.410.4: Pulling from edgex-devops/edgex-snyk-go 04:41:14 188c0c94c7c5: Pulling fs layer 04:41:14 0ef7d3d256c8: Pulling fs layer 04:41:14 de9db76c5a1d: Pulling fs layer 04:41:14 0eba1c9be4d2: Pulling fs layer 04:41:14 0d57e429df01: Pulling fs layer 04:41:14 4e4be7b47b0d: Pulling fs layer 04:41:14 e1f770b5df2f: Pulling fs layer 04:41:14 85a0685a4137: Pulling fs layer 04:41:14 0d57e429df01: Waiting 04:41:14 4e4be7b47b0d: Waiting 04:41:14 e1f770b5df2f: Waiting 04:41:14 85a0685a4137: Waiting 04:41:14 de9db76c5a1d: Download complete 04:41:14 0ef7d3d256c8: Verifying Checksum 04:41:14 0ef7d3d256c8: Download complete 04:41:14 0d57e429df01: Verifying Checksum 04:41:14 0d57e429df01: Download complete 04:41:14 4e4be7b47b0d: Verifying Checksum 04:41:14 4e4be7b47b0d: Download complete 04:41:14 188c0c94c7c5: Verifying Checksum 04:41:14 188c0c94c7c5: Download complete 04:41:15 188c0c94c7c5: Pull complete 04:41:15 e1f770b5df2f: Verifying Checksum 04:41:15 e1f770b5df2f: Download complete 04:41:15 0ef7d3d256c8: Pull complete 04:41:15 de9db76c5a1d: Pull complete 04:41:15 0eba1c9be4d2: Verifying Checksum 04:41:15 0eba1c9be4d2: Download complete 04:41:15 85a0685a4137: Verifying Checksum 04:41:15 85a0685a4137: Download complete 04:41:19 0eba1c9be4d2: Pull complete 04:41:19 0d57e429df01: Pull complete 04:41:19 4e4be7b47b0d: Pull complete 04:41:19 e1f770b5df2f: Pull complete 04:41:22 85a0685a4137: Pull complete 04:41:22 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 04:41:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:41:22 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 04:41:23 prd-ubuntu20.04-docker-8c-8g-40354 does not seem to be running inside a container 04:41:23 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 04:41:25 $ docker top 7742ae2a354268013357743bf3547747bb4af6cdc5e10b0c3d1ddc0fd4da2270 -eo pid,comm [Pipeline] { [Pipeline] echo 04:41:25 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 04:41:25 + set -o pipefail 04:41:25 + snyk monitor '--org=edgex-jenkins' 04:41:33 04:41:33 Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... 04:41:33 04:41:33 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/c76919d0-7345-4304-8954-aa03851194a6/history/db5ec515-5658-4a22-b174-310d6ead75e6 04:41:33 04:41:33 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 04:41:33 04:41:33 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:41:33 04:41:33 [Pipeline] } 04:41:33 $ docker stop --time=1 7742ae2a354268013357743bf3547747bb4af6cdc5e10b0c3d1ddc0fd4da2270 04:41:35 $ docker rm -f 7742ae2a354268013357743bf3547747bb4af6cdc5e10b0c3d1ddc0fd4da2270 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:41:36 + git log --format=format:%s -1 d555bf136e773009b6ef88c6c814540d1eb4cbee [Pipeline] sh 04:41:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:41:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 04:41:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 04:41:36 . [Pipeline] withDockerContainer 04:41:37 prd-ubuntu20.04-docker-8c-8g-40354 does not seem to be running inside a container 04:41:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 04:41:37 $ docker top 5497115f5e7ae2b19838cdf9a57ec00b5c056289819a6e17d939db881283c9a9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:41:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:41:37 [ssh-agent] Looking for ssh-agent implementation... 04:41:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:41:37 $ docker exec 5497115f5e7ae2b19838cdf9a57ec00b5c056289819a6e17d939db881283c9a9 ssh-agent 04:41:37 SSH_AUTH_SOCK=/tmp/ssh-vBVvfnPc0vme/agent.32 04:41:37 SSH_AGENT_PID=39 04:41:37 Running ssh-add (command line suppressed) 04:41:37 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5863398710309482168.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5863398710309482168.key) 04:41:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:41:38 + git semver tag 04:41:38 2022-05-03 04:41:38,417 [run_tag] DEBUG tag force:False 04:41:38 2022-05-03 04:41:38,417 [check_head_tag] DEBUG check head tag 04:41:38 2022-05-03 04:41:38,418 [execute] INFO git cat-file --batch-check 04:41:38 2022-05-03 04:41:38,418 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 04:41:38 2022-05-03 04:41:38,422 [execute] INFO git cat-file --batch 04:41:38 2022-05-03 04:41:38,423 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 04:41:38 2022-05-03 04:41:38,434 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 04:41:38 2022-05-03 04:41:38,435 [execute] INFO git tag -a v2.2.0-dev.14 -m v2.2.0-dev.14 04:41:38 2022-05-03 04:41:38,435 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.14', '-m', 'v2.2.0-dev.14'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 04:41:38 2022-05-03 04:41:38,439 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 04:41:38 2.2.0-dev.14 [Pipeline] } 04:41:38 $ docker exec --env ******** --env ******** 5497115f5e7ae2b19838cdf9a57ec00b5c056289819a6e17d939db881283c9a9 ssh-agent -k 04:41:38 unset SSH_AUTH_SOCK; 04:41:38 unset SSH_AGENT_PID; 04:41:38 echo Agent pid 39 killed; 04:41:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:41:39 + git semver [Pipeline] } 04:41:39 $ docker stop --time=1 5497115f5e7ae2b19838cdf9a57ec00b5c056289819a6e17d939db881283c9a9 04:41:40 $ docker rm -f 5497115f5e7ae2b19838cdf9a57ec00b5c056289819a6e17d939db881283c9a9 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 04:41:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:41:41 04:41:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 04:41:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:41:41 0.23.1-centos7: Pulling from edgex-lftools 04:41:41 ab5ef0e58194: Pulling fs layer 04:41:41 9712f1f96733: Pulling fs layer 04:41:41 63f879dbbcfc: Pulling fs layer 04:41:41 0d9ebad4ef96: Pulling fs layer 04:41:41 e9a5061849ea: Pulling fs layer 04:41:41 d747dcd14b5f: Pulling fs layer 04:41:41 2de7ff778b66: Pulling fs layer 04:41:41 e9a5061849ea: Waiting 04:41:41 d747dcd14b5f: Waiting 04:41:41 2de7ff778b66: Waiting 04:41:41 0d9ebad4ef96: Waiting 04:41:41 9712f1f96733: Verifying Checksum 04:41:41 9712f1f96733: Download complete 04:41:41 63f879dbbcfc: Verifying Checksum 04:41:41 63f879dbbcfc: Download complete 04:41:41 e9a5061849ea: Verifying Checksum 04:41:41 e9a5061849ea: Download complete 04:41:41 0d9ebad4ef96: Verifying Checksum 04:41:41 0d9ebad4ef96: Download complete 04:41:41 d747dcd14b5f: Verifying Checksum 04:41:41 d747dcd14b5f: Download complete 04:41:41 ab5ef0e58194: Verifying Checksum 04:41:41 ab5ef0e58194: Download complete 04:41:41 2de7ff778b66: Verifying Checksum 04:41:41 2de7ff778b66: Download complete 04:41:44 ab5ef0e58194: Pull complete 04:41:44 9712f1f96733: Pull complete 04:41:45 63f879dbbcfc: Pull complete 04:41:48 0d9ebad4ef96: Pull complete 04:41:48 e9a5061849ea: Pull complete 04:41:49 d747dcd14b5f: Pull complete 04:41:50 2de7ff778b66: Pull complete 04:41:50 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:41:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:41:50 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 04:41:50 prd-ubuntu20.04-docker-8c-8g-40354 does not seem to be running inside a container 04:41:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 04:41:52 $ docker top f1dffd67b3fbe9c9b0907b901cc7d2be86d490b1d54d019554f50fb414939bc3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:41:52 provisioning config files... 04:41:52 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3096871536898176488tmp 04:41:52 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config6058833109808965605tmp 04:41:52 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config719077859686703130tmp [Pipeline] { [Pipeline] echo 04:41:52 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:41:52 ---> sigul-configuration.sh 04:41:52 gpg: directory `/root/.gnupg' created 04:41:52 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:41:52 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:41:52 gpg: keyring `/root/.gnupg/secring.gpg' created 04:41:52 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:41:52 gpg: CAST5 encrypted data 04:41:52 gpg: encrypted with 1 passphrase 04:41:52 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:41:53 + mkdir /home/jenkins 04:41:53 + mkdir /home/jenkins/sigul [Pipeline] sh 04:41:53 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 04:41:53 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:41:53 ---> sigul-install.sh 04:41:53 Sigul already installed; skipping installation. [Pipeline] sh 04:41:53 + git tag --list 04:41:53 1.0.0 04:41:53 v0.0.0 04:41:53 v1.1.0 04:41:53 v1.1.1 04:41:53 v1.2.2 04:41:53 v1.3.0 04:41:53 v1.3.1 04:41:53 v2.0.0 04:41:53 v2.0.1-dev.1 04:41:53 v2.0.1-dev.2 04:41:53 v2.0.1-dev.3 04:41:53 v2.0.1-dev.4 04:41:53 v2.0.1-dev.5 04:41:53 v2.0.1-dev.6 04:41:53 v2.1.0 04:41:53 v2.2.0-dev.1 04:41:53 v2.2.0-dev.10 04:41:53 v2.2.0-dev.11 04:41:53 v2.2.0-dev.12 04:41:53 v2.2.0-dev.13 04:41:53 v2.2.0-dev.14 04:41:53 v2.2.0-dev.2 04:41:53 v2.2.0-dev.3 04:41:53 v2.2.0-dev.4 04:41:53 v2.2.0-dev.5 04:41:53 v2.2.0-dev.6 04:41:53 v2.2.0-dev.7 04:41:53 v2.2.0-dev.8 04:41:53 v2.2.0-dev.9 [Pipeline] sh 04:41:54 + lftools sign git-tag v2.2.0-dev.14 04:41:54 Signing Git tag with Sigul... 04:41:54 Signing v2.2.0-dev.14 [Pipeline] echo 04:41:55 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:41:55 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:41:55 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:41:55 $ docker stop --time=1 f1dffd67b3fbe9c9b0907b901cc7d2be86d490b1d54d019554f50fb414939bc3 04:41:56 $ docker rm -f f1dffd67b3fbe9c9b0907b901cc7d2be86d490b1d54d019554f50fb414939bc3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 04:41:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:41:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 04:41:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 04:41:57 . [Pipeline] withDockerContainer 04:41:57 prd-ubuntu20.04-docker-8c-8g-40354 does not seem to be running inside a container 04:41:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 04:41:57 $ docker top 87a04791b1ce956a266e869c28c6839411a728568bfae92aee014c4b93e98d4a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:41:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:41:57 [ssh-agent] Looking for ssh-agent implementation... 04:41:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:41:58 $ docker exec 87a04791b1ce956a266e869c28c6839411a728568bfae92aee014c4b93e98d4a ssh-agent 04:41:58 SSH_AUTH_SOCK=/tmp/ssh-FddAE09OLgNI/agent.32 04:41:58 SSH_AGENT_PID=38 04:41:58 Running ssh-add (command line suppressed) 04:41:58 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3461136008394353873.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3461136008394353873.key) 04:41:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:41:58 + git semver bump pre 04:41:58 2022-05-03 04:41:58,818 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 04:41:58 2022-05-03 04:41:58,819 [bump_version] DEBUG bumping version:2.2.0-dev.14 on axis:pre with prefix:dev 04:41:58 2022-05-03 04:41:58,819 [bump_version] DEBUG bumped version:2.2.0-dev.15 04:41:58 2022-05-03 04:41:58,819 [write_version] DEBUG write version:2.2.0-dev.15 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True 04:41:58 2022-05-03 04:41:58,819 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 04:41:58 2022-05-03 04:41:58,819 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 04:41:58 2022-05-03 04:41:58,821 [execute] INFO git cat-file --batch-check 04:41:58 2022-05-03 04:41:58,821 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:41:58 2022-05-03 04:41:58,826 [execute] INFO git cat-file --batch 04:41:58 2022-05-03 04:41:58,827 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:41:58 2022-05-03 04:41:58,832 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 04:41:58 2.2.0-dev.15 [Pipeline] } 04:41:58 $ docker exec --env ******** --env ******** 87a04791b1ce956a266e869c28c6839411a728568bfae92aee014c4b93e98d4a ssh-agent -k 04:41:59 unset SSH_AUTH_SOCK; 04:41:59 unset SSH_AGENT_PID; 04:41:59 echo Agent pid 38 killed; 04:41:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:41:59 + git semver [Pipeline] } 04:41:59 $ docker stop --time=1 87a04791b1ce956a266e869c28c6839411a728568bfae92aee014c4b93e98d4a 04:42:00 $ docker rm -f 87a04791b1ce956a266e869c28c6839411a728568bfae92aee014c4b93e98d4a [Pipeline] // withDockerContainer [Pipeline] sh 04:42:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:42:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 04:42:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 04:42:01 . [Pipeline] withDockerContainer 04:42:01 prd-ubuntu20.04-docker-8c-8g-40354 does not seem to be running inside a container 04:42:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 04:42:02 $ docker top 722763ea18fdced8788ac35abd6202d36da5e9418633af037a17a881de4c3d0b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:42:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:42:02 [ssh-agent] Looking for ssh-agent implementation... 04:42:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:42:02 $ docker exec 722763ea18fdced8788ac35abd6202d36da5e9418633af037a17a881de4c3d0b ssh-agent 04:42:02 SSH_AUTH_SOCK=/tmp/ssh-PoLiLy7DniXH/agent.32 04:42:02 SSH_AGENT_PID=39 04:42:02 Running ssh-add (command line suppressed) 04:42:02 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3514664280660433844.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3514664280660433844.key) 04:42:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:42:02 + git semver push 04:42:03 2022-05-03 04:42:03,016 [run_push] DEBUG push 04:42:03 2022-05-03 04:42:03,017 [execute] INFO git push origin semver 04:42:03 2022-05-03 04:42:03,017 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:42:04 2022-05-03 04:42:03,776 [run_push] DEBUG push all version tags 04:42:04 2022-05-03 04:42:03,777 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 04:42:04 2022-05-03 04:42:03,777 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 04:42:04 2022-05-03 04:42:04,513 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 04:42:04 2.2.0-dev.15 [Pipeline] } 04:42:04 $ docker exec --env ******** --env ******** 722763ea18fdced8788ac35abd6202d36da5e9418633af037a17a881de4c3d0b ssh-agent -k 04:42:04 unset SSH_AUTH_SOCK; 04:42:04 unset SSH_AGENT_PID; 04:42:04 echo Agent pid 39 killed; 04:42:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:42:05 + git semver [Pipeline] } 04:42:05 $ docker stop --time=1 722763ea18fdced8788ac35abd6202d36da5e9418633af037a17a881de4c3d0b 04:42:06 $ docker rm -f 722763ea18fdced8788ac35abd6202d36da5e9418633af037a17a881de4c3d0b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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 04:42:07 + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] 04:42:07 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 04:42:07 total 16 04:42:07 drwxr-xr-x 3 root root 4096 May 3 04:36 . 04:42:07 drwxrwxr-x 10 jenkins jenkins 4096 May 3 04:41 .. 04:42:07 drwxr-xr-x 2 root root 4096 May 3 04:36 cost 04:42:07 -rw-r--r-- 1 root root 84 May 3 04:36 cost.csv 04:42:07 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives 04:42:07 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 04:42:07 total 16 04:42:07 drwxr-xr-x 3 jenkins jenkins 4096 May 3 04:36 . 04:42:07 drwxrwxr-x 10 jenkins jenkins 4096 May 3 04:41 .. 04:42:07 drwxr-xr-x 2 jenkins jenkins 4096 May 3 04:36 cost 04:42:07 -rw-r--r-- 1 jenkins jenkins 84 May 3 04:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:42:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:42:08 ---> package-listing.sh 04:42:08 ++ tr '[:upper:]' '[:lower:]' 04:42:08 ++ facter osfamily 04:42:08 + OS_FAMILY=debian 04:42:08 + workspace=/w/workspace/edgexfoundry_device-snmp-go_main 04:42:08 + START_PACKAGES=/tmp/packages_start.txt 04:42:08 + END_PACKAGES=/tmp/packages_end.txt 04:42:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:42:08 + PACKAGES=/tmp/packages_start.txt 04:42:08 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 04:42:08 + PACKAGES=/tmp/packages_end.txt 04:42:08 + case "${OS_FAMILY}" in 04:42:08 + dpkg -l 04:42:08 + grep '^ii' 04:42:08 + '[' -f /tmp/packages_start.txt ']' 04:42:08 + '[' -f /tmp/packages_end.txt ']' 04:42:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:42:08 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 04:42:08 + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ 04:42:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo 04:42:08 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/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:42:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:42:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:42:09 . [Pipeline] withDockerContainer 04:42:09 prd-ubuntu20.04-docker-8c-8g-40354 does not seem to be running inside a container 04:42:09 $ 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/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:42:09 $ docker top 0b67d2cd4f08d1de07233bf617a7661a60abbb12bca35bdd0c04a1c2edebe48c -eo pid,comm [Pipeline] { [Pipeline] sh 04:42:10 + touch /tmp/pre-build-complete [Pipeline] sh 04:42:10 + mkdir -p /var/log/sysstat [Pipeline] sh 04:42:10 + ls /var/log/sa-host 04:42:10 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:42:11 provisioning config files... 04:42:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2582719222512543184tmp [Pipeline] { [Pipeline] echo 04:42:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:42:11 ---> create-netrc.sh [Pipeline] } 04:42:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:42:11 ---> python-tools-install.sh [Pipeline] echo 04:42:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:42:12 ---> sudo-logs.sh 04:42:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:42:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:42:12 ---> job-cost.sh 04:42:12 lf-activate-venv: SKIPPING 04:42:12 DEBUG: total: 0.2199999988079071 04:42:12 INFO: Retrieving Stack Cost... 04:42:12 INFO: Retrieving Pricing Info for: v3-standard-8 04:42:13 INFO: Archiving Costs [Pipeline] echo 04:42:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:42:13 ---> logs-deploy.sh 04:42:13 lf-activate-venv: SKIPPING 04:42:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/24 04:42:13 INFO: archiving workspace using pattern(s): 04:42:14 Archives upload complete. 04:42:14 INFO: archiving logs to Nexus