Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9505b3b9fb87609b3cd85be587e030c33719d431 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-ssh7104940293800248115.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-ssh3284256360634533090.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-ssh12975524191901813327.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-ssh7345896951693629704.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-ssh11344550559506580491.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-64486 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 9505b3b9fb87609b3cd85be587e030c33719d431 (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 9505b3b9fb87609b3cd85be587e030c33719d431 # timeout=10 Commit message: "fix: Correctly set the versions for the service and sdk when building the binary (#173)" > git rev-list --no-walk 7a984207ad216ad191b3ac0372c82a64ff54e9ba # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:30:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:30:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:30:12 ========================================================= 15:30:12 EdgeX Global Pipelines Version Info 15:30:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:30:13 ------------------- 15:30:13 stable info: 15:30:13 ------------------- 15:30:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:30:13 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 15:30:13 Message: update stable to v1.0.230 15:30:13 ------------------- 15:30:13 experimental info: 15:30:13 ------------------- 15:30:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:30:13 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 15:30:13 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:30:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 15:30:13 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 15:30:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:30:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:30:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:30:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 15:30:13 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:30:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:30:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:30:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:30:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:30:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 15:30:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:30:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:30:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:30:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:30:14 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:30:14 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:30:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:30:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:30:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:30:14 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:30:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:30:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:30:14 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:30:14 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:30:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:30:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:30:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:30:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9505b3b9fb87609b3cd85be587e030c33719d431 [Pipeline] echo 15:30:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9505b3b [Pipeline] echo 15:30:14 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:30:14 provisioning config files... 15:30:14 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2854080595491134585tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:30:14 ---> docker-login.sh 15:30:14 nexus3.edgexfoundry.org:10001 15:30:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:30:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:30:14 Configure a credential helper to remove this warning. See 15:30:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:30:14 15:30:14 Login Succeeded 15:30:14 nexus3.edgexfoundry.org:10002 15:30:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:30:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:30:15 Configure a credential helper to remove this warning. See 15:30:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:30:15 15:30:15 Login Succeeded 15:30:15 nexus3.edgexfoundry.org:10003 15:30:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:30:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:30:15 Configure a credential helper to remove this warning. See 15:30:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:30:15 15:30:15 Login Succeeded 15:30:15 nexus3.edgexfoundry.org:10004 15:30:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:30:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:30:15 Configure a credential helper to remove this warning. See 15:30:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:30:15 15:30:15 Login Succeeded 15:30:15 docker.io 15:30:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:30:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:30:15 Configure a credential helper to remove this warning. See 15:30:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:30:15 15:30:15 Login Succeeded 15:30:15 ---> docker-login.sh ends [Pipeline] } 15:30:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:30:16 + git rev-list -1 --merges 9505b3b9fb87609b3cd85be587e030c33719d431~1..9505b3b9fb87609b3cd85be587e030c33719d431 [Pipeline] echo 15:30:16 -----------> git rev-list -1 --merges 9505b3b9fb87609b3cd85be587e030c33719d431~1..9505b3b9fb87609b3cd85be587e030c33719d431 9505b3b9fb87609b3cd85be587e030c33719d431 [false] [Pipeline] sh 15:30:16 + git log --format=format:%s -1 9505b3b9fb87609b3cd85be587e030c33719d431 [Pipeline] echo 15:30:16 ========================================================= 15:30:16 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:30:16 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:30:16 + git log --format=format:%s -1 9505b3b9fb87609b3cd85be587e030c33719d431 [Pipeline] echo 15:30:16 [semverPrep] GIT_COMMIT: 9505b3b9fb87609b3cd85be587e030c33719d431, Commit Message: fix: Correctly set the versions for the service and sdk when building the binary (#173) [Pipeline] echo 15:30:16 [semverPrep] This is not a build commit. [Pipeline] sh 15:30:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:30:17 + grep -v github /etc/ssh/ssh_known_hosts 15:30:17 + [ -e /tmp/ssh_known_hosts ] 15:30:17 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:30:17 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:30:17 + sudo tee -a /etc/ssh/ssh_known_hosts 15:30:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:30:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:30:17 15:30:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:30:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:30:17 latest: Pulling from edgex-devops/py-git-semver 15:30:17 1fe172e4850f: Pulling fs layer 15:30:17 caf521ccaac6: Pulling fs layer 15:30:17 3ead6fa29328: Pulling fs layer 15:30:17 5c2a1cbceb83: Pulling fs layer 15:30:17 a8d5f1318db7: Pulling fs layer 15:30:17 c427282e49a2: Pulling fs layer 15:30:17 1827001aaf11: Pulling fs layer 15:30:17 0714d37db230: Pulling fs layer 15:30:17 ac28cf19c067: Pulling fs layer 15:30:17 ca983d60f3e2: Pulling fs layer 15:30:17 9f894cec8388: Pulling fs layer 15:30:17 1827001aaf11: Waiting 15:30:17 0714d37db230: Waiting 15:30:17 ac28cf19c067: Waiting 15:30:17 ca983d60f3e2: Waiting 15:30:17 5c2a1cbceb83: Waiting 15:30:17 c427282e49a2: Waiting 15:30:17 caf521ccaac6: Verifying Checksum 15:30:17 caf521ccaac6: Download complete 15:30:17 5c2a1cbceb83: Verifying Checksum 15:30:17 5c2a1cbceb83: Download complete 15:30:17 a8d5f1318db7: Verifying Checksum 15:30:17 a8d5f1318db7: Download complete 15:30:17 3ead6fa29328: Verifying Checksum 15:30:17 3ead6fa29328: Download complete 15:30:18 c427282e49a2: Verifying Checksum 15:30:18 c427282e49a2: Download complete 15:30:18 0714d37db230: Download complete 15:30:18 ac28cf19c067: Download complete 15:30:18 ca983d60f3e2: Verifying Checksum 15:30:18 ca983d60f3e2: Download complete 15:30:18 9f894cec8388: Verifying Checksum 15:30:18 9f894cec8388: Download complete 15:30:18 1fe172e4850f: Download complete 15:30:18 1827001aaf11: Verifying Checksum 15:30:18 1827001aaf11: Download complete 15:30:19 1fe172e4850f: Pull complete 15:30:19 caf521ccaac6: Pull complete 15:30:20 3ead6fa29328: Pull complete 15:30:20 5c2a1cbceb83: Pull complete 15:30:20 a8d5f1318db7: Pull complete 15:30:20 c427282e49a2: Pull complete 15:30:22 1827001aaf11: Pull complete 15:30:22 0714d37db230: Pull complete 15:30:22 ac28cf19c067: Pull complete 15:30:22 ca983d60f3e2: Pull complete 15:30:22 9f894cec8388: Pull complete 15:30:22 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 15:30:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:30:22 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 15:30:22 prd-ubuntu20.04-docker-8c-8g-64486 does not seem to be running inside a container 15:30:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 15:30:24 $ docker top c22ac55d00260a36f25e858ec6c945beb6b23fae8a6e5fd7011e2fa43c5fe42b -eo pid,comm 15:30:24 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). 15:30:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:30:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:30:24 [ssh-agent] Looking for ssh-agent implementation... 15:30:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:30:24 $ docker exec c22ac55d00260a36f25e858ec6c945beb6b23fae8a6e5fd7011e2fa43c5fe42b ssh-agent 15:30:24 SSH_AUTH_SOCK=/tmp/ssh-aeqi4r0U8e53/agent.33 15:30:24 SSH_AGENT_PID=39 15:30:24 Running ssh-add (command line suppressed) 15:30:24 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8311130973807958571.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8311130973807958571.key) 15:30:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:30:25 + git tag --points-at HEAD [Pipeline] } 15:30:25 $ docker exec --env ******** --env ******** c22ac55d00260a36f25e858ec6c945beb6b23fae8a6e5fd7011e2fa43c5fe42b ssh-agent -k 15:30:25 unset SSH_AUTH_SOCK; 15:30:25 unset SSH_AGENT_PID; 15:30:25 echo Agent pid 39 killed; 15:30:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:30:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:30:25 [ssh-agent] Looking for ssh-agent implementation... 15:30:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:30:25 $ docker exec c22ac55d00260a36f25e858ec6c945beb6b23fae8a6e5fd7011e2fa43c5fe42b ssh-agent 15:30:25 SSH_AUTH_SOCK=/tmp/ssh-bycDz5uZQod8/agent.73 15:30:25 SSH_AGENT_PID=79 15:30:25 Running ssh-add (command line suppressed) 15:30:25 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_9075013759327578407.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_9075013759327578407.key) 15:30:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:30:26 + git semver init 15:30:26 2022-05-24 15:30:26,279 [run_init] DEBUG init version:0.0.0 force:False 15:30:26 2022-05-24 15:30:26,280 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver 15:30:26 2022-05-24 15:30:26,281 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver 15:30:26 2022-05-24 15:30:26,281 [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) 15:30:27 2022-05-24 15:30:26,996 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude 15:30:27 2022-05-24 15:30:26,997 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False 15:30:27 2022-05-24 15:30:26,997 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 15:30:27 2022-05-24 15:30:26,997 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 15:30:27 2.2.1-dev.1 [Pipeline] } 15:30:27 $ docker exec --env ******** --env ******** c22ac55d00260a36f25e858ec6c945beb6b23fae8a6e5fd7011e2fa43c5fe42b ssh-agent -k 15:30:27 unset SSH_AUTH_SOCK; 15:30:27 unset SSH_AGENT_PID; 15:30:27 echo Agent pid 79 killed; 15:30:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:30:27 + git semver [Pipeline] } 15:30:27 $ docker stop --time=1 c22ac55d00260a36f25e858ec6c945beb6b23fae8a6e5fd7011e2fa43c5fe42b 15:30:29 $ docker rm -f c22ac55d00260a36f25e858ec6c945beb6b23fae8a6e5fd7011e2fa43c5fe42b [Pipeline] // withDockerContainer [Pipeline] sh 15:30:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:30:29 Stashed 1 file(s) [Pipeline] echo 15:30:29 [edgeXSemver]: initialized semver on version 2.2.1-dev.1 [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 15:30:29 provisioning config files... 15:30:29 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config6242687322867678515tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:30:30 ---> docker-login.sh 15:30:30 nexus3.edgexfoundry.org:10001 15:30:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:30:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:30:30 Configure a credential helper to remove this warning. See 15:30:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:30:30 15:30:30 Login Succeeded 15:30:30 nexus3.edgexfoundry.org:10002 15:30:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:30:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:30:30 Configure a credential helper to remove this warning. See 15:30:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:30:30 15:30:30 Login Succeeded 15:30:30 nexus3.edgexfoundry.org:10003 15:30:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:30:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:30:30 Configure a credential helper to remove this warning. See 15:30:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:30:30 15:30:30 Login Succeeded 15:30:30 nexus3.edgexfoundry.org:10004 15:30:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:30:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:30:30 Configure a credential helper to remove this warning. See 15:30:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:30:30 15:30:30 Login Succeeded 15:30:30 docker.io 15:30:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:30:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:30:30 Configure a credential helper to remove this warning. See 15:30:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:30:30 15:30:30 Login Succeeded 15:30:30 ---> docker-login.sh ends [Pipeline] } 15:30:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:30:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:30:31 ========================================================= 15:30:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 15:30:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:30:31 + 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 . 15:30:31 Sending build context to Docker daemon 5.356MB 15:30:31 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 15:30:31 Step 2/12 : FROM ${BASE} AS builder 15:30:31 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 15:30:31 59bf1c3509f3: Pulling fs layer 15:30:31 666ba61612fd: Pulling fs layer 15:30:31 8ed8ca486205: Pulling fs layer 15:30:31 4fe6c5a15a65: Pulling fs layer 15:30:31 22a0e8bec74d: Pulling fs layer 15:30:31 ca2b28591e48: Pulling fs layer 15:30:31 a51346096db8: Pulling fs layer 15:30:31 daebc70d1ce1: Pulling fs layer 15:30:31 0e18a0eac166: Pulling fs layer 15:30:31 4fe6c5a15a65: Waiting 15:30:31 22a0e8bec74d: Waiting 15:30:31 ca2b28591e48: Waiting 15:30:31 a51346096db8: Waiting 15:30:31 daebc70d1ce1: Waiting 15:30:31 0e18a0eac166: Waiting 15:30:31 8ed8ca486205: Verifying Checksum 15:30:31 8ed8ca486205: Download complete 15:30:31 666ba61612fd: Verifying Checksum 15:30:31 666ba61612fd: Download complete 15:30:31 22a0e8bec74d: Download complete 15:30:31 ca2b28591e48: Verifying Checksum 15:30:31 ca2b28591e48: Download complete 15:30:31 a51346096db8: Verifying Checksum 15:30:31 a51346096db8: Download complete 15:30:31 59bf1c3509f3: Verifying Checksum 15:30:31 59bf1c3509f3: Download complete 15:30:31 daebc70d1ce1: Verifying Checksum 15:30:31 daebc70d1ce1: Download complete 15:30:31 59bf1c3509f3: Pull complete 15:30:31 666ba61612fd: Pull complete 15:30:31 8ed8ca486205: Pull complete 15:30:32 0e18a0eac166: Verifying Checksum 15:30:32 0e18a0eac166: Download complete 15:30:32 4fe6c5a15a65: Verifying Checksum 15:30:32 4fe6c5a15a65: Download complete 15:30:36 4fe6c5a15a65: Pull complete 15:30:36 22a0e8bec74d: Pull complete 15:30:36 ca2b28591e48: Pull complete 15:30:36 a51346096db8: Pull complete 15:30:36 daebc70d1ce1: Pull complete 15:30:38 0e18a0eac166: Pull complete 15:30:38 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 15:30:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 15:30:38 ---> f018257e8ee9 15:30:38 Step 3/12 : ARG MAKE='make build' 15:30:40 ---> Running in 88591c83726d 15:30:40 Removing intermediate container 88591c83726d 15:30:40 ---> 3d4b8457b5b6 15:30:40 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:30:40 ---> Running in 530cf3682d8a 15:30:40 Removing intermediate container 530cf3682d8a 15:30:40 ---> 7b9522ec7024 15:30:40 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 15:30:40 ---> Running in 3ee0a0783b57 15:30:40 Removing intermediate container 3ee0a0783b57 15:30:40 ---> e2530259bd16 15:30:40 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:30:40 ---> Running in 214bd9d6c697 15:30:40 Removing intermediate container 214bd9d6c697 15:30:40 ---> 8f0768c47d76 15:30:40 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:30:40 ---> Running in 9fbda180d015 15:30:41 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:30:42 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:30:42 (1/4) Installing openssh-keygen (8.8_p1-r1) 15:30:42 (2/4) Installing libedit (20210910.3.1-r0) 15:30:42 (3/4) Installing openssh-client-common (8.8_p1-r1) 15:30:42 (4/4) Installing openssh-client-default (8.8_p1-r1) 15:30:42 Executing busybox-1.34.1-r3.trigger 15:30:42 OK: 224 MiB in 56 packages 15:30:43 Removing intermediate container 9fbda180d015 15:30:43 ---> f417087c88fd 15:30:43 Step 8/12 : WORKDIR /device-snmp-go 15:30:43 ---> Running in 91243ad79a2e 15:30:43 Removing intermediate container 91243ad79a2e 15:30:43 ---> 2c841ccc0f53 15:30:43 Step 9/12 : COPY go.mod vendor* ./ 15:30:43 ---> 5b8bb4c96672 15:30:43 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:30:43 ---> Running in ba03cf52705a 15:30:44 Still waiting to schedule task 15:30:44 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 15:30:58 Removing intermediate container ba03cf52705a 15:30:58 ---> 3a71952f23c2 15:30:58 Step 11/12 : COPY . . 15:30:58 ---> 1866fce5cf53 15:30:58 Step 12/12 : RUN ${MAKE} 15:30:58 ---> Running in c98cb2986832 15:30:58 noop 15:30:58 Removing intermediate container c98cb2986832 15:30:58 ---> f925b74b392b 15:30:58 Successfully built f925b74b392b 15:30:58 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 15:30:58 + docker inspect -f . ci-base-image-x86_64 15:30:58 . [Pipeline] withDockerContainer 15:30:58 prd-ubuntu20.04-docker-8c-8g-64486 does not seem to be running inside a container 15:30:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:30:59 $ docker top 4298c0810e79b45e4aa4a4016d8f82758b3a99f1e34ef3c319c2f4477e70f5da -eo pid,comm [Pipeline] { [Pipeline] sh 15:30:59 + go version 15:30:59 go version go1.17.6 linux/amd64 [Pipeline] } 15:30:59 $ docker stop --time=1 4298c0810e79b45e4aa4a4016d8f82758b3a99f1e34ef3c319c2f4477e70f5da 15:31:01 $ docker rm -f 4298c0810e79b45e4aa4a4016d8f82758b3a99f1e34ef3c319c2f4477e70f5da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:31:01 + docker inspect -f . ci-base-image-x86_64 15:31:01 . [Pipeline] withDockerContainer 15:31:01 prd-ubuntu20.04-docker-8c-8g-64486 does not seem to be running inside a container 15:31:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:31:02 $ docker top 4ff0e1e0c3326dfa00e8a301023076850f18dc544dd07f7b3811365c3945181c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:31:02 + make test 15:31:02 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 15:31:02 ? github.com/edgexfoundry/device-snmp-go [no test files] 15:31:12 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 15:31:12 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.008s coverage: 0.0% of statements 15:31:19 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:31:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:31:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:31:22 ./bin/test-attribution-txt.sh [Pipeline] echo 15:31:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:31:22 $ docker stop --time=1 4ff0e1e0c3326dfa00e8a301023076850f18dc544dd07f7b3811365c3945181c 15:31:24 $ docker rm -f 4ff0e1e0c3326dfa00e8a301023076850f18dc544dd07f7b3811365c3945181c [Pipeline] // withDockerContainer [Pipeline] sh 15:31:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:31:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:31:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:31:26 + ls -al . 15:31:26 total 168 15:31:26 drwxrwxr-x 9 jenkins jenkins 4096 May 24 15:31 . 15:31:26 drwxrwxr-x 4 jenkins jenkins 4096 May 24 15:30 .. 15:31:26 -rw-rw-r-- 1 jenkins jenkins 6 May 24 15:30 .dockerignore 15:31:26 drwxrwxr-x 8 jenkins jenkins 4096 May 24 15:30 .git 15:31:26 drwxrwxr-x 3 jenkins jenkins 4096 May 24 15:30 .github 15:31:26 -rw-rw-r-- 1 jenkins jenkins 328 May 24 15:30 .gitignore 15:31:26 -rw-rw-r-- 1 jenkins jenkins 41 May 24 15:30 .golangci.yml 15:31:26 drwxr-xr-x 3 jenkins jenkins 4096 May 24 15:30 .semver 15:31:26 -rw-rw-r-- 1 jenkins jenkins 8296 May 24 15:30 Attribution.txt 15:31:26 -rw-rw-r-- 1 jenkins jenkins 6948 May 24 15:30 CHANGELOG.md 15:31:26 -rw-rw-r-- 1 jenkins jenkins 1516 May 24 15:30 Dockerfile 15:31:26 -rw-rw-r-- 1 jenkins jenkins 677 May 24 15:30 GOVERNANCE.md 15:31:26 -rw-rw-r-- 1 jenkins jenkins 656 May 24 15:30 Jenkinsfile 15:31:26 -rw-rw-r-- 1 jenkins jenkins 11340 May 24 15:30 LICENSE 15:31:26 -rw-rw-r-- 1 jenkins jenkins 2334 May 24 15:30 Makefile 15:31:26 -rw-rw-r-- 1 jenkins jenkins 620 May 24 15:30 OWNERS.md 15:31:26 -rw-rw-r-- 1 jenkins jenkins 9390 May 24 15:30 README.md 15:31:26 -rw-rw-r-- 1 jenkins jenkins 11 May 24 15:30 VERSION 15:31:26 drwxrwxr-x 2 jenkins jenkins 4096 May 24 15:30 bin 15:31:26 drwxrwxr-x 3 jenkins jenkins 4096 May 24 15:30 cmd 15:31:26 -rw-r--r-- 1 jenkins jenkins 7631 May 24 15:31 coverage.out 15:31:26 -rw-rw-r-- 1 jenkins jenkins 3250 May 24 15:30 go.mod 15:31:26 -rw-rw-r-- 1 jenkins jenkins 35701 May 24 15:30 go.sum 15:31:26 drwxrwxr-x 3 jenkins jenkins 4096 May 24 15:30 internal 15:31:26 drwxrwxr-x 3 jenkins jenkins 4096 May 24 15:30 snap 15:31:26 -rw-rw-r-- 1 jenkins jenkins 228 May 24 15:30 version.go [Pipeline] isUnix [Pipeline] sh 15:31:26 + 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=9505b3b9fb87609b3cd85be587e030c33719d431 --label arch=amd64 --label version=2.2.1-dev.1 . 15:31:26 Sending build context to Docker daemon 5.364MB 15:31:26 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 15:31:26 Step 2/24 : FROM ${BASE} AS builder 15:31:26 ---> f925b74b392b 15:31:26 Step 3/24 : ARG MAKE='make build' 15:31:26 ---> Running in 4ed52745e9f9 15:31:26 Removing intermediate container 4ed52745e9f9 15:31:26 ---> d94a437e48e9 15:31:26 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:31:26 ---> Running in f9e229470c90 15:31:26 Removing intermediate container f9e229470c90 15:31:26 ---> 55d4113e2edf 15:31:26 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 15:31:26 ---> Running in 820063e4f19e 15:31:26 Removing intermediate container 820063e4f19e 15:31:26 ---> 8f02a4b95364 15:31:26 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:31:26 ---> Running in fa12d9cd5f11 15:31:27 Removing intermediate container fa12d9cd5f11 15:31:27 ---> c64ba4d36e12 15:31:27 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:31:27 ---> Running in 4e1406e44e90 15:31:27 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:31:28 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:31:29 OK: 224 MiB in 56 packages 15:31:29 Removing intermediate container 4e1406e44e90 15:31:29 ---> 38b6c65c8d95 15:31:29 Step 8/24 : WORKDIR /device-snmp-go 15:31:29 ---> Running in 0bd0ffcc4356 15:31:29 Removing intermediate container 0bd0ffcc4356 15:31:29 ---> 6dfb6e40fcae 15:31:29 Step 9/24 : COPY go.mod vendor* ./ 15:31:29 ---> a5219053b5a1 15:31:29 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:31:29 ---> Running in de6d90ddac93 15:31:30 Removing intermediate container de6d90ddac93 15:31:30 ---> 145c2bdd0fac 15:31:30 Step 11/24 : COPY . . 15:31:30 ---> 3f21d73889ac 15:31:30 Step 12/24 : RUN ${MAKE} 15:31:30 ---> Running in 964d02bb3ee5 15:31:30 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0 -X github.com/edgexfoundry/device-snmp-go.Version=2.2.1-dev.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 15:31:52 Removing intermediate container 964d02bb3ee5 15:31:52 ---> e6565ed9c5ad 15:31:52 Step 13/24 : FROM alpine:3.14 15:31:52 3.14: Pulling from library/alpine 15:31:52 8663204ce13b: Pulling fs layer 15:31:52 8663204ce13b: Verifying Checksum 15:31:52 8663204ce13b: Download complete 15:31:52 8663204ce13b: Pull complete 15:31:52 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 15:31:52 Status: Downloaded newer image for alpine:3.14 15:31:52 ---> e04c818066af 15:31:52 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 15:31:52 ---> Running in d17b13909e01 15:31:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 15:31:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 15:31:52 (1/6) Installing dumb-init (1.2.5-r1) 15:31:52 (2/6) Installing libgcc (10.3.1_git20210424-r2) 15:31:52 (3/6) Installing libsodium (1.0.18-r0) 15:31:52 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 15:31:52 (5/6) Installing libzmq (4.3.4-r0) 15:31:52 (6/6) Installing zeromq (4.3.4-r0) 15:31:52 Executing busybox-1.33.1-r7.trigger 15:31:52 OK: 8 MiB in 20 packages 15:31:52 Removing intermediate container d17b13909e01 15:31:52 ---> ba6a73c72728 15:31:52 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 15:31:52 ---> 733486b0f3d9 15:31:52 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 15:31:53 ---> a504c1603d78 15:31:53 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 15:31:53 ---> 78dc51507685 15:31:53 Step 18/24 : EXPOSE 59993 15:31:53 ---> Running in 642b70152b6b 15:31:53 Removing intermediate container 642b70152b6b 15:31:53 ---> 438165709eec 15:31:53 Step 19/24 : EXPOSE 161 15:31:53 ---> Running in 1bda754d143d 15:31:53 Removing intermediate container 1bda754d143d 15:31:53 ---> b45412c91829 15:31:53 Step 20/24 : ENTRYPOINT ["/device-snmp"] 15:31:53 ---> Running in d010cd4bfeea 15:31:53 Removing intermediate container d010cd4bfeea 15:31:53 ---> 845e9788868e 15:31:53 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 15:31:53 ---> Running in 57d26653f393 15:31:53 Removing intermediate container 57d26653f393 15:31:53 ---> 8a8ff2e50d86 15:31:53 Step 22/24 : LABEL arch=amd64 15:31:53 ---> Running in 06e7516926e7 15:31:53 Removing intermediate container 06e7516926e7 15:31:53 ---> ae814a989a1b 15:31:53 Step 23/24 : LABEL git_sha=9505b3b9fb87609b3cd85be587e030c33719d431 15:31:53 ---> Running in 1b2e7a2f9c77 15:31:54 Removing intermediate container 1b2e7a2f9c77 15:31:54 ---> bb0c09445a25 15:31:54 Step 24/24 : LABEL version=2.2.1-dev.1 15:31:54 ---> Running in 29d776a3fd57 15:31:54 Removing intermediate container 29d776a3fd57 15:31:54 ---> e6b7471996bb 15:31:54 [Warning] One or more build-args [ARCH] were not consumed 15:31:54 Successfully built e6b7471996bb 15:31:54 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:31:54 provisioning config files... 15:31:54 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3484388600447053040tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:31:54 ---> docker-login.sh 15:31:54 nexus3.edgexfoundry.org:10001 15:31:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:31:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:31:54 Configure a credential helper to remove this warning. See 15:31:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:31:54 15:31:54 Login Succeeded 15:31:54 nexus3.edgexfoundry.org:10002 15:31:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:31:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:31:54 Configure a credential helper to remove this warning. See 15:31:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:31:54 15:31:54 Login Succeeded 15:31:54 nexus3.edgexfoundry.org:10003 15:31:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:31:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:31:54 Configure a credential helper to remove this warning. See 15:31:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:31:54 15:31:54 Login Succeeded 15:31:54 nexus3.edgexfoundry.org:10004 15:31:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:31:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:31:55 Configure a credential helper to remove this warning. See 15:31:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:31:55 15:31:55 Login Succeeded 15:31:55 docker.io 15:31:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:31:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:31:55 Configure a credential helper to remove this warning. See 15:31:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:31:55 15:31:55 Login Succeeded 15:31:55 ---> docker-login.sh ends [Pipeline] } 15:31:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:31:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:31:55 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 15:31:55 9505b3b9fb87609b3cd85be587e030c33719d431 15:31:55 latest 15:31:55 2.2.1-dev.1 15:31:55 9505b3b9fb87609b3cd85be587e030c33719d431-2.2.1-dev.1 15:31:55 main 15:31:55 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:31:55 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:9505b3b9fb87609b3cd85be587e030c33719d431 [Pipeline] isUnix [Pipeline] sh 15:31:55 + docker push nexus3.edgexfoundry.org:10004/device-snmp:9505b3b9fb87609b3cd85be587e030c33719d431 15:31:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 15:31:55 1c536eea36e2: Preparing 15:31:55 56dc71ecbc2d: Preparing 15:31:55 baf96907b884: Preparing 15:31:55 cdf5ba17a470: Preparing 15:31:55 b541d28bf3b4: Preparing 15:31:55 b541d28bf3b4: Layer already exists 15:31:55 56dc71ecbc2d: Pushed 15:31:55 1c536eea36e2: Pushed 15:31:56 cdf5ba17a470: Pushed 15:31:58 baf96907b884: Pushed 15:31:58 9505b3b9fb87609b3cd85be587e030c33719d431: digest: sha256:692fab67932e4c88c50595b94f0c73a5765554b37153e6c19520d604f274a4a8 size: 1367 [Pipeline] isUnix [Pipeline] sh 15:31:59 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] isUnix [Pipeline] sh 15:31:59 + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest 15:31:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 15:31:59 1c536eea36e2: Preparing 15:31:59 56dc71ecbc2d: Preparing 15:31:59 baf96907b884: Preparing 15:31:59 cdf5ba17a470: Preparing 15:31:59 b541d28bf3b4: Preparing 15:31:59 56dc71ecbc2d: Layer already exists 15:31:59 1c536eea36e2: Layer already exists 15:31:59 b541d28bf3b4: Layer already exists 15:31:59 cdf5ba17a470: Layer already exists 15:31:59 baf96907b884: Layer already exists 15:31:59 latest: digest: sha256:692fab67932e4c88c50595b94f0c73a5765554b37153e6c19520d604f274a4a8 size: 1367 [Pipeline] isUnix [Pipeline] sh 15:31:59 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.2.1-dev.1 [Pipeline] isUnix [Pipeline] sh 15:31:59 + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.2.1-dev.1 15:31:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 15:31:59 1c536eea36e2: Preparing 15:31:59 56dc71ecbc2d: Preparing 15:31:59 baf96907b884: Preparing 15:31:59 cdf5ba17a470: Preparing 15:31:59 b541d28bf3b4: Preparing 15:31:59 baf96907b884: Layer already exists 15:31:59 cdf5ba17a470: Layer already exists 15:31:59 1c536eea36e2: Layer already exists 15:31:59 b541d28bf3b4: Layer already exists 15:31:59 56dc71ecbc2d: Layer already exists 15:31:59 2.2.1-dev.1: digest: sha256:692fab67932e4c88c50595b94f0c73a5765554b37153e6c19520d604f274a4a8 size: 1367 [Pipeline] isUnix [Pipeline] sh 15:32:00 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:9505b3b9fb87609b3cd85be587e030c33719d431-2.2.1-dev.1 [Pipeline] isUnix [Pipeline] sh 15:32:00 + docker push nexus3.edgexfoundry.org:10004/device-snmp:9505b3b9fb87609b3cd85be587e030c33719d431-2.2.1-dev.1 15:32:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 15:32:00 1c536eea36e2: Preparing 15:32:00 56dc71ecbc2d: Preparing 15:32:00 baf96907b884: Preparing 15:32:00 cdf5ba17a470: Preparing 15:32:00 b541d28bf3b4: Preparing 15:32:00 1c536eea36e2: Layer already exists 15:32:00 cdf5ba17a470: Layer already exists 15:32:00 baf96907b884: Layer already exists 15:32:00 56dc71ecbc2d: Layer already exists 15:32:00 b541d28bf3b4: Layer already exists 15:32:00 9505b3b9fb87609b3cd85be587e030c33719d431-2.2.1-dev.1: digest: sha256:692fab67932e4c88c50595b94f0c73a5765554b37153e6c19520d604f274a4a8 size: 1367 [Pipeline] isUnix [Pipeline] sh 15:32:00 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] isUnix [Pipeline] sh 15:32:01 + docker push nexus3.edgexfoundry.org:10004/device-snmp:main 15:32:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 15:32:01 1c536eea36e2: Preparing 15:32:01 56dc71ecbc2d: Preparing 15:32:01 baf96907b884: Preparing 15:32:01 cdf5ba17a470: Preparing 15:32:01 b541d28bf3b4: Preparing 15:32:01 56dc71ecbc2d: Layer already exists 15:32:01 baf96907b884: Layer already exists 15:32:01 cdf5ba17a470: Layer already exists 15:32:01 b541d28bf3b4: Layer already exists 15:32:01 1c536eea36e2: Layer already exists 15:32:01 main: digest: sha256:692fab67932e4c88c50595b94f0c73a5765554b37153e6c19520d604f274a4a8 size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:32:01 ===================================================== [Pipeline] echo 15:32:01 taggedImages: 15:32:01 - nexus3.edgexfoundry.org:10004/device-snmp:9505b3b9fb87609b3cd85be587e030c33719d431 15:32:01 - nexus3.edgexfoundry.org:10004/device-snmp:latest 15:32:01 - nexus3.edgexfoundry.org:10004/device-snmp:2.2.1-dev.1 15:32:01 - nexus3.edgexfoundry.org:10004/device-snmp:9505b3b9fb87609b3cd85be587e030c33719d431-2.2.1-dev.1 15:32:01 - 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 15:32:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:32:01 15:32:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 15:32:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:32:01 latest: Pulling from edgex-lftools-log-publisher 15:32:01 5eb5b503b376: Pulling fs layer 15:32:01 5c69ac0246d0: Pulling fs layer 15:32:01 ec43610c2a17: Pulling fs layer 15:32:01 3a2ae6a8a46f: Pulling fs layer 15:32:01 33b1e0a273af: Pulling fs layer 15:32:01 5d3b04190fa2: Pulling fs layer 15:32:01 2f39f015ded8: Pulling fs layer 15:32:01 3a2ae6a8a46f: Waiting 15:32:01 33b1e0a273af: Waiting 15:32:01 5d3b04190fa2: Waiting 15:32:01 5c69ac0246d0: Verifying Checksum 15:32:01 5c69ac0246d0: Download complete 15:32:01 3a2ae6a8a46f: Verifying Checksum 15:32:01 3a2ae6a8a46f: Download complete 15:32:01 33b1e0a273af: Verifying Checksum 15:32:01 33b1e0a273af: Download complete 15:32:01 5d3b04190fa2: Verifying Checksum 15:32:01 5d3b04190fa2: Download complete 15:32:01 ec43610c2a17: Verifying Checksum 15:32:01 ec43610c2a17: Download complete 15:32:02 5eb5b503b376: Verifying Checksum 15:32:02 5eb5b503b376: Download complete 15:32:02 2f39f015ded8: Download complete 15:32:03 5eb5b503b376: Pull complete 15:32:03 5c69ac0246d0: Pull complete 15:32:04 ec43610c2a17: Pull complete 15:32:04 3a2ae6a8a46f: Pull complete 15:32:04 33b1e0a273af: Pull complete 15:32:04 5d3b04190fa2: Pull complete 15:32:09 2f39f015ded8: Pull complete 15:32:09 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:32:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:32:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 15:32:09 prd-ubuntu20.04-docker-8c-8g-64486 does not seem to be running inside a container 15:32:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:32:11 $ docker top 4cc00333e5d8353e2e5927352a68d94d7e00abe4c72bb55e2a3f049b5be04ec9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:32:12 ---> job-cost.sh 15:32:12 lf-activate-venv: SKIPPING 15:32:12 INFO: No Stack... 15:32:12 INFO: Retrieving Pricing Info for: v3-standard-8 15:32:12 INFO: Archiving Costs [Pipeline] sh 15:32:13 + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv 15:32:13 + cut -d, -f6 [Pipeline] lock 15:32:13 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-31-stack-cost] 15:32:13 Resource [jenkins-edgexfoundry-device-snmp-go-main-31-stack-cost] did not exist. Created. 15:32:13 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-31-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:32:13 + echo total: 0.2199999988079071 [Pipeline] stash 15:32:13 Stashed 1 file(s) [Pipeline] } 15:32:13 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-31-stack-cost] [Pipeline] // lock [Pipeline] } 15:32:13 $ docker stop --time=1 4cc00333e5d8353e2e5927352a68d94d7e00abe4c72bb55e2a3f049b5be04ec9 15:32:14 $ docker rm -f 4cc00333e5d8353e2e5927352a68d94d7e00abe4c72bb55e2a3f049b5be04ec9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:32:21 Running on prd-ubuntu20.04-docker-arm64-4c-16g-64487 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws 15:32:21 Running in /w/workspace/device-snmp-go/31 [Pipeline] { [Pipeline] checkout 15:32:21 Selected Git installation does not exist. Using Default 15:32:21 The recommended git tool is: NONE 15:32:27 using credential edgex-jenkins-ssh 15:32:27 Cloning the remote Git repository 15:32:27 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 15:32:27 > git init /w/workspace/device-snmp-go/31 # timeout=10 15:32:27 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 15:32:27 > git --version # timeout=10 15:32:27 > git --version # 'git version 2.25.1' 15:32:27 using GIT_SSH to set credentials SSH Credentials for GitHub 15:32:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:32:28 Avoid second fetch 15:32:28 Checking out Revision 9505b3b9fb87609b3cd85be587e030c33719d431 (main) 15:32:28 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 15:32:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:32:28 > git config core.sparsecheckout # timeout=10 15:32:28 > git checkout -f 9505b3b9fb87609b3cd85be587e030c33719d431 # timeout=10 15:32:33 Commit message: "fix: Correctly set the versions for the service and sdk when building the binary (#173)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:32:33 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:32:33 % Total % Received % Xferd Average Speed Time Time Time Current 15:32:33 Dload Upload Total Spent Left Speed 15:32:33 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 48623 0 --:--:-- --:--:-- --:--:-- 48623 [Pipeline] sh 15:32:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:32:34 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:32:34 + sudo tee /etc/docker/daemon.new 15:32:34 { 15:32:34 "registry-mirrors": [ 15:32:34 "https://nexus3.edgexfoundry.org:10001" 15:32:34 ], 15:32:34 "bip": "10.250.0.254/24", 15:32:34 "hosts": [ 15:32:34 "tcp://0.0.0.0:5555", 15:32:34 "unix:///var/run/docker.sock" 15:32:34 ], 15:32:34 "mtu": 1458, 15:32:34 "selinux-enabled": true, 15:32:34 "seccomp-profile": "/etc/docker/seccomp.json" 15:32:34 } [Pipeline] sh 15:32:35 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:32:35 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:32:53 provisioning config files... 15:32:53 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/31@tmp/config8037344144950043983tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:32:54 ---> docker-login.sh 15:32:54 nexus3.edgexfoundry.org:10001 15:32:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:32:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:32:55 Configure a credential helper to remove this warning. See 15:32:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:32:55 15:32:55 Login Succeeded 15:32:55 nexus3.edgexfoundry.org:10002 15:32:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:32:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:32:55 Configure a credential helper to remove this warning. See 15:32:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:32:55 15:32:55 Login Succeeded 15:32:55 nexus3.edgexfoundry.org:10003 15:32:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:32:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:32:56 Configure a credential helper to remove this warning. See 15:32:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:32:56 15:32:56 Login Succeeded 15:32:56 nexus3.edgexfoundry.org:10004 15:32:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:32:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:32:56 Configure a credential helper to remove this warning. See 15:32:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:32:56 15:32:56 Login Succeeded 15:32:56 docker.io 15:32:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:32:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:32:57 Configure a credential helper to remove this warning. See 15:32:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:32:57 15:32:57 Login Succeeded 15:32:57 ---> docker-login.sh ends [Pipeline] } 15:32:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:32:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:32:57 ========================================================= 15:32:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 15:32:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:32:58 + 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 . 15:32:58 Sending build context to Docker daemon 2.769MB 15:32:58 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 15:32:58 Step 2/12 : FROM ${BASE} AS builder 15:32:58 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:32:58 9b3977197b4f: Pulling fs layer 15:32:58 1a89e8eeedd5: Pulling fs layer 15:32:58 94645a83ff95: Pulling fs layer 15:32:58 3f3a8bcf1eab: Pulling fs layer 15:32:58 0c92f367c5e7: Pulling fs layer 15:32:58 3096ccb668a1: Pulling fs layer 15:32:58 e8cf19c19ddd: Pulling fs layer 15:32:58 a4caa8a26152: Pulling fs layer 15:32:58 0c92f367c5e7: Waiting 15:32:58 3096ccb668a1: Waiting 15:32:58 e8cf19c19ddd: Waiting 15:32:58 a4caa8a26152: Waiting 15:32:58 3f3a8bcf1eab: Waiting 15:32:58 94645a83ff95: Verifying Checksum 15:32:58 94645a83ff95: Download complete 15:32:58 1a89e8eeedd5: Download complete 15:32:58 0c92f367c5e7: Verifying Checksum 15:32:58 0c92f367c5e7: Download complete 15:32:58 3096ccb668a1: Verifying Checksum 15:32:58 3096ccb668a1: Download complete 15:32:58 e8cf19c19ddd: Download complete 15:32:58 9b3977197b4f: Verifying Checksum 15:32:58 9b3977197b4f: Download complete 15:32:59 9b3977197b4f: Pull complete 15:32:59 1a89e8eeedd5: Pull complete 15:33:00 94645a83ff95: Pull complete 15:33:00 a4caa8a26152: Verifying Checksum 15:33:00 a4caa8a26152: Download complete 15:33:01 3f3a8bcf1eab: Verifying Checksum 15:33:01 3f3a8bcf1eab: Download complete 15:33:13 3f3a8bcf1eab: Pull complete 15:33:13 0c92f367c5e7: Pull complete 15:33:13 3096ccb668a1: Pull complete 15:33:13 e8cf19c19ddd: Pull complete 15:33:20 a4caa8a26152: Pull complete 15:33:20 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 15:33:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 15:33:20 ---> 725f1c02e7f9 15:33:20 Step 3/12 : ARG MAKE='make build' 15:33:20 ---> Running in 5e329933535a 15:33:21 Removing intermediate container 5e329933535a 15:33:21 ---> bc0a9aa41443 15:33:21 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:33:21 ---> Running in 48a65402e255 15:33:21 Removing intermediate container 48a65402e255 15:33:21 ---> d5f50f0a909e 15:33:21 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 15:33:21 ---> Running in 8310f86a3942 15:33:21 Removing intermediate container 8310f86a3942 15:33:21 ---> 7379cb962997 15:33:21 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:33:21 ---> Running in 46686d7d0b3c 15:33:23 Removing intermediate container 46686d7d0b3c 15:33:23 ---> c4b4b9c55765 15:33:23 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:33:23 ---> Running in a4fdd1a17822 15:33:24 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:33:25 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:33:26 (1/4) Installing openssh-keygen (8.8_p1-r1) 15:33:26 (2/4) Installing libedit (20210910.3.1-r0) 15:33:26 (3/4) Installing openssh-client-common (8.8_p1-r1) 15:33:26 (4/4) Installing openssh-client-default (8.8_p1-r1) 15:33:26 Executing busybox-1.34.1-r3.trigger 15:33:26 OK: 224 MiB in 56 packages 15:33:28 Removing intermediate container a4fdd1a17822 15:33:28 ---> ac911d6d400e 15:33:28 Step 8/12 : WORKDIR /device-snmp-go 15:33:28 ---> Running in ec3bf86f37f7 15:33:28 Removing intermediate container ec3bf86f37f7 15:33:28 ---> bdb91b98eefb 15:33:28 Step 9/12 : COPY go.mod vendor* ./ 15:33:29 ---> a46510245e1d 15:33:29 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:33:29 ---> Running in c28bc848be36 15:34:16 Removing intermediate container c28bc848be36 15:34:16 ---> e1ff1e8b8d35 15:34:16 Step 11/12 : COPY . . 15:34:16 ---> 8b88a7c1879d 15:34:16 Step 12/12 : RUN ${MAKE} 15:34:16 ---> Running in a1e653573a6f 15:34:16 noop 15:34:16 Removing intermediate container a1e653573a6f 15:34:16 ---> 32cc6f35eff6 15:34:16 Successfully built 32cc6f35eff6 15:34:16 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 15:34:16 + docker inspect -f . ci-base-image-arm64 15:34:16 . [Pipeline] withDockerContainer 15:34:16 prd-ubuntu20.04-docker-arm64-4c-16g-64487 does not seem to be running inside a container 15:34:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/31 -v /w/workspace/device-snmp-go/31:/w/workspace/device-snmp-go/31:rw,z -v /w/workspace/device-snmp-go/31@tmp:/w/workspace/device-snmp-go/31@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 15:34:18 $ docker top b7bc862f90ef9fae3c948a2250fab53ed8d4512b2419cbcbdfd5f3605f4f1fcf -eo pid,comm [Pipeline] { [Pipeline] sh 15:34:19 + go version 15:34:19 go version go1.17.6 linux/arm64 [Pipeline] } 15:34:19 $ docker stop --time=1 b7bc862f90ef9fae3c948a2250fab53ed8d4512b2419cbcbdfd5f3605f4f1fcf 15:34:20 $ docker rm -f b7bc862f90ef9fae3c948a2250fab53ed8d4512b2419cbcbdfd5f3605f4f1fcf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:34:21 + docker inspect -f . ci-base-image-arm64 15:34:21 . [Pipeline] withDockerContainer 15:34:21 prd-ubuntu20.04-docker-arm64-4c-16g-64487 does not seem to be running inside a container 15:34:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/31 -v /w/workspace/device-snmp-go/31:/w/workspace/device-snmp-go/31:rw,z -v /w/workspace/device-snmp-go/31@tmp:/w/workspace/device-snmp-go/31@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 15:34:22 $ docker top 5c84a7c9523136becc5a4703a699e751d6043340148d9f572f2381ed643c1b36 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:34:23 + make test 15:34:23 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 15:34:25 ? github.com/edgexfoundry/device-snmp-go [no test files] 15:35:47 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 15:35:47 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.047s coverage: 0.0% of statements 15:35:47 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:35:47 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:36:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:36:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:36:13 ./bin/test-attribution-txt.sh [Pipeline] echo 15:36:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:36:13 $ docker stop --time=1 5c84a7c9523136becc5a4703a699e751d6043340148d9f572f2381ed643c1b36 15:36:15 $ docker rm -f 5c84a7c9523136becc5a4703a699e751d6043340148d9f572f2381ed643c1b36 [Pipeline] // withDockerContainer [Pipeline] sh 15:36:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:36:16 Warning: overwriting stash ‘coverage-report’ 15:36:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:36:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:36:17 + ls -al . 15:36:17 total 164 15:36:17 drwxrwxr-x 8 jenkins jenkins 4096 May 24 15:36 . 15:36:17 drwxrwxr-x 4 jenkins jenkins 4096 May 24 15:32 .. 15:36:17 -rw-rw-r-- 1 jenkins jenkins 6 May 24 15:32 .dockerignore 15:36:17 drwxrwxr-x 8 jenkins jenkins 4096 May 24 15:32 .git 15:36:17 drwxrwxr-x 3 jenkins jenkins 4096 May 24 15:32 .github 15:36:17 -rw-rw-r-- 1 jenkins jenkins 328 May 24 15:32 .gitignore 15:36:17 -rw-rw-r-- 1 jenkins jenkins 41 May 24 15:32 .golangci.yml 15:36:17 -rw-rw-r-- 1 jenkins jenkins 8296 May 24 15:32 Attribution.txt 15:36:17 -rw-rw-r-- 1 jenkins jenkins 6948 May 24 15:32 CHANGELOG.md 15:36:17 -rw-rw-r-- 1 jenkins jenkins 1516 May 24 15:32 Dockerfile 15:36:17 -rw-rw-r-- 1 jenkins jenkins 677 May 24 15:32 GOVERNANCE.md 15:36:17 -rw-rw-r-- 1 jenkins jenkins 656 May 24 15:32 Jenkinsfile 15:36:17 -rw-rw-r-- 1 jenkins jenkins 11340 May 24 15:32 LICENSE 15:36:17 -rw-rw-r-- 1 jenkins jenkins 2334 May 24 15:32 Makefile 15:36:17 -rw-rw-r-- 1 jenkins jenkins 620 May 24 15:32 OWNERS.md 15:36:17 -rw-rw-r-- 1 jenkins jenkins 9390 May 24 15:32 README.md 15:36:17 -rw-rw-r-- 1 jenkins jenkins 11 May 24 15:30 VERSION 15:36:17 drwxrwxr-x 2 jenkins jenkins 4096 May 24 15:32 bin 15:36:17 drwxrwxr-x 3 jenkins jenkins 4096 May 24 15:32 cmd 15:36:17 -rw-r--r-- 1 jenkins jenkins 7631 May 24 15:35 coverage.out 15:36:17 -rw-rw-r-- 1 jenkins jenkins 3250 May 24 15:32 go.mod 15:36:17 -rw-rw-r-- 1 jenkins jenkins 35701 May 24 15:32 go.sum 15:36:17 drwxrwxr-x 3 jenkins jenkins 4096 May 24 15:32 internal 15:36:17 drwxrwxr-x 3 jenkins jenkins 4096 May 24 15:32 snap 15:36:17 -rw-rw-r-- 1 jenkins jenkins 228 May 24 15:32 version.go [Pipeline] isUnix [Pipeline] sh 15:36:18 + 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=9505b3b9fb87609b3cd85be587e030c33719d431 --label arch=arm64 --label version=2.2.1-dev.1 . 15:36:18 Sending build context to Docker daemon 2.778MB 15:36:18 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 15:36:18 Step 2/24 : FROM ${BASE} AS builder 15:36:18 ---> 32cc6f35eff6 15:36:18 Step 3/24 : ARG MAKE='make build' 15:36:18 ---> Running in 918e0de3ae5f 15:36:18 Removing intermediate container 918e0de3ae5f 15:36:18 ---> 29230fd6d081 15:36:18 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:36:18 ---> Running in 7decc70e72e6 15:36:19 Removing intermediate container 7decc70e72e6 15:36:19 ---> bc4838cd4f52 15:36:19 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 15:36:19 ---> Running in de3613927892 15:36:19 Removing intermediate container de3613927892 15:36:19 ---> 026e55fc9a19 15:36:19 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:36:19 ---> Running in 07f704e63379 15:36:21 Removing intermediate container 07f704e63379 15:36:21 ---> 59d337336d5e 15:36:21 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:36:21 ---> Running in 0e498be46741 15:36:22 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:36:23 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:36:24 OK: 224 MiB in 56 packages 15:36:24 Removing intermediate container 0e498be46741 15:36:24 ---> f140c24df349 15:36:24 Step 8/24 : WORKDIR /device-snmp-go 15:36:24 ---> Running in e11136ce3240 15:36:25 Removing intermediate container e11136ce3240 15:36:25 ---> dace7edd5d5a 15:36:25 Step 9/24 : COPY go.mod vendor* ./ 15:36:25 ---> 9049110bd328 15:36:25 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:36:25 ---> Running in 2d05553bf9f0 15:36:27 Removing intermediate container 2d05553bf9f0 15:36:27 ---> b881a18590ef 15:36:27 Step 11/24 : COPY . . 15:36:28 ---> a70938486065 15:36:28 Step 12/24 : RUN ${MAKE} 15:36:28 ---> Running in c7169954eab8 15:36:29 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0 -X github.com/edgexfoundry/device-snmp-go.Version=2.2.1-dev.1" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 15:38:36 Removing intermediate container c7169954eab8 15:38:36 ---> 97546fbb64db 15:38:36 Step 13/24 : FROM alpine:3.14 15:38:36 3.14: Pulling from library/alpine 15:38:36 455c02918c45: Pulling fs layer 15:38:36 455c02918c45: Verifying Checksum 15:38:36 455c02918c45: Download complete 15:38:36 455c02918c45: Pull complete 15:38:36 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 15:38:36 Status: Downloaded newer image for alpine:3.14 15:38:36 ---> ac73e934f311 15:38:36 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 15:38:36 ---> Running in a65d0d1736e7 15:38:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 15:38:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 15:38:37 (1/6) Installing dumb-init (1.2.5-r1) 15:38:37 (2/6) Installing libgcc (10.3.1_git20210424-r2) 15:38:37 (3/6) Installing libsodium (1.0.18-r0) 15:38:37 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 15:38:37 (5/6) Installing libzmq (4.3.4-r0) 15:38:37 (6/6) Installing zeromq (4.3.4-r0) 15:38:37 Executing busybox-1.33.1-r7.trigger 15:38:37 OK: 8 MiB in 20 packages 15:38:38 Removing intermediate container a65d0d1736e7 15:38:38 ---> c47cbe63f552 15:38:38 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 15:38:39 ---> 90a4b0d504c2 15:38:39 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 15:38:40 ---> 194e0f6bc7bc 15:38:40 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 15:38:41 ---> 7a850802da49 15:38:41 Step 18/24 : EXPOSE 59993 15:38:41 ---> Running in 823b95cd1bbe 15:38:41 Removing intermediate container 823b95cd1bbe 15:38:41 ---> c92591e0d9a1 15:38:41 Step 19/24 : EXPOSE 161 15:38:41 ---> Running in 6bb1a0b229df 15:38:41 Removing intermediate container 6bb1a0b229df 15:38:41 ---> 06e100dab17e 15:38:41 Step 20/24 : ENTRYPOINT ["/device-snmp"] 15:38:41 ---> Running in 8c39bd41b4d2 15:38:42 Removing intermediate container 8c39bd41b4d2 15:38:42 ---> 3cae2a9b31e3 15:38:42 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 15:38:42 ---> Running in 2672d1a3b8de 15:38:42 Removing intermediate container 2672d1a3b8de 15:38:42 ---> d61ed971d44c 15:38:42 Step 22/24 : LABEL arch=arm64 15:38:42 ---> Running in e8a373a04d08 15:38:43 Removing intermediate container e8a373a04d08 15:38:43 ---> 7fe396925760 15:38:43 Step 23/24 : LABEL git_sha=9505b3b9fb87609b3cd85be587e030c33719d431 15:38:43 ---> Running in 7ae614925741 15:38:43 Removing intermediate container 7ae614925741 15:38:43 ---> 079390e6f617 15:38:43 Step 24/24 : LABEL version=2.2.1-dev.1 15:38:43 ---> Running in 5c644d324d8e 15:38:43 Removing intermediate container 5c644d324d8e 15:38:43 ---> 5841a1526c10 15:38:43 [Warning] One or more build-args [ARCH] were not consumed 15:38:43 Successfully built 5841a1526c10 15:38:43 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 15:38:44 provisioning config files... 15:38:44 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/31@tmp/config5101076884077834612tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:38:44 ---> docker-login.sh 15:38:44 nexus3.edgexfoundry.org:10001 15:38:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:44 Configure a credential helper to remove this warning. See 15:38:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:44 15:38:44 Login Succeeded 15:38:44 nexus3.edgexfoundry.org:10002 15:38:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:45 Configure a credential helper to remove this warning. See 15:38:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:45 15:38:45 Login Succeeded 15:38:45 nexus3.edgexfoundry.org:10003 15:38:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:45 Configure a credential helper to remove this warning. See 15:38:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:45 15:38:45 Login Succeeded 15:38:45 nexus3.edgexfoundry.org:10004 15:38:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:46 Configure a credential helper to remove this warning. See 15:38:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:46 15:38:46 Login Succeeded 15:38:46 docker.io 15:38:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:38:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:38:47 Configure a credential helper to remove this warning. See 15:38:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:38:47 15:38:47 Login Succeeded 15:38:47 ---> docker-login.sh ends [Pipeline] } 15:38:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:38:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:38:47 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 15:38:47 9505b3b9fb87609b3cd85be587e030c33719d431 15:38:47 latest 15:38:47 2.2.1-dev.1 15:38:47 9505b3b9fb87609b3cd85be587e030c33719d431-2.2.1-dev.1 15:38:47 main 15:38:47 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:38:47 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:9505b3b9fb87609b3cd85be587e030c33719d431 [Pipeline] isUnix [Pipeline] sh 15:38:48 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:9505b3b9fb87609b3cd85be587e030c33719d431 15:38:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 15:38:48 a0b42ffb1aac: Preparing 15:38:48 86da820c36f2: Preparing 15:38:48 f288eab90bb5: Preparing 15:38:48 084aaa49e47b: Preparing 15:38:48 f73e7dbfee58: Preparing 15:38:48 f73e7dbfee58: Layer already exists 15:38:48 a0b42ffb1aac: Pushed 15:38:48 86da820c36f2: Pushed 15:38:49 084aaa49e47b: Pushed 15:38:54 f288eab90bb5: Pushed 15:38:54 9505b3b9fb87609b3cd85be587e030c33719d431: digest: sha256:134d032922751330f38fe1b8e8cbe2820f58217c1d5823fb4655c180914f5506 size: 1366 [Pipeline] isUnix [Pipeline] sh 15:38:54 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] isUnix [Pipeline] sh 15:38:55 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 15:38:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 15:38:55 a0b42ffb1aac: Preparing 15:38:55 86da820c36f2: Preparing 15:38:55 f288eab90bb5: Preparing 15:38:55 084aaa49e47b: Preparing 15:38:55 f73e7dbfee58: Preparing 15:38:55 a0b42ffb1aac: Layer already exists 15:38:55 f288eab90bb5: Layer already exists 15:38:55 86da820c36f2: Layer already exists 15:38:55 f73e7dbfee58: Layer already exists 15:38:55 084aaa49e47b: Layer already exists 15:38:55 latest: digest: sha256:134d032922751330f38fe1b8e8cbe2820f58217c1d5823fb4655c180914f5506 size: 1366 [Pipeline] isUnix [Pipeline] sh 15:38:55 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.1-dev.1 [Pipeline] isUnix [Pipeline] sh 15:38:56 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.1-dev.1 15:38:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 15:38:56 a0b42ffb1aac: Preparing 15:38:56 86da820c36f2: Preparing 15:38:56 f288eab90bb5: Preparing 15:38:56 084aaa49e47b: Preparing 15:38:56 f73e7dbfee58: Preparing 15:38:56 084aaa49e47b: Layer already exists 15:38:56 a0b42ffb1aac: Layer already exists 15:38:56 86da820c36f2: Layer already exists 15:38:56 f288eab90bb5: Layer already exists 15:38:56 f73e7dbfee58: Layer already exists 15:38:56 2.2.1-dev.1: digest: sha256:134d032922751330f38fe1b8e8cbe2820f58217c1d5823fb4655c180914f5506 size: 1366 [Pipeline] isUnix [Pipeline] sh 15:38:56 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:9505b3b9fb87609b3cd85be587e030c33719d431-2.2.1-dev.1 [Pipeline] isUnix [Pipeline] sh 15:38:57 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:9505b3b9fb87609b3cd85be587e030c33719d431-2.2.1-dev.1 15:38:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 15:38:57 a0b42ffb1aac: Preparing 15:38:57 86da820c36f2: Preparing 15:38:57 f288eab90bb5: Preparing 15:38:57 084aaa49e47b: Preparing 15:38:57 f73e7dbfee58: Preparing 15:38:57 f73e7dbfee58: Layer already exists 15:38:57 f288eab90bb5: Layer already exists 15:38:57 084aaa49e47b: Layer already exists 15:38:57 a0b42ffb1aac: Layer already exists 15:38:57 86da820c36f2: Layer already exists 15:38:57 9505b3b9fb87609b3cd85be587e030c33719d431-2.2.1-dev.1: digest: sha256:134d032922751330f38fe1b8e8cbe2820f58217c1d5823fb4655c180914f5506 size: 1366 [Pipeline] isUnix [Pipeline] sh 15:38:57 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] isUnix [Pipeline] sh 15:38:58 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main 15:38:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 15:38:58 a0b42ffb1aac: Preparing 15:38:58 86da820c36f2: Preparing 15:38:58 f288eab90bb5: Preparing 15:38:58 084aaa49e47b: Preparing 15:38:58 f73e7dbfee58: Preparing 15:38:58 084aaa49e47b: Layer already exists 15:38:58 f288eab90bb5: Layer already exists 15:38:58 86da820c36f2: Layer already exists 15:38:58 a0b42ffb1aac: Layer already exists 15:38:58 f73e7dbfee58: Layer already exists 15:38:58 main: digest: sha256:134d032922751330f38fe1b8e8cbe2820f58217c1d5823fb4655c180914f5506 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:38:58 ===================================================== [Pipeline] echo 15:38:58 taggedImages: 15:38:58 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:9505b3b9fb87609b3cd85be587e030c33719d431 15:38:58 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 15:38:58 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.1-dev.1 15:38:58 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:9505b3b9fb87609b3cd85be587e030c33719d431-2.2.1-dev.1 15:38:58 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:38:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:38:58 15:38:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 15:38:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:38:59 arm64: Pulling from edgex-lftools-log-publisher 15:38:59 8998bd30e6a1: Pulling fs layer 15:38:59 04944245beec: Pulling fs layer 15:38:59 699f458cf7ca: Pulling fs layer 15:38:59 765212b225bb: Pulling fs layer 15:38:59 f23df028b6ca: Pulling fs layer 15:38:59 d65c8cfc05b1: Pulling fs layer 15:38:59 2437ff75d9bd: Pulling fs layer 15:38:59 f23df028b6ca: Waiting 15:38:59 2437ff75d9bd: Waiting 15:38:59 d65c8cfc05b1: Waiting 15:38:59 765212b225bb: Waiting 15:38:59 04944245beec: Verifying Checksum 15:38:59 04944245beec: Download complete 15:38:59 765212b225bb: Download complete 15:38:59 f23df028b6ca: Download complete 15:38:59 d65c8cfc05b1: Verifying Checksum 15:38:59 d65c8cfc05b1: Download complete 15:38:59 699f458cf7ca: Verifying Checksum 15:38:59 699f458cf7ca: Download complete 15:38:59 8998bd30e6a1: Verifying Checksum 15:38:59 8998bd30e6a1: Download complete 15:39:02 2437ff75d9bd: Verifying Checksum 15:39:02 2437ff75d9bd: Download complete 15:39:03 8998bd30e6a1: Pull complete 15:39:04 04944245beec: Pull complete 15:39:06 699f458cf7ca: Pull complete 15:39:06 765212b225bb: Pull complete 15:39:06 f23df028b6ca: Pull complete 15:39:07 d65c8cfc05b1: Pull complete 15:39:22 2437ff75d9bd: Pull complete 15:39:22 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:39:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:39:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 15:39:22 prd-ubuntu20.04-docker-arm64-4c-16g-64487 does not seem to be running inside a container 15:39:22 $ 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/31 -v /w/workspace/device-snmp-go/31:/w/workspace/device-snmp-go/31:rw,z -v /w/workspace/device-snmp-go/31@tmp:/w/workspace/device-snmp-go/31@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 15:39:25 $ docker top 1f4c325e9612b84273594a29e3b2abdca59c2ef6ed1879409aa7232601e58996 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:39:26 ---> job-cost.sh 15:39:26 lf-activate-venv: SKIPPING 15:39:26 INFO: No Stack... 15:39:26 INFO: Retrieving Pricing Info for: v3-standard-4 15:39:27 INFO: Archiving Costs [Pipeline] sh 15:39:28 + cat /w/workspace/device-snmp-go/31/archives/cost.csv 15:39:28 + cut -d, -f6 [Pipeline] lock 15:39:28 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-31-stack-cost] 15:39:28 Resource [jenkins-edgexfoundry-device-snmp-go-main-31-stack-cost] did not exist. Created. 15:39:28 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-31-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:39:28 /w/workspace/device-snmp-go/31@tmp/durable-8bc8113b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:39:29 + echo total: 0.10999999940395355 [Pipeline] stash 15:39:29 Warning: overwriting stash ‘stack-cost’ 15:39:29 Stashed 1 file(s) [Pipeline] } 15:39:29 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-31-stack-cost] [Pipeline] // lock [Pipeline] } 15:39:29 $ docker stop --time=1 1f4c325e9612b84273594a29e3b2abdca59c2ef6ed1879409aa7232601e58996 15:39:31 $ docker rm -f 1f4c325e9612b84273594a29e3b2abdca59c2ef6ed1879409aa7232601e58996 [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 15:39:31 provisioning config files... 15:39:31 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1071106515438252913tmp [Pipeline] { [Pipeline] sh 15:39:32 + set +x 15:39:32 + curl -s https://codecov.io/bash 15:39:32 + bash -s -- 15:39:32 15:39:32 _____ _ 15:39:32 / ____| | | 15:39:32 | | ___ __| | ___ ___ _____ __ 15:39:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:39:32 | |___| (_) | (_| | __/ (_| (_) \ V / 15:39:32 \_____\___/ \__,_|\___|\___\___/ \_/ 15:39:32 Bash-1.0.6 15:39:32 15:39:32 15:39:32 ==> git version 2.25.1 found 15:39:32 ==> 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 15:39:32 Release-Date: 2020-01-08 15:39:32 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:39:32 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:39:32 ==> Jenkins CI detected. 15:39:32 current dir:  /w/workspace/edgexfoundry_device-snmp-go_main 15:39:32 project root: . 15:39:32 --> token set from env 15:39:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:39:32 ==> Running gcov in . (disable via -X gcov) 15:39:32 ==> Python coveragepy not found 15:39:32 ==> Searching for coverage reports in: 15:39:32 + . 15:39:32 -> Found 1 reports 15:39:32 ==> Detecting git/mercurial file structure 15:39:32 ==> Reading reports 15:39:32 + ./coverage.out bytes=7631 15:39:32 ==> Appending adjustments 15:39:32 https://docs.codecov.io/docs/fixing-reports 15:39:32 + Found adjustments 15:39:32 ==> Gzipping contents 15:39:32 4.0K /tmp/codecov.MPCgWo.gz 15:39:32 ==> Uploading reports 15:39:32 url: https://codecov.io 15:39:32 query: branch=main&commit=9505b3b9fb87609b3cd85be587e030c33719d431&build=31&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F31%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:39:32 -> Pinging Codecov 15:39:32 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=9505b3b9fb87609b3cd85be587e030c33719d431&build=31&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F31%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:39:32 -> Uploading to 15:39:32 https://storage.googleapis.com/codecov/v4/raw/2022-05-24/6C56EA5C29638FB4528AC87E60AF5AE0/9505b3b9fb87609b3cd85be587e030c33719d431/3bb07f4e-6727-4035-ac3f-5bb05f18673f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220524%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220524T153932Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3d1fa68b84a38b6a30f723a421c7ded3b9dfab63793070aabf08d4945764c068 15:39:32 % Total % Received % Xferd Average Speed Time Time Time Current 15:39:32 Dload Upload Total Spent Left Speed 15:39:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1603 0 0 100 1603 0 7896 --:--:-- --:--:-- --:--:-- 7857 100 1603 0 0 100 1603 0 6189 --:--:-- --:--:-- --:--:-- 6165 15:39:32 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/9505b3b9fb87609b3cd85be587e030c33719d431 [Pipeline] } 15:39:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 15:39:33 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 15:39:33 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:39:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:39:33 15:39:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 15:39:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:39:33 1.410.4: Pulling from edgex-devops/edgex-snyk-go 15:39:33 188c0c94c7c5: Pulling fs layer 15:39:33 0ef7d3d256c8: Pulling fs layer 15:39:33 de9db76c5a1d: Pulling fs layer 15:39:33 0eba1c9be4d2: Pulling fs layer 15:39:33 0d57e429df01: Pulling fs layer 15:39:33 4e4be7b47b0d: Pulling fs layer 15:39:33 e1f770b5df2f: Pulling fs layer 15:39:33 85a0685a4137: Pulling fs layer 15:39:33 0eba1c9be4d2: Waiting 15:39:33 0d57e429df01: Waiting 15:39:33 e1f770b5df2f: Waiting 15:39:33 4e4be7b47b0d: Waiting 15:39:33 85a0685a4137: Waiting 15:39:33 de9db76c5a1d: Verifying Checksum 15:39:33 de9db76c5a1d: Download complete 15:39:33 0ef7d3d256c8: Verifying Checksum 15:39:33 0ef7d3d256c8: Download complete 15:39:33 0d57e429df01: Download complete 15:39:33 4e4be7b47b0d: Verifying Checksum 15:39:33 4e4be7b47b0d: Download complete 15:39:33 188c0c94c7c5: Verifying Checksum 15:39:33 188c0c94c7c5: Download complete 15:39:34 188c0c94c7c5: Pull complete 15:39:34 e1f770b5df2f: Verifying Checksum 15:39:34 e1f770b5df2f: Download complete 15:39:34 0ef7d3d256c8: Pull complete 15:39:34 de9db76c5a1d: Pull complete 15:39:34 0eba1c9be4d2: Verifying Checksum 15:39:34 0eba1c9be4d2: Download complete 15:39:34 85a0685a4137: Verifying Checksum 15:39:34 85a0685a4137: Download complete 15:39:38 0eba1c9be4d2: Pull complete 15:39:38 0d57e429df01: Pull complete 15:39:38 4e4be7b47b0d: Pull complete 15:39:38 e1f770b5df2f: Pull complete 15:39:41 85a0685a4137: Pull complete 15:39:41 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 15:39:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:39:41 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 15:39:42 prd-ubuntu20.04-docker-8c-8g-64486 does not seem to be running inside a container 15:39:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 15:39:44 $ docker top aa11db43d3c9e8b97673f811acf8c4c0a785d4e290bcb86cec432526d8705618 -eo pid,comm [Pipeline] { [Pipeline] echo 15:39:44 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 15:39:44 + set -o pipefail 15:39:44 + snyk monitor '--org=edgex-jenkins' 15:39:49 15:39:49 Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... 15:39:49 15:39:49 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/c76919d0-7345-4304-8954-aa03851194a6/history/cbb236dd-7ab1-4814-9413-dc2449b800ac 15:39:49 15:39:49 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 15:39:49 15:39:49 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 15:39:49 15:39:50 [Pipeline] } 15:39:50 $ docker stop --time=1 aa11db43d3c9e8b97673f811acf8c4c0a785d4e290bcb86cec432526d8705618 15:39:52 $ docker rm -f aa11db43d3c9e8b97673f811acf8c4c0a785d4e290bcb86cec432526d8705618 [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 15:39:53 + git log --format=format:%s -1 9505b3b9fb87609b3cd85be587e030c33719d431 [Pipeline] sh 15:39:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:39:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:39:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:39:53 . [Pipeline] withDockerContainer 15:39:53 prd-ubuntu20.04-docker-8c-8g-64486 does not seem to be running inside a container 15:39:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 15:39:54 $ docker top d9c18dbb2d2e3e58e194239e0272d942f02b46ef5f545fe391276b41a46300e7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:39:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:39:54 [ssh-agent] Looking for ssh-agent implementation... 15:39:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:39:54 $ docker exec d9c18dbb2d2e3e58e194239e0272d942f02b46ef5f545fe391276b41a46300e7 ssh-agent 15:39:54 SSH_AUTH_SOCK=/tmp/ssh-UNUjsJC8Q2nz/agent.33 15:39:54 SSH_AGENT_PID=40 15:39:54 Running ssh-add (command line suppressed) 15:39:54 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7890867523298504876.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7890867523298504876.key) 15:39:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:39:55 + git semver tag 15:39:55 2022-05-24 15:39:55,234 [run_tag] DEBUG tag force:False 15:39:55 2022-05-24 15:39:55,234 [check_head_tag] DEBUG check head tag 15:39:55 2022-05-24 15:39:55,235 [execute] INFO git cat-file --batch-check 15:39:55 2022-05-24 15:39:55,235 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 15:39:55 2022-05-24 15:39:55,238 [execute] INFO git cat-file --batch 15:39:55 2022-05-24 15:39:55,239 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 15:39:55 2022-05-24 15:39:55,251 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 15:39:55 2022-05-24 15:39:55,251 [execute] INFO git tag -a v2.2.1-dev.1 -m v2.2.1-dev.1 15:39:55 2022-05-24 15:39:55,251 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.1', '-m', 'v2.2.1-dev.1'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 15:39:55 2022-05-24 15:39:55,255 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 15:39:55 2.2.1-dev.1 [Pipeline] } 15:39:55 $ docker exec --env ******** --env ******** d9c18dbb2d2e3e58e194239e0272d942f02b46ef5f545fe391276b41a46300e7 ssh-agent -k 15:39:55 unset SSH_AUTH_SOCK; 15:39:55 unset SSH_AGENT_PID; 15:39:55 echo Agent pid 40 killed; 15:39:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:39:55 + git semver [Pipeline] } 15:39:56 $ docker stop --time=1 d9c18dbb2d2e3e58e194239e0272d942f02b46ef5f545fe391276b41a46300e7 15:39:57 $ docker rm -f d9c18dbb2d2e3e58e194239e0272d942f02b46ef5f545fe391276b41a46300e7 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 15:39:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:39:57 15:39:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 15:39:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:39:58 0.23.1-centos7: Pulling from edgex-lftools 15:39:58 ab5ef0e58194: Pulling fs layer 15:39:58 9712f1f96733: Pulling fs layer 15:39:58 63f879dbbcfc: Pulling fs layer 15:39:58 0d9ebad4ef96: Pulling fs layer 15:39:58 e9a5061849ea: Pulling fs layer 15:39:58 d747dcd14b5f: Pulling fs layer 15:39:58 2de7ff778b66: Pulling fs layer 15:39:58 2de7ff778b66: Waiting 15:39:58 e9a5061849ea: Waiting 15:39:58 d747dcd14b5f: Waiting 15:39:58 0d9ebad4ef96: Waiting 15:39:58 9712f1f96733: Verifying Checksum 15:39:58 9712f1f96733: Download complete 15:39:58 63f879dbbcfc: Verifying Checksum 15:39:58 63f879dbbcfc: Download complete 15:39:58 e9a5061849ea: Verifying Checksum 15:39:58 e9a5061849ea: Download complete 15:39:58 d747dcd14b5f: Verifying Checksum 15:39:58 d747dcd14b5f: Download complete 15:39:58 ab5ef0e58194: Verifying Checksum 15:39:58 ab5ef0e58194: Download complete 15:39:58 0d9ebad4ef96: Verifying Checksum 15:39:58 0d9ebad4ef96: Download complete 15:39:58 2de7ff778b66: Verifying Checksum 15:39:58 2de7ff778b66: Download complete 15:40:02 ab5ef0e58194: Pull complete 15:40:02 9712f1f96733: Pull complete 15:40:02 63f879dbbcfc: Pull complete 15:40:06 0d9ebad4ef96: Pull complete 15:40:06 e9a5061849ea: Pull complete 15:40:06 d747dcd14b5f: Pull complete 15:40:07 2de7ff778b66: Pull complete 15:40:07 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:40:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:40:07 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 15:40:07 prd-ubuntu20.04-docker-8c-8g-64486 does not seem to be running inside a container 15:40:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 15:40:09 $ docker top 56aa3ed06dccd2d9c86a904ae28363aaf438cf77c5c5ad908fae09c842124daa -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:40:10 provisioning config files... 15:40:10 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1583859539202219008tmp 15:40:10 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1620987097944503086tmp 15:40:10 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3933279590523018285tmp [Pipeline] { [Pipeline] echo 15:40:10 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:40:10 ---> sigul-configuration.sh 15:40:10 gpg: directory `/root/.gnupg' created 15:40:10 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:40:10 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:40:10 gpg: keyring `/root/.gnupg/secring.gpg' created 15:40:10 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:40:10 gpg: CAST5 encrypted data 15:40:10 gpg: encrypted with 1 passphrase 15:40:10 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:40:10 + mkdir /home/jenkins 15:40:10 + mkdir /home/jenkins/sigul [Pipeline] sh 15:40:10 + 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 15:40:10 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:40:11 ---> sigul-install.sh 15:40:11 Sigul already installed; skipping installation. [Pipeline] sh 15:40:11 + git tag --list 15:40:11 1.0.0 15:40:11 v0.0.0 15:40:11 v1.1.0 15:40:11 v1.1.1 15:40:11 v1.2.2 15:40:11 v1.3.0 15:40:11 v1.3.1 15:40:11 v2.0.0 15:40:11 v2.0.1-dev.1 15:40:11 v2.0.1-dev.2 15:40:11 v2.0.1-dev.3 15:40:11 v2.0.1-dev.4 15:40:11 v2.0.1-dev.5 15:40:11 v2.0.1-dev.6 15:40:11 v2.1.0 15:40:11 v2.2.0 15:40:11 v2.2.0-dev.1 15:40:11 v2.2.0-dev.10 15:40:11 v2.2.0-dev.11 15:40:11 v2.2.0-dev.12 15:40:11 v2.2.0-dev.13 15:40:11 v2.2.0-dev.14 15:40:11 v2.2.0-dev.15 15:40:11 v2.2.0-dev.16 15:40:11 v2.2.0-dev.17 15:40:11 v2.2.0-dev.18 15:40:11 v2.2.0-dev.19 15:40:11 v2.2.0-dev.2 15:40:11 v2.2.0-dev.3 15:40:11 v2.2.0-dev.4 15:40:11 v2.2.0-dev.5 15:40:11 v2.2.0-dev.6 15:40:11 v2.2.0-dev.7 15:40:11 v2.2.0-dev.8 15:40:11 v2.2.0-dev.9 15:40:11 v2.2.1-dev.1 [Pipeline] sh 15:40:11 + lftools sign git-tag v2.2.1-dev.1 15:40:12 Signing Git tag with Sigul... 15:40:12 Signing v2.2.1-dev.1 [Pipeline] echo 15:40:13 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:40:13 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:40:13 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:40:13 $ docker stop --time=1 56aa3ed06dccd2d9c86a904ae28363aaf438cf77c5c5ad908fae09c842124daa 15:40:14 $ docker rm -f 56aa3ed06dccd2d9c86a904ae28363aaf438cf77c5c5ad908fae09c842124daa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 15:40:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:40:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:40:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:40:15 . [Pipeline] withDockerContainer 15:40:15 prd-ubuntu20.04-docker-8c-8g-64486 does not seem to be running inside a container 15:40:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 15:40:15 $ docker top ea74bf46ef5d7fb5a231f97f11afa6fb81ae6821b77dc1c3c92ea03b72f1ba7f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:40:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:40:16 [ssh-agent] Looking for ssh-agent implementation... 15:40:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:40:16 $ docker exec ea74bf46ef5d7fb5a231f97f11afa6fb81ae6821b77dc1c3c92ea03b72f1ba7f ssh-agent 15:40:16 SSH_AUTH_SOCK=/tmp/ssh-6gWYLGX5WQiz/agent.31 15:40:16 SSH_AGENT_PID=37 15:40:16 Running ssh-add (command line suppressed) 15:40:16 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5477906708882694231.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5477906708882694231.key) 15:40:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:40:16 + git semver bump pre 15:40:16 2022-05-24 15:40:16,885 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 15:40:16 2022-05-24 15:40:16,886 [bump_version] DEBUG bumping version:2.2.1-dev.1 on axis:pre with prefix:dev 15:40:16 2022-05-24 15:40:16,886 [bump_version] DEBUG bumped version:2.2.1-dev.2 15:40:16 2022-05-24 15:40:16,886 [write_version] DEBUG write version:2.2.1-dev.2 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True 15:40:16 2022-05-24 15:40:16,886 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 15:40:16 2022-05-24 15:40:16,886 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 15:40:16 2022-05-24 15:40:16,889 [execute] INFO git cat-file --batch-check 15:40:16 2022-05-24 15:40:16,889 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:40:16 2022-05-24 15:40:16,894 [execute] INFO git cat-file --batch 15:40:16 2022-05-24 15:40:16,894 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:40:16 2022-05-24 15:40:16,898 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 15:40:16 2.2.1-dev.2 [Pipeline] } 15:40:16 $ docker exec --env ******** --env ******** ea74bf46ef5d7fb5a231f97f11afa6fb81ae6821b77dc1c3c92ea03b72f1ba7f ssh-agent -k 15:40:17 unset SSH_AUTH_SOCK; 15:40:17 unset SSH_AGENT_PID; 15:40:17 echo Agent pid 37 killed; 15:40:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:40:17 + git semver [Pipeline] } 15:40:17 $ docker stop --time=1 ea74bf46ef5d7fb5a231f97f11afa6fb81ae6821b77dc1c3c92ea03b72f1ba7f 15:40:18 $ docker rm -f ea74bf46ef5d7fb5a231f97f11afa6fb81ae6821b77dc1c3c92ea03b72f1ba7f [Pipeline] // withDockerContainer [Pipeline] sh 15:40:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:40:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:40:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:40:19 . [Pipeline] withDockerContainer 15:40:19 prd-ubuntu20.04-docker-8c-8g-64486 does not seem to be running inside a container 15:40:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 15:40:20 $ docker top cdd7ef9c4551fd6f020224c38f7f55129d6fa3f8080bd28fac98d30b2fdb8d99 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:40:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:40:20 [ssh-agent] Looking for ssh-agent implementation... 15:40:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:40:20 $ docker exec cdd7ef9c4551fd6f020224c38f7f55129d6fa3f8080bd28fac98d30b2fdb8d99 ssh-agent 15:40:20 SSH_AUTH_SOCK=/tmp/ssh-iNBoHMbxFw8m/agent.33 15:40:20 SSH_AGENT_PID=40 15:40:20 Running ssh-add (command line suppressed) 15:40:20 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6849791067799110596.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6849791067799110596.key) 15:40:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:40:20 + git semver push 15:40:21 2022-05-24 15:40:21,107 [run_push] DEBUG push 15:40:21 2022-05-24 15:40:21,108 [execute] INFO git push origin semver 15:40:21 2022-05-24 15:40:21,108 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 15:40:22 2022-05-24 15:40:21,831 [run_push] DEBUG push all version tags 15:40:22 2022-05-24 15:40:21,832 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 15:40:22 2022-05-24 15:40:21,832 [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) 15:40:22 2022-05-24 15:40:22,491 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 15:40:22 2.2.1-dev.2 [Pipeline] } 15:40:22 $ docker exec --env ******** --env ******** cdd7ef9c4551fd6f020224c38f7f55129d6fa3f8080bd28fac98d30b2fdb8d99 ssh-agent -k 15:40:22 unset SSH_AUTH_SOCK; 15:40:22 unset SSH_AGENT_PID; 15:40:22 echo Agent pid 40 killed; 15:40:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:40:23 + git semver [Pipeline] } 15:40:23 $ docker stop --time=1 cdd7ef9c4551fd6f020224c38f7f55129d6fa3f8080bd28fac98d30b2fdb8d99 15:40:24 $ docker rm -f cdd7ef9c4551fd6f020224c38f7f55129d6fa3f8080bd28fac98d30b2fdb8d99 [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 15:40:25 + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] 15:40:25 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 15:40:25 total 16 15:40:25 drwxr-xr-x 3 root root 4096 May 24 15:32 . 15:40:25 drwxrwxr-x 10 jenkins jenkins 4096 May 24 15:40 .. 15:40:25 drwxr-xr-x 2 root root 4096 May 24 15:32 cost 15:40:25 -rw-r--r-- 1 root root 84 May 24 15:32 cost.csv 15:40:25 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives 15:40:25 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 15:40:25 total 16 15:40:25 drwxr-xr-x 3 jenkins jenkins 4096 May 24 15:32 . 15:40:25 drwxrwxr-x 10 jenkins jenkins 4096 May 24 15:40 .. 15:40:25 drwxr-xr-x 2 jenkins jenkins 4096 May 24 15:32 cost 15:40:25 -rw-r--r-- 1 jenkins jenkins 84 May 24 15:32 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:40:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:40:26 ---> package-listing.sh 15:40:26 ++ facter osfamily 15:40:26 ++ tr '[:upper:]' '[:lower:]' 15:40:26 + OS_FAMILY=debian 15:40:26 + workspace=/w/workspace/edgexfoundry_device-snmp-go_main 15:40:26 + START_PACKAGES=/tmp/packages_start.txt 15:40:26 + END_PACKAGES=/tmp/packages_end.txt 15:40:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:40:26 + PACKAGES=/tmp/packages_start.txt 15:40:26 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 15:40:26 + PACKAGES=/tmp/packages_end.txt 15:40:26 + case "${OS_FAMILY}" in 15:40:26 + dpkg -l 15:40:26 + grep '^ii' 15:40:26 + '[' -f /tmp/packages_start.txt ']' 15:40:26 + '[' -f /tmp/packages_end.txt ']' 15:40:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:40:26 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 15:40:26 + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ 15:40:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo 15:40:26 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 15:40:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 15:40:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:40:27 . [Pipeline] withDockerContainer 15:40:27 prd-ubuntu20.04-docker-8c-8g-64486 does not seem to be running inside a container 15:40:27 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:40:28 $ docker top c647aa34c723c32aa2bc229f1341ebd3be09d30a7304a6c60c875deb4dae4ced -eo pid,comm [Pipeline] { [Pipeline] sh 15:40:28 + touch /tmp/pre-build-complete [Pipeline] sh 15:40:28 + mkdir -p /var/log/sysstat [Pipeline] sh 15:40:28 + ls /var/log/sa-host 15:40:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:40:29 provisioning config files... 15:40:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1203601310790677283tmp [Pipeline] { [Pipeline] echo 15:40:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:40:29 ---> create-netrc.sh [Pipeline] } 15:40:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:40:29 ---> python-tools-install.sh [Pipeline] echo 15:40:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:40:30 ---> sudo-logs.sh 15:40:30 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:40:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:40:30 ---> job-cost.sh 15:40:30 lf-activate-venv: SKIPPING 15:40:30 DEBUG: total: 0.2199999988079071 15:40:30 INFO: Retrieving Stack Cost... 15:40:30 INFO: Retrieving Pricing Info for: v3-standard-8 15:40:31 INFO: Archiving Costs [Pipeline] echo 15:40:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:40:31 ---> logs-deploy.sh 15:40:31 lf-activate-venv: SKIPPING 15:40:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/31 15:40:31 INFO: archiving workspace using pattern(s): 15:40:32 Archives upload complete. 15:40:32 INFO: archiving logs to Nexus