Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from dc31039becec9772b0a461c07f986a5f4714edf6 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-ssh7153577420798834085.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh16850686077184626278.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16961241276536300241.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1419132135468919948.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-ssh17485383715135662180.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-47732 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 dc31039becec9772b0a461c07f986a5f4714edf6 (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 dc31039becec9772b0a461c07f986a5f4714edf6 # timeout=10 Commit message: "build(deps): Bump github.com/canonical/edgex-snap-hooks/v2 from 2.2.0-beta.5 to 2.2.0 in /snap/local/hooks (#169)" > git rev-list --no-walk 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:36:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:36:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:36:30 ========================================================= 12:36:30 EdgeX Global Pipelines Version Info 12:36:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:36:31 ------------------- 12:36:31 stable info: 12:36:31 ------------------- 12:36:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:36:31 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 12:36:31 Message: update stable to v1.0.227 12:36:31 ------------------- 12:36:31 experimental info: 12:36:31 ------------------- 12:36:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:36:31 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 12:36:31 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:36:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 12:36:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 12:36:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:36:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:36:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:36:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 12:36:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:36:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:36:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:36:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:36:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:36:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 12:36:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:36:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:36:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:36:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:36:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:36:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:36:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:36:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:36:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:36:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:36:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:36:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:36:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:36:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:36:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 12:36:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 12:36:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 12:36:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dc31039becec9772b0a461c07f986a5f4714edf6 [Pipeline] echo 12:36:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dc31039 [Pipeline] echo 12:36:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:36:32 provisioning config files... 12:36:32 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8277987117871922826tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:36:32 ---> docker-login.sh 12:36:32 nexus3.edgexfoundry.org:10001 12:36:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:36:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:36:33 Configure a credential helper to remove this warning. See 12:36:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:36:33 12:36:33 Login Succeeded 12:36:33 nexus3.edgexfoundry.org:10002 12:36:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:36:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:36:33 Configure a credential helper to remove this warning. See 12:36:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:36:33 12:36:33 Login Succeeded 12:36:33 nexus3.edgexfoundry.org:10003 12:36:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:36:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:36:33 Configure a credential helper to remove this warning. See 12:36:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:36:33 12:36:33 Login Succeeded 12:36:33 nexus3.edgexfoundry.org:10004 12:36:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:36:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:36:33 Configure a credential helper to remove this warning. See 12:36:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:36:33 12:36:33 Login Succeeded 12:36:33 docker.io 12:36:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:36:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:36:33 Configure a credential helper to remove this warning. See 12:36:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:36:33 12:36:33 Login Succeeded 12:36:33 ---> docker-login.sh ends [Pipeline] } 12:36:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:36:34 + git rev-list -1 --merges dc31039becec9772b0a461c07f986a5f4714edf6~1..dc31039becec9772b0a461c07f986a5f4714edf6 [Pipeline] echo 12:36:34 -----------> git rev-list -1 --merges dc31039becec9772b0a461c07f986a5f4714edf6~1..dc31039becec9772b0a461c07f986a5f4714edf6 dc31039becec9772b0a461c07f986a5f4714edf6 [false] [Pipeline] sh 12:36:34 + git log --format=format:%s -1 dc31039becec9772b0a461c07f986a5f4714edf6 [Pipeline] echo 12:36:34 ========================================================= 12:36:34 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:36:34 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:36:34 + git log --format=format:%s -1 dc31039becec9772b0a461c07f986a5f4714edf6 [Pipeline] echo 12:36:35 [semverPrep] GIT_COMMIT: dc31039becec9772b0a461c07f986a5f4714edf6, Commit Message: build(deps): Bump github.com/canonical/edgex-snap-hooks/v2 from 2.2.0-beta.5 to 2.2.0 in /snap/local/hooks (#169) [Pipeline] echo 12:36:35 [semverPrep] This is not a build commit. [Pipeline] sh 12:36:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:36:35 + grep -v github /etc/ssh/ssh_known_hosts 12:36:35 + [ -e /tmp/ssh_known_hosts ] 12:36:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:36:35 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:36:35 + sudo tee -a /etc/ssh/ssh_known_hosts 12:36:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 12:36:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 12:36:35 12:36:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 12:36:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 12:36:36 latest: Pulling from edgex-devops/py-git-semver 12:36:36 1fe172e4850f: Pulling fs layer 12:36:36 caf521ccaac6: Pulling fs layer 12:36:36 3ead6fa29328: Pulling fs layer 12:36:36 5c2a1cbceb83: Pulling fs layer 12:36:36 a8d5f1318db7: Pulling fs layer 12:36:36 c427282e49a2: Pulling fs layer 12:36:36 1827001aaf11: Pulling fs layer 12:36:36 0714d37db230: Pulling fs layer 12:36:36 ac28cf19c067: Pulling fs layer 12:36:36 ca983d60f3e2: Pulling fs layer 12:36:36 9f894cec8388: Pulling fs layer 12:36:36 a8d5f1318db7: Waiting 12:36:36 c427282e49a2: Waiting 12:36:36 1827001aaf11: Waiting 12:36:36 0714d37db230: Waiting 12:36:36 ac28cf19c067: Waiting 12:36:36 ca983d60f3e2: Waiting 12:36:36 9f894cec8388: Waiting 12:36:36 5c2a1cbceb83: Waiting 12:36:36 caf521ccaac6: Verifying Checksum 12:36:36 caf521ccaac6: Download complete 12:36:36 5c2a1cbceb83: Download complete 12:36:36 3ead6fa29328: Verifying Checksum 12:36:36 3ead6fa29328: Download complete 12:36:36 a8d5f1318db7: Verifying Checksum 12:36:36 a8d5f1318db7: Download complete 12:36:36 c427282e49a2: Verifying Checksum 12:36:36 c427282e49a2: Download complete 12:36:36 0714d37db230: Download complete 12:36:36 ac28cf19c067: Verifying Checksum 12:36:36 ac28cf19c067: Download complete 12:36:36 ca983d60f3e2: Verifying Checksum 12:36:36 ca983d60f3e2: Download complete 12:36:36 9f894cec8388: Verifying Checksum 12:36:36 9f894cec8388: Download complete 12:36:36 1fe172e4850f: Verifying Checksum 12:36:36 1fe172e4850f: Download complete 12:36:36 1827001aaf11: Verifying Checksum 12:36:36 1827001aaf11: Download complete 12:36:37 1fe172e4850f: Pull complete 12:36:37 caf521ccaac6: Pull complete 12:36:38 3ead6fa29328: Pull complete 12:36:38 5c2a1cbceb83: Pull complete 12:36:39 a8d5f1318db7: Pull complete 12:36:39 c427282e49a2: Pull complete 12:36:41 1827001aaf11: Pull complete 12:36:41 0714d37db230: Pull complete 12:36:41 ac28cf19c067: Pull complete 12:36:41 ca983d60f3e2: Pull complete 12:36:41 9f894cec8388: Pull complete 12:36:41 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 12:36:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 12:36:41 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 12:36:41 prd-ubuntu20.04-docker-8c-8g-47732 does not seem to be running inside a container 12:36:41 $ 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 12:36:43 $ docker top 11d93a2eee96191288e9674fcf7e649af3e8701e4ca87a88f433a8cde161be7a -eo pid,comm 12:36:43 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). 12:36:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:36:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:36:43 [ssh-agent] Looking for ssh-agent implementation... 12:36:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:36:43 $ docker exec 11d93a2eee96191288e9674fcf7e649af3e8701e4ca87a88f433a8cde161be7a ssh-agent 12:36:43 SSH_AUTH_SOCK=/tmp/ssh-Gvqz9EBWBCpZ/agent.34 12:36:43 SSH_AGENT_PID=40 12:36:43 Running ssh-add (command line suppressed) 12:36:43 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5695140566085917854.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5695140566085917854.key) 12:36:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:36:44 + git tag --points-at HEAD [Pipeline] } 12:36:44 $ docker exec --env ******** --env ******** 11d93a2eee96191288e9674fcf7e649af3e8701e4ca87a88f433a8cde161be7a ssh-agent -k 12:36:44 unset SSH_AUTH_SOCK; 12:36:44 unset SSH_AGENT_PID; 12:36:44 echo Agent pid 40 killed; 12:36:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:36:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:36:44 [ssh-agent] Looking for ssh-agent implementation... 12:36:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:36:44 $ docker exec 11d93a2eee96191288e9674fcf7e649af3e8701e4ca87a88f433a8cde161be7a ssh-agent 12:36:44 SSH_AUTH_SOCK=/tmp/ssh-3uLUXymQU1QZ/agent.73 12:36:44 SSH_AGENT_PID=79 12:36:44 Running ssh-add (command line suppressed) 12:36:44 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_906739461994254641.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_906739461994254641.key) 12:36:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:36:44 + git semver init 12:36:45 2022-05-10 12:36:45,087 [run_init] DEBUG init version:0.0.0 force:False 12:36:45 2022-05-10 12:36:45,088 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver 12:36:45 2022-05-10 12:36:45,088 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver 12:36:45 2022-05-10 12:36:45,088 [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) 12:36:46 2022-05-10 12:36:45,896 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude 12:36:46 2022-05-10 12:36:45,896 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False 12:36:46 2022-05-10 12:36:45,896 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 12:36:46 2022-05-10 12:36:45,896 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 12:36:46 2.2.0-dev.16 [Pipeline] } 12:36:46 $ docker exec --env ******** --env ******** 11d93a2eee96191288e9674fcf7e649af3e8701e4ca87a88f433a8cde161be7a ssh-agent -k 12:36:46 unset SSH_AUTH_SOCK; 12:36:46 unset SSH_AGENT_PID; 12:36:46 echo Agent pid 79 killed; 12:36:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:36:46 + git semver [Pipeline] } 12:36:47 $ docker stop --time=1 11d93a2eee96191288e9674fcf7e649af3e8701e4ca87a88f433a8cde161be7a 12:36:48 $ docker rm -f 11d93a2eee96191288e9674fcf7e649af3e8701e4ca87a88f433a8cde161be7a [Pipeline] // withDockerContainer [Pipeline] sh 12:36:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:36:49 Stashed 1 file(s) [Pipeline] echo 12:36:49 [edgeXSemver]: initialized semver on version 2.2.0-dev.16 [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 12:36:49 provisioning config files... 12:36:49 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1929592255098683464tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:36:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-47725 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws 12:36:49 Running in /w/workspace/device-snmp-go/26 [Pipeline] { [Pipeline] checkout 12:36:49 ---> docker-login.sh 12:36:49 nexus3.edgexfoundry.org:10001 12:36:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:36:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:36:49 Configure a credential helper to remove this warning. See 12:36:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:36:49 12:36:49 Login Succeeded 12:36:49 nexus3.edgexfoundry.org:10002 12:36:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:36:49 Selected Git installation does not exist. Using Default 12:36:49 The recommended git tool is: NONE 12:36:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:36:49 Configure a credential helper to remove this warning. See 12:36:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:36:49 12:36:49 Login Succeeded 12:36:49 nexus3.edgexfoundry.org:10003 12:36:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:36:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:36:49 Configure a credential helper to remove this warning. See 12:36:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:36:49 12:36:49 Login Succeeded 12:36:49 nexus3.edgexfoundry.org:10004 12:36:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:36:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:36:50 Configure a credential helper to remove this warning. See 12:36:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:36:50 12:36:50 Login Succeeded 12:36:50 docker.io 12:36:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:36:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:36:50 Configure a credential helper to remove this warning. See 12:36:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:36:50 12:36:50 Login Succeeded 12:36:50 ---> docker-login.sh ends [Pipeline] } 12:36:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:36:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:36:50 ========================================================= 12:36:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 12:36:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:36:50 + 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 . 12:36:50 Sending build context to Docker daemon 5.315MB 12:36:50 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 12:36:50 Step 2/12 : FROM ${BASE} AS builder 12:36:50 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 12:36:50 59bf1c3509f3: Pulling fs layer 12:36:50 666ba61612fd: Pulling fs layer 12:36:50 8ed8ca486205: Pulling fs layer 12:36:50 4fe6c5a15a65: Pulling fs layer 12:36:50 22a0e8bec74d: Pulling fs layer 12:36:50 ca2b28591e48: Pulling fs layer 12:36:50 a51346096db8: Pulling fs layer 12:36:50 daebc70d1ce1: Pulling fs layer 12:36:50 0e18a0eac166: Pulling fs layer 12:36:50 a51346096db8: Waiting 12:36:50 daebc70d1ce1: Waiting 12:36:50 4fe6c5a15a65: Waiting 12:36:50 22a0e8bec74d: Waiting 12:36:50 0e18a0eac166: Waiting 12:36:50 ca2b28591e48: Waiting 12:36:50 8ed8ca486205: Verifying Checksum 12:36:50 8ed8ca486205: Download complete 12:36:50 666ba61612fd: Verifying Checksum 12:36:50 666ba61612fd: Download complete 12:36:50 22a0e8bec74d: Verifying Checksum 12:36:50 22a0e8bec74d: Download complete 12:36:50 ca2b28591e48: Download complete 12:36:51 a51346096db8: Verifying Checksum 12:36:51 a51346096db8: Download complete 12:36:51 59bf1c3509f3: Verifying Checksum 12:36:51 59bf1c3509f3: Download complete 12:36:51 daebc70d1ce1: Verifying Checksum 12:36:51 daebc70d1ce1: Download complete 12:36:51 59bf1c3509f3: Pull complete 12:36:51 666ba61612fd: Pull complete 12:36:51 8ed8ca486205: Pull complete 12:36:51 0e18a0eac166: Verifying Checksum 12:36:51 0e18a0eac166: Download complete 12:36:51 4fe6c5a15a65: Verifying Checksum 12:36:51 4fe6c5a15a65: Download complete 12:36:54 using credential edgex-jenkins-ssh 12:36:54 Cloning the remote Git repository 12:36:54 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 12:36:54 > git init /w/workspace/device-snmp-go/26 # timeout=10 12:36:54 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 12:36:54 > git --version # timeout=10 12:36:54 > git --version # 'git version 2.25.1' 12:36:54 using GIT_SSH to set credentials SSH Credentials for GitHub 12:36:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:36:55 Avoid second fetch 12:36:55 Checking out Revision dc31039becec9772b0a461c07f986a5f4714edf6 (main) 12:36:55 4fe6c5a15a65: Pull complete 12:36:55 22a0e8bec74d: Pull complete 12:36:55 ca2b28591e48: Pull complete 12:36:55 a51346096db8: Pull complete 12:36:55 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 12:36:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:36:55 > git config core.sparsecheckout # timeout=10 12:36:55 > git checkout -f dc31039becec9772b0a461c07f986a5f4714edf6 # timeout=10 12:36:56 daebc70d1ce1: Pull complete 12:36:58 0e18a0eac166: Pull complete 12:36:58 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 12:36:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 12:36:58 ---> f018257e8ee9 12:36:58 Step 3/12 : ARG MAKE='make build' 12:36:59 ---> Running in 0531bbe50aeb 12:36:59 Removing intermediate container 0531bbe50aeb 12:36:59 ---> e8f7530f3016 12:36:59 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:36:59 ---> Running in 237485f2a6cf 12:36:59 Removing intermediate container 237485f2a6cf 12:36:59 ---> aedc08193acd 12:36:59 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 12:36:59 ---> Running in f263adaeef89 12:37:00 Removing intermediate container f263adaeef89 12:37:00 ---> 4382a98495b1 12:37:00 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:37:00 ---> Running in 81877a4a2942 12:37:00 Commit message: "build(deps): Bump github.com/canonical/edgex-snap-hooks/v2 from 2.2.0-beta.5 to 2.2.0 in /snap/local/hooks (#169)" [Pipeline] withEnv [Pipeline] { 12:37:00 Removing intermediate container 81877a4a2942 12:37:00 ---> 2df281a2668b 12:37:00 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:37:00 ---> Running in 44b99a863e78 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:37:01 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:37:01 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:37:01 % Total % Received % Xferd Average Speed Time Time Time Current 12:37:01 Dload Upload Total Spent Left Speed 12:37:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 196k 0 --:--:-- --:--:-- --:--:-- 196k [Pipeline] sh 12:37:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json 12:37:01 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [Pipeline] sh 12:37:02 (1/4) Installing openssh-keygen (8.8_p1-r1) 12:37:02 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:37:02 + sudo tee /etc/docker/daemon.new 12:37:02 { 12:37:02 "registry-mirrors": [ 12:37:02 "https://nexus3.edgexfoundry.org:10001" 12:37:02 ], 12:37:02 "bip": "10.250.0.254/24", 12:37:02 "hosts": [ 12:37:02 "tcp://0.0.0.0:5555", 12:37:02 "unix:///var/run/docker.sock" 12:37:02 ], 12:37:02 "mtu": 1458, 12:37:02 "selinux-enabled": true, 12:37:02 "seccomp-profile": "/etc/docker/seccomp.json" 12:37:02 } [Pipeline] sh 12:37:02 (2/4) Installing libedit (20210910.3.1-r0) 12:37:02 (3/4) Installing openssh-client-common (8.8_p1-r1) 12:37:02 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:37:02 (4/4) Installing openssh-client-default (8.8_p1-r1) 12:37:02 Executing busybox-1.34.1-r3.trigger 12:37:02 OK: 224 MiB in 56 packages 12:37:02 + sudo service docker restart 12:37:03 Removing intermediate container 44b99a863e78 12:37:03 ---> 97b0a0bf6616 12:37:03 Step 8/12 : WORKDIR /device-snmp-go 12:37:03 ---> Running in a2450bef3df6 12:37:03 Removing intermediate container a2450bef3df6 12:37:03 ---> 166817d0fcfa 12:37:03 Step 9/12 : COPY go.mod vendor* ./ 12:37:03 ---> d328f6110e04 12:37:03 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:37:03 ---> Running in 3cb006c310e1 12:37:18 Removing intermediate container 3cb006c310e1 12:37:18 ---> e6207efe06b5 12:37:18 Step 11/12 : COPY . . 12:37:18 ---> 9c025f110037 12:37:18 Step 12/12 : RUN ${MAKE} 12:37:18 ---> Running in 1fdcf6b59a05 12:37:18 noop 12:37:18 Removing intermediate container 1fdcf6b59a05 12:37:18 ---> 83ada23007f8 12:37:18 Successfully built 83ada23007f8 12:37:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 12:37:18 + docker inspect -f . ci-base-image-x86_64 12:37:18 . [Pipeline] withDockerContainer 12:37:18 prd-ubuntu20.04-docker-8c-8g-47732 does not seem to be running inside a container 12:37:19 $ 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 12:37:19 $ docker top f4ede71841bdca51ce3767516059408ec70f18fa6d3656850617b5c6434d5a9b -eo pid,comm [Pipeline] { [Pipeline] sh 12:37:19 + go version 12:37:19 go version go1.17.6 linux/amd64 [Pipeline] } 12:37:19 $ docker stop --time=1 f4ede71841bdca51ce3767516059408ec70f18fa6d3656850617b5c6434d5a9b 12:37:21 $ docker rm -f f4ede71841bdca51ce3767516059408ec70f18fa6d3656850617b5c6434d5a9b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Test) [Pipeline] configFileProvider 12:37:21 provisioning config files... [Pipeline] script [Pipeline] { 12:37:21 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/26@tmp/config5798995361126952426tmp [Pipeline] isUnix [Pipeline] sh [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:37:21 + docker inspect -f . ci-base-image-x86_64 12:37:21 . [Pipeline] withDockerContainer 12:37:21 prd-ubuntu20.04-docker-8c-8g-47732 does not seem to be running inside a container 12:37:21 ---> docker-login.sh 12:37:21 nexus3.edgexfoundry.org:10001 12:37:21 $ 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 12:37:22 $ docker top 809e44d13bc4088dd5c906bf5d99d2529f30ae5ddaecdc4d302b207d26499cbd -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:37:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:37:22 + make test 12:37:22 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 12:37:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:37:22 Configure a credential helper to remove this warning. See 12:37:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:37:22 12:37:22 Login Succeeded 12:37:22 nexus3.edgexfoundry.org:10002 12:37:23 ? github.com/edgexfoundry/device-snmp-go [no test files] 12:37:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:37:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:37:23 Configure a credential helper to remove this warning. See 12:37:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:37:23 12:37:23 Login Succeeded 12:37:23 nexus3.edgexfoundry.org:10003 12:37:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:37:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:37:23 Configure a credential helper to remove this warning. See 12:37:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:37:23 12:37:23 Login Succeeded 12:37:23 nexus3.edgexfoundry.org:10004 12:37:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:37:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:37:24 Configure a credential helper to remove this warning. See 12:37:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:37:24 12:37:24 Login Succeeded 12:37:24 docker.io 12:37:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:37:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:37:25 Configure a credential helper to remove this warning. See 12:37:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:37:25 12:37:25 Login Succeeded 12:37:25 ---> docker-login.sh ends [Pipeline] } 12:37:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:37:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:37:25 ========================================================= 12:37:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 12:37:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:37:26 + 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 . 12:37:26 Sending build context to Docker daemon 2.745MB 12:37:26 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 12:37:26 Step 2/12 : FROM ${BASE} AS builder 12:37:26 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:37:26 9b3977197b4f: Pulling fs layer 12:37:26 1a89e8eeedd5: Pulling fs layer 12:37:26 94645a83ff95: Pulling fs layer 12:37:26 3f3a8bcf1eab: Pulling fs layer 12:37:26 0c92f367c5e7: Pulling fs layer 12:37:26 3096ccb668a1: Pulling fs layer 12:37:26 e8cf19c19ddd: Pulling fs layer 12:37:26 a4caa8a26152: Pulling fs layer 12:37:26 3096ccb668a1: Waiting 12:37:26 3f3a8bcf1eab: Waiting 12:37:26 e8cf19c19ddd: Waiting 12:37:26 a4caa8a26152: Waiting 12:37:26 94645a83ff95: Download complete 12:37:26 1a89e8eeedd5: Download complete 12:37:26 0c92f367c5e7: Verifying Checksum 12:37:26 0c92f367c5e7: Download complete 12:37:26 3096ccb668a1: Verifying Checksum 12:37:26 3096ccb668a1: Download complete 12:37:26 9b3977197b4f: Verifying Checksum 12:37:26 9b3977197b4f: Download complete 12:37:26 e8cf19c19ddd: Verifying Checksum 12:37:26 e8cf19c19ddd: Download complete 12:37:27 9b3977197b4f: Pull complete 12:37:28 1a89e8eeedd5: Pull complete 12:37:28 94645a83ff95: Pull complete 12:37:29 a4caa8a26152: Verifying Checksum 12:37:29 a4caa8a26152: Download complete 12:37:29 3f3a8bcf1eab: Verifying Checksum 12:37:29 3f3a8bcf1eab: Download complete 12:37:33 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 12:37:33 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.008s coverage: 0.0% of statements 12:37:39 CGO_ENABLED=1 GO111MODULE=on go vet ./... 12:37:42 3f3a8bcf1eab: Pull complete 12:37:42 0c92f367c5e7: Pull complete 12:37:42 3096ccb668a1: Pull complete 12:37:42 e8cf19c19ddd: Pull complete 12:37:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:37:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:37:43 ./bin/test-attribution-txt.sh [Pipeline] echo 12:37:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:37:43 $ docker stop --time=1 809e44d13bc4088dd5c906bf5d99d2529f30ae5ddaecdc4d302b207d26499cbd 12:37:45 $ docker rm -f 809e44d13bc4088dd5c906bf5d99d2529f30ae5ddaecdc4d302b207d26499cbd [Pipeline] // withDockerContainer [Pipeline] sh 12:37:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:37:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:37:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:37:46 + ls -al . 12:37:46 total 168 12:37:46 drwxrwxr-x 9 jenkins jenkins 4096 May 10 12:37 . 12:37:46 drwxrwxr-x 4 jenkins jenkins 4096 May 10 12:36 .. 12:37:46 -rw-rw-r-- 1 jenkins jenkins 6 May 10 12:36 .dockerignore 12:37:46 drwxrwxr-x 8 jenkins jenkins 4096 May 10 12:36 .git 12:37:46 drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:36 .github 12:37:46 -rw-rw-r-- 1 jenkins jenkins 328 May 10 12:36 .gitignore 12:37:46 -rw-rw-r-- 1 jenkins jenkins 41 May 10 12:36 .golangci.yml 12:37:46 drwxr-xr-x 3 jenkins jenkins 4096 May 10 12:36 .semver 12:37:46 -rw-rw-r-- 1 jenkins jenkins 8296 May 10 12:36 Attribution.txt 12:37:46 -rw-rw-r-- 1 jenkins jenkins 4401 May 10 12:36 CHANGELOG.md 12:37:46 -rw-rw-r-- 1 jenkins jenkins 1516 May 10 12:36 Dockerfile 12:37:46 -rw-rw-r-- 1 jenkins jenkins 677 May 10 12:36 GOVERNANCE.md 12:37:46 -rw-rw-r-- 1 jenkins jenkins 656 May 10 12:36 Jenkinsfile 12:37:46 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 12:36 LICENSE 12:37:46 -rw-rw-r-- 1 jenkins jenkins 1938 May 10 12:36 Makefile 12:37:46 -rw-rw-r-- 1 jenkins jenkins 620 May 10 12:36 OWNERS.md 12:37:46 -rw-rw-r-- 1 jenkins jenkins 9390 May 10 12:36 README.md 12:37:46 -rw-rw-r-- 1 jenkins jenkins 12 May 10 12:36 VERSION 12:37:46 drwxrwxr-x 2 jenkins jenkins 4096 May 10 12:36 bin 12:37:46 drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:36 cmd 12:37:46 -rw-r--r-- 1 jenkins jenkins 7631 May 10 12:37 coverage.out 12:37:46 -rw-rw-r-- 1 jenkins jenkins 3296 May 10 12:36 go.mod 12:37:46 -rw-rw-r-- 1 jenkins jenkins 35911 May 10 12:36 go.sum 12:37:46 drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:36 internal 12:37:46 drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:36 snap 12:37:46 -rw-rw-r-- 1 jenkins jenkins 209 May 10 12:36 version.go [Pipeline] isUnix [Pipeline] sh 12:37:47 + 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=dc31039becec9772b0a461c07f986a5f4714edf6 --label arch=amd64 --label version=2.2.0-dev.16 . 12:37:47 Sending build context to Docker daemon 5.323MB 12:37:47 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 12:37:47 Step 2/24 : FROM ${BASE} AS builder 12:37:47 ---> 83ada23007f8 12:37:47 Step 3/24 : ARG MAKE='make build' 12:37:47 ---> Running in e445dbce7527 12:37:47 Removing intermediate container e445dbce7527 12:37:47 ---> ce396a8d1386 12:37:47 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:37:47 ---> Running in 7ae36f662d92 12:37:47 Removing intermediate container 7ae36f662d92 12:37:47 ---> 90972d083fb8 12:37:47 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 12:37:47 ---> Running in e9245a4dbbeb 12:37:47 Removing intermediate container e9245a4dbbeb 12:37:47 ---> 63d0f6664d73 12:37:47 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:37:47 ---> Running in adace6bcb216 12:37:48 Removing intermediate container adace6bcb216 12:37:48 ---> 707e07e2ea23 12:37:48 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:37:48 ---> Running in 38c64f5f2a10 12:37:48 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:37:49 a4caa8a26152: Pull complete 12:37:49 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 12:37:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 12:37:49 ---> 725f1c02e7f9 12:37:49 Step 3/12 : ARG MAKE='make build' 12:37:49 ---> Running in bbffd4a9d68d 12:37:49 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:37:49 OK: 224 MiB in 56 packages 12:37:49 Removing intermediate container bbffd4a9d68d 12:37:49 ---> 7918f93f3abb 12:37:49 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:37:50 ---> Running in f880292952ff 12:37:50 Removing intermediate container 38c64f5f2a10 12:37:50 ---> 17c126983d20 12:37:50 Step 8/24 : WORKDIR /device-snmp-go 12:37:50 ---> Running in 8c45302c42b6 12:37:50 Removing intermediate container 8c45302c42b6 12:37:50 ---> 74a551809bd7 12:37:50 Step 9/24 : COPY go.mod vendor* ./ 12:37:50 ---> 3ed4ddea03d4 12:37:50 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:37:50 Removing intermediate container f880292952ff 12:37:50 ---> 43e12f0a121d 12:37:50 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 12:37:50 ---> Running in 2f06bfa1e32a 12:37:50 ---> Running in a201869ebb46 12:37:50 Removing intermediate container 2f06bfa1e32a 12:37:50 ---> 398a53da63a8 12:37:50 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:37:51 ---> Running in e90e9efd6598 12:37:51 Removing intermediate container a201869ebb46 12:37:51 ---> fe02eea5e7ca 12:37:51 Step 11/24 : COPY . . 12:37:51 ---> 94b10ff3bc25 12:37:51 Step 12/24 : RUN ${MAKE} 12:37:51 ---> Running in c18db315e43a 12:37:51 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=2.2.0-dev.16" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 12:37:53 Removing intermediate container e90e9efd6598 12:37:53 ---> 2ff8ff36e81a 12:37:53 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:37:53 ---> Running in e6fbb0aaf324 12:37:54 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:37:55 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:37:56 (1/4) Installing openssh-keygen (8.8_p1-r1) 12:37:56 (2/4) Installing libedit (20210910.3.1-r0) 12:37:56 (3/4) Installing openssh-client-common (8.8_p1-r1) 12:37:56 (4/4) Installing openssh-client-default (8.8_p1-r1) 12:37:56 Executing busybox-1.34.1-r3.trigger 12:37:56 OK: 224 MiB in 56 packages 12:37:57 Removing intermediate container e6fbb0aaf324 12:37:57 ---> eb5695fa666a 12:37:57 Step 8/12 : WORKDIR /device-snmp-go 12:37:57 ---> Running in 6ac9a7ea315e 12:37:57 Removing intermediate container 6ac9a7ea315e 12:37:57 ---> c2cb0e3dfd21 12:37:57 Step 9/12 : COPY go.mod vendor* ./ 12:37:58 ---> f909f356da18 12:37:58 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:37:58 ---> Running in 5200d098c456 12:38:13 Removing intermediate container c18db315e43a 12:38:13 ---> b8bdf381e23b 12:38:13 Step 13/24 : FROM alpine:3.14 12:38:13 3.14: Pulling from library/alpine 12:38:13 8663204ce13b: Pulling fs layer 12:38:13 8663204ce13b: Verifying Checksum 12:38:13 8663204ce13b: Download complete 12:38:13 8663204ce13b: Pull complete 12:38:13 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 12:38:13 Status: Downloaded newer image for alpine:3.14 12:38:13 ---> e04c818066af 12:38:13 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 12:38:13 ---> Running in b4580784d4a9 12:38:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 12:38:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 12:38:13 (1/6) Installing dumb-init (1.2.5-r1) 12:38:13 (2/6) Installing libgcc (10.3.1_git20210424-r2) 12:38:13 (3/6) Installing libsodium (1.0.18-r0) 12:38:13 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 12:38:13 (5/6) Installing libzmq (4.3.4-r0) 12:38:13 (6/6) Installing zeromq (4.3.4-r0) 12:38:13 Executing busybox-1.33.1-r7.trigger 12:38:13 OK: 8 MiB in 20 packages 12:38:13 Removing intermediate container b4580784d4a9 12:38:13 ---> 4e0171d1ab8d 12:38:13 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 12:38:13 ---> 46f57f803c35 12:38:13 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 12:38:13 ---> d22e97d2260c 12:38:13 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 12:38:13 ---> 0da5bfa30639 12:38:13 Step 18/24 : EXPOSE 59993 12:38:13 ---> Running in 981f466bb366 12:38:13 Removing intermediate container 981f466bb366 12:38:13 ---> e4f914b6a893 12:38:13 Step 19/24 : EXPOSE 161 12:38:14 ---> Running in 6b401838335a 12:38:14 Removing intermediate container 6b401838335a 12:38:14 ---> 58b718a46838 12:38:14 Step 20/24 : ENTRYPOINT ["/device-snmp"] 12:38:14 ---> Running in d985af4b3aee 12:38:14 Removing intermediate container d985af4b3aee 12:38:14 ---> 5b9772fe45fc 12:38:14 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 12:38:14 ---> Running in c65739214718 12:38:14 Removing intermediate container c65739214718 12:38:14 ---> 70e219e3f93d 12:38:14 Step 22/24 : LABEL arch=amd64 12:38:14 ---> Running in 722341d4cdec 12:38:14 Removing intermediate container 722341d4cdec 12:38:14 ---> 4ff462558483 12:38:14 Step 23/24 : LABEL git_sha=dc31039becec9772b0a461c07f986a5f4714edf6 12:38:14 ---> Running in a5c7a4896e71 12:38:14 Removing intermediate container a5c7a4896e71 12:38:14 ---> b93f7b01696b 12:38:14 Step 24/24 : LABEL version=2.2.0-dev.16 12:38:14 ---> Running in 9e285b972aea 12:38:14 Removing intermediate container 9e285b972aea 12:38:14 ---> 21cc2777c89e 12:38:14 [Warning] One or more build-args [ARCH] were not consumed 12:38:14 Successfully built 21cc2777c89e 12:38:14 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:38:14 provisioning config files... 12:38:14 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1552389036892716743tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:38:15 ---> docker-login.sh 12:38:15 nexus3.edgexfoundry.org:10001 12:38:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:38:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:38:15 Configure a credential helper to remove this warning. See 12:38:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:38:15 12:38:15 Login Succeeded 12:38:15 nexus3.edgexfoundry.org:10002 12:38:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:38:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:38:15 Configure a credential helper to remove this warning. See 12:38:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:38:15 12:38:15 Login Succeeded 12:38:15 nexus3.edgexfoundry.org:10003 12:38:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:38:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:38:15 Configure a credential helper to remove this warning. See 12:38:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:38:15 12:38:15 Login Succeeded 12:38:15 nexus3.edgexfoundry.org:10004 12:38:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:38:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:38:15 Configure a credential helper to remove this warning. See 12:38:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:38:15 12:38:15 Login Succeeded 12:38:15 docker.io 12:38:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:38:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:38:15 Configure a credential helper to remove this warning. See 12:38:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:38:15 12:38:15 Login Succeeded 12:38:15 ---> docker-login.sh ends [Pipeline] } 12:38:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:38:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:38:16 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 12:38:16 dc31039becec9772b0a461c07f986a5f4714edf6 12:38:16 latest 12:38:16 2.2.0-dev.16 12:38:16 dc31039becec9772b0a461c07f986a5f4714edf6-2.2.0-dev.16 12:38:16 main 12:38:16 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:38:16 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:dc31039becec9772b0a461c07f986a5f4714edf6 [Pipeline] isUnix [Pipeline] sh 12:38:16 + docker push nexus3.edgexfoundry.org:10004/device-snmp:dc31039becec9772b0a461c07f986a5f4714edf6 12:38:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 12:38:16 42dce0b296f6: Preparing 12:38:16 5474ee2aed04: Preparing 12:38:16 e6da39059185: Preparing 12:38:16 ea571f5f98ae: Preparing 12:38:16 b541d28bf3b4: Preparing 12:38:16 b541d28bf3b4: Layer already exists 12:38:16 42dce0b296f6: Pushed 12:38:16 5474ee2aed04: Pushed 12:38:16 ea571f5f98ae: Pushed 12:38:20 e6da39059185: Pushed 12:38:20 dc31039becec9772b0a461c07f986a5f4714edf6: digest: sha256:c070edfe396055c4870eed5e8891a32c9fa0fd0b55e246f6bc363ade90df3efc size: 1367 [Pipeline] isUnix [Pipeline] sh 12:38:20 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] isUnix [Pipeline] sh 12:38:20 + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest 12:38:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 12:38:20 42dce0b296f6: Preparing 12:38:20 5474ee2aed04: Preparing 12:38:20 e6da39059185: Preparing 12:38:20 ea571f5f98ae: Preparing 12:38:20 b541d28bf3b4: Preparing 12:38:20 b541d28bf3b4: Layer already exists 12:38:20 5474ee2aed04: Layer already exists 12:38:20 e6da39059185: Layer already exists 12:38:20 42dce0b296f6: Layer already exists 12:38:20 ea571f5f98ae: Layer already exists 12:38:20 latest: digest: sha256:c070edfe396055c4870eed5e8891a32c9fa0fd0b55e246f6bc363ade90df3efc size: 1367 [Pipeline] isUnix [Pipeline] sh 12:38:21 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.16 [Pipeline] isUnix [Pipeline] sh 12:38:21 + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.16 12:38:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 12:38:21 42dce0b296f6: Preparing 12:38:21 5474ee2aed04: Preparing 12:38:21 e6da39059185: Preparing 12:38:21 ea571f5f98ae: Preparing 12:38:21 b541d28bf3b4: Preparing 12:38:21 42dce0b296f6: Layer already exists 12:38:21 ea571f5f98ae: Layer already exists 12:38:21 b541d28bf3b4: Layer already exists 12:38:21 5474ee2aed04: Layer already exists 12:38:21 e6da39059185: Layer already exists 12:38:21 2.2.0-dev.16: digest: sha256:c070edfe396055c4870eed5e8891a32c9fa0fd0b55e246f6bc363ade90df3efc size: 1367 [Pipeline] isUnix [Pipeline] sh 12:38:21 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:dc31039becec9772b0a461c07f986a5f4714edf6-2.2.0-dev.16 [Pipeline] isUnix [Pipeline] sh 12:38:22 + docker push nexus3.edgexfoundry.org:10004/device-snmp:dc31039becec9772b0a461c07f986a5f4714edf6-2.2.0-dev.16 12:38:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 12:38:22 42dce0b296f6: Preparing 12:38:22 5474ee2aed04: Preparing 12:38:22 e6da39059185: Preparing 12:38:22 ea571f5f98ae: Preparing 12:38:22 b541d28bf3b4: Preparing 12:38:22 e6da39059185: Layer already exists 12:38:22 5474ee2aed04: Layer already exists 12:38:22 ea571f5f98ae: Layer already exists 12:38:22 42dce0b296f6: Layer already exists 12:38:22 b541d28bf3b4: Layer already exists 12:38:22 dc31039becec9772b0a461c07f986a5f4714edf6-2.2.0-dev.16: digest: sha256:c070edfe396055c4870eed5e8891a32c9fa0fd0b55e246f6bc363ade90df3efc size: 1367 [Pipeline] isUnix [Pipeline] sh 12:38:22 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] isUnix [Pipeline] sh 12:38:22 + docker push nexus3.edgexfoundry.org:10004/device-snmp:main 12:38:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 12:38:22 42dce0b296f6: Preparing 12:38:22 5474ee2aed04: Preparing 12:38:22 e6da39059185: Preparing 12:38:22 ea571f5f98ae: Preparing 12:38:22 b541d28bf3b4: Preparing 12:38:22 e6da39059185: Layer already exists 12:38:22 ea571f5f98ae: Layer already exists 12:38:22 42dce0b296f6: Layer already exists 12:38:22 5474ee2aed04: Layer already exists 12:38:22 b541d28bf3b4: Layer already exists 12:38:22 main: digest: sha256:c070edfe396055c4870eed5e8891a32c9fa0fd0b55e246f6bc363ade90df3efc size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:38:22 ===================================================== [Pipeline] echo 12:38:22 taggedImages: 12:38:22 - nexus3.edgexfoundry.org:10004/device-snmp:dc31039becec9772b0a461c07f986a5f4714edf6 12:38:22 - nexus3.edgexfoundry.org:10004/device-snmp:latest 12:38:22 - nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.16 12:38:22 - nexus3.edgexfoundry.org:10004/device-snmp:dc31039becec9772b0a461c07f986a5f4714edf6-2.2.0-dev.16 12:38:22 - 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 12:38:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:38:23 12:38:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 12:38:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:38:23 latest: Pulling from edgex-lftools-log-publisher 12:38:23 5eb5b503b376: Pulling fs layer 12:38:23 5c69ac0246d0: Pulling fs layer 12:38:23 ec43610c2a17: Pulling fs layer 12:38:23 3a2ae6a8a46f: Pulling fs layer 12:38:23 33b1e0a273af: Pulling fs layer 12:38:23 5d3b04190fa2: Pulling fs layer 12:38:23 2f39f015ded8: Pulling fs layer 12:38:23 33b1e0a273af: Waiting 12:38:23 5d3b04190fa2: Waiting 12:38:23 2f39f015ded8: Waiting 12:38:23 3a2ae6a8a46f: Waiting 12:38:23 5c69ac0246d0: Download complete 12:38:23 3a2ae6a8a46f: Verifying Checksum 12:38:23 3a2ae6a8a46f: Download complete 12:38:23 33b1e0a273af: Verifying Checksum 12:38:23 33b1e0a273af: Download complete 12:38:23 5d3b04190fa2: Verifying Checksum 12:38:23 5d3b04190fa2: Download complete 12:38:23 ec43610c2a17: Verifying Checksum 12:38:23 ec43610c2a17: Download complete 12:38:23 5eb5b503b376: Download complete 12:38:24 2f39f015ded8: Verifying Checksum 12:38:24 2f39f015ded8: Download complete 12:38:24 5eb5b503b376: Pull complete 12:38:25 5c69ac0246d0: Pull complete 12:38:25 ec43610c2a17: Pull complete 12:38:25 3a2ae6a8a46f: Pull complete 12:38:25 33b1e0a273af: Pull complete 12:38:25 5d3b04190fa2: Pull complete 12:38:30 2f39f015ded8: Pull complete 12:38:30 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:38:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:38:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 12:38:30 prd-ubuntu20.04-docker-8c-8g-47732 does not seem to be running inside a container 12:38:30 $ 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 12:38:31 $ docker top 7757dc21da534ec9c88611cd691652422a2e1d42b4b8de4004f6635c1bff094c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:38:32 ---> job-cost.sh 12:38:32 lf-activate-venv: SKIPPING 12:38:32 INFO: No Stack... 12:38:32 INFO: Retrieving Pricing Info for: v3-standard-8 12:38:33 INFO: Archiving Costs [Pipeline] sh 12:38:33 + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv 12:38:33 + cut -d, -f6 [Pipeline] lock 12:38:33 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-26-stack-cost] 12:38:33 Resource [jenkins-edgexfoundry-device-snmp-go-main-26-stack-cost] did not exist. Created. 12:38:33 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-26-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:38:34 + echo total: 0.2199999988079071 [Pipeline] stash 12:38:34 Stashed 1 file(s) [Pipeline] } 12:38:34 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-26-stack-cost] [Pipeline] // lock [Pipeline] } 12:38:34 $ docker stop --time=1 7757dc21da534ec9c88611cd691652422a2e1d42b4b8de4004f6635c1bff094c 12:38:35 $ docker rm -f 7757dc21da534ec9c88611cd691652422a2e1d42b4b8de4004f6635c1bff094c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:38:45 Removing intermediate container 5200d098c456 12:38:45 ---> 6a3f1ecbecbd 12:38:45 Step 11/12 : COPY . . 12:38:45 ---> f0a7afe80e6d 12:38:45 Step 12/12 : RUN ${MAKE} 12:38:45 ---> Running in eecccb1ab098 12:38:46 noop 12:38:47 Removing intermediate container eecccb1ab098 12:38:47 ---> a0b9bffdec14 12:38:47 Successfully built a0b9bffdec14 12:38:47 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 12:38:47 + docker inspect -f . ci-base-image-arm64 12:38:47 . [Pipeline] withDockerContainer 12:38:47 prd-ubuntu20.04-docker-arm64-4c-16g-47725 does not seem to be running inside a container 12:38:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/26 -v /w/workspace/device-snmp-go/26:/w/workspace/device-snmp-go/26:rw,z -v /w/workspace/device-snmp-go/26@tmp:/w/workspace/device-snmp-go/26@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:38:49 $ docker top 6b4a49279804737d24e7ac2a001a3c4a9a3d5b6200551f108627c9a06cab8aa1 -eo pid,comm [Pipeline] { [Pipeline] sh 12:38:50 + go version 12:38:50 go version go1.17.6 linux/arm64 [Pipeline] } 12:38:50 $ docker stop --time=1 6b4a49279804737d24e7ac2a001a3c4a9a3d5b6200551f108627c9a06cab8aa1 12:38:51 $ docker rm -f 6b4a49279804737d24e7ac2a001a3c4a9a3d5b6200551f108627c9a06cab8aa1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:38:52 + docker inspect -f . ci-base-image-arm64 12:38:52 . [Pipeline] withDockerContainer 12:38:52 prd-ubuntu20.04-docker-arm64-4c-16g-47725 does not seem to be running inside a container 12:38:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/26 -v /w/workspace/device-snmp-go/26:/w/workspace/device-snmp-go/26:rw,z -v /w/workspace/device-snmp-go/26@tmp:/w/workspace/device-snmp-go/26@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:38:54 $ docker top f58300e74c91dfa3c4411698dc6d9d0ee405d5674a9d9bb90a3e8b9384549a51 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:38:55 + make test 12:38:55 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 12:38:57 ? github.com/edgexfoundry/device-snmp-go [no test files] 12:40:34 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 12:40:34 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.042s coverage: 0.0% of statements 12:40:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:40:34 CGO_ENABLED=1 GO111MODULE=on go vet ./... 12:40:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:40:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:40:49 ./bin/test-attribution-txt.sh [Pipeline] echo 12:40:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:40:51 $ docker stop --time=1 f58300e74c91dfa3c4411698dc6d9d0ee405d5674a9d9bb90a3e8b9384549a51 12:40:53 $ docker rm -f f58300e74c91dfa3c4411698dc6d9d0ee405d5674a9d9bb90a3e8b9384549a51 [Pipeline] // withDockerContainer [Pipeline] sh 12:40:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:40:54 Warning: overwriting stash ‘coverage-report’ 12:40:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:40:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:40:55 + ls -al . 12:40:55 total 164 12:40:55 drwxrwxr-x 8 jenkins jenkins 4096 May 10 12:40 . 12:40:55 drwxrwxr-x 4 jenkins jenkins 4096 May 10 12:36 .. 12:40:55 -rw-rw-r-- 1 jenkins jenkins 6 May 10 12:36 .dockerignore 12:40:55 drwxrwxr-x 8 jenkins jenkins 4096 May 10 12:36 .git 12:40:55 drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:36 .github 12:40:55 -rw-rw-r-- 1 jenkins jenkins 328 May 10 12:36 .gitignore 12:40:55 -rw-rw-r-- 1 jenkins jenkins 41 May 10 12:36 .golangci.yml 12:40:55 -rw-rw-r-- 1 jenkins jenkins 8296 May 10 12:36 Attribution.txt 12:40:55 -rw-rw-r-- 1 jenkins jenkins 4401 May 10 12:36 CHANGELOG.md 12:40:55 -rw-rw-r-- 1 jenkins jenkins 1516 May 10 12:36 Dockerfile 12:40:55 -rw-rw-r-- 1 jenkins jenkins 677 May 10 12:36 GOVERNANCE.md 12:40:55 -rw-rw-r-- 1 jenkins jenkins 656 May 10 12:36 Jenkinsfile 12:40:55 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 12:36 LICENSE 12:40:55 -rw-rw-r-- 1 jenkins jenkins 1938 May 10 12:36 Makefile 12:40:55 -rw-rw-r-- 1 jenkins jenkins 620 May 10 12:36 OWNERS.md 12:40:55 -rw-rw-r-- 1 jenkins jenkins 9390 May 10 12:36 README.md 12:40:55 -rw-rw-r-- 1 jenkins jenkins 12 May 10 12:36 VERSION 12:40:55 drwxrwxr-x 2 jenkins jenkins 4096 May 10 12:36 bin 12:40:55 drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:36 cmd 12:40:55 -rw-r--r-- 1 jenkins jenkins 7631 May 10 12:40 coverage.out 12:40:55 -rw-rw-r-- 1 jenkins jenkins 3296 May 10 12:36 go.mod 12:40:55 -rw-rw-r-- 1 jenkins jenkins 35911 May 10 12:36 go.sum 12:40:55 drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:36 internal 12:40:55 drwxrwxr-x 3 jenkins jenkins 4096 May 10 12:36 snap 12:40:55 -rw-rw-r-- 1 jenkins jenkins 209 May 10 12:36 version.go [Pipeline] isUnix [Pipeline] sh 12:40:56 + 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=dc31039becec9772b0a461c07f986a5f4714edf6 --label arch=arm64 --label version=2.2.0-dev.16 . 12:40:56 Sending build context to Docker daemon 2.753MB 12:40:56 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 12:40:56 Step 2/24 : FROM ${BASE} AS builder 12:40:56 ---> a0b9bffdec14 12:40:56 Step 3/24 : ARG MAKE='make build' 12:40:56 ---> Running in 92ea6c59ce01 12:40:57 Removing intermediate container 92ea6c59ce01 12:40:57 ---> d12a95367e56 12:40:57 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:40:57 ---> Running in 8f1eb494b28d 12:40:57 Removing intermediate container 8f1eb494b28d 12:40:57 ---> ffad11cdc7b3 12:40:57 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 12:40:57 ---> Running in 96eb62526f10 12:40:58 Removing intermediate container 96eb62526f10 12:40:58 ---> 501308fc5d40 12:40:58 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:40:58 ---> Running in 41b2f457fc30 12:41:00 Removing intermediate container 41b2f457fc30 12:41:00 ---> 2b17c4c27646 12:41:00 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:41:00 ---> Running in 5c44a74ebd7d 12:41:01 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:41:02 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:41:03 OK: 224 MiB in 56 packages 12:41:03 Removing intermediate container 5c44a74ebd7d 12:41:03 ---> fcb02eb561f4 12:41:03 Step 8/24 : WORKDIR /device-snmp-go 12:41:03 ---> Running in 44d24c90866b 12:41:04 Removing intermediate container 44d24c90866b 12:41:04 ---> 4be32551fd3b 12:41:04 Step 9/24 : COPY go.mod vendor* ./ 12:41:04 ---> 2fb2f512da08 12:41:04 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:41:04 ---> Running in 22033541e05c 12:41:06 Removing intermediate container 22033541e05c 12:41:06 ---> 1c43ce7b6058 12:41:06 Step 11/24 : COPY . . 12:41:07 ---> 43635a8445ef 12:41:07 Step 12/24 : RUN ${MAKE} 12:41:07 ---> Running in 34491e0e7e46 12:41:08 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=2.2.0-dev.16" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 12:43:30 Removing intermediate container 34491e0e7e46 12:43:30 ---> 6a65989e5bbe 12:43:30 Step 13/24 : FROM alpine:3.14 12:43:30 3.14: Pulling from library/alpine 12:43:30 455c02918c45: Pulling fs layer 12:43:30 455c02918c45: Verifying Checksum 12:43:30 455c02918c45: Download complete 12:43:30 455c02918c45: Pull complete 12:43:30 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 12:43:30 Status: Downloaded newer image for alpine:3.14 12:43:30 ---> ac73e934f311 12:43:30 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 12:43:30 ---> Running in a3af34b61eed 12:43:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 12:43:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 12:43:30 (1/6) Installing dumb-init (1.2.5-r1) 12:43:30 (2/6) Installing libgcc (10.3.1_git20210424-r2) 12:43:30 (3/6) Installing libsodium (1.0.18-r0) 12:43:30 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 12:43:30 (5/6) Installing libzmq (4.3.4-r0) 12:43:30 (6/6) Installing zeromq (4.3.4-r0) 12:43:30 Executing busybox-1.33.1-r7.trigger 12:43:30 OK: 8 MiB in 20 packages 12:43:30 Removing intermediate container a3af34b61eed 12:43:30 ---> 145e4348904b 12:43:30 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 12:43:30 ---> d591c4d9f685 12:43:30 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 12:43:30 ---> d9aebf488714 12:43:30 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 12:43:30 ---> fcd2b19b447f 12:43:30 Step 18/24 : EXPOSE 59993 12:43:30 ---> Running in 58ac4fb578c6 12:43:30 Removing intermediate container 58ac4fb578c6 12:43:30 ---> b5011f3231fe 12:43:30 Step 19/24 : EXPOSE 161 12:43:30 ---> Running in eb20339ba6a8 12:43:30 Removing intermediate container eb20339ba6a8 12:43:30 ---> 2c10e3596140 12:43:30 Step 20/24 : ENTRYPOINT ["/device-snmp"] 12:43:30 ---> Running in 8ea61c6fc123 12:43:30 Removing intermediate container 8ea61c6fc123 12:43:30 ---> 4ce5523265e9 12:43:30 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 12:43:30 ---> Running in dc6da75612e2 12:43:30 Removing intermediate container dc6da75612e2 12:43:30 ---> 2ff539c68f41 12:43:30 Step 22/24 : LABEL arch=arm64 12:43:30 ---> Running in 2d3c2fa20221 12:43:30 Removing intermediate container 2d3c2fa20221 12:43:30 ---> 61c53f08061c 12:43:30 Step 23/24 : LABEL git_sha=dc31039becec9772b0a461c07f986a5f4714edf6 12:43:30 ---> Running in 5d763c336b52 12:43:30 Removing intermediate container 5d763c336b52 12:43:30 ---> f3c2a4657c71 12:43:30 Step 24/24 : LABEL version=2.2.0-dev.16 12:43:30 ---> Running in 6b04f89e4e05 12:43:30 Removing intermediate container 6b04f89e4e05 12:43:30 ---> ff8ca79ea4fc 12:43:30 [Warning] One or more build-args [ARCH] were not consumed 12:43:30 Successfully built ff8ca79ea4fc 12:43:30 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 12:43:30 provisioning config files... 12:43:30 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/26@tmp/config6311576089896753532tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:43:31 ---> docker-login.sh 12:43:31 nexus3.edgexfoundry.org:10001 12:43:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:43:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:43:31 Configure a credential helper to remove this warning. See 12:43:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:43:31 12:43:31 Login Succeeded 12:43:31 nexus3.edgexfoundry.org:10002 12:43:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:43:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:43:32 Configure a credential helper to remove this warning. See 12:43:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:43:32 12:43:32 Login Succeeded 12:43:32 nexus3.edgexfoundry.org:10003 12:43:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:43:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:43:32 Configure a credential helper to remove this warning. See 12:43:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:43:32 12:43:32 Login Succeeded 12:43:32 nexus3.edgexfoundry.org:10004 12:43:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:43:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:43:32 Configure a credential helper to remove this warning. See 12:43:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:43:32 12:43:32 Login Succeeded 12:43:32 docker.io 12:43:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:43:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:43:33 Configure a credential helper to remove this warning. See 12:43:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:43:33 12:43:33 Login Succeeded 12:43:33 ---> docker-login.sh ends [Pipeline] } 12:43:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:43:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:43:33 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 12:43:33 dc31039becec9772b0a461c07f986a5f4714edf6 12:43:33 latest 12:43:33 2.2.0-dev.16 12:43:33 dc31039becec9772b0a461c07f986a5f4714edf6-2.2.0-dev.16 12:43:33 main 12:43:33 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:43:34 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:dc31039becec9772b0a461c07f986a5f4714edf6 [Pipeline] isUnix [Pipeline] sh 12:43:34 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:dc31039becec9772b0a461c07f986a5f4714edf6 12:43:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 12:43:34 a7f0e7ce7fe1: Preparing 12:43:34 d71910094d77: Preparing 12:43:34 5aa4c689f9bd: Preparing 12:43:34 c1176587df05: Preparing 12:43:34 f73e7dbfee58: Preparing 12:43:34 f73e7dbfee58: Layer already exists 12:43:34 d71910094d77: Pushed 12:43:34 a7f0e7ce7fe1: Pushed 12:43:35 c1176587df05: Pushed 12:43:40 5aa4c689f9bd: Pushed 12:43:41 dc31039becec9772b0a461c07f986a5f4714edf6: digest: sha256:caff589f78513d13d28383ae544ad9576040f12f461c76be33cda8ef34280120 size: 1366 [Pipeline] isUnix [Pipeline] sh 12:43:41 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] isUnix [Pipeline] sh 12:43:41 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 12:43:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 12:43:41 a7f0e7ce7fe1: Preparing 12:43:41 d71910094d77: Preparing 12:43:41 5aa4c689f9bd: Preparing 12:43:41 c1176587df05: Preparing 12:43:41 f73e7dbfee58: Preparing 12:43:41 d71910094d77: Layer already exists 12:43:41 a7f0e7ce7fe1: Layer already exists 12:43:41 5aa4c689f9bd: Layer already exists 12:43:41 f73e7dbfee58: Layer already exists 12:43:41 c1176587df05: Layer already exists 12:43:41 latest: digest: sha256:caff589f78513d13d28383ae544ad9576040f12f461c76be33cda8ef34280120 size: 1366 [Pipeline] isUnix [Pipeline] sh 12:43:42 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.16 [Pipeline] isUnix [Pipeline] sh 12:43:42 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.16 12:43:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 12:43:42 a7f0e7ce7fe1: Preparing 12:43:42 d71910094d77: Preparing 12:43:42 5aa4c689f9bd: Preparing 12:43:42 c1176587df05: Preparing 12:43:42 f73e7dbfee58: Preparing 12:43:42 a7f0e7ce7fe1: Layer already exists 12:43:42 d71910094d77: Layer already exists 12:43:42 5aa4c689f9bd: Layer already exists 12:43:42 f73e7dbfee58: Layer already exists 12:43:42 c1176587df05: Layer already exists 12:43:42 2.2.0-dev.16: digest: sha256:caff589f78513d13d28383ae544ad9576040f12f461c76be33cda8ef34280120 size: 1366 [Pipeline] isUnix [Pipeline] sh 12:43:43 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:dc31039becec9772b0a461c07f986a5f4714edf6-2.2.0-dev.16 [Pipeline] isUnix [Pipeline] sh 12:43:43 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:dc31039becec9772b0a461c07f986a5f4714edf6-2.2.0-dev.16 12:43:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 12:43:43 a7f0e7ce7fe1: Preparing 12:43:43 d71910094d77: Preparing 12:43:43 5aa4c689f9bd: Preparing 12:43:43 c1176587df05: Preparing 12:43:43 f73e7dbfee58: Preparing 12:43:43 c1176587df05: Layer already exists 12:43:43 d71910094d77: Layer already exists 12:43:43 a7f0e7ce7fe1: Layer already exists 12:43:43 5aa4c689f9bd: Layer already exists 12:43:43 f73e7dbfee58: Layer already exists 12:43:43 dc31039becec9772b0a461c07f986a5f4714edf6-2.2.0-dev.16: digest: sha256:caff589f78513d13d28383ae544ad9576040f12f461c76be33cda8ef34280120 size: 1366 [Pipeline] isUnix [Pipeline] sh 12:43:44 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] isUnix [Pipeline] sh 12:43:44 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main 12:43:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 12:43:44 a7f0e7ce7fe1: Preparing 12:43:44 d71910094d77: Preparing 12:43:44 5aa4c689f9bd: Preparing 12:43:44 c1176587df05: Preparing 12:43:44 f73e7dbfee58: Preparing 12:43:44 c1176587df05: Layer already exists 12:43:44 f73e7dbfee58: Layer already exists 12:43:44 a7f0e7ce7fe1: Layer already exists 12:43:44 d71910094d77: Layer already exists 12:43:44 5aa4c689f9bd: Layer already exists 12:43:44 main: digest: sha256:caff589f78513d13d28383ae544ad9576040f12f461c76be33cda8ef34280120 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:43:44 ===================================================== [Pipeline] echo 12:43:44 taggedImages: 12:43:44 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:dc31039becec9772b0a461c07f986a5f4714edf6 12:43:44 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 12:43:44 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.16 12:43:44 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:dc31039becec9772b0a461c07f986a5f4714edf6-2.2.0-dev.16 12:43:44 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:43:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:43:45 12:43:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 12:43:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:43:45 arm64: Pulling from edgex-lftools-log-publisher 12:43:45 8998bd30e6a1: Pulling fs layer 12:43:45 04944245beec: Pulling fs layer 12:43:45 699f458cf7ca: Pulling fs layer 12:43:45 765212b225bb: Pulling fs layer 12:43:45 f23df028b6ca: Pulling fs layer 12:43:45 d65c8cfc05b1: Pulling fs layer 12:43:45 765212b225bb: Waiting 12:43:45 2437ff75d9bd: Pulling fs layer 12:43:45 d65c8cfc05b1: Waiting 12:43:45 f23df028b6ca: Waiting 12:43:45 2437ff75d9bd: Waiting 12:43:45 04944245beec: Verifying Checksum 12:43:45 04944245beec: Download complete 12:43:45 765212b225bb: Verifying Checksum 12:43:45 765212b225bb: Download complete 12:43:45 f23df028b6ca: Verifying Checksum 12:43:45 f23df028b6ca: Download complete 12:43:45 d65c8cfc05b1: Verifying Checksum 12:43:45 d65c8cfc05b1: Download complete 12:43:45 699f458cf7ca: Verifying Checksum 12:43:45 699f458cf7ca: Download complete 12:43:46 8998bd30e6a1: Verifying Checksum 12:43:46 8998bd30e6a1: Download complete 12:43:48 2437ff75d9bd: Verifying Checksum 12:43:48 2437ff75d9bd: Download complete 12:43:51 8998bd30e6a1: Pull complete 12:43:51 04944245beec: Pull complete 12:43:53 699f458cf7ca: Pull complete 12:43:53 765212b225bb: Pull complete 12:43:53 f23df028b6ca: Pull complete 12:43:54 d65c8cfc05b1: Pull complete 12:44:09 2437ff75d9bd: Pull complete 12:44:09 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:44:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:44:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 12:44:09 prd-ubuntu20.04-docker-arm64-4c-16g-47725 does not seem to be running inside a container 12:44: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/device-snmp-go/26 -v /w/workspace/device-snmp-go/26:/w/workspace/device-snmp-go/26:rw,z -v /w/workspace/device-snmp-go/26@tmp:/w/workspace/device-snmp-go/26@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:44:12 $ docker top 1f03d7c962c80f2563167214607fe8a1d12667da04d6f624cc1f8298e8111ce9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:44:13 ---> job-cost.sh 12:44:13 lf-activate-venv: SKIPPING 12:44:13 INFO: No Stack... 12:44:13 INFO: Retrieving Pricing Info for: v3-standard-4 12:44:14 INFO: Archiving Costs [Pipeline] sh 12:44:15 + + catcut /w/workspace/device-snmp-go/26/archives/cost.csv 12:44:15 -d, -f6 [Pipeline] lock 12:44:15 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-26-stack-cost] 12:44:15 Resource [jenkins-edgexfoundry-device-snmp-go-main-26-stack-cost] did not exist. Created. 12:44:15 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-26-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:44:16 /w/workspace/device-snmp-go/26@tmp/durable-60ac4bfc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:44:16 + echo total: 0.10999999940395355 [Pipeline] stash 12:44:16 Warning: overwriting stash ‘stack-cost’ 12:44:16 Stashed 1 file(s) [Pipeline] } 12:44:16 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-26-stack-cost] [Pipeline] // lock [Pipeline] } 12:44:16 $ docker stop --time=1 1f03d7c962c80f2563167214607fe8a1d12667da04d6f624cc1f8298e8111ce9 12:44:18 $ docker rm -f 1f03d7c962c80f2563167214607fe8a1d12667da04d6f624cc1f8298e8111ce9 [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 12:44:18 provisioning config files... 12:44:18 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config933834236384446809tmp [Pipeline] { [Pipeline] sh 12:44:19 + set +x 12:44:19 + + bash -s -- 12:44:19 curl -s https://codecov.io/bash 12:44:19 12:44:19 _____ _ 12:44:19 / ____| | | 12:44:19 | | ___ __| | ___ ___ _____ __ 12:44:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:44:19 | |___| (_) | (_| | __/ (_| (_) \ V / 12:44:19 \_____\___/ \__,_|\___|\___\___/ \_/ 12:44:19 Bash-1.0.6 12:44:19 12:44:19 12:44:19 ==> git version 2.25.1 found 12:44:19 ==> 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 12:44:19 Release-Date: 2020-01-08 12:44:19 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:44:19 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:44:19 ==> Jenkins CI detected. 12:44:19 current dir:  /w/workspace/edgexfoundry_device-snmp-go_main 12:44:19 project root: . 12:44:19 --> token set from env 12:44:19 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:44:19 ==> Running gcov in . (disable via -X gcov) 12:44:19 ==> Python coveragepy not found 12:44:19 ==> Searching for coverage reports in: 12:44:19 + . 12:44:19 -> Found 1 reports 12:44:19 ==> Detecting git/mercurial file structure 12:44:19 ==> Reading reports 12:44:19 + ./coverage.out bytes=7631 12:44:19 ==> Appending adjustments 12:44:19 https://docs.codecov.io/docs/fixing-reports 12:44:19 + Found adjustments 12:44:19 ==> Gzipping contents 12:44:19 4.0K /tmp/codecov.0xI6oV.gz 12:44:19 ==> Uploading reports 12:44:19 url: https://codecov.io 12:44:19 query: branch=main&commit=dc31039becec9772b0a461c07f986a5f4714edf6&build=26&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F26%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 12:44:19 -> Pinging Codecov 12:44:19 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=dc31039becec9772b0a461c07f986a5f4714edf6&build=26&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F26%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 12:44:19 -> Uploading to 12:44:19 https://storage.googleapis.com/codecov/v4/raw/2022-05-10/6C56EA5C29638FB4528AC87E60AF5AE0/dc31039becec9772b0a461c07f986a5f4714edf6/a9d9a445-831c-4dd9-9885-6fb73a204522.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220510T124419Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0116065adcf8c07cec9d18592f401e48b614cf062888c5c064779c94b890b9ba 12:44:19 % Total % Received % Xferd Average Speed Time Time Time Current 12:44:19 Dload Upload Total Spent Left Speed 12:44:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1602 0 0 100 1602 0 7891 --:--:-- --:--:-- --:--:-- 7852 100 1602 0 0 100 1602 0 7485 --:--:-- --:--:-- --:--:-- 7451 12:44:19 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/dc31039becec9772b0a461c07f986a5f4714edf6 [Pipeline] } 12:44:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 12:44:19 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 12:44:19 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:44:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 12:44:20 12:44:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 12:44:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 12:44:20 1.410.4: Pulling from edgex-devops/edgex-snyk-go 12:44:20 188c0c94c7c5: Pulling fs layer 12:44:20 0ef7d3d256c8: Pulling fs layer 12:44:20 de9db76c5a1d: Pulling fs layer 12:44:20 0eba1c9be4d2: Pulling fs layer 12:44:20 0d57e429df01: Pulling fs layer 12:44:20 4e4be7b47b0d: Pulling fs layer 12:44:20 e1f770b5df2f: Pulling fs layer 12:44:20 85a0685a4137: Pulling fs layer 12:44:20 0eba1c9be4d2: Waiting 12:44:20 0d57e429df01: Waiting 12:44:20 4e4be7b47b0d: Waiting 12:44:20 e1f770b5df2f: Waiting 12:44:20 85a0685a4137: Waiting 12:44:20 de9db76c5a1d: Verifying Checksum 12:44:20 de9db76c5a1d: Download complete 12:44:20 0ef7d3d256c8: Download complete 12:44:20 0d57e429df01: Verifying Checksum 12:44:20 0d57e429df01: Download complete 12:44:20 4e4be7b47b0d: Verifying Checksum 12:44:20 4e4be7b47b0d: Download complete 12:44:20 188c0c94c7c5: Verifying Checksum 12:44:20 188c0c94c7c5: Download complete 12:44:20 188c0c94c7c5: Pull complete 12:44:20 e1f770b5df2f: Verifying Checksum 12:44:20 e1f770b5df2f: Download complete 12:44:20 0ef7d3d256c8: Pull complete 12:44:20 de9db76c5a1d: Pull complete 12:44:21 0eba1c9be4d2: Verifying Checksum 12:44:21 0eba1c9be4d2: Download complete 12:44:21 85a0685a4137: Verifying Checksum 12:44:21 85a0685a4137: Download complete 12:44:24 0eba1c9be4d2: Pull complete 12:44:24 0d57e429df01: Pull complete 12:44:24 4e4be7b47b0d: Pull complete 12:44:24 e1f770b5df2f: Pull complete 12:44:27 85a0685a4137: Pull complete 12:44:27 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 12:44:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 12:44:27 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 12:44:28 prd-ubuntu20.04-docker-8c-8g-47732 does not seem to be running inside a container 12:44:28 $ 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 12:44:30 $ docker top 6e921d427fda20a25b5da48c1007271a32aa3efbe8673c2af569379998c4bad1 -eo pid,comm [Pipeline] { [Pipeline] echo 12:44:30 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 12:44:30 + set -o pipefail 12:44:30 + snyk monitor '--org=edgex-jenkins' 12:44:35 12:44:35 Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... 12:44:35 12:44:35 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/c76919d0-7345-4304-8954-aa03851194a6/history/806da6b8-f4e6-429c-bd0b-7368d1a68429 12:44:35 12:44:35 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 12:44:35 12:44:35 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 12:44:35 12:44:35 [Pipeline] } 12:44:35 $ docker stop --time=1 6e921d427fda20a25b5da48c1007271a32aa3efbe8673c2af569379998c4bad1 12:44:37 $ docker rm -f 6e921d427fda20a25b5da48c1007271a32aa3efbe8673c2af569379998c4bad1 [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 12:44:38 + git log --format=format:%s -1 dc31039becec9772b0a461c07f986a5f4714edf6 [Pipeline] sh 12:44:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:44:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 12:44:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 12:44:39 . [Pipeline] withDockerContainer 12:44:39 prd-ubuntu20.04-docker-8c-8g-47732 does not seem to be running inside a container 12:44:39 $ 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 12:44:39 $ docker top 8bff684eac8fe7e11dd13f260c877a88363dce2055e5c71c70b210b3c5c65914 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:44:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:44:39 [ssh-agent] Looking for ssh-agent implementation... 12:44:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:44:39 $ docker exec 8bff684eac8fe7e11dd13f260c877a88363dce2055e5c71c70b210b3c5c65914 ssh-agent 12:44:39 SSH_AUTH_SOCK=/tmp/ssh-OMQnmYxJOXgA/agent.33 12:44:39 SSH_AGENT_PID=39 12:44:39 Running ssh-add (command line suppressed) 12:44:40 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7207064159915635684.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7207064159915635684.key) 12:44:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:44:40 + git semver tag 12:44:40 2022-05-10 12:44:40,558 [run_tag] DEBUG tag force:False 12:44:40 2022-05-10 12:44:40,558 [check_head_tag] DEBUG check head tag 12:44:40 2022-05-10 12:44:40,559 [execute] INFO git cat-file --batch-check 12:44:40 2022-05-10 12:44:40,559 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 12:44:40 2022-05-10 12:44:40,563 [execute] INFO git cat-file --batch 12:44:40 2022-05-10 12:44:40,563 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 12:44:40 2022-05-10 12:44:40,576 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 12:44:40 2022-05-10 12:44:40,576 [execute] INFO git tag -a v2.2.0-dev.16 -m v2.2.0-dev.16 12:44:40 2022-05-10 12:44:40,576 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.16', '-m', 'v2.2.0-dev.16'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 12:44:40 2022-05-10 12:44:40,580 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 12:44:40 2.2.0-dev.16 [Pipeline] } 12:44:40 $ docker exec --env ******** --env ******** 8bff684eac8fe7e11dd13f260c877a88363dce2055e5c71c70b210b3c5c65914 ssh-agent -k 12:44:40 unset SSH_AUTH_SOCK; 12:44:40 unset SSH_AGENT_PID; 12:44:40 echo Agent pid 39 killed; 12:44:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:44:41 + git semver [Pipeline] } 12:44:41 $ docker stop --time=1 8bff684eac8fe7e11dd13f260c877a88363dce2055e5c71c70b210b3c5c65914 12:44:42 $ docker rm -f 8bff684eac8fe7e11dd13f260c877a88363dce2055e5c71c70b210b3c5c65914 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 12:44:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 12:44:43 12:44:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 12:44:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 12:44:43 0.23.1-centos7: Pulling from edgex-lftools 12:44:43 ab5ef0e58194: Pulling fs layer 12:44:43 9712f1f96733: Pulling fs layer 12:44:43 63f879dbbcfc: Pulling fs layer 12:44:43 0d9ebad4ef96: Pulling fs layer 12:44:43 e9a5061849ea: Pulling fs layer 12:44:43 d747dcd14b5f: Pulling fs layer 12:44:43 2de7ff778b66: Pulling fs layer 12:44:43 0d9ebad4ef96: Waiting 12:44:43 d747dcd14b5f: Waiting 12:44:43 e9a5061849ea: Waiting 12:44:43 9712f1f96733: Verifying Checksum 12:44:43 9712f1f96733: Download complete 12:44:43 63f879dbbcfc: Verifying Checksum 12:44:43 63f879dbbcfc: Download complete 12:44:43 e9a5061849ea: Verifying Checksum 12:44:43 e9a5061849ea: Download complete 12:44:43 d747dcd14b5f: Verifying Checksum 12:44:43 d747dcd14b5f: Download complete 12:44:43 0d9ebad4ef96: Verifying Checksum 12:44:43 0d9ebad4ef96: Download complete 12:44:43 ab5ef0e58194: Verifying Checksum 12:44:43 ab5ef0e58194: Download complete 12:44:44 2de7ff778b66: Verifying Checksum 12:44:44 2de7ff778b66: Download complete 12:44:46 ab5ef0e58194: Pull complete 12:44:47 9712f1f96733: Pull complete 12:44:47 63f879dbbcfc: Pull complete 12:44:51 0d9ebad4ef96: Pull complete 12:44:51 e9a5061849ea: Pull complete 12:44:51 d747dcd14b5f: Pull complete 12:44:53 2de7ff778b66: Pull complete 12:44:53 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 12:44:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 12:44:53 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 12:44:53 prd-ubuntu20.04-docker-8c-8g-47732 does not seem to be running inside a container 12:44:53 $ 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 12:44:55 $ docker top 591c6405491d550b26f33d3a326b6adebca55e4d93a7285b26b9bf5fae7b1fd2 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 12:44:55 provisioning config files... 12:44:55 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7536692907580265675tmp 12:44:55 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3564932934694533515tmp 12:44:55 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config6147994758354892963tmp [Pipeline] { [Pipeline] echo 12:44:55 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 12:44:55 ---> sigul-configuration.sh 12:44:55 gpg: directory `/root/.gnupg' created 12:44:55 gpg: new configuration file `/root/.gnupg/gpg.conf' created 12:44:55 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 12:44:55 gpg: keyring `/root/.gnupg/secring.gpg' created 12:44:55 gpg: keyring `/root/.gnupg/pubring.gpg' created 12:44:55 gpg: CAST5 encrypted data 12:44:55 gpg: encrypted with 1 passphrase 12:44:55 gpg: WARNING: message was not integrity protected [Pipeline] sh 12:44:56 + mkdir /home/jenkins 12:44:56 + mkdir /home/jenkins/sigul [Pipeline] sh 12:44:56 + 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 12:44:56 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 12:44:56 ---> sigul-install.sh 12:44:56 Sigul already installed; skipping installation. [Pipeline] sh 12:44:56 + git tag --list 12:44:56 1.0.0 12:44:56 v0.0.0 12:44:56 v1.1.0 12:44:56 v1.1.1 12:44:56 v1.2.2 12:44:56 v1.3.0 12:44:56 v1.3.1 12:44:56 v2.0.0 12:44:56 v2.0.1-dev.1 12:44:56 v2.0.1-dev.2 12:44:56 v2.0.1-dev.3 12:44:56 v2.0.1-dev.4 12:44:56 v2.0.1-dev.5 12:44:56 v2.0.1-dev.6 12:44:56 v2.1.0 12:44:56 v2.2.0-dev.1 12:44:56 v2.2.0-dev.10 12:44:56 v2.2.0-dev.11 12:44:56 v2.2.0-dev.12 12:44:56 v2.2.0-dev.13 12:44:56 v2.2.0-dev.14 12:44:56 v2.2.0-dev.15 12:44:56 v2.2.0-dev.16 12:44:56 v2.2.0-dev.2 12:44:56 v2.2.0-dev.3 12:44:56 v2.2.0-dev.4 12:44:56 v2.2.0-dev.5 12:44:56 v2.2.0-dev.6 12:44:56 v2.2.0-dev.7 12:44:56 v2.2.0-dev.8 12:44:56 v2.2.0-dev.9 [Pipeline] sh 12:44:57 + lftools sign git-tag v2.2.0-dev.16 12:44:57 Signing Git tag with Sigul... 12:44:57 Signing v2.2.0-dev.16 [Pipeline] echo 12:44:58 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 12:44:58 ---> sigul-configuration-cleanup.sh [Pipeline] } 12:44:58 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 12:44:58 $ docker stop --time=1 591c6405491d550b26f33d3a326b6adebca55e4d93a7285b26b9bf5fae7b1fd2 12:44:59 $ docker rm -f 591c6405491d550b26f33d3a326b6adebca55e4d93a7285b26b9bf5fae7b1fd2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 12:45:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:45:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 12:45:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 12:45:00 . [Pipeline] withDockerContainer 12:45:00 prd-ubuntu20.04-docker-8c-8g-47732 does not seem to be running inside a container 12:45:00 $ 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 12:45:00 $ docker top fbc3fe7045340d459ed3902404a6fc29431e945bd2030fb16a04b3cc10aa1feb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:45:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:45:00 [ssh-agent] Looking for ssh-agent implementation... 12:45:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:45:01 $ docker exec fbc3fe7045340d459ed3902404a6fc29431e945bd2030fb16a04b3cc10aa1feb ssh-agent 12:45:01 SSH_AUTH_SOCK=/tmp/ssh-DBAclAXru2cj/agent.32 12:45:01 SSH_AGENT_PID=38 12:45:01 Running ssh-add (command line suppressed) 12:45:01 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6028560369598825584.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6028560369598825584.key) 12:45:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:45:01 + git semver bump pre 12:45:01 2022-05-10 12:45:01,846 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 12:45:01 2022-05-10 12:45:01,846 [bump_version] DEBUG bumping version:2.2.0-dev.16 on axis:pre with prefix:dev 12:45:01 2022-05-10 12:45:01,846 [bump_version] DEBUG bumped version:2.2.0-dev.17 12:45:01 2022-05-10 12:45:01,846 [write_version] DEBUG write version:2.2.0-dev.17 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True 12:45:01 2022-05-10 12:45:01,846 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 12:45:01 2022-05-10 12:45:01,846 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 12:45:01 2022-05-10 12:45:01,848 [execute] INFO git cat-file --batch-check 12:45:01 2022-05-10 12:45:01,848 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 12:45:01 2022-05-10 12:45:01,852 [execute] INFO git cat-file --batch 12:45:01 2022-05-10 12:45:01,853 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 12:45:01 2022-05-10 12:45:01,858 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 12:45:01 2.2.0-dev.17 [Pipeline] } 12:45:01 $ docker exec --env ******** --env ******** fbc3fe7045340d459ed3902404a6fc29431e945bd2030fb16a04b3cc10aa1feb ssh-agent -k 12:45:02 unset SSH_AUTH_SOCK; 12:45:02 unset SSH_AGENT_PID; 12:45:02 echo Agent pid 38 killed; 12:45:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:45:02 + git semver [Pipeline] } 12:45:02 $ docker stop --time=1 fbc3fe7045340d459ed3902404a6fc29431e945bd2030fb16a04b3cc10aa1feb 12:45:03 $ docker rm -f fbc3fe7045340d459ed3902404a6fc29431e945bd2030fb16a04b3cc10aa1feb [Pipeline] // withDockerContainer [Pipeline] sh 12:45:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:45:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 12:45:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 12:45:04 . [Pipeline] withDockerContainer 12:45:04 prd-ubuntu20.04-docker-8c-8g-47732 does not seem to be running inside a container 12:45:04 $ 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 12:45:05 $ docker top 086a5ae8d3fbdd3c1b9dd937148b873d07b0db6bfc684472dd551f6dfccd35c3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:45:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:45:05 [ssh-agent] Looking for ssh-agent implementation... 12:45:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:45:05 $ docker exec 086a5ae8d3fbdd3c1b9dd937148b873d07b0db6bfc684472dd551f6dfccd35c3 ssh-agent 12:45:05 SSH_AUTH_SOCK=/tmp/ssh-P9wVOhzhLUtf/agent.33 12:45:05 SSH_AGENT_PID=40 12:45:05 Running ssh-add (command line suppressed) 12:45:05 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6042589617030496104.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6042589617030496104.key) 12:45:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:45:05 + git semver push 12:45:06 2022-05-10 12:45:06,061 [run_push] DEBUG push 12:45:06 2022-05-10 12:45:06,062 [execute] INFO git push origin semver 12:45:06 2022-05-10 12:45:06,062 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 12:45:07 2022-05-10 12:45:06,865 [run_push] DEBUG push all version tags 12:45:07 2022-05-10 12:45:06,865 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 12:45:07 2022-05-10 12:45:06,866 [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) 12:45:07 2022-05-10 12:45:07,591 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 12:45:07 2.2.0-dev.17 [Pipeline] } 12:45:07 $ docker exec --env ******** --env ******** 086a5ae8d3fbdd3c1b9dd937148b873d07b0db6bfc684472dd551f6dfccd35c3 ssh-agent -k 12:45:07 unset SSH_AUTH_SOCK; 12:45:07 unset SSH_AGENT_PID; 12:45:07 echo Agent pid 40 killed; 12:45:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:45:08 + git semver [Pipeline] } 12:45:08 $ docker stop --time=1 086a5ae8d3fbdd3c1b9dd937148b873d07b0db6bfc684472dd551f6dfccd35c3 12:45:09 $ docker rm -f 086a5ae8d3fbdd3c1b9dd937148b873d07b0db6bfc684472dd551f6dfccd35c3 [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 12:45:10 + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] 12:45:10 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 12:45:10 total 16 12:45:10 drwxr-xr-x 3 root root 4096 May 10 12:38 . 12:45:10 drwxrwxr-x 10 jenkins jenkins 4096 May 10 12:44 .. 12:45:10 drwxr-xr-x 2 root root 4096 May 10 12:38 cost 12:45:10 -rw-r--r-- 1 root root 84 May 10 12:38 cost.csv 12:45:10 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives 12:45:10 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 12:45:10 total 16 12:45:10 drwxr-xr-x 3 jenkins jenkins 4096 May 10 12:38 . 12:45:10 drwxrwxr-x 10 jenkins jenkins 4096 May 10 12:44 .. 12:45:10 drwxr-xr-x 2 jenkins jenkins 4096 May 10 12:38 cost 12:45:10 -rw-r--r-- 1 jenkins jenkins 84 May 10 12:38 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:45:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:45:11 ---> package-listing.sh 12:45:11 ++ facter osfamily 12:45:11 ++ tr '[:upper:]' '[:lower:]' 12:45:11 + OS_FAMILY=debian 12:45:11 + workspace=/w/workspace/edgexfoundry_device-snmp-go_main 12:45:11 + START_PACKAGES=/tmp/packages_start.txt 12:45:11 + END_PACKAGES=/tmp/packages_end.txt 12:45:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:45:11 + PACKAGES=/tmp/packages_start.txt 12:45:11 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 12:45:11 + PACKAGES=/tmp/packages_end.txt 12:45:11 + case "${OS_FAMILY}" in 12:45:11 + dpkg -l 12:45:11 + grep '^ii' 12:45:11 + '[' -f /tmp/packages_start.txt ']' 12:45:11 + '[' -f /tmp/packages_end.txt ']' 12:45:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:45:11 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 12:45:11 + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ 12:45:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo 12:45:11 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 12:45:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 12:45:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:45:12 . [Pipeline] withDockerContainer 12:45:12 prd-ubuntu20.04-docker-8c-8g-47732 does not seem to be running inside a container 12:45:12 $ 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 12:45:12 $ docker top 8e460a4f2a62aaf63ffa3dc2267196c745ad479edac8c3dc4ea08b5b41998a7b -eo pid,comm [Pipeline] { [Pipeline] sh 12:45:13 + touch /tmp/pre-build-complete [Pipeline] sh 12:45:13 + mkdir -p /var/log/sysstat [Pipeline] sh 12:45:13 + ls /var/log/sa-host 12:45:13 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:45:14 provisioning config files... 12:45:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7684422106344410803tmp [Pipeline] { [Pipeline] echo 12:45:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:45:14 ---> create-netrc.sh [Pipeline] } 12:45:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:45:14 ---> python-tools-install.sh [Pipeline] echo 12:45:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:45:14 ---> sudo-logs.sh 12:45:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:45:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:45:15 ---> job-cost.sh 12:45:15 lf-activate-venv: SKIPPING 12:45:15 DEBUG: total: 0.2199999988079071 12:45:15 INFO: Retrieving Stack Cost... 12:45:15 INFO: Retrieving Pricing Info for: v3-standard-8 12:45:16 INFO: Archiving Costs [Pipeline] echo 12:45:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:45:16 ---> logs-deploy.sh 12:45:16 lf-activate-venv: SKIPPING 12:45:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/26 12:45:16 INFO: archiving workspace using pattern(s): 12:45:17 Archives upload complete. 12:45:17 INFO: archiving logs to Nexus