Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2a65a39039cf7664a715857da731e59ec3cb9dfd 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-ssh8020897119234467702.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8051196236632476001.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/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-ssh1208209971896642346.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13664241042963896676.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-ssh7666677721828607995.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-63126 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 2a65a39039cf7664a715857da731e59ec3cb9dfd (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 2a65a39039cf7664a715857da731e59ec3cb9dfd # timeout=10 Commit message: "Merge pull request #170 from jinlinGuan/released-go-mods" > git rev-list --no-walk dc31039becec9772b0a461c07f986a5f4714edf6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:03:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:03:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:03:52 ========================================================= 06:03:52 EdgeX Global Pipelines Version Info 06:03:52 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:03:53 ------------------- 06:03:53 stable info: 06:03:53 ------------------- 06:03:53 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:03:53 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 06:03:53 Message: update stable to v1.0.230 06:03:54 ------------------- 06:03:54 experimental info: 06:03:54 ------------------- 06:03:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:03:54 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 06:03:54 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:03:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 06:03:54 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 06:03:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:03:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:03:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:03:54 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 06:03:54 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:03:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:03:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:03:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:03:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:03:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 06:03:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:03:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:03:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:03:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:03:54 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:03:54 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:03:54 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:03:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:03:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:03:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:03:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:03:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:03:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:03:54 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:03:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:03:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:03:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:03:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2a65a39039cf7664a715857da731e59ec3cb9dfd [Pipeline] echo 06:03:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2a65a39 [Pipeline] echo 06:03:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:03:54 provisioning config files... 06:03:54 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1245741258687090816tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:03:55 ---> docker-login.sh 06:03:55 nexus3.edgexfoundry.org:10001 06:03:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:55 Configure a credential helper to remove this warning. See 06:03:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:55 06:03:55 Login Succeeded 06:03:55 nexus3.edgexfoundry.org:10002 06:03:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:55 Configure a credential helper to remove this warning. See 06:03:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:55 06:03:55 Login Succeeded 06:03:55 nexus3.edgexfoundry.org:10003 06:03:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:55 Configure a credential helper to remove this warning. See 06:03:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:55 06:03:55 Login Succeeded 06:03:55 nexus3.edgexfoundry.org:10004 06:03:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:55 Configure a credential helper to remove this warning. See 06:03:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:55 06:03:55 Login Succeeded 06:03:55 docker.io 06:03:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:56 Configure a credential helper to remove this warning. See 06:03:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:56 06:03:56 Login Succeeded 06:03:56 ---> docker-login.sh ends [Pipeline] } 06:03:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:03:56 + git rev-list -1 --merges 2a65a39039cf7664a715857da731e59ec3cb9dfd~1..2a65a39039cf7664a715857da731e59ec3cb9dfd [Pipeline] echo 06:03:57 -----------> git rev-list -1 --merges 2a65a39039cf7664a715857da731e59ec3cb9dfd~1..2a65a39039cf7664a715857da731e59ec3cb9dfd 2a65a39039cf7664a715857da731e59ec3cb9dfd 06:03:57 2a65a39039cf7664a715857da731e59ec3cb9dfd [false] [Pipeline] sh 06:03:57 + git log --format=format:%s -1 2a65a39039cf7664a715857da731e59ec3cb9dfd [Pipeline] echo 06:03:57 ========================================================= 06:03:57 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:03:57 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:03:57 + git log --format=format:%s -1 2a65a39039cf7664a715857da731e59ec3cb9dfd [Pipeline] echo 06:03:57 [semverPrep] GIT_COMMIT: 2a65a39039cf7664a715857da731e59ec3cb9dfd, Commit Message: Merge pull request #170 from jinlinGuan/released-go-mods [Pipeline] echo 06:03:57 [semverPrep] This is not a build commit. [Pipeline] sh 06:03:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:03:58 + grep -v github /etc/ssh/ssh_known_hosts 06:03:58 + [ -e /tmp/ssh_known_hosts ] 06:03:58 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:03:58 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:03:58 + sudo tee -a /etc/ssh/ssh_known_hosts 06:03:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 06:03:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:03:58 06:03:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:03:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:03:58 latest: Pulling from edgex-devops/py-git-semver 06:03:58 1fe172e4850f: Pulling fs layer 06:03:58 caf521ccaac6: Pulling fs layer 06:03:58 3ead6fa29328: Pulling fs layer 06:03:58 5c2a1cbceb83: Pulling fs layer 06:03:58 a8d5f1318db7: Pulling fs layer 06:03:58 c427282e49a2: Pulling fs layer 06:03:58 1827001aaf11: Pulling fs layer 06:03:58 0714d37db230: Pulling fs layer 06:03:58 ac28cf19c067: Pulling fs layer 06:03:58 ca983d60f3e2: Pulling fs layer 06:03:58 9f894cec8388: Pulling fs layer 06:03:58 5c2a1cbceb83: Waiting 06:03:58 a8d5f1318db7: Waiting 06:03:58 c427282e49a2: Waiting 06:03:58 ac28cf19c067: Waiting 06:03:58 9f894cec8388: Waiting 06:03:58 0714d37db230: Waiting 06:03:58 1827001aaf11: Waiting 06:03:58 ca983d60f3e2: Waiting 06:03:58 caf521ccaac6: Download complete 06:03:58 5c2a1cbceb83: Verifying Checksum 06:03:58 5c2a1cbceb83: Download complete 06:03:59 a8d5f1318db7: Verifying Checksum 06:03:59 a8d5f1318db7: Download complete 06:03:59 3ead6fa29328: Verifying Checksum 06:03:59 3ead6fa29328: Download complete 06:03:59 c427282e49a2: Verifying Checksum 06:03:59 c427282e49a2: Download complete 06:03:59 0714d37db230: Verifying Checksum 06:03:59 0714d37db230: Download complete 06:03:59 ac28cf19c067: Download complete 06:03:59 ca983d60f3e2: Verifying Checksum 06:03:59 ca983d60f3e2: Download complete 06:03:59 9f894cec8388: Verifying Checksum 06:03:59 9f894cec8388: Download complete 06:03:59 1fe172e4850f: Verifying Checksum 06:03:59 1fe172e4850f: Download complete 06:03:59 1827001aaf11: Verifying Checksum 06:03:59 1827001aaf11: Download complete 06:04:00 1fe172e4850f: Pull complete 06:04:00 caf521ccaac6: Pull complete 06:04:01 3ead6fa29328: Pull complete 06:04:01 5c2a1cbceb83: Pull complete 06:04:01 a8d5f1318db7: Pull complete 06:04:01 c427282e49a2: Pull complete 06:04:03 1827001aaf11: Pull complete 06:04:03 0714d37db230: Pull complete 06:04:03 ac28cf19c067: Pull complete 06:04:03 ca983d60f3e2: Pull complete 06:04:03 9f894cec8388: Pull complete 06:04:03 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 06:04:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:04:03 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 06:04:03 prd-ubuntu20.04-docker-8c-8g-63126 does not seem to be running inside a container 06:04:03 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 06:04:05 $ docker top ded5f5a9126da941fa8e1c69eed07c9ff1d9cec2ee35f1344bba5832b61e23f5 -eo pid,comm 06:04:05 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). 06:04:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:04:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:04:05 [ssh-agent] Looking for ssh-agent implementation... 06:04:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:04:05 $ docker exec ded5f5a9126da941fa8e1c69eed07c9ff1d9cec2ee35f1344bba5832b61e23f5 ssh-agent 06:04:05 SSH_AUTH_SOCK=/tmp/ssh-WhCITJMpdCle/agent.33 06:04:05 SSH_AGENT_PID=39 06:04:05 Running ssh-add (command line suppressed) 06:04:05 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2201469373552351708.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2201469373552351708.key) 06:04:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:04:06 + git tag --points-at HEAD [Pipeline] } 06:04:06 $ docker exec --env ******** --env ******** ded5f5a9126da941fa8e1c69eed07c9ff1d9cec2ee35f1344bba5832b61e23f5 ssh-agent -k 06:04:06 unset SSH_AUTH_SOCK; 06:04:06 unset SSH_AGENT_PID; 06:04:06 echo Agent pid 39 killed; 06:04:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:04:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:04:06 [ssh-agent] Looking for ssh-agent implementation... 06:04:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:04:06 $ docker exec ded5f5a9126da941fa8e1c69eed07c9ff1d9cec2ee35f1344bba5832b61e23f5 ssh-agent 06:04:06 SSH_AUTH_SOCK=/tmp/ssh-4d9d34Ep3i6z/agent.72 06:04:06 SSH_AGENT_PID=78 06:04:06 Running ssh-add (command line suppressed) 06:04:06 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_252552693571737008.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_252552693571737008.key) 06:04:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:04:06 + git semver init 06:04:07 2022-05-11 06:04:07,145 [run_init] DEBUG init version:0.0.0 force:False 06:04:07 2022-05-11 06:04:07,146 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver 06:04:07 2022-05-11 06:04:07,146 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver 06:04:07 2022-05-11 06:04:07,147 [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) 06:04:08 2022-05-11 06:04:08,000 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude 06:04:08 2022-05-11 06:04:08,001 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False 06:04:08 2022-05-11 06:04:08,001 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 06:04:08 2022-05-11 06:04:08,001 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 06:04:08 2.2.0-dev.17 [Pipeline] } 06:04:08 $ docker exec --env ******** --env ******** ded5f5a9126da941fa8e1c69eed07c9ff1d9cec2ee35f1344bba5832b61e23f5 ssh-agent -k 06:04:08 unset SSH_AUTH_SOCK; 06:04:08 unset SSH_AGENT_PID; 06:04:08 echo Agent pid 78 killed; 06:04:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:04:08 + git semver [Pipeline] } 06:04:08 $ docker stop --time=1 ded5f5a9126da941fa8e1c69eed07c9ff1d9cec2ee35f1344bba5832b61e23f5 06:04:10 $ docker rm -f ded5f5a9126da941fa8e1c69eed07c9ff1d9cec2ee35f1344bba5832b61e23f5 [Pipeline] // withDockerContainer [Pipeline] sh 06:04:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:04:10 Stashed 1 file(s) [Pipeline] echo 06:04:10 [edgeXSemver]: initialized semver on version 2.2.0-dev.17 [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 06:04:11 provisioning config files... 06:04:11 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3466069312472678322tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:04:11 ---> docker-login.sh 06:04:11 nexus3.edgexfoundry.org:10001 06:04:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:11 Configure a credential helper to remove this warning. See 06:04:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:11 06:04:11 Login Succeeded 06:04:11 nexus3.edgexfoundry.org:10002 06:04:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:11 Configure a credential helper to remove this warning. See 06:04:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:11 06:04:11 Login Succeeded 06:04:11 nexus3.edgexfoundry.org:10003 06:04:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:11 Configure a credential helper to remove this warning. See 06:04:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:11 06:04:11 Login Succeeded 06:04:11 nexus3.edgexfoundry.org:10004 06:04:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:11 Configure a credential helper to remove this warning. See 06:04:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:11 06:04:11 Login Succeeded 06:04:11 docker.io 06:04:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:12 Configure a credential helper to remove this warning. See 06:04:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:12 06:04:12 Login Succeeded 06:04:12 ---> docker-login.sh ends [Pipeline] } 06:04:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:04:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:04:12 ========================================================= 06:04:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 06:04:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 06:04:12 + 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 . 06:04:12 Sending build context to Docker daemon 5.323MB 06:04:12 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 06:04:12 Step 2/12 : FROM ${BASE} AS builder 06:04:12 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 06:04:12 59bf1c3509f3: Pulling fs layer 06:04:12 666ba61612fd: Pulling fs layer 06:04:12 8ed8ca486205: Pulling fs layer 06:04:12 4fe6c5a15a65: Pulling fs layer 06:04:12 22a0e8bec74d: Pulling fs layer 06:04:12 ca2b28591e48: Pulling fs layer 06:04:12 a51346096db8: Pulling fs layer 06:04:12 daebc70d1ce1: Pulling fs layer 06:04:12 0e18a0eac166: Pulling fs layer 06:04:12 4fe6c5a15a65: Waiting 06:04:12 a51346096db8: Waiting 06:04:12 daebc70d1ce1: Waiting 06:04:12 22a0e8bec74d: Waiting 06:04:12 ca2b28591e48: Waiting 06:04:12 0e18a0eac166: Waiting 06:04:12 8ed8ca486205: Verifying Checksum 06:04:12 8ed8ca486205: Download complete 06:04:12 666ba61612fd: Download complete 06:04:12 22a0e8bec74d: Verifying Checksum 06:04:12 22a0e8bec74d: Download complete 06:04:12 ca2b28591e48: Verifying Checksum 06:04:12 ca2b28591e48: Download complete 06:04:12 59bf1c3509f3: Verifying Checksum 06:04:12 59bf1c3509f3: Download complete 06:04:12 a51346096db8: Verifying Checksum 06:04:12 a51346096db8: Download complete 06:04:12 daebc70d1ce1: Verifying Checksum 06:04:12 daebc70d1ce1: Download complete 06:04:12 59bf1c3509f3: Pull complete 06:04:13 666ba61612fd: Pull complete 06:04:13 8ed8ca486205: Pull complete 06:04:13 0e18a0eac166: Verifying Checksum 06:04:13 0e18a0eac166: Download complete 06:04:13 4fe6c5a15a65: Verifying Checksum 06:04:13 4fe6c5a15a65: Download complete 06:04:17 4fe6c5a15a65: Pull complete 06:04:17 22a0e8bec74d: Pull complete 06:04:17 ca2b28591e48: Pull complete 06:04:17 a51346096db8: Pull complete 06:04:17 daebc70d1ce1: Pull complete 06:04:19 0e18a0eac166: Pull complete 06:04:19 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 06:04:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 06:04:19 ---> f018257e8ee9 06:04:19 Step 3/12 : ARG MAKE='make build' 06:04:21 ---> Running in 16f65584b3b3 06:04:21 Removing intermediate container 16f65584b3b3 06:04:21 ---> f34c29b3f512 06:04:21 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:04:21 ---> Running in 9df65c5cafb1 06:04:21 Removing intermediate container 9df65c5cafb1 06:04:21 ---> ab5c765d5ff4 06:04:21 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 06:04:21 ---> Running in 2494e4a1421b 06:04:21 Removing intermediate container 2494e4a1421b 06:04:21 ---> a2af81adbf8e 06:04:21 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:04:21 ---> Running in 4108a3c4e694 06:04:21 Removing intermediate container 4108a3c4e694 06:04:21 ---> 36ce7c70125e 06:04:21 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:04:22 ---> Running in ce551ebc7c5e 06:04:22 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:04:23 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:04:23 (1/4) Installing openssh-keygen (8.8_p1-r1) 06:04:23 (2/4) Installing libedit (20210910.3.1-r0) 06:04:23 (3/4) Installing openssh-client-common (8.8_p1-r1) 06:04:23 (4/4) Installing openssh-client-default (8.8_p1-r1) 06:04:23 Executing busybox-1.34.1-r3.trigger 06:04:23 OK: 224 MiB in 56 packages 06:04:24 Removing intermediate container ce551ebc7c5e 06:04:24 ---> eb6f1c9d7630 06:04:24 Step 8/12 : WORKDIR /device-snmp-go 06:04:24 ---> Running in 36bae12a27c6 06:04:24 Removing intermediate container 36bae12a27c6 06:04:24 ---> e3fe0dafce4c 06:04:24 Step 9/12 : COPY go.mod vendor* ./ 06:04:24 ---> aada5cf5a3f9 06:04:24 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:04:24 ---> Running in 065b9bcf2079 06:04:26 Still waiting to schedule task 06:04:26 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:04:39 Removing intermediate container 065b9bcf2079 06:04:39 ---> 2e1897187380 06:04:39 Step 11/12 : COPY . . 06:04:39 ---> 4912fb5450d5 06:04:39 Step 12/12 : RUN ${MAKE} 06:04:39 ---> Running in eb63a60b1624 06:04:39 noop 06:04:39 Removing intermediate container eb63a60b1624 06:04:39 ---> ef6f57b24748 06:04:39 Successfully built ef6f57b24748 06:04:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:04:39 + docker inspect -f . ci-base-image-x86_64 06:04:39 . [Pipeline] withDockerContainer 06:04:40 prd-ubuntu20.04-docker-8c-8g-63126 does not seem to be running inside a container 06:04:40 $ 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 ******** -e ******** ci-base-image-x86_64 cat 06:04:40 $ docker top 3de1323f1a00c1ca2934903ac7f845718dc10a8439834e6eaea3abe057ef1331 -eo pid,comm [Pipeline] { [Pipeline] sh 06:04:40 + go version 06:04:40 go version go1.17.6 linux/amd64 [Pipeline] } 06:04:40 $ docker stop --time=1 3de1323f1a00c1ca2934903ac7f845718dc10a8439834e6eaea3abe057ef1331 06:04:42 $ docker rm -f 3de1323f1a00c1ca2934903ac7f845718dc10a8439834e6eaea3abe057ef1331 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:04:42 + docker inspect -f . ci-base-image-x86_64 06:04:42 . [Pipeline] withDockerContainer 06:04:42 prd-ubuntu20.04-docker-8c-8g-63126 does not seem to be running inside a container 06:04:42 $ 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 ******** -e ******** ci-base-image-x86_64 cat 06:04:43 $ docker top 6fc3db8903c941cf4777570e69d5f5bb1c6f3cadc4fd9d537309941fd7fdf370 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 06:04:43 + make test 06:04:43 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:04:44 ? github.com/edgexfoundry/device-snmp-go [no test files] 06:04:54 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 06:04:54 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.012s coverage: 0.0% of statements 06:04:59 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:05:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:05:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:05:03 ./bin/test-attribution-txt.sh [Pipeline] echo 06:05:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:05:04 $ docker stop --time=1 6fc3db8903c941cf4777570e69d5f5bb1c6f3cadc4fd9d537309941fd7fdf370 06:05:06 $ docker rm -f 6fc3db8903c941cf4777570e69d5f5bb1c6f3cadc4fd9d537309941fd7fdf370 [Pipeline] // withDockerContainer [Pipeline] sh 06:05:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:05:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:05:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:05:07 + ls -al . 06:05:07 total 168 06:05:07 drwxrwxr-x 9 jenkins jenkins 4096 May 11 06:05 . 06:05:07 drwxrwxr-x 4 jenkins jenkins 4096 May 11 06:03 .. 06:05:07 -rw-rw-r-- 1 jenkins jenkins 6 May 11 06:03 .dockerignore 06:05:07 drwxrwxr-x 8 jenkins jenkins 4096 May 11 06:04 .git 06:05:07 drwxrwxr-x 3 jenkins jenkins 4096 May 11 06:03 .github 06:05:07 -rw-rw-r-- 1 jenkins jenkins 328 May 11 06:03 .gitignore 06:05:07 -rw-rw-r-- 1 jenkins jenkins 41 May 11 06:03 .golangci.yml 06:05:07 drwxr-xr-x 3 jenkins jenkins 4096 May 11 06:04 .semver 06:05:07 -rw-rw-r-- 1 jenkins jenkins 8296 May 11 06:03 Attribution.txt 06:05:07 -rw-rw-r-- 1 jenkins jenkins 4401 May 11 06:03 CHANGELOG.md 06:05:07 -rw-rw-r-- 1 jenkins jenkins 1516 May 11 06:03 Dockerfile 06:05:07 -rw-rw-r-- 1 jenkins jenkins 677 May 11 06:03 GOVERNANCE.md 06:05:07 -rw-rw-r-- 1 jenkins jenkins 656 May 11 06:03 Jenkinsfile 06:05:07 -rw-rw-r-- 1 jenkins jenkins 11340 May 11 06:03 LICENSE 06:05:07 -rw-rw-r-- 1 jenkins jenkins 1938 May 11 06:03 Makefile 06:05:07 -rw-rw-r-- 1 jenkins jenkins 620 May 11 06:03 OWNERS.md 06:05:07 -rw-rw-r-- 1 jenkins jenkins 9390 May 11 06:03 README.md 06:05:07 -rw-rw-r-- 1 jenkins jenkins 12 May 11 06:04 VERSION 06:05:07 drwxrwxr-x 2 jenkins jenkins 4096 May 11 06:03 bin 06:05:07 drwxrwxr-x 3 jenkins jenkins 4096 May 11 06:03 cmd 06:05:07 -rw-r--r-- 1 jenkins jenkins 7631 May 11 06:04 coverage.out 06:05:07 -rw-rw-r-- 1 jenkins jenkins 3250 May 11 06:03 go.mod 06:05:07 -rw-rw-r-- 1 jenkins jenkins 35701 May 11 06:03 go.sum 06:05:07 drwxrwxr-x 3 jenkins jenkins 4096 May 11 06:03 internal 06:05:07 drwxrwxr-x 3 jenkins jenkins 4096 May 11 06:03 snap 06:05:07 -rw-rw-r-- 1 jenkins jenkins 209 May 11 06:03 version.go [Pipeline] isUnix [Pipeline] sh 06:05:07 + 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=2a65a39039cf7664a715857da731e59ec3cb9dfd --label arch=amd64 --label version=2.2.0-dev.17 . 06:05:07 Sending build context to Docker daemon 5.331MB 06:05:07 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 06:05:07 Step 2/24 : FROM ${BASE} AS builder 06:05:07 ---> ef6f57b24748 06:05:07 Step 3/24 : ARG MAKE='make build' 06:05:07 ---> Running in 10996745c647 06:05:08 Removing intermediate container 10996745c647 06:05:08 ---> 111c2fee90dd 06:05:08 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:05:08 ---> Running in 0870082ec252 06:05:08 Removing intermediate container 0870082ec252 06:05:08 ---> 5d633f82ad43 06:05:08 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 06:05:08 ---> Running in c5a4edb828d5 06:05:08 Removing intermediate container c5a4edb828d5 06:05:08 ---> 7f42b8331b28 06:05:08 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:05:08 ---> Running in 570a78ed7717 06:05:08 Removing intermediate container 570a78ed7717 06:05:08 ---> 0d853f36c583 06:05:08 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:05:08 ---> Running in dd53141eb13a 06:05:09 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:05:10 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:05:10 OK: 224 MiB in 56 packages 06:05:10 Removing intermediate container dd53141eb13a 06:05:10 ---> 022d01da4ec6 06:05:10 Step 8/24 : WORKDIR /device-snmp-go 06:05:10 ---> Running in 4fac810b0141 06:05:10 Removing intermediate container 4fac810b0141 06:05:10 ---> 9db29b22eba9 06:05:10 Step 9/24 : COPY go.mod vendor* ./ 06:05:10 ---> 8ffafb6276ab 06:05:10 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:05:10 ---> Running in b5ebdd689056 06:05:11 Removing intermediate container b5ebdd689056 06:05:11 ---> faf54c1c4f37 06:05:11 Step 11/24 : COPY . . 06:05:11 ---> 3e33880bc8c4 06:05:11 Step 12/24 : RUN ${MAKE} 06:05:11 ---> Running in 1b07331930de 06:05:11 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=2.2.0-dev.17" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 06:05:33 Removing intermediate container 1b07331930de 06:05:33 ---> 752fb94f7e94 06:05:33 Step 13/24 : FROM alpine:3.14 06:05:33 3.14: Pulling from library/alpine 06:05:33 8663204ce13b: Pulling fs layer 06:05:33 8663204ce13b: Verifying Checksum 06:05:33 8663204ce13b: Download complete 06:05:33 8663204ce13b: Pull complete 06:05:33 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 06:05:33 Status: Downloaded newer image for alpine:3.14 06:05:33 ---> e04c818066af 06:05:33 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 06:05:33 ---> Running in cc9e3d39001c 06:05:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 06:05:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 06:05:34 (1/6) Installing dumb-init (1.2.5-r1) 06:05:34 (2/6) Installing libgcc (10.3.1_git20210424-r2) 06:05:34 (3/6) Installing libsodium (1.0.18-r0) 06:05:34 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 06:05:34 (5/6) Installing libzmq (4.3.4-r0) 06:05:34 (6/6) Installing zeromq (4.3.4-r0) 06:05:34 Executing busybox-1.33.1-r7.trigger 06:05:34 OK: 8 MiB in 20 packages 06:05:34 Removing intermediate container cc9e3d39001c 06:05:34 ---> c6871c48b753 06:05:34 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 06:05:35 ---> 979c6cba8218 06:05:35 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 06:05:35 ---> f0f23b967723 06:05:35 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 06:05:35 ---> 10317a459463 06:05:35 Step 18/24 : EXPOSE 59993 06:05:35 ---> Running in c3ef005d0bb4 06:05:35 Removing intermediate container c3ef005d0bb4 06:05:35 ---> 653065893384 06:05:35 Step 19/24 : EXPOSE 161 06:05:35 ---> Running in 51d92936302f 06:05:35 Removing intermediate container 51d92936302f 06:05:35 ---> e2a9dc1b278c 06:05:35 Step 20/24 : ENTRYPOINT ["/device-snmp"] 06:05:35 ---> Running in 38630284053f 06:05:35 Removing intermediate container 38630284053f 06:05:35 ---> f75e35a4137f 06:05:35 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 06:05:35 ---> Running in b03666569c87 06:05:35 Removing intermediate container b03666569c87 06:05:35 ---> 1dccdb53a192 06:05:35 Step 22/24 : LABEL arch=amd64 06:05:35 ---> Running in 4fec7420ec99 06:05:36 Removing intermediate container 4fec7420ec99 06:05:36 ---> ef33eba10c30 06:05:36 Step 23/24 : LABEL git_sha=2a65a39039cf7664a715857da731e59ec3cb9dfd 06:05:36 ---> Running in c5788f5f8e58 06:05:36 Removing intermediate container c5788f5f8e58 06:05:36 ---> 507c07ac857f 06:05:36 Step 24/24 : LABEL version=2.2.0-dev.17 06:05:36 ---> Running in a112f844235d 06:05:36 Removing intermediate container a112f844235d 06:05:36 ---> a20b93260ed8 06:05:36 [Warning] One or more build-args [ARCH] were not consumed 06:05:36 Successfully built a20b93260ed8 06:05:36 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:05:36 provisioning config files... 06:05:36 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8541235070835927472tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:05:36 ---> docker-login.sh 06:05:36 nexus3.edgexfoundry.org:10001 06:05:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:05:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:05:36 Configure a credential helper to remove this warning. See 06:05:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:05:36 06:05:36 Login Succeeded 06:05:36 nexus3.edgexfoundry.org:10002 06:05:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:05:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:05:37 Configure a credential helper to remove this warning. See 06:05:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:05:37 06:05:37 Login Succeeded 06:05:37 nexus3.edgexfoundry.org:10003 06:05:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:05:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:05:37 Configure a credential helper to remove this warning. See 06:05:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:05:37 06:05:37 Login Succeeded 06:05:37 nexus3.edgexfoundry.org:10004 06:05:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:05:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:05:37 Configure a credential helper to remove this warning. See 06:05:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:05:37 06:05:37 Login Succeeded 06:05:37 docker.io 06:05:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:05:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:05:37 Configure a credential helper to remove this warning. See 06:05:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:05:37 06:05:37 Login Succeeded 06:05:37 ---> docker-login.sh ends [Pipeline] } 06:05:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:05:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:05:37 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 06:05:37 2a65a39039cf7664a715857da731e59ec3cb9dfd 06:05:37 latest 06:05:37 2.2.0-dev.17 06:05:37 2a65a39039cf7664a715857da731e59ec3cb9dfd-2.2.0-dev.17 06:05:37 main 06:05:37 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:05:38 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2a65a39039cf7664a715857da731e59ec3cb9dfd [Pipeline] isUnix [Pipeline] sh 06:05:38 + docker push nexus3.edgexfoundry.org:10004/device-snmp:2a65a39039cf7664a715857da731e59ec3cb9dfd 06:05:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 06:05:38 324b725d0cd4: Preparing 06:05:38 d317e06091c8: Preparing 06:05:38 2472e9d733d0: Preparing 06:05:38 274179114a9d: Preparing 06:05:38 b541d28bf3b4: Preparing 06:05:38 b541d28bf3b4: Layer already exists 06:05:38 d317e06091c8: Pushed 06:05:38 324b725d0cd4: Pushed 06:05:38 274179114a9d: Pushed 06:05:41 2472e9d733d0: Pushed 06:05:41 2a65a39039cf7664a715857da731e59ec3cb9dfd: digest: sha256:f8bab7c5985fc4407d6a754d81a341b50e250f11f40a0dd80244a6e3594f0cfd size: 1367 [Pipeline] isUnix [Pipeline] sh 06:05:41 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] isUnix [Pipeline] sh 06:05:41 + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest 06:05:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 06:05:41 324b725d0cd4: Preparing 06:05:41 d317e06091c8: Preparing 06:05:41 2472e9d733d0: Preparing 06:05:41 274179114a9d: Preparing 06:05:41 b541d28bf3b4: Preparing 06:05:41 274179114a9d: Layer already exists 06:05:41 b541d28bf3b4: Layer already exists 06:05:41 324b725d0cd4: Layer already exists 06:05:41 d317e06091c8: Layer already exists 06:05:41 2472e9d733d0: Layer already exists 06:05:41 latest: digest: sha256:f8bab7c5985fc4407d6a754d81a341b50e250f11f40a0dd80244a6e3594f0cfd size: 1367 [Pipeline] isUnix [Pipeline] sh 06:05:42 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.17 [Pipeline] isUnix [Pipeline] sh 06:05:42 + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.17 06:05:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 06:05:42 324b725d0cd4: Preparing 06:05:42 d317e06091c8: Preparing 06:05:42 2472e9d733d0: Preparing 06:05:42 274179114a9d: Preparing 06:05:42 b541d28bf3b4: Preparing 06:05:42 d317e06091c8: Layer already exists 06:05:42 324b725d0cd4: Layer already exists 06:05:42 b541d28bf3b4: Layer already exists 06:05:42 2472e9d733d0: Layer already exists 06:05:42 274179114a9d: Layer already exists 06:05:42 2.2.0-dev.17: digest: sha256:f8bab7c5985fc4407d6a754d81a341b50e250f11f40a0dd80244a6e3594f0cfd size: 1367 [Pipeline] isUnix [Pipeline] sh 06:05:42 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2a65a39039cf7664a715857da731e59ec3cb9dfd-2.2.0-dev.17 [Pipeline] isUnix [Pipeline] sh 06:05:43 + docker push nexus3.edgexfoundry.org:10004/device-snmp:2a65a39039cf7664a715857da731e59ec3cb9dfd-2.2.0-dev.17 06:05:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 06:05:43 324b725d0cd4: Preparing 06:05:43 d317e06091c8: Preparing 06:05:43 2472e9d733d0: Preparing 06:05:43 274179114a9d: Preparing 06:05:43 b541d28bf3b4: Preparing 06:05:43 2472e9d733d0: Layer already exists 06:05:43 324b725d0cd4: Layer already exists 06:05:43 b541d28bf3b4: Layer already exists 06:05:43 d317e06091c8: Layer already exists 06:05:43 274179114a9d: Layer already exists 06:05:43 2a65a39039cf7664a715857da731e59ec3cb9dfd-2.2.0-dev.17: digest: sha256:f8bab7c5985fc4407d6a754d81a341b50e250f11f40a0dd80244a6e3594f0cfd size: 1367 [Pipeline] isUnix [Pipeline] sh 06:05:43 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] isUnix [Pipeline] sh 06:05:43 + docker push nexus3.edgexfoundry.org:10004/device-snmp:main 06:05:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 06:05:43 324b725d0cd4: Preparing 06:05:43 d317e06091c8: Preparing 06:05:43 2472e9d733d0: Preparing 06:05:43 274179114a9d: Preparing 06:05:43 b541d28bf3b4: Preparing 06:05:43 2472e9d733d0: Layer already exists 06:05:43 274179114a9d: Layer already exists 06:05:43 b541d28bf3b4: Layer already exists 06:05:43 d317e06091c8: Layer already exists 06:05:43 324b725d0cd4: Layer already exists 06:05:43 main: digest: sha256:f8bab7c5985fc4407d6a754d81a341b50e250f11f40a0dd80244a6e3594f0cfd size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:05:43 ===================================================== [Pipeline] echo 06:05:43 taggedImages: 06:05:43 - nexus3.edgexfoundry.org:10004/device-snmp:2a65a39039cf7664a715857da731e59ec3cb9dfd 06:05:43 - nexus3.edgexfoundry.org:10004/device-snmp:latest 06:05:43 - nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.17 06:05:43 - nexus3.edgexfoundry.org:10004/device-snmp:2a65a39039cf7664a715857da731e59ec3cb9dfd-2.2.0-dev.17 06:05:43 - 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 06:05:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:05:44 06:05:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 06:05:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:05:44 latest: Pulling from edgex-lftools-log-publisher 06:05:44 5eb5b503b376: Pulling fs layer 06:05:44 5c69ac0246d0: Pulling fs layer 06:05:44 ec43610c2a17: Pulling fs layer 06:05:44 3a2ae6a8a46f: Pulling fs layer 06:05:44 33b1e0a273af: Pulling fs layer 06:05:44 5d3b04190fa2: Pulling fs layer 06:05:44 2f39f015ded8: Pulling fs layer 06:05:44 3a2ae6a8a46f: Waiting 06:05:44 33b1e0a273af: Waiting 06:05:44 2f39f015ded8: Waiting 06:05:44 5d3b04190fa2: Waiting 06:05:44 5c69ac0246d0: Download complete 06:05:44 3a2ae6a8a46f: Download complete 06:05:44 33b1e0a273af: Download complete 06:05:44 5d3b04190fa2: Verifying Checksum 06:05:44 5d3b04190fa2: Download complete 06:05:44 ec43610c2a17: Verifying Checksum 06:05:44 ec43610c2a17: Download complete 06:05:44 5eb5b503b376: Verifying Checksum 06:05:44 5eb5b503b376: Download complete 06:05:45 2f39f015ded8: Download complete 06:05:45 5eb5b503b376: Pull complete 06:05:46 5c69ac0246d0: Pull complete 06:05:46 ec43610c2a17: Pull complete 06:05:46 3a2ae6a8a46f: Pull complete 06:05:46 33b1e0a273af: Pull complete 06:05:46 5d3b04190fa2: Pull complete 06:05:51 2f39f015ded8: Pull complete 06:05:51 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:05:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:05:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 06:05:51 prd-ubuntu20.04-docker-8c-8g-63126 does not seem to be running inside a container 06:05:51 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:05:52 $ docker top d5c140a30f6246a51a3a61e2b90d3d44b06ba5bf0fb32db2663d87def424a237 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:05:53 ---> job-cost.sh 06:05:53 lf-activate-venv: SKIPPING 06:05:53 INFO: No Stack... 06:05:53 INFO: Retrieving Pricing Info for: v3-standard-8 06:05:54 INFO: Archiving Costs [Pipeline] sh 06:05:54 + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv 06:05:54 + cut -d, -f6 [Pipeline] lock 06:05:54 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-27-stack-cost] 06:05:54 Resource [jenkins-edgexfoundry-device-snmp-go-main-27-stack-cost] did not exist. Created. 06:05:54 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-27-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:05:54 + echo total: 0.2199999988079071 [Pipeline] stash 06:05:54 Stashed 1 file(s) [Pipeline] } 06:05:54 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-27-stack-cost] [Pipeline] // lock [Pipeline] } 06:05:54 $ docker stop --time=1 d5c140a30f6246a51a3a61e2b90d3d44b06ba5bf0fb32db2663d87def424a237 06:05:56 $ docker rm -f d5c140a30f6246a51a3a61e2b90d3d44b06ba5bf0fb32db2663d87def424a237 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:06:03 Running on prd-ubuntu20.04-docker-arm64-4c-16g-63130 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws 06:06:03 Running in /w/workspace/device-snmp-go/27 [Pipeline] { [Pipeline] checkout 06:06:03 Selected Git installation does not exist. Using Default 06:06:03 The recommended git tool is: NONE 06:06:10 using credential edgex-jenkins-ssh 06:06:10 Cloning the remote Git repository 06:06:10 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 06:06:10 > git init /w/workspace/device-snmp-go/27 # timeout=10 06:06:10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 06:06:10 > git --version # timeout=10 06:06:10 > git --version # 'git version 2.25.1' 06:06:10 using GIT_SSH to set credentials SSH Credentials for GitHub 06:06:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:06:11 Avoid second fetch 06:06:11 Checking out Revision 2a65a39039cf7664a715857da731e59ec3cb9dfd (main) 06:06:11 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 06:06:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:06:11 > git config core.sparsecheckout # timeout=10 06:06:11 > git checkout -f 2a65a39039cf7664a715857da731e59ec3cb9dfd # timeout=10 06:06:15 Commit message: "Merge pull request #170 from jinlinGuan/released-go-mods" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:06:16 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:06:16 % Total % Received % Xferd Average Speed Time Time Time Current 06:06:16 Dload Upload Total Spent Left Speed 06:06:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 88380 0 --:--:-- --:--:-- --:--:-- 89045 [Pipeline] sh 06:06:17 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:06:17 + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:06:17 sudo tee /etc/docker/daemon.new 06:06:17 { 06:06:17 "registry-mirrors": [ 06:06:17 "https://nexus3.edgexfoundry.org:10001" 06:06:17 ], 06:06:17 "bip": "10.250.0.254/24", 06:06:17 "hosts": [ 06:06:17 "tcp://0.0.0.0:5555", 06:06:17 "unix:///var/run/docker.sock" 06:06:17 ], 06:06:17 "mtu": 1458, 06:06:17 "selinux-enabled": true, 06:06:17 "seccomp-profile": "/etc/docker/seccomp.json" 06:06:17 } [Pipeline] sh 06:06:18 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:06:18 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:06:36 provisioning config files... 06:06:36 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/27@tmp/config1629304577173598599tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:06:37 ---> docker-login.sh 06:06:37 nexus3.edgexfoundry.org:10001 06:06:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:38 Configure a credential helper to remove this warning. See 06:06:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:38 06:06:38 Login Succeeded 06:06:38 nexus3.edgexfoundry.org:10002 06:06:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:38 Configure a credential helper to remove this warning. See 06:06:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:38 06:06:38 Login Succeeded 06:06:38 nexus3.edgexfoundry.org:10003 06:06:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:39 Configure a credential helper to remove this warning. See 06:06:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:39 06:06:39 Login Succeeded 06:06:39 nexus3.edgexfoundry.org:10004 06:06:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:40 Configure a credential helper to remove this warning. See 06:06:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:40 06:06:40 Login Succeeded 06:06:40 docker.io 06:06:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:40 Configure a credential helper to remove this warning. See 06:06:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:40 06:06:40 Login Succeeded 06:06:40 ---> docker-login.sh ends [Pipeline] } 06:06:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:06:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:06:41 ========================================================= 06:06:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 06:06:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 06:06:41 + 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 . 06:06:41 Sending build context to Docker daemon 2.749MB 06:06:41 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 06:06:41 Step 2/12 : FROM ${BASE} AS builder 06:06:42 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:06:42 9b3977197b4f: Pulling fs layer 06:06:42 1a89e8eeedd5: Pulling fs layer 06:06:42 94645a83ff95: Pulling fs layer 06:06:42 3f3a8bcf1eab: Pulling fs layer 06:06:42 0c92f367c5e7: Pulling fs layer 06:06:42 3096ccb668a1: Pulling fs layer 06:06:42 e8cf19c19ddd: Pulling fs layer 06:06:42 a4caa8a26152: Pulling fs layer 06:06:42 3f3a8bcf1eab: Waiting 06:06:42 3096ccb668a1: Waiting 06:06:42 e8cf19c19ddd: Waiting 06:06:42 0c92f367c5e7: Waiting 06:06:42 a4caa8a26152: Waiting 06:06:42 94645a83ff95: Verifying Checksum 06:06:42 94645a83ff95: Download complete 06:06:42 1a89e8eeedd5: Verifying Checksum 06:06:42 1a89e8eeedd5: Download complete 06:06:42 0c92f367c5e7: Download complete 06:06:42 3096ccb668a1: Verifying Checksum 06:06:42 3096ccb668a1: Download complete 06:06:42 9b3977197b4f: Download complete 06:06:42 e8cf19c19ddd: Verifying Checksum 06:06:42 e8cf19c19ddd: Download complete 06:06:43 9b3977197b4f: Pull complete 06:06:43 1a89e8eeedd5: Pull complete 06:06:43 94645a83ff95: Pull complete 06:06:44 a4caa8a26152: Verifying Checksum 06:06:44 a4caa8a26152: Download complete 06:06:44 3f3a8bcf1eab: Verifying Checksum 06:06:44 3f3a8bcf1eab: Download complete 06:06:57 3f3a8bcf1eab: Pull complete 06:06:57 0c92f367c5e7: Pull complete 06:06:57 3096ccb668a1: Pull complete 06:06:57 e8cf19c19ddd: Pull complete 06:07:02 a4caa8a26152: Pull complete 06:07:02 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 06:07:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 06:07:02 ---> 725f1c02e7f9 06:07:02 Step 3/12 : ARG MAKE='make build' 06:07:03 ---> Running in 2ce9756d174b 06:07:03 Removing intermediate container 2ce9756d174b 06:07:03 ---> e0b3f88e5981 06:07:03 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:07:04 ---> Running in 0b58a2727fac 06:07:04 Removing intermediate container 0b58a2727fac 06:07:04 ---> fad1ec959a98 06:07:04 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 06:07:04 ---> Running in bd4850b3ac47 06:07:04 Removing intermediate container bd4850b3ac47 06:07:04 ---> ed35e516d49b 06:07:04 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:07:04 ---> Running in 2faad5340715 06:07:06 Removing intermediate container 2faad5340715 06:07:06 ---> bd8611354d32 06:07:06 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:07:06 ---> Running in 89eaa477de4d 06:07:07 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 06:07:08 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 06:07:09 (1/4) Installing openssh-keygen (8.8_p1-r1) 06:07:09 (2/4) Installing libedit (20210910.3.1-r0) 06:07:09 (3/4) Installing openssh-client-common (8.8_p1-r1) 06:07:09 (4/4) Installing openssh-client-default (8.8_p1-r1) 06:07:10 Executing busybox-1.34.1-r3.trigger 06:07:10 OK: 224 MiB in 56 packages 06:07:12 Removing intermediate container 89eaa477de4d 06:07:12 ---> ea5434db6794 06:07:12 Step 8/12 : WORKDIR /device-snmp-go 06:07:12 ---> Running in 6f483d39695d 06:07:12 Removing intermediate container 6f483d39695d 06:07:12 ---> 8518413b53f4 06:07:12 Step 9/12 : COPY go.mod vendor* ./ 06:07:12 ---> ea629e0a0500 06:07:12 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:07:12 ---> Running in c385b41d1c67 06:08:09 Removing intermediate container c385b41d1c67 06:08:09 ---> ce72c2ccc2e5 06:08:09 Step 11/12 : COPY . . 06:08:09 ---> 8daa102b1711 06:08:09 Step 12/12 : RUN ${MAKE} 06:08:09 ---> Running in 5e2897c8ac0e 06:08:09 noop 06:08:09 Removing intermediate container 5e2897c8ac0e 06:08:09 ---> d67e1381c92d 06:08:09 Successfully built d67e1381c92d 06:08:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:08:09 + docker inspect -f . ci-base-image-arm64 06:08:09 . [Pipeline] withDockerContainer 06:08:09 prd-ubuntu20.04-docker-arm64-4c-16g-63130 does not seem to be running inside a container 06:08:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/27 -v /w/workspace/device-snmp-go/27:/w/workspace/device-snmp-go/27:rw,z -v /w/workspace/device-snmp-go/27@tmp:/w/workspace/device-snmp-go/27@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:08:11 $ docker top 426a8f8b1fc608b59800b7a8f4cdc45c292baa7941f2ccc4d3964dc7def13079 -eo pid,comm [Pipeline] { [Pipeline] sh 06:08:12 + go version 06:08:12 go version go1.17.6 linux/arm64 [Pipeline] } 06:08:12 $ docker stop --time=1 426a8f8b1fc608b59800b7a8f4cdc45c292baa7941f2ccc4d3964dc7def13079 06:08:13 $ docker rm -f 426a8f8b1fc608b59800b7a8f4cdc45c292baa7941f2ccc4d3964dc7def13079 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:08:14 + docker inspect -f . ci-base-image-arm64 06:08:14 . [Pipeline] withDockerContainer 06:08:14 prd-ubuntu20.04-docker-arm64-4c-16g-63130 does not seem to be running inside a container 06:08:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/27 -v /w/workspace/device-snmp-go/27:/w/workspace/device-snmp-go/27:rw,z -v /w/workspace/device-snmp-go/27@tmp:/w/workspace/device-snmp-go/27@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:08:16 $ docker top cfe25259b1a08c58a32af3436ad072f9333ddd0220d3ea3c685a8ba1cf8da80b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 06:08:17 + make test 06:08:17 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:08:18 ? github.com/edgexfoundry/device-snmp-go [no test files] 06:09:40 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 06:09:40 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.043s coverage: 0.0% of statements 06:09:40 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:09:40 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:10:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:10:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:10:07 ./bin/test-attribution-txt.sh [Pipeline] echo 06:10:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:10:08 $ docker stop --time=1 cfe25259b1a08c58a32af3436ad072f9333ddd0220d3ea3c685a8ba1cf8da80b 06:10:10 $ docker rm -f cfe25259b1a08c58a32af3436ad072f9333ddd0220d3ea3c685a8ba1cf8da80b [Pipeline] // withDockerContainer [Pipeline] sh 06:10:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:10:11 Warning: overwriting stash ‘coverage-report’ 06:10:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:10:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:10:12 + ls -al . 06:10:12 total 164 06:10:12 drwxrwxr-x 8 jenkins jenkins 4096 May 11 06:10 . 06:10:12 drwxrwxr-x 4 jenkins jenkins 4096 May 11 06:06 .. 06:10:12 -rw-rw-r-- 1 jenkins jenkins 6 May 11 06:06 .dockerignore 06:10:12 drwxrwxr-x 8 jenkins jenkins 4096 May 11 06:06 .git 06:10:12 drwxrwxr-x 3 jenkins jenkins 4096 May 11 06:06 .github 06:10:12 -rw-rw-r-- 1 jenkins jenkins 328 May 11 06:06 .gitignore 06:10:12 -rw-rw-r-- 1 jenkins jenkins 41 May 11 06:06 .golangci.yml 06:10:12 -rw-rw-r-- 1 jenkins jenkins 8296 May 11 06:06 Attribution.txt 06:10:12 -rw-rw-r-- 1 jenkins jenkins 4401 May 11 06:06 CHANGELOG.md 06:10:12 -rw-rw-r-- 1 jenkins jenkins 1516 May 11 06:06 Dockerfile 06:10:12 -rw-rw-r-- 1 jenkins jenkins 677 May 11 06:06 GOVERNANCE.md 06:10:12 -rw-rw-r-- 1 jenkins jenkins 656 May 11 06:06 Jenkinsfile 06:10:12 -rw-rw-r-- 1 jenkins jenkins 11340 May 11 06:06 LICENSE 06:10:12 -rw-rw-r-- 1 jenkins jenkins 1938 May 11 06:06 Makefile 06:10:12 -rw-rw-r-- 1 jenkins jenkins 620 May 11 06:06 OWNERS.md 06:10:12 -rw-rw-r-- 1 jenkins jenkins 9390 May 11 06:06 README.md 06:10:12 -rw-rw-r-- 1 jenkins jenkins 12 May 11 06:04 VERSION 06:10:12 drwxrwxr-x 2 jenkins jenkins 4096 May 11 06:06 bin 06:10:12 drwxrwxr-x 3 jenkins jenkins 4096 May 11 06:06 cmd 06:10:12 -rw-r--r-- 1 jenkins jenkins 7631 May 11 06:09 coverage.out 06:10:12 -rw-rw-r-- 1 jenkins jenkins 3250 May 11 06:06 go.mod 06:10:12 -rw-rw-r-- 1 jenkins jenkins 35701 May 11 06:06 go.sum 06:10:12 drwxrwxr-x 3 jenkins jenkins 4096 May 11 06:06 internal 06:10:12 drwxrwxr-x 3 jenkins jenkins 4096 May 11 06:06 snap 06:10:12 -rw-rw-r-- 1 jenkins jenkins 209 May 11 06:06 version.go [Pipeline] isUnix [Pipeline] sh 06:10:13 + 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=2a65a39039cf7664a715857da731e59ec3cb9dfd --label arch=arm64 --label version=2.2.0-dev.17 . 06:10:13 Sending build context to Docker daemon 2.758MB 06:10:13 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 06:10:13 Step 2/24 : FROM ${BASE} AS builder 06:10:13 ---> d67e1381c92d 06:10:13 Step 3/24 : ARG MAKE='make build' 06:10:13 ---> Running in 5f6537d8b571 06:10:14 Removing intermediate container 5f6537d8b571 06:10:14 ---> cde6e7e331e7 06:10:14 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:10:14 ---> Running in 3bbb8a2d5ffa 06:10:14 Removing intermediate container 3bbb8a2d5ffa 06:10:14 ---> 5fe42f692be5 06:10:14 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 06:10:14 ---> Running in c8230dbaec2a 06:10:14 Removing intermediate container c8230dbaec2a 06:10:14 ---> 2eca6a7718ed 06:10:14 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:10:14 ---> Running in 8f7172855c48 06:10:16 Removing intermediate container 8f7172855c48 06:10:16 ---> 0b8a937a0169 06:10:16 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:10:16 ---> Running in 2c80497ef45b 06:10:17 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 06:10:18 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 06:10:19 OK: 224 MiB in 56 packages 06:10:20 Removing intermediate container 2c80497ef45b 06:10:20 ---> 465cc5e15dea 06:10:20 Step 8/24 : WORKDIR /device-snmp-go 06:10:20 ---> Running in af1a99cd72ed 06:10:20 Removing intermediate container af1a99cd72ed 06:10:20 ---> 9e0c9f9f85a3 06:10:20 Step 9/24 : COPY go.mod vendor* ./ 06:10:21 ---> 88b9d1dc7374 06:10:21 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:10:21 ---> Running in 7271c48f717c 06:10:23 Removing intermediate container 7271c48f717c 06:10:23 ---> a3787807461d 06:10:23 Step 11/24 : COPY . . 06:10:24 ---> 441b32bf0f6f 06:10:24 Step 12/24 : RUN ${MAKE} 06:10:24 ---> Running in 882d5a44b765 06:10:25 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=2.2.0-dev.17" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 06:12:32 Removing intermediate container 882d5a44b765 06:12:32 ---> c1778a0e497a 06:12:32 Step 13/24 : FROM alpine:3.14 06:12:32 3.14: Pulling from library/alpine 06:12:32 455c02918c45: Pulling fs layer 06:12:33 455c02918c45: Verifying Checksum 06:12:33 455c02918c45: Download complete 06:12:33 455c02918c45: Pull complete 06:12:33 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 06:12:33 Status: Downloaded newer image for alpine:3.14 06:12:33 ---> ac73e934f311 06:12:33 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 06:12:33 ---> Running in 53b89b3f326c 06:12:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 06:12:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 06:12:36 (1/6) Installing dumb-init (1.2.5-r1) 06:12:36 (2/6) Installing libgcc (10.3.1_git20210424-r2) 06:12:36 (3/6) Installing libsodium (1.0.18-r0) 06:12:36 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 06:12:36 (5/6) Installing libzmq (4.3.4-r0) 06:12:36 (6/6) Installing zeromq (4.3.4-r0) 06:12:36 Executing busybox-1.33.1-r7.trigger 06:12:36 OK: 8 MiB in 20 packages 06:12:37 Removing intermediate container 53b89b3f326c 06:12:37 ---> 4ea90cf5543d 06:12:37 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 06:12:38 ---> c98eaaa8f9a1 06:12:38 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 06:12:38 ---> 18c8a1936dac 06:12:38 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 06:12:39 ---> 5e16d5852f56 06:12:39 Step 18/24 : EXPOSE 59993 06:12:39 ---> Running in 387ca355b46a 06:12:39 Removing intermediate container 387ca355b46a 06:12:39 ---> 035bb3bf5536 06:12:39 Step 19/24 : EXPOSE 161 06:12:39 ---> Running in 583380874d9c 06:12:40 Removing intermediate container 583380874d9c 06:12:40 ---> 92a41261858f 06:12:40 Step 20/24 : ENTRYPOINT ["/device-snmp"] 06:12:40 ---> Running in a573dfa18160 06:12:40 Removing intermediate container a573dfa18160 06:12:40 ---> 8d5c094ec1b0 06:12:40 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 06:12:40 ---> Running in 9c55361a0a48 06:12:41 Removing intermediate container 9c55361a0a48 06:12:41 ---> 4aa203ec00fb 06:12:41 Step 22/24 : LABEL arch=arm64 06:12:41 ---> Running in 91ecf3d8583a 06:12:41 Removing intermediate container 91ecf3d8583a 06:12:41 ---> 6884def946a1 06:12:41 Step 23/24 : LABEL git_sha=2a65a39039cf7664a715857da731e59ec3cb9dfd 06:12:41 ---> Running in 7b312772740e 06:12:41 Removing intermediate container 7b312772740e 06:12:41 ---> 7aed3a958c09 06:12:41 Step 24/24 : LABEL version=2.2.0-dev.17 06:12:41 ---> Running in ab8ec8731c72 06:12:42 Removing intermediate container ab8ec8731c72 06:12:42 ---> 82670bee81b6 06:12:42 [Warning] One or more build-args [ARCH] were not consumed 06:12:42 Successfully built 82670bee81b6 06:12:42 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 06:12:42 provisioning config files... 06:12:42 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/27@tmp/config4792944880931292833tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:12:42 ---> docker-login.sh 06:12:42 nexus3.edgexfoundry.org:10001 06:12:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:12:42 Configure a credential helper to remove this warning. See 06:12:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:12:42 06:12:42 Login Succeeded 06:12:42 nexus3.edgexfoundry.org:10002 06:12:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:12:43 Configure a credential helper to remove this warning. See 06:12:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:12:43 06:12:43 Login Succeeded 06:12:43 nexus3.edgexfoundry.org:10003 06:12:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:12:44 Configure a credential helper to remove this warning. See 06:12:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:12:44 06:12:44 Login Succeeded 06:12:44 nexus3.edgexfoundry.org:10004 06:12:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:12:44 Configure a credential helper to remove this warning. See 06:12:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:12:44 06:12:44 Login Succeeded 06:12:44 docker.io 06:12:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:12:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:12:45 Configure a credential helper to remove this warning. See 06:12:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:12:45 06:12:45 Login Succeeded 06:12:45 ---> docker-login.sh ends [Pipeline] } 06:12:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:12:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:12:45 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 06:12:45 2a65a39039cf7664a715857da731e59ec3cb9dfd 06:12:45 latest 06:12:45 2.2.0-dev.17 06:12:45 2a65a39039cf7664a715857da731e59ec3cb9dfd-2.2.0-dev.17 06:12:45 main 06:12:45 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:12:45 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2a65a39039cf7664a715857da731e59ec3cb9dfd [Pipeline] isUnix [Pipeline] sh 06:12:45 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2a65a39039cf7664a715857da731e59ec3cb9dfd 06:12:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 06:12:45 c4df9d174fe2: Preparing 06:12:45 39362116b66f: Preparing 06:12:45 c0d9c60bf708: Preparing 06:12:45 5dc10f6878da: Preparing 06:12:45 f73e7dbfee58: Preparing 06:12:46 f73e7dbfee58: Layer already exists 06:12:46 39362116b66f: Pushed 06:12:46 c4df9d174fe2: Pushed 06:12:46 5dc10f6878da: Pushed 06:12:52 c0d9c60bf708: Pushed 06:12:52 2a65a39039cf7664a715857da731e59ec3cb9dfd: digest: sha256:0248559ab552ff6921974602a929bdf430ad62a6d8010d55ce9ff7186c5ed324 size: 1366 [Pipeline] isUnix [Pipeline] sh 06:12:52 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:12:53 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 06:12:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 06:12:53 c4df9d174fe2: Preparing 06:12:53 39362116b66f: Preparing 06:12:53 c0d9c60bf708: Preparing 06:12:53 5dc10f6878da: Preparing 06:12:53 f73e7dbfee58: Preparing 06:12:53 f73e7dbfee58: Layer already exists 06:12:53 5dc10f6878da: Layer already exists 06:12:53 39362116b66f: Layer already exists 06:12:53 c0d9c60bf708: Layer already exists 06:12:53 c4df9d174fe2: Layer already exists 06:12:53 latest: digest: sha256:0248559ab552ff6921974602a929bdf430ad62a6d8010d55ce9ff7186c5ed324 size: 1366 [Pipeline] isUnix [Pipeline] sh 06:12:54 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.17 [Pipeline] isUnix [Pipeline] sh 06:12:54 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.17 06:12:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 06:12:54 c4df9d174fe2: Preparing 06:12:54 39362116b66f: Preparing 06:12:54 c0d9c60bf708: Preparing 06:12:54 5dc10f6878da: Preparing 06:12:54 f73e7dbfee58: Preparing 06:12:54 39362116b66f: Layer already exists 06:12:54 c0d9c60bf708: Layer already exists 06:12:54 f73e7dbfee58: Layer already exists 06:12:54 5dc10f6878da: Layer already exists 06:12:54 c4df9d174fe2: Layer already exists 06:12:54 2.2.0-dev.17: digest: sha256:0248559ab552ff6921974602a929bdf430ad62a6d8010d55ce9ff7186c5ed324 size: 1366 [Pipeline] isUnix [Pipeline] sh 06:12:55 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2a65a39039cf7664a715857da731e59ec3cb9dfd-2.2.0-dev.17 [Pipeline] isUnix [Pipeline] sh 06:12:55 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2a65a39039cf7664a715857da731e59ec3cb9dfd-2.2.0-dev.17 06:12:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 06:12:55 c4df9d174fe2: Preparing 06:12:55 39362116b66f: Preparing 06:12:55 c0d9c60bf708: Preparing 06:12:55 5dc10f6878da: Preparing 06:12:55 f73e7dbfee58: Preparing 06:12:55 c4df9d174fe2: Layer already exists 06:12:55 f73e7dbfee58: Layer already exists 06:12:55 39362116b66f: Layer already exists 06:12:55 c0d9c60bf708: Layer already exists 06:12:55 5dc10f6878da: Layer already exists 06:12:55 2a65a39039cf7664a715857da731e59ec3cb9dfd-2.2.0-dev.17: digest: sha256:0248559ab552ff6921974602a929bdf430ad62a6d8010d55ce9ff7186c5ed324 size: 1366 [Pipeline] isUnix [Pipeline] sh 06:12:55 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] isUnix [Pipeline] sh 06:12:56 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main 06:12:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 06:12:56 c4df9d174fe2: Preparing 06:12:56 39362116b66f: Preparing 06:12:56 c0d9c60bf708: Preparing 06:12:56 5dc10f6878da: Preparing 06:12:56 f73e7dbfee58: Preparing 06:12:56 c0d9c60bf708: Layer already exists 06:12:56 f73e7dbfee58: Layer already exists 06:12:56 39362116b66f: Layer already exists 06:12:56 5dc10f6878da: Layer already exists 06:12:56 c4df9d174fe2: Layer already exists 06:12:56 main: digest: sha256:0248559ab552ff6921974602a929bdf430ad62a6d8010d55ce9ff7186c5ed324 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:12:56 ===================================================== [Pipeline] echo 06:12:56 taggedImages: 06:12:56 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2a65a39039cf7664a715857da731e59ec3cb9dfd 06:12:56 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 06:12:56 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.17 06:12:56 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2a65a39039cf7664a715857da731e59ec3cb9dfd-2.2.0-dev.17 06:12:56 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:12:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:12:57 06:12:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 06:12:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:12:57 arm64: Pulling from edgex-lftools-log-publisher 06:12:57 8998bd30e6a1: Pulling fs layer 06:12:57 04944245beec: Pulling fs layer 06:12:57 699f458cf7ca: Pulling fs layer 06:12:57 765212b225bb: Pulling fs layer 06:12:57 f23df028b6ca: Pulling fs layer 06:12:57 d65c8cfc05b1: Pulling fs layer 06:12:57 2437ff75d9bd: Pulling fs layer 06:12:57 f23df028b6ca: Waiting 06:12:57 d65c8cfc05b1: Waiting 06:12:57 2437ff75d9bd: Waiting 06:12:57 765212b225bb: Waiting 06:12:57 04944245beec: Verifying Checksum 06:12:57 04944245beec: Download complete 06:12:57 765212b225bb: Verifying Checksum 06:12:57 765212b225bb: Download complete 06:12:57 f23df028b6ca: Verifying Checksum 06:12:57 f23df028b6ca: Download complete 06:12:57 d65c8cfc05b1: Verifying Checksum 06:12:57 d65c8cfc05b1: Download complete 06:12:57 699f458cf7ca: Verifying Checksum 06:12:57 699f458cf7ca: Download complete 06:12:58 8998bd30e6a1: Verifying Checksum 06:12:58 8998bd30e6a1: Download complete 06:13:00 2437ff75d9bd: Verifying Checksum 06:13:00 2437ff75d9bd: Download complete 06:13:02 8998bd30e6a1: Pull complete 06:13:03 04944245beec: Pull complete 06:13:04 699f458cf7ca: Pull complete 06:13:04 765212b225bb: Pull complete 06:13:05 f23df028b6ca: Pull complete 06:13:05 d65c8cfc05b1: Pull complete 06:13:20 2437ff75d9bd: Pull complete 06:13:20 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:13:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:13:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 06:13:21 prd-ubuntu20.04-docker-arm64-4c-16g-63130 does not seem to be running inside a container 06:13:21 $ 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/27 -v /w/workspace/device-snmp-go/27:/w/workspace/device-snmp-go/27:rw,z -v /w/workspace/device-snmp-go/27@tmp:/w/workspace/device-snmp-go/27@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:13:23 $ docker top e3b1b3d3eb2a10abdfe199553fc9421008d57b872bd357d0af80cbca80627fcc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:13:24 ---> job-cost.sh 06:13:24 lf-activate-venv: SKIPPING 06:13:24 INFO: No Stack... 06:13:25 INFO: Retrieving Pricing Info for: v3-standard-4 06:13:26 INFO: Archiving Costs [Pipeline] sh 06:13:26 + cat /w/workspace/device-snmp-go/27/archives/cost.csv 06:13:26 + cut -d, -f6 [Pipeline] lock 06:13:27 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-27-stack-cost] 06:13:27 Resource [jenkins-edgexfoundry-device-snmp-go-main-27-stack-cost] did not exist. Created. 06:13:27 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-27-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:13:27 /w/workspace/device-snmp-go/27@tmp/durable-24350626/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:13:28 + echo total: 0.10999999940395355 [Pipeline] stash 06:13:28 Warning: overwriting stash ‘stack-cost’ 06:13:28 Stashed 1 file(s) [Pipeline] } 06:13:28 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-27-stack-cost] [Pipeline] // lock [Pipeline] } 06:13:28 $ docker stop --time=1 e3b1b3d3eb2a10abdfe199553fc9421008d57b872bd357d0af80cbca80627fcc 06:13:30 $ docker rm -f e3b1b3d3eb2a10abdfe199553fc9421008d57b872bd357d0af80cbca80627fcc [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 06:13:30 provisioning config files... 06:13:30 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2984444735480702347tmp [Pipeline] { [Pipeline] sh 06:13:30 + set +x 06:13:30 + curl -s https://codecov.io/bash 06:13:30 + bash -s -- 06:13:30 06:13:30 _____ _ 06:13:30 / ____| | | 06:13:30 | | ___ __| | ___ ___ _____ __ 06:13:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:13:30 | |___| (_) | (_| | __/ (_| (_) \ V / 06:13:30 \_____\___/ \__,_|\___|\___\___/ \_/ 06:13:30 Bash-1.0.6 06:13:30 06:13:30 06:13:30 ==> git version 2.25.1 found 06:13:30 ==> 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 06:13:30 Release-Date: 2020-01-08 06:13:30 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:13:30 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:13:30 ==> Jenkins CI detected. 06:13:30 current dir:  /w/workspace/edgexfoundry_device-snmp-go_main 06:13:30 project root: . 06:13:30 --> token set from env 06:13:30 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:13:30 ==> Running gcov in . (disable via -X gcov) 06:13:30 ==> Python coveragepy not found 06:13:30 ==> Searching for coverage reports in: 06:13:30 + . 06:13:30 -> Found 1 reports 06:13:30 ==> Detecting git/mercurial file structure 06:13:30 ==> Reading reports 06:13:30 + ./coverage.out bytes=7631 06:13:30 ==> Appending adjustments 06:13:30 https://docs.codecov.io/docs/fixing-reports 06:13:31 + Found adjustments 06:13:31 ==> Gzipping contents 06:13:31 4.0K /tmp/codecov.BtXACz.gz 06:13:31 ==> Uploading reports 06:13:31 url: https://codecov.io 06:13:31 query: branch=main&commit=2a65a39039cf7664a715857da731e59ec3cb9dfd&build=27&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F27%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:13:31 -> Pinging Codecov 06:13:31 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=2a65a39039cf7664a715857da731e59ec3cb9dfd&build=27&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F27%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:13:31 -> Uploading to 06:13:31 https://storage.googleapis.com/codecov/v4/raw/2022-05-11/6C56EA5C29638FB4528AC87E60AF5AE0/2a65a39039cf7664a715857da731e59ec3cb9dfd/258a4a8b-08e6-467d-a447-e09843cf47f1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220511T061331Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=acb54a7b4f50e85204f4a3ad82db29f6ee67238a9a213a5804a9e8e8a3ba701e 06:13:31 % Total % Received % Xferd Average Speed Time Time Time Current 06:13:31 Dload Upload Total Spent Left Speed 06:13:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1602 0 0 100 1602 0 7248 --:--:-- --:--:-- --:--:-- 7216 100 1602 0 0 100 1602 0 6846 --:--:-- --:--:-- --:--:-- 6817 06:13:31 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/2a65a39039cf7664a715857da731e59ec3cb9dfd [Pipeline] } 06:13:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:13:31 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:13:31 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:13:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:13:31 06:13:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 06:13:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:13:32 1.410.4: Pulling from edgex-devops/edgex-snyk-go 06:13:32 188c0c94c7c5: Pulling fs layer 06:13:32 0ef7d3d256c8: Pulling fs layer 06:13:32 de9db76c5a1d: Pulling fs layer 06:13:32 0eba1c9be4d2: Pulling fs layer 06:13:32 0d57e429df01: Pulling fs layer 06:13:32 4e4be7b47b0d: Pulling fs layer 06:13:32 e1f770b5df2f: Pulling fs layer 06:13:32 85a0685a4137: Pulling fs layer 06:13:32 0d57e429df01: Waiting 06:13:32 4e4be7b47b0d: Waiting 06:13:32 85a0685a4137: Waiting 06:13:32 e1f770b5df2f: Waiting 06:13:32 0eba1c9be4d2: Waiting 06:13:32 de9db76c5a1d: Download complete 06:13:32 0ef7d3d256c8: Verifying Checksum 06:13:32 0ef7d3d256c8: Download complete 06:13:32 0d57e429df01: Verifying Checksum 06:13:32 0d57e429df01: Download complete 06:13:32 4e4be7b47b0d: Verifying Checksum 06:13:32 4e4be7b47b0d: Download complete 06:13:32 188c0c94c7c5: Verifying Checksum 06:13:32 188c0c94c7c5: Download complete 06:13:32 188c0c94c7c5: Pull complete 06:13:32 e1f770b5df2f: Verifying Checksum 06:13:32 e1f770b5df2f: Download complete 06:13:32 0ef7d3d256c8: Pull complete 06:13:32 de9db76c5a1d: Pull complete 06:13:32 0eba1c9be4d2: Verifying Checksum 06:13:32 0eba1c9be4d2: Download complete 06:13:33 85a0685a4137: Verifying Checksum 06:13:33 85a0685a4137: Download complete 06:13:36 0eba1c9be4d2: Pull complete 06:13:36 0d57e429df01: Pull complete 06:13:36 4e4be7b47b0d: Pull complete 06:13:36 e1f770b5df2f: Pull complete 06:13:40 85a0685a4137: Pull complete 06:13:40 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 06:13:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:13:40 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 06:13:40 prd-ubuntu20.04-docker-8c-8g-63126 does not seem to be running inside a container 06:13:40 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 06:13:42 $ docker top 1dccec43adf118f2fa9c4141de6ad3dbe82a3926ccb4a48a15976f7d38b94214 -eo pid,comm [Pipeline] { [Pipeline] echo 06:13:42 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 06:13:42 + set -o pipefail 06:13:42 + snyk monitor '--org=edgex-jenkins' 06:13:47 06:13:47 Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... 06:13:47 06:13:47 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/c76919d0-7345-4304-8954-aa03851194a6/history/4e90989f-f451-4440-afee-2cdc9316fc65 06:13:47 06:13:47 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 06:13:47 06:13:47 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:13:47 06:13:47 [Pipeline] } 06:13:47 $ docker stop --time=1 1dccec43adf118f2fa9c4141de6ad3dbe82a3926ccb4a48a15976f7d38b94214 06:13:49 $ docker rm -f 1dccec43adf118f2fa9c4141de6ad3dbe82a3926ccb4a48a15976f7d38b94214 [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 06:13:50 + git log --format=format:%s -1 2a65a39039cf7664a715857da731e59ec3cb9dfd [Pipeline] sh 06:13:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:13:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 06:13:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:13:51 . [Pipeline] withDockerContainer 06:13:51 prd-ubuntu20.04-docker-8c-8g-63126 does not seem to be running inside a container 06:13:51 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 06:13:51 $ docker top 8c79a34f51a7a4068eefb951f45f58ab802befb868c8ea49130a52541b49a477 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:13:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:13:51 [ssh-agent] Looking for ssh-agent implementation... 06:13:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:13:51 $ docker exec 8c79a34f51a7a4068eefb951f45f58ab802befb868c8ea49130a52541b49a477 ssh-agent 06:13:52 SSH_AUTH_SOCK=/tmp/ssh-UZlQpAZyheJo/agent.32 06:13:52 SSH_AGENT_PID=38 06:13:52 Running ssh-add (command line suppressed) 06:13:52 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7215528016693609897.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7215528016693609897.key) 06:13:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:13:52 + git semver tag 06:13:52 2022-05-11 06:13:52,745 [run_tag] DEBUG tag force:False 06:13:52 2022-05-11 06:13:52,745 [check_head_tag] DEBUG check head tag 06:13:52 2022-05-11 06:13:52,746 [execute] INFO git cat-file --batch-check 06:13:52 2022-05-11 06:13:52,747 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 06:13:52 2022-05-11 06:13:52,750 [execute] INFO git cat-file --batch 06:13:52 2022-05-11 06:13:52,751 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 06:13:52 2022-05-11 06:13:52,763 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 06:13:52 2022-05-11 06:13:52,764 [execute] INFO git tag -a v2.2.0-dev.17 -m v2.2.0-dev.17 06:13:52 2022-05-11 06:13:52,764 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.17', '-m', 'v2.2.0-dev.17'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 06:13:52 2022-05-11 06:13:52,768 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 06:13:52 2.2.0-dev.17 [Pipeline] } 06:13:53 $ docker exec --env ******** --env ******** 8c79a34f51a7a4068eefb951f45f58ab802befb868c8ea49130a52541b49a477 ssh-agent -k 06:13:53 unset SSH_AUTH_SOCK; 06:13:53 unset SSH_AGENT_PID; 06:13:53 echo Agent pid 38 killed; 06:13:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:13:53 + git semver [Pipeline] } 06:13:53 $ docker stop --time=1 8c79a34f51a7a4068eefb951f45f58ab802befb868c8ea49130a52541b49a477 06:13:55 $ docker rm -f 8c79a34f51a7a4068eefb951f45f58ab802befb868c8ea49130a52541b49a477 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 06:13:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:13:55 06:13:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 06:13:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:13:55 0.23.1-centos7: Pulling from edgex-lftools 06:13:55 ab5ef0e58194: Pulling fs layer 06:13:55 9712f1f96733: Pulling fs layer 06:13:55 63f879dbbcfc: Pulling fs layer 06:13:55 0d9ebad4ef96: Pulling fs layer 06:13:55 e9a5061849ea: Pulling fs layer 06:13:55 d747dcd14b5f: Pulling fs layer 06:13:55 2de7ff778b66: Pulling fs layer 06:13:55 e9a5061849ea: Waiting 06:13:55 d747dcd14b5f: Waiting 06:13:55 0d9ebad4ef96: Waiting 06:13:55 2de7ff778b66: Waiting 06:13:55 9712f1f96733: Download complete 06:13:56 63f879dbbcfc: Verifying Checksum 06:13:56 63f879dbbcfc: Download complete 06:13:56 0d9ebad4ef96: Verifying Checksum 06:13:56 0d9ebad4ef96: Download complete 06:13:56 d747dcd14b5f: Download complete 06:13:56 ab5ef0e58194: Verifying Checksum 06:13:56 ab5ef0e58194: Download complete 06:13:56 e9a5061849ea: Verifying Checksum 06:13:56 e9a5061849ea: Download complete 06:13:56 2de7ff778b66: Verifying Checksum 06:13:56 2de7ff778b66: Download complete 06:13:59 ab5ef0e58194: Pull complete 06:13:59 9712f1f96733: Pull complete 06:13:59 63f879dbbcfc: Pull complete 06:14:04 0d9ebad4ef96: Pull complete 06:14:04 e9a5061849ea: Pull complete 06:14:04 d747dcd14b5f: Pull complete 06:14:05 2de7ff778b66: Pull complete 06:14:05 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:14:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:14:05 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 06:14:05 prd-ubuntu20.04-docker-8c-8g-63126 does not seem to be running inside a container 06:14:05 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 06:14:07 $ docker top abf3c7e2720f09a261fc6229ec2d9dcfd6b0b76185f7989d837a79dfb9955d81 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:14:07 provisioning config files... 06:14:07 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8158022809270817833tmp 06:14:07 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1757391841993921171tmp 06:14:07 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2607753527330365222tmp [Pipeline] { [Pipeline] echo 06:14:07 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:14:07 ---> sigul-configuration.sh 06:14:07 gpg: directory `/root/.gnupg' created 06:14:07 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:14:07 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:14:07 gpg: keyring `/root/.gnupg/secring.gpg' created 06:14:07 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:14:07 gpg: CAST5 encrypted data 06:14:07 gpg: encrypted with 1 passphrase 06:14:07 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:14:07 + mkdir /home/jenkins 06:14:07 + mkdir /home/jenkins/sigul [Pipeline] sh 06:14:08 + 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 06:14:08 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:14:08 ---> sigul-install.sh 06:14:08 Sigul already installed; skipping installation. [Pipeline] sh 06:14:08 + git tag --list 06:14:08 1.0.0 06:14:08 v0.0.0 06:14:08 v1.1.0 06:14:08 v1.1.1 06:14:08 v1.2.2 06:14:08 v1.3.0 06:14:08 v1.3.1 06:14:08 v2.0.0 06:14:08 v2.0.1-dev.1 06:14:08 v2.0.1-dev.2 06:14:08 v2.0.1-dev.3 06:14:08 v2.0.1-dev.4 06:14:08 v2.0.1-dev.5 06:14:08 v2.0.1-dev.6 06:14:08 v2.1.0 06:14:08 v2.2.0-dev.1 06:14:08 v2.2.0-dev.10 06:14:08 v2.2.0-dev.11 06:14:08 v2.2.0-dev.12 06:14:08 v2.2.0-dev.13 06:14:08 v2.2.0-dev.14 06:14:08 v2.2.0-dev.15 06:14:08 v2.2.0-dev.16 06:14:08 v2.2.0-dev.17 06:14:08 v2.2.0-dev.2 06:14:08 v2.2.0-dev.3 06:14:08 v2.2.0-dev.4 06:14:08 v2.2.0-dev.5 06:14:08 v2.2.0-dev.6 06:14:08 v2.2.0-dev.7 06:14:08 v2.2.0-dev.8 06:14:08 v2.2.0-dev.9 [Pipeline] sh 06:14:09 + lftools sign git-tag v2.2.0-dev.17 06:14:09 Signing Git tag with Sigul... 06:14:09 Signing v2.2.0-dev.17 [Pipeline] echo 06:14:09 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:14:10 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:14:10 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:14:10 $ docker stop --time=1 abf3c7e2720f09a261fc6229ec2d9dcfd6b0b76185f7989d837a79dfb9955d81 06:14:11 $ docker rm -f abf3c7e2720f09a261fc6229ec2d9dcfd6b0b76185f7989d837a79dfb9955d81 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:14:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:14:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 06:14:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:14:12 . [Pipeline] withDockerContainer 06:14:12 prd-ubuntu20.04-docker-8c-8g-63126 does not seem to be running inside a container 06:14:12 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 06:14:12 $ docker top 6e04b73c4ed3edeedf5af05a001e4aec7c1d62324789d915e5b8d723a4660ac0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:14:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:14:12 [ssh-agent] Looking for ssh-agent implementation... 06:14:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:14:13 $ docker exec 6e04b73c4ed3edeedf5af05a001e4aec7c1d62324789d915e5b8d723a4660ac0 ssh-agent 06:14:13 SSH_AUTH_SOCK=/tmp/ssh-m1I9zCtKidwB/agent.33 06:14:13 SSH_AGENT_PID=39 06:14:13 Running ssh-add (command line suppressed) 06:14:13 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2267095946463583142.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2267095946463583142.key) 06:14:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:14:13 + git semver bump pre 06:14:13 2022-05-11 06:14:13,815 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 06:14:13 2022-05-11 06:14:13,815 [bump_version] DEBUG bumping version:2.2.0-dev.17 on axis:pre with prefix:dev 06:14:13 2022-05-11 06:14:13,815 [bump_version] DEBUG bumped version:2.2.0-dev.18 06:14:13 2022-05-11 06:14:13,815 [write_version] DEBUG write version:2.2.0-dev.18 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True 06:14:13 2022-05-11 06:14:13,815 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 06:14:13 2022-05-11 06:14:13,815 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 06:14:13 2022-05-11 06:14:13,817 [execute] INFO git cat-file --batch-check 06:14:13 2022-05-11 06:14:13,817 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:14:13 2022-05-11 06:14:13,823 [execute] INFO git cat-file --batch 06:14:13 2022-05-11 06:14:13,824 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:14:13 2022-05-11 06:14:13,830 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 06:14:13 2.2.0-dev.18 [Pipeline] } 06:14:13 $ docker exec --env ******** --env ******** 6e04b73c4ed3edeedf5af05a001e4aec7c1d62324789d915e5b8d723a4660ac0 ssh-agent -k 06:14:13 unset SSH_AUTH_SOCK; 06:14:13 unset SSH_AGENT_PID; 06:14:13 echo Agent pid 39 killed; 06:14:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:14:14 + git semver [Pipeline] } 06:14:14 $ docker stop --time=1 6e04b73c4ed3edeedf5af05a001e4aec7c1d62324789d915e5b8d723a4660ac0 06:14:15 $ docker rm -f 6e04b73c4ed3edeedf5af05a001e4aec7c1d62324789d915e5b8d723a4660ac0 [Pipeline] // withDockerContainer [Pipeline] sh 06:14:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:14:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 06:14:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:14:16 . [Pipeline] withDockerContainer 06:14:16 prd-ubuntu20.04-docker-8c-8g-63126 does not seem to be running inside a container 06:14:16 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 06:14:17 $ docker top 10c77a72117f5de85c9e8a7f0b297bc4394762aebe77833e9182292086b8524b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:14:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:14:17 [ssh-agent] Looking for ssh-agent implementation... 06:14:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:14:17 $ docker exec 10c77a72117f5de85c9e8a7f0b297bc4394762aebe77833e9182292086b8524b ssh-agent 06:14:17 SSH_AUTH_SOCK=/tmp/ssh-9RMBRsUAezT8/agent.32 06:14:17 SSH_AGENT_PID=38 06:14:17 Running ssh-add (command line suppressed) 06:14:17 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6966556253938794102.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6966556253938794102.key) 06:14:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:14:17 + git semver push 06:14:18 2022-05-11 06:14:18,134 [run_push] DEBUG push 06:14:18 2022-05-11 06:14:18,135 [execute] INFO git push origin semver 06:14:18 2022-05-11 06:14:18,135 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:14:19 2022-05-11 06:14:18,961 [run_push] DEBUG push all version tags 06:14:19 2022-05-11 06:14:18,961 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 06:14:19 2022-05-11 06:14:18,962 [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) 06:14:19 2022-05-11 06:14:19,688 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 06:14:19 2.2.0-dev.18 [Pipeline] } 06:14:19 $ docker exec --env ******** --env ******** 10c77a72117f5de85c9e8a7f0b297bc4394762aebe77833e9182292086b8524b ssh-agent -k 06:14:20 unset SSH_AUTH_SOCK; 06:14:20 unset SSH_AGENT_PID; 06:14:20 echo Agent pid 38 killed; 06:14:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:14:20 + git semver [Pipeline] } 06:14:20 $ docker stop --time=1 10c77a72117f5de85c9e8a7f0b297bc4394762aebe77833e9182292086b8524b 06:14:21 $ docker rm -f 10c77a72117f5de85c9e8a7f0b297bc4394762aebe77833e9182292086b8524b [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 06:14:22 + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] 06:14:22 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 06:14:22 total 16 06:14:22 drwxr-xr-x 3 root root 4096 May 11 06:05 . 06:14:22 drwxrwxr-x 10 jenkins jenkins 4096 May 11 06:14 .. 06:14:22 drwxr-xr-x 2 root root 4096 May 11 06:05 cost 06:14:22 -rw-r--r-- 1 root root 84 May 11 06:05 cost.csv 06:14:22 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives 06:14:22 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 06:14:22 total 16 06:14:22 drwxr-xr-x 3 jenkins jenkins 4096 May 11 06:05 . 06:14:22 drwxrwxr-x 10 jenkins jenkins 4096 May 11 06:14 .. 06:14:22 drwxr-xr-x 2 jenkins jenkins 4096 May 11 06:05 cost 06:14:22 -rw-r--r-- 1 jenkins jenkins 84 May 11 06:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:14:23 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:14:23 ---> package-listing.sh 06:14:23 ++ facter osfamily 06:14:23 ++ tr '[:upper:]' '[:lower:]' 06:14:24 + OS_FAMILY=debian 06:14:24 + workspace=/w/workspace/edgexfoundry_device-snmp-go_main 06:14:24 + START_PACKAGES=/tmp/packages_start.txt 06:14:24 + END_PACKAGES=/tmp/packages_end.txt 06:14:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:14:24 + PACKAGES=/tmp/packages_start.txt 06:14:24 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 06:14:24 + PACKAGES=/tmp/packages_end.txt 06:14:24 + case "${OS_FAMILY}" in 06:14:24 + dpkg -l 06:14:24 + grep '^ii' 06:14:24 + '[' -f /tmp/packages_start.txt ']' 06:14:24 + '[' -f /tmp/packages_end.txt ']' 06:14:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:14:24 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 06:14:24 + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ 06:14:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo 06:14:24 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 06:14:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:14:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:14:25 . [Pipeline] withDockerContainer 06:14:25 prd-ubuntu20.04-docker-8c-8g-63126 does not seem to be running inside a container 06:14:25 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:14:25 $ docker top a3420abb113504641eddee5edfe1c99774f94c9e44645ac1f5ecba0b196c326a -eo pid,comm [Pipeline] { [Pipeline] sh 06:14:25 + touch /tmp/pre-build-complete [Pipeline] sh 06:14:26 + mkdir -p /var/log/sysstat [Pipeline] sh 06:14:26 + ls /var/log/sa-host 06:14:26 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:14:26 provisioning config files... 06:14:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1764802333025362599tmp [Pipeline] { [Pipeline] echo 06:14:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:14:26 ---> create-netrc.sh [Pipeline] } 06:14:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:14:27 ---> python-tools-install.sh [Pipeline] echo 06:14:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:14:27 ---> sudo-logs.sh 06:14:27 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:14:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:14:27 ---> job-cost.sh 06:14:27 lf-activate-venv: SKIPPING 06:14:27 DEBUG: total: 0.2199999988079071 06:14:27 INFO: Retrieving Stack Cost... 06:14:28 INFO: Retrieving Pricing Info for: v3-standard-8 06:14:28 INFO: Archiving Costs [Pipeline] echo 06:14:28 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:14:29 ---> logs-deploy.sh 06:14:29 lf-activate-venv: SKIPPING 06:14:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/27 06:14:29 INFO: archiving workspace using pattern(s): 06:14:30 Archives upload complete. 06:14:30 INFO: archiving logs to Nexus