Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 60c29c8ddffb83da8ea2aabad72ac966629b6d3c 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-ssh4464031064018464446.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-ssh17741461184967066793.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-ssh13612031574638580345.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-ssh5345959615049055677.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-ssh6261314700015179680.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-34824’ Running on prd-ubuntu20.04-docker-8c-8g-34829 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 60c29c8ddffb83da8ea2aabad72ac966629b6d3c (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 60c29c8ddffb83da8ea2aabad72ac966629b6d3c # timeout=10 Commit message: "Merge pull request #165 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.35" > git rev-list --no-walk a672eeb6ec92b4d90420405cd1acfac3e3196a2e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:44:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:44:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:44:23 ========================================================= 02:44:23 EdgeX Global Pipelines Version Info 02:44:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:44:24 ------------------- 02:44:24 stable info: 02:44:24 ------------------- 02:44:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:44:24 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 02:44:24 Message: update stable to v1.0.227 02:44:25 ------------------- 02:44:25 experimental info: 02:44:25 ------------------- 02:44:25 Commited By: **** collab-it+edgex@linuxfoundation.org 02:44:25 Commit SHA: 602d0728ebfd21a5b975e02ac0465e47e5fef8c7 02:44:25 Message: update experimental to v1.0.228 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:44:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 02:44:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 02:44:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:44:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:44:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:44:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 02:44:25 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:44:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:44:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:44:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:44:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:44:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 02:44:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:44:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:44:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:44:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:44:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:44:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:44:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:44:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:44:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:44:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:44:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:44:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:44:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:44:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:44:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 02:44:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 02:44:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 02:44:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 60c29c8ddffb83da8ea2aabad72ac966629b6d3c [Pipeline] echo 02:44:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 60c29c8 [Pipeline] echo 02:44:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:44:25 provisioning config files... 02:44:26 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5362989532170926937tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:44:26 ---> docker-login.sh 02:44:26 nexus3.edgexfoundry.org:10001 02:44:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:26 Configure a credential helper to remove this warning. See 02:44:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:26 02:44:26 Login Succeeded 02:44:26 nexus3.edgexfoundry.org:10002 02:44:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:26 Configure a credential helper to remove this warning. See 02:44:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:26 02:44:26 Login Succeeded 02:44:26 nexus3.edgexfoundry.org:10003 02:44:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:26 Configure a credential helper to remove this warning. See 02:44:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:26 02:44:26 Login Succeeded 02:44:26 nexus3.edgexfoundry.org:10004 02:44:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:27 Configure a credential helper to remove this warning. See 02:44:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:27 02:44:27 Login Succeeded 02:44:27 docker.io 02:44:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:27 Configure a credential helper to remove this warning. See 02:44:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:27 02:44:27 Login Succeeded 02:44:27 ---> docker-login.sh ends [Pipeline] } 02:44:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:44:28 + git rev-list -1 --merges 60c29c8ddffb83da8ea2aabad72ac966629b6d3c~1..60c29c8ddffb83da8ea2aabad72ac966629b6d3c [Pipeline] echo 02:44:28 -----------> git rev-list -1 --merges 60c29c8ddffb83da8ea2aabad72ac966629b6d3c~1..60c29c8ddffb83da8ea2aabad72ac966629b6d3c 60c29c8ddffb83da8ea2aabad72ac966629b6d3c 02:44:28 60c29c8ddffb83da8ea2aabad72ac966629b6d3c [false] [Pipeline] sh 02:44:28 + git log --format=format:%s -1 60c29c8ddffb83da8ea2aabad72ac966629b6d3c [Pipeline] echo 02:44:28 ========================================================= 02:44:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:44:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:44:28 + git log --format=format:%s -1 60c29c8ddffb83da8ea2aabad72ac966629b6d3c [Pipeline] echo 02:44:28 [semverPrep] GIT_COMMIT: 60c29c8ddffb83da8ea2aabad72ac966629b6d3c, Commit Message: Merge pull request #165 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.35 [Pipeline] echo 02:44:28 [semverPrep] This is not a build commit. [Pipeline] sh 02:44:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:44:29 + grep -v github /etc/ssh/ssh_known_hosts 02:44:29 + [ -e /tmp/ssh_known_hosts ] 02:44:29 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:44:29 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:44:29 + sudo tee -a /etc/ssh/ssh_known_hosts 02:44:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 02:44:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 02:44:29 02:44:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:44:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 02:44:30 latest: Pulling from edgex-devops/py-git-semver 02:44:30 1fe172e4850f: Pulling fs layer 02:44:30 caf521ccaac6: Pulling fs layer 02:44:30 3ead6fa29328: Pulling fs layer 02:44:30 5c2a1cbceb83: Pulling fs layer 02:44:30 a8d5f1318db7: Pulling fs layer 02:44:30 c427282e49a2: Pulling fs layer 02:44:30 1827001aaf11: Pulling fs layer 02:44:30 0714d37db230: Pulling fs layer 02:44:30 ac28cf19c067: Pulling fs layer 02:44:30 ca983d60f3e2: Pulling fs layer 02:44:30 9f894cec8388: Pulling fs layer 02:44:30 ac28cf19c067: Waiting 02:44:30 1827001aaf11: Waiting 02:44:30 ca983d60f3e2: Waiting 02:44:30 9f894cec8388: Waiting 02:44:30 0714d37db230: Waiting 02:44:30 5c2a1cbceb83: Waiting 02:44:30 a8d5f1318db7: Waiting 02:44:30 c427282e49a2: Waiting 02:44:30 caf521ccaac6: Download complete 02:44:30 5c2a1cbceb83: Download complete 02:44:30 a8d5f1318db7: Verifying Checksum 02:44:30 a8d5f1318db7: Download complete 02:44:30 c427282e49a2: Verifying Checksum 02:44:30 c427282e49a2: Download complete 02:44:30 3ead6fa29328: Verifying Checksum 02:44:30 3ead6fa29328: Download complete 02:44:30 0714d37db230: Verifying Checksum 02:44:30 0714d37db230: Download complete 02:44:30 ac28cf19c067: Verifying Checksum 02:44:30 ac28cf19c067: Download complete 02:44:30 ca983d60f3e2: Download complete 02:44:30 9f894cec8388: Verifying Checksum 02:44:30 9f894cec8388: Download complete 02:44:30 1fe172e4850f: Verifying Checksum 02:44:30 1fe172e4850f: Download complete 02:44:30 1827001aaf11: Verifying Checksum 02:44:30 1827001aaf11: Download complete 02:44:32 1fe172e4850f: Pull complete 02:44:32 caf521ccaac6: Pull complete 02:44:32 3ead6fa29328: Pull complete 02:44:32 5c2a1cbceb83: Pull complete 02:44:32 a8d5f1318db7: Pull complete 02:44:32 c427282e49a2: Pull complete 02:44:34 1827001aaf11: Pull complete 02:44:34 0714d37db230: Pull complete 02:44:34 ac28cf19c067: Pull complete 02:44:34 ca983d60f3e2: Pull complete 02:44:35 9f894cec8388: Pull complete 02:44:35 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 02:44:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 02:44:35 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 02:44:35 prd-ubuntu20.04-docker-8c-8g-34829 does not seem to be running inside a container 02:44:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 02:44:36 $ docker top 47038af45f8ae311bd4cb90258238636d7307e86afc8addf906e14ea54e9d381 -eo pid,comm 02:44:36 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). 02:44:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:44:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:44:36 [ssh-agent] Looking for ssh-agent implementation... 02:44:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:44:36 $ docker exec 47038af45f8ae311bd4cb90258238636d7307e86afc8addf906e14ea54e9d381 ssh-agent 02:44:36 SSH_AUTH_SOCK=/tmp/ssh-Zw7BzXK39AsR/agent.32 02:44:36 SSH_AGENT_PID=38 02:44:36 Running ssh-add (command line suppressed) 02:44:37 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6003505917960787992.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6003505917960787992.key) 02:44:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:44:37 + git tag --points-at HEAD [Pipeline] } 02:44:37 $ docker exec --env ******** --env ******** 47038af45f8ae311bd4cb90258238636d7307e86afc8addf906e14ea54e9d381 ssh-agent -k 02:44:37 unset SSH_AUTH_SOCK; 02:44:37 unset SSH_AGENT_PID; 02:44:37 echo Agent pid 38 killed; 02:44:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:44:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:44:37 [ssh-agent] Looking for ssh-agent implementation... 02:44:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:44:37 $ docker exec 47038af45f8ae311bd4cb90258238636d7307e86afc8addf906e14ea54e9d381 ssh-agent 02:44:37 SSH_AUTH_SOCK=/tmp/ssh-klupMRa6uJNU/agent.70 02:44:37 SSH_AGENT_PID=76 02:44:37 Running ssh-add (command line suppressed) 02:44:38 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5314789698518337438.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5314789698518337438.key) 02:44:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:44:38 + git semver init 02:44:38 2022-05-03 02:44:38,552 [run_init] DEBUG init version:0.0.0 force:False 02:44:38 2022-05-03 02:44:38,552 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver 02:44:38 2022-05-03 02:44:38,553 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver 02:44:38 2022-05-03 02:44:38,553 [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) 02:44:39 2022-05-03 02:44:39,365 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude 02:44:39 2022-05-03 02:44:39,365 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False 02:44:39 2022-05-03 02:44:39,365 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 02:44:39 2022-05-03 02:44:39,365 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 02:44:39 2.2.0-dev.13 [Pipeline] } 02:44:39 $ docker exec --env ******** --env ******** 47038af45f8ae311bd4cb90258238636d7307e86afc8addf906e14ea54e9d381 ssh-agent -k 02:44:39 unset SSH_AUTH_SOCK; 02:44:39 unset SSH_AGENT_PID; 02:44:39 echo Agent pid 76 killed; 02:44:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:44:39 + git semver [Pipeline] } 02:44:40 $ docker stop --time=1 47038af45f8ae311bd4cb90258238636d7307e86afc8addf906e14ea54e9d381 02:44:41 $ docker rm -f 47038af45f8ae311bd4cb90258238636d7307e86afc8addf906e14ea54e9d381 [Pipeline] // withDockerContainer [Pipeline] sh 02:44:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:44:42 Stashed 1 file(s) [Pipeline] echo 02:44:42 [edgeXSemver]: initialized semver on version 2.2.0-dev.13 [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 02:44:42 provisioning config files... 02:44:42 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config6064524776798627062tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:44:43 ---> docker-login.sh 02:44:43 nexus3.edgexfoundry.org:10001 02:44:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:43 Configure a credential helper to remove this warning. See 02:44:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:43 02:44:43 Login Succeeded 02:44:43 nexus3.edgexfoundry.org:10002 02:44:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:43 Configure a credential helper to remove this warning. See 02:44:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:43 02:44:43 Login Succeeded 02:44:43 nexus3.edgexfoundry.org:10003 02:44:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:43 Configure a credential helper to remove this warning. See 02:44:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:43 02:44:43 Login Succeeded 02:44:43 nexus3.edgexfoundry.org:10004 02:44:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:43 Configure a credential helper to remove this warning. See 02:44:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:43 02:44:43 Login Succeeded 02:44:43 docker.io 02:44:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:43 Configure a credential helper to remove this warning. See 02:44:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:43 02:44:43 Login Succeeded 02:44:43 ---> docker-login.sh ends [Pipeline] } 02:44:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:44:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:44:43 ========================================================= 02:44:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 02:44:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 02:44:44 + 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 . 02:44:44 Sending build context to Docker daemon 5.31MB 02:44:44 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 02:44:44 Step 2/12 : FROM ${BASE} AS builder 02:44:44 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 02:44:44 59bf1c3509f3: Pulling fs layer 02:44:44 666ba61612fd: Pulling fs layer 02:44:44 8ed8ca486205: Pulling fs layer 02:44:44 4fe6c5a15a65: Pulling fs layer 02:44:44 22a0e8bec74d: Pulling fs layer 02:44:44 ca2b28591e48: Pulling fs layer 02:44:44 a51346096db8: Pulling fs layer 02:44:44 daebc70d1ce1: Pulling fs layer 02:44:44 0e18a0eac166: Pulling fs layer 02:44:44 4fe6c5a15a65: Waiting 02:44:44 22a0e8bec74d: Waiting 02:44:44 ca2b28591e48: Waiting 02:44:44 a51346096db8: Waiting 02:44:44 0e18a0eac166: Waiting 02:44:44 daebc70d1ce1: Waiting 02:44:44 8ed8ca486205: Verifying Checksum 02:44:44 8ed8ca486205: Download complete 02:44:44 22a0e8bec74d: Verifying Checksum 02:44:44 22a0e8bec74d: Download complete 02:44:44 ca2b28591e48: Verifying Checksum 02:44:44 ca2b28591e48: Download complete 02:44:44 59bf1c3509f3: Verifying Checksum 02:44:44 59bf1c3509f3: Download complete 02:44:44 a51346096db8: Verifying Checksum 02:44:44 a51346096db8: Download complete 02:44:44 daebc70d1ce1: Verifying Checksum 02:44:44 daebc70d1ce1: Download complete 02:44:44 59bf1c3509f3: Pull complete 02:44:44 666ba61612fd: Pull complete 02:44:44 8ed8ca486205: Pull complete 02:44:45 0e18a0eac166: Verifying Checksum 02:44:45 0e18a0eac166: Download complete 02:44:45 4fe6c5a15a65: Verifying Checksum 02:44:45 4fe6c5a15a65: Download complete 02:44:49 4fe6c5a15a65: Pull complete 02:44:49 22a0e8bec74d: Pull complete 02:44:49 ca2b28591e48: Pull complete 02:44:49 a51346096db8: Pull complete 02:44:49 daebc70d1ce1: Pull complete 02:44:52 0e18a0eac166: Pull complete 02:44:52 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 02:44:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 02:44:52 ---> f018257e8ee9 02:44:52 Step 3/12 : ARG MAKE='make build' 02:44:53 ---> Running in e2190c406484 02:44:53 Removing intermediate container e2190c406484 02:44:53 ---> 88f34699da14 02:44:53 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:44:53 ---> Running in e51555e1fb41 02:44:53 Removing intermediate container e51555e1fb41 02:44:53 ---> ebdae4f44898 02:44:53 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 02:44:53 ---> Running in c01c089b5514 02:44:53 Removing intermediate container c01c089b5514 02:44:53 ---> 1d61a55f4d70 02:44:53 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:44:53 ---> Running in 9982ff1cf768 02:44:54 Removing intermediate container 9982ff1cf768 02:44:54 ---> 592a11fc66e1 02:44:54 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:44:54 ---> Running in 0d3a32cffb35 02:44:54 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 02:44:55 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 02:44:55 (1/4) Installing openssh-keygen (8.8_p1-r1) 02:44:55 (2/4) Installing libedit (20210910.3.1-r0) 02:44:55 (3/4) Installing openssh-client-common (8.8_p1-r1) 02:44:55 (4/4) Installing openssh-client-default (8.8_p1-r1) 02:44:56 Executing busybox-1.34.1-r3.trigger 02:44:56 OK: 224 MiB in 56 packages 02:44:56 Removing intermediate container 0d3a32cffb35 02:44:56 ---> 0c5894ce21d5 02:44:56 Step 8/12 : WORKDIR /device-snmp-go 02:44:56 ---> Running in 7e7209ad6724 02:44:56 Removing intermediate container 7e7209ad6724 02:44:56 ---> 845e3987df66 02:44:56 Step 9/12 : COPY go.mod vendor* ./ 02:44:56 ---> 1053678c3c44 02:44:56 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:44:56 ---> Running in 8494587e5118 02:44:57 Still waiting to schedule task 02:44:57 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-34827’ 02:45:11 Removing intermediate container 8494587e5118 02:45:11 ---> 594cbafb7a9d 02:45:11 Step 11/12 : COPY . . 02:45:11 ---> 358608c5d908 02:45:11 Step 12/12 : RUN ${MAKE} 02:45:11 ---> Running in 5ded5bbf001c 02:45:11 noop 02:45:11 Removing intermediate container 5ded5bbf001c 02:45:11 ---> 4f65d22f546b 02:45:11 Successfully built 4f65d22f546b 02:45:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:45:12 + docker inspect -f . ci-base-image-x86_64 02:45:12 . [Pipeline] withDockerContainer 02:45:12 prd-ubuntu20.04-docker-8c-8g-34829 does not seem to be running inside a container 02:45:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:45:12 $ docker top 022d240afc8c69efb741fa7d53c500a8ed3c5fe0019bbb1ce9b8f99b0af64c88 -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:13 + go version 02:45:13 go version go1.17.6 linux/amd64 [Pipeline] } 02:45:13 $ docker stop --time=1 022d240afc8c69efb741fa7d53c500a8ed3c5fe0019bbb1ce9b8f99b0af64c88 02:45:14 $ docker rm -f 022d240afc8c69efb741fa7d53c500a8ed3c5fe0019bbb1ce9b8f99b0af64c88 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:45:14 + docker inspect -f . ci-base-image-x86_64 02:45:14 . [Pipeline] withDockerContainer 02:45:14 prd-ubuntu20.04-docker-8c-8g-34829 does not seem to be running inside a container 02:45:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:45:15 $ docker top 128f1f5453bdfd062f6cd4050c147fe0cddc77ed38bad9000f6864f774afa94b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 02:45:15 + make test 02:45:15 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 02:45:16 ? github.com/edgexfoundry/device-snmp-go [no test files] 02:45:26 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 02:45:26 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.009s coverage: 0.0% of statements 02:45:34 CGO_ENABLED=1 GO111MODULE=on go vet ./... 02:45:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:45:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:45:37 ./bin/test-attribution-txt.sh [Pipeline] echo 02:45:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:45:38 $ docker stop --time=1 128f1f5453bdfd062f6cd4050c147fe0cddc77ed38bad9000f6864f774afa94b 02:45:39 $ docker rm -f 128f1f5453bdfd062f6cd4050c147fe0cddc77ed38bad9000f6864f774afa94b [Pipeline] // withDockerContainer [Pipeline] sh 02:45:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:45:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:45:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:45:41 + ls -al . 02:45:41 total 168 02:45:41 drwxrwxr-x 9 jenkins jenkins 4096 May 3 02:45 . 02:45:41 drwxrwxr-x 4 jenkins jenkins 4096 May 3 02:44 .. 02:45:41 -rw-rw-r-- 1 jenkins jenkins 6 May 3 02:44 .dockerignore 02:45:41 drwxrwxr-x 8 jenkins jenkins 4096 May 3 02:44 .git 02:45:41 drwxrwxr-x 3 jenkins jenkins 4096 May 3 02:44 .github 02:45:41 -rw-rw-r-- 1 jenkins jenkins 328 May 3 02:44 .gitignore 02:45:41 -rw-rw-r-- 1 jenkins jenkins 41 May 3 02:44 .golangci.yml 02:45:41 drwxr-xr-x 3 jenkins jenkins 4096 May 3 02:44 .semver 02:45:41 -rw-rw-r-- 1 jenkins jenkins 8296 May 3 02:44 Attribution.txt 02:45:41 -rw-rw-r-- 1 jenkins jenkins 4401 May 3 02:44 CHANGELOG.md 02:45:41 -rw-rw-r-- 1 jenkins jenkins 1516 May 3 02:44 Dockerfile 02:45:41 -rw-rw-r-- 1 jenkins jenkins 677 May 3 02:44 GOVERNANCE.md 02:45:41 -rw-rw-r-- 1 jenkins jenkins 656 May 3 02:44 Jenkinsfile 02:45:41 -rw-rw-r-- 1 jenkins jenkins 11340 May 3 02:44 LICENSE 02:45:41 -rw-rw-r-- 1 jenkins jenkins 1938 May 3 02:44 Makefile 02:45:41 -rw-rw-r-- 1 jenkins jenkins 620 May 3 02:44 OWNERS.md 02:45:41 -rw-rw-r-- 1 jenkins jenkins 9074 May 3 02:44 README.md 02:45:41 -rw-rw-r-- 1 jenkins jenkins 12 May 3 02:44 VERSION 02:45:41 drwxrwxr-x 2 jenkins jenkins 4096 May 3 02:44 bin 02:45:41 drwxrwxr-x 3 jenkins jenkins 4096 May 3 02:44 cmd 02:45:41 -rw-r--r-- 1 jenkins jenkins 7631 May 3 02:45 coverage.out 02:45:41 -rw-rw-r-- 1 jenkins jenkins 3296 May 3 02:44 go.mod 02:45:41 -rw-rw-r-- 1 jenkins jenkins 35793 May 3 02:44 go.sum 02:45:41 drwxrwxr-x 3 jenkins jenkins 4096 May 3 02:44 internal 02:45:41 drwxrwxr-x 3 jenkins jenkins 4096 May 3 02:44 snap 02:45:41 -rw-rw-r-- 1 jenkins jenkins 209 May 3 02:44 version.go [Pipeline] isUnix [Pipeline] sh 02:45:41 + 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=60c29c8ddffb83da8ea2aabad72ac966629b6d3c --label arch=amd64 --label version=2.2.0-dev.13 . 02:45:41 Sending build context to Docker daemon 5.318MB 02:45:41 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 02:45:41 Step 2/24 : FROM ${BASE} AS builder 02:45:41 ---> 4f65d22f546b 02:45:41 Step 3/24 : ARG MAKE='make build' 02:45:41 ---> Running in 00bb3755090e 02:45:41 Removing intermediate container 00bb3755090e 02:45:41 ---> 98a98c57b022 02:45:41 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:45:41 ---> Running in 07c710036b59 02:45:41 Removing intermediate container 07c710036b59 02:45:41 ---> 496276531185 02:45:41 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 02:45:41 ---> Running in 00ef0265b508 02:45:41 Removing intermediate container 00ef0265b508 02:45:41 ---> b70bdd5e4e11 02:45:41 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:45:42 ---> Running in 0c3dc864b804 02:45:42 Removing intermediate container 0c3dc864b804 02:45:42 ---> b641ed4f831a 02:45:42 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:45:42 ---> Running in 680de50f035e 02:45:43 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 02:45:43 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 02:45:43 OK: 224 MiB in 56 packages 02:45:44 Removing intermediate container 680de50f035e 02:45:44 ---> 97e149037059 02:45:44 Step 8/24 : WORKDIR /device-snmp-go 02:45:44 ---> Running in 2567b6f88f5c 02:45:44 Removing intermediate container 2567b6f88f5c 02:45:44 ---> 0c6e87ace37f 02:45:44 Step 9/24 : COPY go.mod vendor* ./ 02:45:44 ---> b3732351b986 02:45:44 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:45:44 ---> Running in 4b26bbb7fbbf 02:45:45 Removing intermediate container 4b26bbb7fbbf 02:45:45 ---> 4273b70836ed 02:45:45 Step 11/24 : COPY . . 02:45:45 ---> 41b125d9e563 02:45:45 Step 12/24 : RUN ${MAKE} 02:45:45 ---> Running in 4b306d5da0bc 02:45:45 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=2.2.0-dev.13" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 02:46:07 Removing intermediate container 4b306d5da0bc 02:46:07 ---> 00cfab5085bd 02:46:07 Step 13/24 : FROM alpine:3.14 02:46:07 3.14: Pulling from library/alpine 02:46:07 8663204ce13b: Pulling fs layer 02:46:07 8663204ce13b: Verifying Checksum 02:46:07 8663204ce13b: Download complete 02:46:07 8663204ce13b: Pull complete 02:46:07 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 02:46:07 Status: Downloaded newer image for alpine:3.14 02:46:07 ---> e04c818066af 02:46:07 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 02:46:07 ---> Running in 92faac010c28 02:46:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 02:46:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 02:46:07 (1/6) Installing dumb-init (1.2.5-r1) 02:46:07 (2/6) Installing libgcc (10.3.1_git20210424-r2) 02:46:07 (3/6) Installing libsodium (1.0.18-r0) 02:46:07 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 02:46:07 (5/6) Installing libzmq (4.3.4-r0) 02:46:07 (6/6) Installing zeromq (4.3.4-r0) 02:46:07 Executing busybox-1.33.1-r7.trigger 02:46:07 OK: 8 MiB in 20 packages 02:46:07 Removing intermediate container 92faac010c28 02:46:07 ---> c371498d5661 02:46:07 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 02:46:07 ---> d0d9d530c765 02:46:07 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 02:46:07 ---> 948ff5d4ee58 02:46:07 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 02:46:07 ---> 985041b2b1b0 02:46:07 Step 18/24 : EXPOSE 59993 02:46:07 ---> Running in 01c8858bfdc2 02:46:07 Removing intermediate container 01c8858bfdc2 02:46:07 ---> 9eea349a113d 02:46:07 Step 19/24 : EXPOSE 161 02:46:07 ---> Running in bcfd5b2aae5c 02:46:07 Removing intermediate container bcfd5b2aae5c 02:46:07 ---> 2d9ad2064cf8 02:46:07 Step 20/24 : ENTRYPOINT ["/device-snmp"] 02:46:07 ---> Running in 429a6dc8ef86 02:46:08 Removing intermediate container 429a6dc8ef86 02:46:08 ---> 72817a5fb75d 02:46:08 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 02:46:08 ---> Running in 3f6ee3e6bce8 02:46:08 Removing intermediate container 3f6ee3e6bce8 02:46:08 ---> f8206a293725 02:46:08 Step 22/24 : LABEL arch=amd64 02:46:08 ---> Running in 161476ed224e 02:46:08 Removing intermediate container 161476ed224e 02:46:08 ---> 73d8dc32add3 02:46:08 Step 23/24 : LABEL git_sha=60c29c8ddffb83da8ea2aabad72ac966629b6d3c 02:46:08 ---> Running in 07196412b3d8 02:46:08 Removing intermediate container 07196412b3d8 02:46:08 ---> 1c87cd7e3431 02:46:08 Step 24/24 : LABEL version=2.2.0-dev.13 02:46:08 ---> Running in da6b6f9db627 02:46:08 Removing intermediate container da6b6f9db627 02:46:08 ---> c6ee0637a252 02:46:08 [Warning] One or more build-args [ARCH] were not consumed 02:46:08 Successfully built c6ee0637a252 02:46:08 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:46:08 provisioning config files... 02:46:08 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8366894458733119707tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:46:08 ---> docker-login.sh 02:46:08 nexus3.edgexfoundry.org:10001 02:46:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:08 Configure a credential helper to remove this warning. See 02:46:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:08 02:46:08 Login Succeeded 02:46:08 nexus3.edgexfoundry.org:10002 02:46:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:09 Configure a credential helper to remove this warning. See 02:46:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:09 02:46:09 Login Succeeded 02:46:09 nexus3.edgexfoundry.org:10003 02:46:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:09 Configure a credential helper to remove this warning. See 02:46:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:09 02:46:09 Login Succeeded 02:46:09 nexus3.edgexfoundry.org:10004 02:46:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:09 Configure a credential helper to remove this warning. See 02:46:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:09 02:46:09 Login Succeeded 02:46:09 docker.io 02:46:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:46:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:46:09 Configure a credential helper to remove this warning. See 02:46:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:46:09 02:46:09 Login Succeeded 02:46:09 ---> docker-login.sh ends [Pipeline] } 02:46:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:46:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:46:09 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 02:46:09 60c29c8ddffb83da8ea2aabad72ac966629b6d3c 02:46:09 latest 02:46:09 2.2.0-dev.13 02:46:09 60c29c8ddffb83da8ea2aabad72ac966629b6d3c-2.2.0-dev.13 02:46:09 main 02:46:09 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:46:09 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:60c29c8ddffb83da8ea2aabad72ac966629b6d3c [Pipeline] isUnix [Pipeline] sh 02:46:10 + docker push nexus3.edgexfoundry.org:10004/device-snmp:60c29c8ddffb83da8ea2aabad72ac966629b6d3c 02:46:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 02:46:10 c102161b7f17: Preparing 02:46:10 6abcd430bfc2: Preparing 02:46:10 52a9c66b8b6d: Preparing 02:46:10 d28b6e5ace5a: Preparing 02:46:10 b541d28bf3b4: Preparing 02:46:10 b541d28bf3b4: Layer already exists 02:46:10 c102161b7f17: Pushed 02:46:10 6abcd430bfc2: Pushed 02:46:10 d28b6e5ace5a: Pushed 02:46:13 52a9c66b8b6d: Pushed 02:46:13 60c29c8ddffb83da8ea2aabad72ac966629b6d3c: digest: sha256:f7658137b0f83e9ce3dad96b213b5adcb3a5f889f9a1d33d46254666f3ca9257 size: 1367 [Pipeline] isUnix [Pipeline] sh 02:46:13 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] isUnix [Pipeline] sh 02:46:13 + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest 02:46:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 02:46:13 c102161b7f17: Preparing 02:46:13 6abcd430bfc2: Preparing 02:46:13 52a9c66b8b6d: Preparing 02:46:13 d28b6e5ace5a: Preparing 02:46:13 b541d28bf3b4: Preparing 02:46:13 b541d28bf3b4: Layer already exists 02:46:13 52a9c66b8b6d: Layer already exists 02:46:13 d28b6e5ace5a: Layer already exists 02:46:13 6abcd430bfc2: Layer already exists 02:46:13 c102161b7f17: Layer already exists 02:46:13 latest: digest: sha256:f7658137b0f83e9ce3dad96b213b5adcb3a5f889f9a1d33d46254666f3ca9257 size: 1367 [Pipeline] isUnix [Pipeline] sh 02:46:14 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.13 [Pipeline] isUnix [Pipeline] sh 02:46:14 + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.13 02:46:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 02:46:14 c102161b7f17: Preparing 02:46:14 6abcd430bfc2: Preparing 02:46:14 52a9c66b8b6d: Preparing 02:46:14 d28b6e5ace5a: Preparing 02:46:14 b541d28bf3b4: Preparing 02:46:14 d28b6e5ace5a: Layer already exists 02:46:14 52a9c66b8b6d: Layer already exists 02:46:14 c102161b7f17: Layer already exists 02:46:14 b541d28bf3b4: Layer already exists 02:46:14 6abcd430bfc2: Layer already exists 02:46:14 2.2.0-dev.13: digest: sha256:f7658137b0f83e9ce3dad96b213b5adcb3a5f889f9a1d33d46254666f3ca9257 size: 1367 [Pipeline] isUnix [Pipeline] sh 02:46:14 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:60c29c8ddffb83da8ea2aabad72ac966629b6d3c-2.2.0-dev.13 [Pipeline] isUnix [Pipeline] sh 02:46:15 + docker push nexus3.edgexfoundry.org:10004/device-snmp:60c29c8ddffb83da8ea2aabad72ac966629b6d3c-2.2.0-dev.13 02:46:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 02:46:15 c102161b7f17: Preparing 02:46:15 6abcd430bfc2: Preparing 02:46:15 52a9c66b8b6d: Preparing 02:46:15 d28b6e5ace5a: Preparing 02:46:15 b541d28bf3b4: Preparing 02:46:15 d28b6e5ace5a: Layer already exists 02:46:15 52a9c66b8b6d: Layer already exists 02:46:15 b541d28bf3b4: Layer already exists 02:46:15 c102161b7f17: Layer already exists 02:46:15 6abcd430bfc2: Layer already exists 02:46:15 60c29c8ddffb83da8ea2aabad72ac966629b6d3c-2.2.0-dev.13: digest: sha256:f7658137b0f83e9ce3dad96b213b5adcb3a5f889f9a1d33d46254666f3ca9257 size: 1367 [Pipeline] isUnix [Pipeline] sh 02:46:15 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] isUnix [Pipeline] sh 02:46:15 + docker push nexus3.edgexfoundry.org:10004/device-snmp:main 02:46:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 02:46:15 c102161b7f17: Preparing 02:46:15 6abcd430bfc2: Preparing 02:46:15 52a9c66b8b6d: Preparing 02:46:15 d28b6e5ace5a: Preparing 02:46:15 b541d28bf3b4: Preparing 02:46:15 d28b6e5ace5a: Layer already exists 02:46:15 c102161b7f17: Layer already exists 02:46:15 6abcd430bfc2: Layer already exists 02:46:15 b541d28bf3b4: Layer already exists 02:46:15 52a9c66b8b6d: Layer already exists 02:46:15 main: digest: sha256:f7658137b0f83e9ce3dad96b213b5adcb3a5f889f9a1d33d46254666f3ca9257 size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:46:15 ===================================================== [Pipeline] echo 02:46:15 taggedImages: 02:46:15 - nexus3.edgexfoundry.org:10004/device-snmp:60c29c8ddffb83da8ea2aabad72ac966629b6d3c 02:46:15 - nexus3.edgexfoundry.org:10004/device-snmp:latest 02:46:15 - nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.13 02:46:15 - nexus3.edgexfoundry.org:10004/device-snmp:60c29c8ddffb83da8ea2aabad72ac966629b6d3c-2.2.0-dev.13 02:46:15 - 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 02:46:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:46:16 02:46:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 02:46:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:46:16 latest: Pulling from edgex-lftools-log-publisher 02:46:16 5eb5b503b376: Pulling fs layer 02:46:16 5c69ac0246d0: Pulling fs layer 02:46:16 ec43610c2a17: Pulling fs layer 02:46:16 3a2ae6a8a46f: Pulling fs layer 02:46:16 33b1e0a273af: Pulling fs layer 02:46:16 5d3b04190fa2: Pulling fs layer 02:46:16 2f39f015ded8: Pulling fs layer 02:46:16 3a2ae6a8a46f: Waiting 02:46:16 33b1e0a273af: Waiting 02:46:16 5d3b04190fa2: Waiting 02:46:16 2f39f015ded8: Waiting 02:46:16 5c69ac0246d0: Verifying Checksum 02:46:16 5c69ac0246d0: Download complete 02:46:16 3a2ae6a8a46f: Verifying Checksum 02:46:16 3a2ae6a8a46f: Download complete 02:46:16 33b1e0a273af: Verifying Checksum 02:46:16 33b1e0a273af: Download complete 02:46:16 5d3b04190fa2: Verifying Checksum 02:46:16 5d3b04190fa2: Download complete 02:46:16 ec43610c2a17: Verifying Checksum 02:46:16 ec43610c2a17: Download complete 02:46:16 5eb5b503b376: Verifying Checksum 02:46:16 5eb5b503b376: Download complete 02:46:17 2f39f015ded8: Download complete 02:46:18 5eb5b503b376: Pull complete 02:46:18 5c69ac0246d0: Pull complete 02:46:19 ec43610c2a17: Pull complete 02:46:19 3a2ae6a8a46f: Pull complete 02:46:19 33b1e0a273af: Pull complete 02:46:19 5d3b04190fa2: Pull complete 02:46:23 2f39f015ded8: Pull complete 02:46:23 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:46:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:46:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 02:46:23 prd-ubuntu20.04-docker-8c-8g-34829 does not seem to be running inside a container 02:46:23 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:46:25 $ docker top 9616bcc602d90de4fb70cada0433f6a9c0f2746047fe5088775c049f8c101ccc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:46:25 ---> job-cost.sh 02:46:25 lf-activate-venv: SKIPPING 02:46:25 INFO: No Stack... 02:46:26 INFO: Retrieving Pricing Info for: v3-standard-8 02:46:26 INFO: Archiving Costs [Pipeline] sh 02:46:26 + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv 02:46:26 + cut -d, -f6 [Pipeline] lock 02:46:26 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-23-stack-cost] 02:46:26 Resource [jenkins-edgexfoundry-device-snmp-go-main-23-stack-cost] did not exist. Created. 02:46:26 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-23-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:46:27 + echo total: 0.2199999988079071 [Pipeline] stash 02:46:27 Stashed 1 file(s) [Pipeline] } 02:46:27 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-23-stack-cost] [Pipeline] // lock [Pipeline] } 02:46:27 $ docker stop --time=1 9616bcc602d90de4fb70cada0433f6a9c0f2746047fe5088775c049f8c101ccc 02:46:28 $ docker rm -f 9616bcc602d90de4fb70cada0433f6a9c0f2746047fe5088775c049f8c101ccc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:24:42 Running on prd-ubuntu20.04-docker-arm64-4c-16g-37730 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws 03:24:42 Running in /w/workspace/device-snmp-go/23 [Pipeline] { [Pipeline] checkout 03:24:42 Selected Git installation does not exist. Using Default 03:24:42 The recommended git tool is: NONE 03:24:48 using credential edgex-jenkins-ssh 03:24:48 Cloning the remote Git repository 03:24:48 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 03:24:49 > git init /w/workspace/device-snmp-go/23 # timeout=10 03:24:49 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 03:24:49 > git --version # timeout=10 03:24:49 > git --version # 'git version 2.25.1' 03:24:49 using GIT_SSH to set credentials SSH Credentials for GitHub 03:24:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:24:50 Avoid second fetch 03:24:50 Checking out Revision 60c29c8ddffb83da8ea2aabad72ac966629b6d3c (main) 03:24:50 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 03:24:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:24:50 > git config core.sparsecheckout # timeout=10 03:24:50 > git checkout -f 60c29c8ddffb83da8ea2aabad72ac966629b6d3c # timeout=10 03:24:54 Commit message: "Merge pull request #165 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.35" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:24:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:24:55 % Total % Received % Xferd Average Speed Time Time Time Current 03:24:55 Dload Upload Total Spent Left Speed 03:24:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 03:24:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:24:56 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:24:56 + sudo tee /etc/docker/daemon.new 03:24:56 { 03:24:56 "registry-mirrors": [ 03:24:56 "https://nexus3.edgexfoundry.org:10001" 03:24:56 ], 03:24:56 "bip": "10.250.0.254/24", 03:24:56 "hosts": [ 03:24:56 "tcp://0.0.0.0:5555", 03:24:56 "unix:///var/run/docker.sock" 03:24:56 ], 03:24:56 "mtu": 1458, 03:24:56 "selinux-enabled": true, 03:24:56 "seccomp-profile": "/etc/docker/seccomp.json" 03:24:56 } [Pipeline] sh 03:24:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:24:57 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:25:15 provisioning config files... 03:25:15 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/23@tmp/config2977438381249606634tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:25:16 ---> docker-login.sh 03:25:16 nexus3.edgexfoundry.org:10001 03:25:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:25:16 Configure a credential helper to remove this warning. See 03:25:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:25:16 03:25:16 Login Succeeded 03:25:16 nexus3.edgexfoundry.org:10002 03:25:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:25:17 Configure a credential helper to remove this warning. See 03:25:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:25:17 03:25:17 Login Succeeded 03:25:17 nexus3.edgexfoundry.org:10003 03:25:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:25:17 Configure a credential helper to remove this warning. See 03:25:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:25:17 03:25:17 Login Succeeded 03:25:17 nexus3.edgexfoundry.org:10004 03:25:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:25:18 Configure a credential helper to remove this warning. See 03:25:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:25:18 03:25:18 Login Succeeded 03:25:18 docker.io 03:25:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:25:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:25:18 Configure a credential helper to remove this warning. See 03:25:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:25:18 03:25:18 Login Succeeded 03:25:18 ---> docker-login.sh ends [Pipeline] } 03:25:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:25:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:25:19 ========================================================= 03:25:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 03:25:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 03:25:19 + 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 . 03:25:20 Sending build context to Docker daemon 2.748MB 03:25:20 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 03:25:20 Step 2/12 : FROM ${BASE} AS builder 03:25:20 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:25:20 9b3977197b4f: Pulling fs layer 03:25:20 1a89e8eeedd5: Pulling fs layer 03:25:20 94645a83ff95: Pulling fs layer 03:25:20 3f3a8bcf1eab: Pulling fs layer 03:25:20 0c92f367c5e7: Pulling fs layer 03:25:20 3096ccb668a1: Pulling fs layer 03:25:20 e8cf19c19ddd: Pulling fs layer 03:25:20 a4caa8a26152: Pulling fs layer 03:25:20 3f3a8bcf1eab: Waiting 03:25:20 0c92f367c5e7: Waiting 03:25:20 3096ccb668a1: Waiting 03:25:20 e8cf19c19ddd: Waiting 03:25:20 a4caa8a26152: Waiting 03:25:20 94645a83ff95: Verifying Checksum 03:25:20 94645a83ff95: Download complete 03:25:20 1a89e8eeedd5: Verifying Checksum 03:25:20 1a89e8eeedd5: Download complete 03:25:20 0c92f367c5e7: Verifying Checksum 03:25:20 0c92f367c5e7: Download complete 03:25:20 3096ccb668a1: Verifying Checksum 03:25:20 3096ccb668a1: Download complete 03:25:20 9b3977197b4f: Verifying Checksum 03:25:20 9b3977197b4f: Download complete 03:25:20 e8cf19c19ddd: Verifying Checksum 03:25:20 e8cf19c19ddd: Download complete 03:25:20 9b3977197b4f: Pull complete 03:25:21 1a89e8eeedd5: Pull complete 03:25:21 94645a83ff95: Pull complete 03:25:22 a4caa8a26152: Verifying Checksum 03:25:22 a4caa8a26152: Download complete 03:25:23 3f3a8bcf1eab: Verifying Checksum 03:25:23 3f3a8bcf1eab: Download complete 03:25:35 3f3a8bcf1eab: Pull complete 03:25:35 0c92f367c5e7: Pull complete 03:25:35 3096ccb668a1: Pull complete 03:25:35 e8cf19c19ddd: Pull complete 03:25:42 a4caa8a26152: Pull complete 03:25:42 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 03:25:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 03:25:42 ---> 725f1c02e7f9 03:25:42 Step 3/12 : ARG MAKE='make build' 03:25:42 ---> Running in f48f6f6a29b0 03:25:43 Removing intermediate container f48f6f6a29b0 03:25:43 ---> bb8ad5e2e604 03:25:43 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:25:43 ---> Running in 5a96dfa93c39 03:25:43 Removing intermediate container 5a96dfa93c39 03:25:43 ---> a2bfa24f7806 03:25:43 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 03:25:43 ---> Running in a4f02c97a2c8 03:25:43 Removing intermediate container a4f02c97a2c8 03:25:43 ---> 6cf427517f9c 03:25:43 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:25:43 ---> Running in 7d10b8016cb3 03:25:45 Removing intermediate container 7d10b8016cb3 03:25:45 ---> 02e2064b0489 03:25:45 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:25:45 ---> Running in 44abd49fb4d6 03:25:46 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 03:25:47 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 03:25:48 (1/4) Installing openssh-keygen (8.8_p1-r1) 03:25:48 (2/4) Installing libedit (20210910.3.1-r0) 03:25:48 (3/4) Installing openssh-client-common (8.8_p1-r1) 03:25:48 (4/4) Installing openssh-client-default (8.8_p1-r1) 03:25:49 Executing busybox-1.34.1-r3.trigger 03:25:49 OK: 224 MiB in 56 packages 03:25:50 Removing intermediate container 44abd49fb4d6 03:25:50 ---> 2dfd70be9f2e 03:25:50 Step 8/12 : WORKDIR /device-snmp-go 03:25:50 ---> Running in 21732b1b4df7 03:25:50 Removing intermediate container 21732b1b4df7 03:25:50 ---> f95dece68b4e 03:25:50 Step 9/12 : COPY go.mod vendor* ./ 03:25:50 ---> ad07197abc6d 03:25:50 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:25:50 ---> Running in de2eb29aed89 03:26:37 Removing intermediate container de2eb29aed89 03:26:37 ---> 17e930097307 03:26:37 Step 11/12 : COPY . . 03:26:37 ---> 916c64d574fa 03:26:37 Step 12/12 : RUN ${MAKE} 03:26:37 ---> Running in e02366b257dd 03:26:37 noop 03:26:37 Removing intermediate container e02366b257dd 03:26:37 ---> 212963a434d4 03:26:37 Successfully built 212963a434d4 03:26:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 03:26:38 + docker inspect -f . ci-base-image-arm64 03:26:38 . [Pipeline] withDockerContainer 03:26:38 prd-ubuntu20.04-docker-arm64-4c-16g-37730 does not seem to be running inside a container 03:26:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/23 -v /w/workspace/device-snmp-go/23:/w/workspace/device-snmp-go/23:rw,z -v /w/workspace/device-snmp-go/23@tmp:/w/workspace/device-snmp-go/23@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:26:39 $ docker top 1ff3d64c33fb4e40fc51d170995c530d62166e481414946e7848d3e2157d2bc3 -eo pid,comm [Pipeline] { [Pipeline] sh 03:26:40 + go version 03:26:40 go version go1.17.6 linux/arm64 [Pipeline] } 03:26:40 $ docker stop --time=1 1ff3d64c33fb4e40fc51d170995c530d62166e481414946e7848d3e2157d2bc3 03:26:42 $ docker rm -f 1ff3d64c33fb4e40fc51d170995c530d62166e481414946e7848d3e2157d2bc3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:26:43 + docker inspect -f . ci-base-image-arm64 03:26:43 . [Pipeline] withDockerContainer 03:26:43 prd-ubuntu20.04-docker-arm64-4c-16g-37730 does not seem to be running inside a container 03:26:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/23 -v /w/workspace/device-snmp-go/23:/w/workspace/device-snmp-go/23:rw,z -v /w/workspace/device-snmp-go/23@tmp:/w/workspace/device-snmp-go/23@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:26:44 $ docker top 4db6b86f058794602ee7a6950c1f621618b4b19f36dc140560ee01321af9f510 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 03:26:45 + make test 03:26:45 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 03:26:47 ? github.com/edgexfoundry/device-snmp-go [no test files] 03:28:09 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 03:28:09 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.044s coverage: 0.0% of statements 03:28:09 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:28:09 CGO_ENABLED=1 GO111MODULE=on go vet ./... 03:28:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:28:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:28:27 ./bin/test-attribution-txt.sh [Pipeline] echo 03:28:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:28:29 $ docker stop --time=1 4db6b86f058794602ee7a6950c1f621618b4b19f36dc140560ee01321af9f510 03:28:31 $ docker rm -f 4db6b86f058794602ee7a6950c1f621618b4b19f36dc140560ee01321af9f510 [Pipeline] // withDockerContainer [Pipeline] sh 03:28:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:28:32 Warning: overwriting stash ‘coverage-report’ 03:28:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:28:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:28:33 + ls -al . 03:28:33 total 164 03:28:33 drwxrwxr-x 8 jenkins jenkins 4096 May 3 03:28 . 03:28:33 drwxrwxr-x 4 jenkins jenkins 4096 May 3 03:24 .. 03:28:33 -rw-rw-r-- 1 jenkins jenkins 6 May 3 03:24 .dockerignore 03:28:33 drwxrwxr-x 8 jenkins jenkins 4096 May 3 03:24 .git 03:28:33 drwxrwxr-x 3 jenkins jenkins 4096 May 3 03:24 .github 03:28:33 -rw-rw-r-- 1 jenkins jenkins 328 May 3 03:24 .gitignore 03:28:33 -rw-rw-r-- 1 jenkins jenkins 41 May 3 03:24 .golangci.yml 03:28:33 -rw-rw-r-- 1 jenkins jenkins 8296 May 3 03:24 Attribution.txt 03:28:33 -rw-rw-r-- 1 jenkins jenkins 4401 May 3 03:24 CHANGELOG.md 03:28:33 -rw-rw-r-- 1 jenkins jenkins 1516 May 3 03:24 Dockerfile 03:28:33 -rw-rw-r-- 1 jenkins jenkins 677 May 3 03:24 GOVERNANCE.md 03:28:33 -rw-rw-r-- 1 jenkins jenkins 656 May 3 03:24 Jenkinsfile 03:28:33 -rw-rw-r-- 1 jenkins jenkins 11340 May 3 03:24 LICENSE 03:28:33 -rw-rw-r-- 1 jenkins jenkins 1938 May 3 03:24 Makefile 03:28:33 -rw-rw-r-- 1 jenkins jenkins 620 May 3 03:24 OWNERS.md 03:28:33 -rw-rw-r-- 1 jenkins jenkins 9074 May 3 03:24 README.md 03:28:33 -rw-rw-r-- 1 jenkins jenkins 12 May 3 02:44 VERSION 03:28:33 drwxrwxr-x 2 jenkins jenkins 4096 May 3 03:24 bin 03:28:33 drwxrwxr-x 3 jenkins jenkins 4096 May 3 03:24 cmd 03:28:33 -rw-r--r-- 1 jenkins jenkins 7631 May 3 03:27 coverage.out 03:28:33 -rw-rw-r-- 1 jenkins jenkins 3296 May 3 03:24 go.mod 03:28:33 -rw-rw-r-- 1 jenkins jenkins 35793 May 3 03:24 go.sum 03:28:33 drwxrwxr-x 3 jenkins jenkins 4096 May 3 03:24 internal 03:28:33 drwxrwxr-x 3 jenkins jenkins 4096 May 3 03:24 snap 03:28:33 -rw-rw-r-- 1 jenkins jenkins 209 May 3 03:24 version.go [Pipeline] isUnix [Pipeline] sh 03:28:34 + 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=60c29c8ddffb83da8ea2aabad72ac966629b6d3c --label arch=arm64 --label version=2.2.0-dev.13 . 03:28:34 Sending build context to Docker daemon 2.757MB 03:28:34 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 03:28:34 Step 2/24 : FROM ${BASE} AS builder 03:28:34 ---> 212963a434d4 03:28:34 Step 3/24 : ARG MAKE='make build' 03:28:34 ---> Running in c0b8d6e82217 03:28:35 Removing intermediate container c0b8d6e82217 03:28:35 ---> 9a7487e983b3 03:28:35 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:28:35 ---> Running in ececae09beb2 03:28:35 Removing intermediate container ececae09beb2 03:28:35 ---> 1bb783d5ef40 03:28:35 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 03:28:35 ---> Running in 78b49cea5846 03:28:35 Removing intermediate container 78b49cea5846 03:28:35 ---> 23a9395a02e1 03:28:35 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:28:35 ---> Running in 4ebcbbb855df 03:28:37 Removing intermediate container 4ebcbbb855df 03:28:37 ---> 95b12fc1d0cb 03:28:37 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:28:37 ---> Running in 74dab8a964bb 03:28:38 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 03:28:39 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 03:28:40 OK: 224 MiB in 56 packages 03:28:41 Removing intermediate container 74dab8a964bb 03:28:41 ---> a2e16024a0fd 03:28:41 Step 8/24 : WORKDIR /device-snmp-go 03:28:41 ---> Running in 8359c53a046e 03:28:41 Removing intermediate container 8359c53a046e 03:28:41 ---> 3cbff0b39ea4 03:28:41 Step 9/24 : COPY go.mod vendor* ./ 03:28:42 ---> 8ce4f7e9b451 03:28:42 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:28:42 ---> Running in 1d07df0d71cc 03:28:44 Removing intermediate container 1d07df0d71cc 03:28:44 ---> 90059859110c 03:28:44 Step 11/24 : COPY . . 03:28:45 ---> dff9c43b24f7 03:28:45 Step 12/24 : RUN ${MAKE} 03:28:45 ---> Running in 325061293b05 03:28:46 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=2.2.0-dev.13" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 03:30:52 Removing intermediate container 325061293b05 03:30:52 ---> 819f1bd12e6d 03:30:52 Step 13/24 : FROM alpine:3.14 03:30:52 3.14: Pulling from library/alpine 03:30:52 455c02918c45: Pulling fs layer 03:30:52 455c02918c45: Verifying Checksum 03:30:52 455c02918c45: Download complete 03:30:52 455c02918c45: Pull complete 03:30:52 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 03:30:52 Status: Downloaded newer image for alpine:3.14 03:30:52 ---> ac73e934f311 03:30:52 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 03:30:52 ---> Running in 677008920e5c 03:30:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 03:30:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 03:30:52 (1/6) Installing dumb-init (1.2.5-r1) 03:30:52 (2/6) Installing libgcc (10.3.1_git20210424-r2) 03:30:52 (3/6) Installing libsodium (1.0.18-r0) 03:30:52 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 03:30:52 (5/6) Installing libzmq (4.3.4-r0) 03:30:52 (6/6) Installing zeromq (4.3.4-r0) 03:30:52 Executing busybox-1.33.1-r7.trigger 03:30:52 OK: 8 MiB in 20 packages 03:30:52 Removing intermediate container 677008920e5c 03:30:52 ---> 15814bad7111 03:30:52 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 03:30:52 ---> 9e320327d770 03:30:52 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 03:30:52 ---> 5a69f53ac82a 03:30:52 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 03:30:52 ---> 2a5d5cc175a4 03:30:52 Step 18/24 : EXPOSE 59993 03:30:52 ---> Running in b423c3271eda 03:30:52 Removing intermediate container b423c3271eda 03:30:52 ---> 7a967a168820 03:30:52 Step 19/24 : EXPOSE 161 03:30:52 ---> Running in da6d05347246 03:30:52 Removing intermediate container da6d05347246 03:30:52 ---> 3dea8384b3cb 03:30:52 Step 20/24 : ENTRYPOINT ["/device-snmp"] 03:30:52 ---> Running in e796eb4a372f 03:30:52 Removing intermediate container e796eb4a372f 03:30:52 ---> e442d6019cd3 03:30:52 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 03:30:52 ---> Running in 1459e6c9270d 03:30:52 Removing intermediate container 1459e6c9270d 03:30:52 ---> ca321ca81a25 03:30:52 Step 22/24 : LABEL arch=arm64 03:30:52 ---> Running in 9c36c7b115ac 03:30:52 Removing intermediate container 9c36c7b115ac 03:30:52 ---> b49a22aa03c9 03:30:52 Step 23/24 : LABEL git_sha=60c29c8ddffb83da8ea2aabad72ac966629b6d3c 03:30:52 ---> Running in 1feee32ce315 03:30:52 Removing intermediate container 1feee32ce315 03:30:52 ---> 6f6fa0095fb8 03:30:52 Step 24/24 : LABEL version=2.2.0-dev.13 03:30:52 ---> Running in 7c60f0940ddb 03:30:52 Removing intermediate container 7c60f0940ddb 03:30:52 ---> 2f0e42e49320 03:30:52 [Warning] One or more build-args [ARCH] were not consumed 03:30:52 Successfully built 2f0e42e49320 03:30:52 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 03:30:53 provisioning config files... 03:30:53 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/23@tmp/config5300799933650681961tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:30:53 ---> docker-login.sh 03:30:53 nexus3.edgexfoundry.org:10001 03:30:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:30:53 Configure a credential helper to remove this warning. See 03:30:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:30:53 03:30:53 Login Succeeded 03:30:53 nexus3.edgexfoundry.org:10002 03:30:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:30:54 Configure a credential helper to remove this warning. See 03:30:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:30:54 03:30:54 Login Succeeded 03:30:54 nexus3.edgexfoundry.org:10003 03:30:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:30:54 Configure a credential helper to remove this warning. See 03:30:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:30:54 03:30:54 Login Succeeded 03:30:54 nexus3.edgexfoundry.org:10004 03:30:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:30:55 Configure a credential helper to remove this warning. See 03:30:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:30:55 03:30:55 Login Succeeded 03:30:55 docker.io 03:30:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:30:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:30:55 Configure a credential helper to remove this warning. See 03:30:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:30:55 03:30:55 Login Succeeded 03:30:55 ---> docker-login.sh ends [Pipeline] } 03:30:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:30:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:30:56 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 03:30:56 60c29c8ddffb83da8ea2aabad72ac966629b6d3c 03:30:56 latest 03:30:56 2.2.0-dev.13 03:30:56 60c29c8ddffb83da8ea2aabad72ac966629b6d3c-2.2.0-dev.13 03:30:56 main 03:30:56 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:30:56 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:60c29c8ddffb83da8ea2aabad72ac966629b6d3c [Pipeline] isUnix [Pipeline] sh 03:30:56 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:60c29c8ddffb83da8ea2aabad72ac966629b6d3c 03:30:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 03:30:56 ae778417e006: Preparing 03:30:56 08a3314f3e4b: Preparing 03:30:56 46c48bb8a060: Preparing 03:30:56 c22506ff4025: Preparing 03:30:56 f73e7dbfee58: Preparing 03:30:57 f73e7dbfee58: Layer already exists 03:30:57 ae778417e006: Pushed 03:30:57 08a3314f3e4b: Pushed 03:30:57 c22506ff4025: Pushed 03:31:03 46c48bb8a060: Pushed 03:31:03 60c29c8ddffb83da8ea2aabad72ac966629b6d3c: digest: sha256:6e2c665edce30087cae94fe93d03cb35ac88dea1abd76337629f2c20e3459762 size: 1366 [Pipeline] isUnix [Pipeline] sh 03:31:03 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] isUnix [Pipeline] sh 03:31:03 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 03:31:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 03:31:03 ae778417e006: Preparing 03:31:03 08a3314f3e4b: Preparing 03:31:03 46c48bb8a060: Preparing 03:31:03 c22506ff4025: Preparing 03:31:03 f73e7dbfee58: Preparing 03:31:03 f73e7dbfee58: Layer already exists 03:31:03 46c48bb8a060: Layer already exists 03:31:03 ae778417e006: Layer already exists 03:31:03 c22506ff4025: Layer already exists 03:31:03 08a3314f3e4b: Layer already exists 03:31:04 latest: digest: sha256:6e2c665edce30087cae94fe93d03cb35ac88dea1abd76337629f2c20e3459762 size: 1366 [Pipeline] isUnix [Pipeline] sh 03:31:04 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.13 [Pipeline] isUnix [Pipeline] sh 03:31:04 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.13 03:31:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 03:31:04 ae778417e006: Preparing 03:31:04 08a3314f3e4b: Preparing 03:31:04 46c48bb8a060: Preparing 03:31:04 c22506ff4025: Preparing 03:31:04 f73e7dbfee58: Preparing 03:31:04 46c48bb8a060: Layer already exists 03:31:04 08a3314f3e4b: Layer already exists 03:31:04 c22506ff4025: Layer already exists 03:31:04 f73e7dbfee58: Layer already exists 03:31:04 ae778417e006: Layer already exists 03:31:05 2.2.0-dev.13: digest: sha256:6e2c665edce30087cae94fe93d03cb35ac88dea1abd76337629f2c20e3459762 size: 1366 [Pipeline] isUnix [Pipeline] sh 03:31:05 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:60c29c8ddffb83da8ea2aabad72ac966629b6d3c-2.2.0-dev.13 [Pipeline] isUnix [Pipeline] sh 03:31:05 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:60c29c8ddffb83da8ea2aabad72ac966629b6d3c-2.2.0-dev.13 03:31:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 03:31:05 ae778417e006: Preparing 03:31:05 08a3314f3e4b: Preparing 03:31:05 46c48bb8a060: Preparing 03:31:05 c22506ff4025: Preparing 03:31:05 f73e7dbfee58: Preparing 03:31:05 f73e7dbfee58: Layer already exists 03:31:05 ae778417e006: Layer already exists 03:31:05 c22506ff4025: Layer already exists 03:31:05 46c48bb8a060: Layer already exists 03:31:05 08a3314f3e4b: Layer already exists 03:31:06 60c29c8ddffb83da8ea2aabad72ac966629b6d3c-2.2.0-dev.13: digest: sha256:6e2c665edce30087cae94fe93d03cb35ac88dea1abd76337629f2c20e3459762 size: 1366 [Pipeline] isUnix [Pipeline] sh 03:31:06 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] isUnix [Pipeline] sh 03:31:06 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main 03:31:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 03:31:06 ae778417e006: Preparing 03:31:06 08a3314f3e4b: Preparing 03:31:06 46c48bb8a060: Preparing 03:31:06 c22506ff4025: Preparing 03:31:06 f73e7dbfee58: Preparing 03:31:06 08a3314f3e4b: Layer already exists 03:31:06 ae778417e006: Layer already exists 03:31:06 c22506ff4025: Layer already exists 03:31:06 f73e7dbfee58: Layer already exists 03:31:06 46c48bb8a060: Layer already exists 03:31:06 main: digest: sha256:6e2c665edce30087cae94fe93d03cb35ac88dea1abd76337629f2c20e3459762 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:31:07 ===================================================== [Pipeline] echo 03:31:07 taggedImages: 03:31:07 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:60c29c8ddffb83da8ea2aabad72ac966629b6d3c 03:31:07 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 03:31:07 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.13 03:31:07 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:60c29c8ddffb83da8ea2aabad72ac966629b6d3c-2.2.0-dev.13 03:31:07 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:31:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:31:07 03:31:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 03:31:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:31:07 arm64: Pulling from edgex-lftools-log-publisher 03:31:07 8998bd30e6a1: Pulling fs layer 03:31:07 04944245beec: Pulling fs layer 03:31:07 699f458cf7ca: Pulling fs layer 03:31:07 765212b225bb: Pulling fs layer 03:31:07 f23df028b6ca: Pulling fs layer 03:31:07 d65c8cfc05b1: Pulling fs layer 03:31:07 2437ff75d9bd: Pulling fs layer 03:31:07 f23df028b6ca: Waiting 03:31:07 d65c8cfc05b1: Waiting 03:31:07 2437ff75d9bd: Waiting 03:31:07 765212b225bb: Waiting 03:31:08 04944245beec: Verifying Checksum 03:31:08 04944245beec: Download complete 03:31:08 765212b225bb: Verifying Checksum 03:31:08 765212b225bb: Download complete 03:31:08 f23df028b6ca: Verifying Checksum 03:31:08 f23df028b6ca: Download complete 03:31:08 d65c8cfc05b1: Verifying Checksum 03:31:08 d65c8cfc05b1: Download complete 03:31:08 699f458cf7ca: Verifying Checksum 03:31:08 699f458cf7ca: Download complete 03:31:08 8998bd30e6a1: Verifying Checksum 03:31:08 8998bd30e6a1: Download complete 03:31:10 2437ff75d9bd: Verifying Checksum 03:31:10 2437ff75d9bd: Download complete 03:31:13 8998bd30e6a1: Pull complete 03:31:13 04944245beec: Pull complete 03:31:14 699f458cf7ca: Pull complete 03:31:14 765212b225bb: Pull complete 03:31:15 f23df028b6ca: Pull complete 03:31:15 d65c8cfc05b1: Pull complete 03:31:31 2437ff75d9bd: Pull complete 03:31:31 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:31:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:31:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 03:31:31 prd-ubuntu20.04-docker-arm64-4c-16g-37730 does not seem to be running inside a container 03:31:31 $ 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/23 -v /w/workspace/device-snmp-go/23:/w/workspace/device-snmp-go/23:rw,z -v /w/workspace/device-snmp-go/23@tmp:/w/workspace/device-snmp-go/23@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:31:33 $ docker top fccd701a3d115113749a046dad46f59ba73ad7a354e98eaf7395a6c623d1246e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:31:34 ---> job-cost.sh 03:31:34 lf-activate-venv: SKIPPING 03:31:34 INFO: No Stack... 03:31:35 INFO: Retrieving Pricing Info for: v3-standard-4 03:31:36 INFO: Archiving Costs [Pipeline] sh 03:31:36 + cat /w/workspace/device-snmp-go/23/archives/cost.csv 03:31:36 + cut -d, -f6 [Pipeline] lock 03:31:36 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-23-stack-cost] 03:31:36 Resource [jenkins-edgexfoundry-device-snmp-go-main-23-stack-cost] did not exist. Created. 03:31:36 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-23-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:31:37 /w/workspace/device-snmp-go/23@tmp/durable-60723ce9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:31:38 + echo total: 0.10999999940395355 [Pipeline] stash 03:31:38 Warning: overwriting stash ‘stack-cost’ 03:31:38 Stashed 1 file(s) [Pipeline] } 03:31:38 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-23-stack-cost] [Pipeline] // lock [Pipeline] } 03:31:38 $ docker stop --time=1 fccd701a3d115113749a046dad46f59ba73ad7a354e98eaf7395a6c623d1246e 03:31:39 $ docker rm -f fccd701a3d115113749a046dad46f59ba73ad7a354e98eaf7395a6c623d1246e [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 03:31:40 provisioning config files... 03:31:40 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5276371901508276712tmp [Pipeline] { [Pipeline] sh 03:31:40 + set +x 03:31:40 + curl -s https://codecov.io/bash 03:31:40 + bash -s -- 03:31:40 03:31:40 _____ _ 03:31:40 / ____| | | 03:31:40 | | ___ __| | ___ ___ _____ __ 03:31:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:31:40 | |___| (_) | (_| | __/ (_| (_) \ V / 03:31:40 \_____\___/ \__,_|\___|\___\___/ \_/ 03:31:40 Bash-1.0.6 03:31:40 03:31:40 03:31:40 ==> git version 2.25.1 found 03:31:40 ==> 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 03:31:40 Release-Date: 2020-01-08 03:31:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:31:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:31:40 ==> Jenkins CI detected. 03:31:40 current dir:  /w/workspace/edgexfoundry_device-snmp-go_main 03:31:40 project root: . 03:31:40 --> token set from env 03:31:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:31:40 ==> Running gcov in . (disable via -X gcov) 03:31:40 ==> Python coveragepy not found 03:31:40 ==> Searching for coverage reports in: 03:31:40 + . 03:31:40 -> Found 1 reports 03:31:40 ==> Detecting git/mercurial file structure 03:31:40 ==> Reading reports 03:31:40 + ./coverage.out bytes=7631 03:31:40 ==> Appending adjustments 03:31:40 https://docs.codecov.io/docs/fixing-reports 03:31:40 + Found adjustments 03:31:40 ==> Gzipping contents 03:31:40 4.0K /tmp/codecov.M3tabM.gz 03:31:40 ==> Uploading reports 03:31:40 url: https://codecov.io 03:31:40 query: branch=main&commit=60c29c8ddffb83da8ea2aabad72ac966629b6d3c&build=23&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F23%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 03:31:40 -> Pinging Codecov 03:31:40 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=60c29c8ddffb83da8ea2aabad72ac966629b6d3c&build=23&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F23%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 03:31:41 -> Uploading to 03:31:41 https://storage.googleapis.com/codecov/v4/raw/2022-05-03/6C56EA5C29638FB4528AC87E60AF5AE0/60c29c8ddffb83da8ea2aabad72ac966629b6d3c/3f4bd240-4659-4b97-8a9b-4b463df5ccca.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220503%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220503T033140Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0616cee47f50ddffec7c1a07618aa8c30afe687a84c1bed5e9c8953e686d8b5b 03:31:41 % Total % Received % Xferd Average Speed Time Time Time Current 03:31:41 Dload Upload Total Spent Left Speed 03:31:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1602 0 0 100 1602 0 6045 --:--:-- --:--:-- --:--:-- 6022 100 1602 0 0 100 1602 0 6022 --:--:-- --:--:-- --:--:-- 6022 03:31:41 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/60c29c8ddffb83da8ea2aabad72ac966629b6d3c [Pipeline] } 03:31:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 03:31:41 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 03:31:41 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:31:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:31:41 03:31:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 03:31:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:31:42 1.410.4: Pulling from edgex-devops/edgex-snyk-go 03:31:42 188c0c94c7c5: Pulling fs layer 03:31:42 0ef7d3d256c8: Pulling fs layer 03:31:42 de9db76c5a1d: Pulling fs layer 03:31:42 0eba1c9be4d2: Pulling fs layer 03:31:42 0d57e429df01: Pulling fs layer 03:31:42 4e4be7b47b0d: Pulling fs layer 03:31:42 e1f770b5df2f: Pulling fs layer 03:31:42 85a0685a4137: Pulling fs layer 03:31:42 0eba1c9be4d2: Waiting 03:31:42 0d57e429df01: Waiting 03:31:42 4e4be7b47b0d: Waiting 03:31:42 e1f770b5df2f: Waiting 03:31:42 85a0685a4137: Waiting 03:31:42 de9db76c5a1d: Verifying Checksum 03:31:42 de9db76c5a1d: Download complete 03:31:42 0ef7d3d256c8: Download complete 03:31:42 0d57e429df01: Download complete 03:31:42 4e4be7b47b0d: Download complete 03:31:42 188c0c94c7c5: Download complete 03:31:42 188c0c94c7c5: Pull complete 03:31:42 e1f770b5df2f: Verifying Checksum 03:31:42 e1f770b5df2f: Download complete 03:31:42 0ef7d3d256c8: Pull complete 03:31:42 de9db76c5a1d: Pull complete 03:31:42 0eba1c9be4d2: Verifying Checksum 03:31:42 0eba1c9be4d2: Download complete 03:31:42 85a0685a4137: Verifying Checksum 03:31:42 85a0685a4137: Download complete 03:31:46 0eba1c9be4d2: Pull complete 03:31:46 0d57e429df01: Pull complete 03:31:46 4e4be7b47b0d: Pull complete 03:31:46 e1f770b5df2f: Pull complete 03:31:49 85a0685a4137: Pull complete 03:31:49 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 03:31:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:31:49 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 03:31:49 prd-ubuntu20.04-docker-8c-8g-34829 does not seem to be running inside a container 03:31:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 03:31:51 $ docker top 9411396bc80d3160cc696a2572ac734eacc44b186307fe3d371868b468c6479f -eo pid,comm [Pipeline] { [Pipeline] echo 03:31:51 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 03:31:51 + set -o pipefail 03:31:51 + snyk monitor '--org=edgex-jenkins' 03:31:58 03:31:58 Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... 03:31:58 03:31:58 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/c76919d0-7345-4304-8954-aa03851194a6/history/a1a7cb8a-cedb-4931-a57a-61aab2d45db7 03:31:58 03:31:58 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 03:31:58 03:31:58 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 03:31:58 03:31:58 [Pipeline] } 03:31:58 $ docker stop --time=1 9411396bc80d3160cc696a2572ac734eacc44b186307fe3d371868b468c6479f 03:32:00 $ docker rm -f 9411396bc80d3160cc696a2572ac734eacc44b186307fe3d371868b468c6479f [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 03:32:01 + git log --format=format:%s -1 60c29c8ddffb83da8ea2aabad72ac966629b6d3c [Pipeline] sh 03:32:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:32:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 03:32:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 03:32:02 . [Pipeline] withDockerContainer 03:32:02 prd-ubuntu20.04-docker-8c-8g-34829 does not seem to be running inside a container 03:32:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 03:32:02 $ docker top 566082662fb3c9e344426fd4db7e25a4375e42047b44ec5312160f6b52f35987 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:32:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:32:03 [ssh-agent] Looking for ssh-agent implementation... 03:32:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:32:03 $ docker exec 566082662fb3c9e344426fd4db7e25a4375e42047b44ec5312160f6b52f35987 ssh-agent 03:32:03 SSH_AUTH_SOCK=/tmp/ssh-toqbIRemtLIt/agent.32 03:32:03 SSH_AGENT_PID=38 03:32:03 Running ssh-add (command line suppressed) 03:32:03 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3270422381995595511.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_3270422381995595511.key) 03:32:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:32:03 + git semver tag 03:32:04 2022-05-03 03:32:03,965 [run_tag] DEBUG tag force:False 03:32:04 2022-05-03 03:32:03,965 [check_head_tag] DEBUG check head tag 03:32:04 2022-05-03 03:32:03,966 [execute] INFO git cat-file --batch-check 03:32:04 2022-05-03 03:32:03,966 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 03:32:04 2022-05-03 03:32:03,970 [execute] INFO git cat-file --batch 03:32:04 2022-05-03 03:32:03,970 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 03:32:04 2022-05-03 03:32:03,980 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 03:32:04 2022-05-03 03:32:03,980 [execute] INFO git tag -a v2.2.0-dev.13 -m v2.2.0-dev.13 03:32:04 2022-05-03 03:32:03,980 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.13', '-m', 'v2.2.0-dev.13'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 03:32:04 2022-05-03 03:32:03,987 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 03:32:04 2.2.0-dev.13 [Pipeline] } 03:32:04 $ docker exec --env ******** --env ******** 566082662fb3c9e344426fd4db7e25a4375e42047b44ec5312160f6b52f35987 ssh-agent -k 03:32:04 unset SSH_AUTH_SOCK; 03:32:04 unset SSH_AGENT_PID; 03:32:04 echo Agent pid 38 killed; 03:32:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:32:04 + git semver [Pipeline] } 03:32:04 $ docker stop --time=1 566082662fb3c9e344426fd4db7e25a4375e42047b44ec5312160f6b52f35987 03:32:06 $ docker rm -f 566082662fb3c9e344426fd4db7e25a4375e42047b44ec5312160f6b52f35987 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 03:32:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:32:06 03:32:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 03:32:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:32:06 0.23.1-centos7: Pulling from edgex-lftools 03:32:06 ab5ef0e58194: Pulling fs layer 03:32:06 9712f1f96733: Pulling fs layer 03:32:06 63f879dbbcfc: Pulling fs layer 03:32:06 0d9ebad4ef96: Pulling fs layer 03:32:06 e9a5061849ea: Pulling fs layer 03:32:06 d747dcd14b5f: Pulling fs layer 03:32:06 2de7ff778b66: Pulling fs layer 03:32:06 e9a5061849ea: Waiting 03:32:06 d747dcd14b5f: Waiting 03:32:06 2de7ff778b66: Waiting 03:32:06 0d9ebad4ef96: Waiting 03:32:06 9712f1f96733: Verifying Checksum 03:32:06 9712f1f96733: Download complete 03:32:07 63f879dbbcfc: Verifying Checksum 03:32:07 63f879dbbcfc: Download complete 03:32:07 e9a5061849ea: Verifying Checksum 03:32:07 e9a5061849ea: Download complete 03:32:07 d747dcd14b5f: Verifying Checksum 03:32:07 d747dcd14b5f: Download complete 03:32:07 ab5ef0e58194: Verifying Checksum 03:32:07 ab5ef0e58194: Download complete 03:32:07 0d9ebad4ef96: Verifying Checksum 03:32:07 0d9ebad4ef96: Download complete 03:32:07 2de7ff778b66: Verifying Checksum 03:32:07 2de7ff778b66: Download complete 03:32:10 ab5ef0e58194: Pull complete 03:32:10 9712f1f96733: Pull complete 03:32:11 63f879dbbcfc: Pull complete 03:32:14 0d9ebad4ef96: Pull complete 03:32:14 e9a5061849ea: Pull complete 03:32:14 d747dcd14b5f: Pull complete 03:32:15 2de7ff778b66: Pull complete 03:32:15 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 03:32:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:32:15 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 03:32:16 prd-ubuntu20.04-docker-8c-8g-34829 does not seem to be running inside a container 03:32:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 03:32:17 $ docker top f83817d950723b74d6e237eae5c4f07a354196bfcc15fb5d62de07fe5a505b8d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 03:32:17 provisioning config files... 03:32:17 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3031522280467888098tmp 03:32:17 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2466144224022468546tmp 03:32:17 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8050881017114086716tmp [Pipeline] { [Pipeline] echo 03:32:17 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 03:32:18 ---> sigul-configuration.sh 03:32:18 gpg: directory `/root/.gnupg' created 03:32:18 gpg: new configuration file `/root/.gnupg/gpg.conf' created 03:32:18 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 03:32:18 gpg: keyring `/root/.gnupg/secring.gpg' created 03:32:18 gpg: keyring `/root/.gnupg/pubring.gpg' created 03:32:18 gpg: CAST5 encrypted data 03:32:18 gpg: encrypted with 1 passphrase 03:32:18 gpg: WARNING: message was not integrity protected [Pipeline] sh 03:32:18 + mkdir /home/jenkins 03:32:18 + mkdir /home/jenkins/sigul [Pipeline] sh 03:32:18 + 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 03:32:18 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 03:32:19 ---> sigul-install.sh 03:32:19 Sigul already installed; skipping installation. [Pipeline] sh 03:32:19 + git tag --list 03:32:19 1.0.0 03:32:19 v0.0.0 03:32:19 v1.1.0 03:32:19 v1.1.1 03:32:19 v1.2.2 03:32:19 v1.3.0 03:32:19 v1.3.1 03:32:19 v2.0.0 03:32:19 v2.0.1-dev.1 03:32:19 v2.0.1-dev.2 03:32:19 v2.0.1-dev.3 03:32:19 v2.0.1-dev.4 03:32:19 v2.0.1-dev.5 03:32:19 v2.0.1-dev.6 03:32:19 v2.1.0 03:32:19 v2.2.0-dev.1 03:32:19 v2.2.0-dev.10 03:32:19 v2.2.0-dev.11 03:32:19 v2.2.0-dev.12 03:32:19 v2.2.0-dev.13 03:32:19 v2.2.0-dev.2 03:32:19 v2.2.0-dev.3 03:32:19 v2.2.0-dev.4 03:32:19 v2.2.0-dev.5 03:32:19 v2.2.0-dev.6 03:32:19 v2.2.0-dev.7 03:32:19 v2.2.0-dev.8 03:32:19 v2.2.0-dev.9 [Pipeline] sh 03:32:19 + lftools sign git-tag v2.2.0-dev.13 03:32:20 Signing Git tag with Sigul... 03:32:20 Signing v2.2.0-dev.13 [Pipeline] echo 03:32:20 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 03:32:20 ---> sigul-configuration-cleanup.sh [Pipeline] } 03:32:20 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 03:32:20 $ docker stop --time=1 f83817d950723b74d6e237eae5c4f07a354196bfcc15fb5d62de07fe5a505b8d 03:32:22 $ docker rm -f f83817d950723b74d6e237eae5c4f07a354196bfcc15fb5d62de07fe5a505b8d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 03:32:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:32:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 03:32:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 03:32:22 . [Pipeline] withDockerContainer 03:32:22 prd-ubuntu20.04-docker-8c-8g-34829 does not seem to be running inside a container 03:32:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 03:32:23 $ docker top 8edf2751598412515afa73439ebd8685b28ff169a79f6af24c367ebbb17e202f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:32:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:32:23 [ssh-agent] Looking for ssh-agent implementation... 03:32:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:32:23 $ docker exec 8edf2751598412515afa73439ebd8685b28ff169a79f6af24c367ebbb17e202f ssh-agent 03:32:23 SSH_AUTH_SOCK=/tmp/ssh-avlniQDWiNZy/agent.33 03:32:23 SSH_AGENT_PID=39 03:32:23 Running ssh-add (command line suppressed) 03:32:23 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_944692546507881270.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_944692546507881270.key) 03:32:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:32:24 + git semver bump pre 03:32:24 2022-05-03 03:32:24,375 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 03:32:24 2022-05-03 03:32:24,376 [bump_version] DEBUG bumping version:2.2.0-dev.13 on axis:pre with prefix:dev 03:32:24 2022-05-03 03:32:24,376 [bump_version] DEBUG bumped version:2.2.0-dev.14 03:32:24 2022-05-03 03:32:24,376 [write_version] DEBUG write version:2.2.0-dev.14 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True 03:32:24 2022-05-03 03:32:24,376 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 03:32:24 2022-05-03 03:32:24,376 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 03:32:24 2022-05-03 03:32:24,378 [execute] INFO git cat-file --batch-check 03:32:24 2022-05-03 03:32:24,378 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:32:24 2022-05-03 03:32:24,383 [execute] INFO git cat-file --batch 03:32:24 2022-05-03 03:32:24,383 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:32:24 2022-05-03 03:32:24,387 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 03:32:24 2.2.0-dev.14 [Pipeline] } 03:32:24 $ docker exec --env ******** --env ******** 8edf2751598412515afa73439ebd8685b28ff169a79f6af24c367ebbb17e202f ssh-agent -k 03:32:24 unset SSH_AUTH_SOCK; 03:32:24 unset SSH_AGENT_PID; 03:32:24 echo Agent pid 39 killed; 03:32:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:32:24 + git semver [Pipeline] } 03:32:25 $ docker stop --time=1 8edf2751598412515afa73439ebd8685b28ff169a79f6af24c367ebbb17e202f 03:32:26 $ docker rm -f 8edf2751598412515afa73439ebd8685b28ff169a79f6af24c367ebbb17e202f [Pipeline] // withDockerContainer [Pipeline] sh 03:32:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:32:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 03:32:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 03:32:27 . [Pipeline] withDockerContainer 03:32:27 prd-ubuntu20.04-docker-8c-8g-34829 does not seem to be running inside a container 03:32:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 03:32:27 $ docker top 0f00122b4d587c5d8caef40e94407b272f837a03b0d58d40c7736f6760ef2053 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:32:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:32:27 [ssh-agent] Looking for ssh-agent implementation... 03:32:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:32:27 $ docker exec 0f00122b4d587c5d8caef40e94407b272f837a03b0d58d40c7736f6760ef2053 ssh-agent 03:32:28 SSH_AUTH_SOCK=/tmp/ssh-W67CMohT8qCJ/agent.32 03:32:28 SSH_AGENT_PID=38 03:32:28 Running ssh-add (command line suppressed) 03:32:28 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1175013832694187270.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_1175013832694187270.key) 03:32:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:32:28 + git semver push 03:32:28 2022-05-03 03:32:28,644 [run_push] DEBUG push 03:32:28 2022-05-03 03:32:28,645 [execute] INFO git push origin semver 03:32:28 2022-05-03 03:32:28,645 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 03:32:29 2022-05-03 03:32:29,454 [run_push] DEBUG push all version tags 03:32:29 2022-05-03 03:32:29,455 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 03:32:29 2022-05-03 03:32:29,455 [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) 03:32:30 2022-05-03 03:32:30,309 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 03:32:30 2.2.0-dev.14 [Pipeline] } 03:32:30 $ docker exec --env ******** --env ******** 0f00122b4d587c5d8caef40e94407b272f837a03b0d58d40c7736f6760ef2053 ssh-agent -k 03:32:30 unset SSH_AUTH_SOCK; 03:32:30 unset SSH_AGENT_PID; 03:32:30 echo Agent pid 38 killed; 03:32:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:32:31 + git semver [Pipeline] } 03:32:31 $ docker stop --time=1 0f00122b4d587c5d8caef40e94407b272f837a03b0d58d40c7736f6760ef2053 03:32:32 $ docker rm -f 0f00122b4d587c5d8caef40e94407b272f837a03b0d58d40c7736f6760ef2053 [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 03:32:33 + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] 03:32:33 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 03:32:33 total 16 03:32:33 drwxr-xr-x 3 root root 4096 May 3 02:46 . 03:32:33 drwxrwxr-x 10 jenkins jenkins 4096 May 3 03:32 .. 03:32:33 drwxr-xr-x 2 root root 4096 May 3 02:46 cost 03:32:33 -rw-r--r-- 1 root root 84 May 3 02:46 cost.csv 03:32:33 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives 03:32:33 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 03:32:33 total 16 03:32:33 drwxr-xr-x 3 jenkins jenkins 4096 May 3 02:46 . 03:32:33 drwxrwxr-x 10 jenkins jenkins 4096 May 3 03:32 .. 03:32:33 drwxr-xr-x 2 jenkins jenkins 4096 May 3 02:46 cost 03:32:33 -rw-r--r-- 1 jenkins jenkins 84 May 3 02:46 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:32:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:32:34 ---> package-listing.sh 03:32:34 ++ facter osfamily 03:32:34 ++ tr '[:upper:]' '[:lower:]' 03:32:34 + OS_FAMILY=debian 03:32:34 + workspace=/w/workspace/edgexfoundry_device-snmp-go_main 03:32:34 + START_PACKAGES=/tmp/packages_start.txt 03:32:34 + END_PACKAGES=/tmp/packages_end.txt 03:32:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:32:34 + PACKAGES=/tmp/packages_start.txt 03:32:34 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 03:32:34 + PACKAGES=/tmp/packages_end.txt 03:32:34 + case "${OS_FAMILY}" in 03:32:34 + dpkg -l 03:32:34 + grep '^ii' 03:32:34 + '[' -f /tmp/packages_start.txt ']' 03:32:34 + '[' -f /tmp/packages_end.txt ']' 03:32:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:32:34 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 03:32:34 + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ 03:32:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo 03:32:34 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 03:32:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 03:32:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:32:35 . [Pipeline] withDockerContainer 03:32:35 prd-ubuntu20.04-docker-8c-8g-34829 does not seem to be running inside a container 03:32:35 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:32:36 $ docker top e067d6f335bffba6ae08b975f2f2a8d5d3e03c908761f4573d775a30e2bf9abf -eo pid,comm [Pipeline] { [Pipeline] sh 03:32:36 + touch /tmp/pre-build-complete [Pipeline] sh 03:32:36 + mkdir -p /var/log/sysstat [Pipeline] sh 03:32:36 + ls /var/log/sa-host 03:32:36 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:32:37 provisioning config files... 03:32:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7651823127193654112tmp [Pipeline] { [Pipeline] echo 03:32:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:32:37 ---> create-netrc.sh [Pipeline] } 03:32:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:32:37 ---> python-tools-install.sh [Pipeline] echo 03:32:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:32:38 ---> sudo-logs.sh 03:32:38 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:32:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:32:38 ---> job-cost.sh 03:32:38 lf-activate-venv: SKIPPING 03:32:38 DEBUG: total: 0.2199999988079071 03:32:38 INFO: Retrieving Stack Cost... 03:32:39 INFO: Retrieving Pricing Info for: v3-standard-8 03:32:39 INFO: Archiving Costs [Pipeline] echo 03:32:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:32:40 ---> logs-deploy.sh 03:32:40 lf-activate-venv: SKIPPING 03:32:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/23 03:32:40 INFO: archiving workspace using pattern(s): 03:32:41 Archives upload complete. 03:32:41 INFO: archiving logs to Nexus