Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7a984207ad216ad191b3ac0372c82a64ff54e9ba 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-ssh11414283897754282593.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4462383755192229211.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh17835357496422687369.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9302115103103442091.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-ssh12470911977269840731.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-63403 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 7a984207ad216ad191b3ac0372c82a64ff54e9ba (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 7a984207ad216ad191b3ac0372c82a64ff54e9ba # timeout=10 Commit message: "Merge pull request #171 from iain-anderson/changelog-fixup" > git rev-list --no-walk 397e2e5fd123a0613be6f16d07ee51abe899caab # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:08:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:08:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:08:22 ========================================================= 15:08:22 EdgeX Global Pipelines Version Info 15:08:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:08:22 ------------------- 15:08:22 stable info: 15:08:22 ------------------- 15:08:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:08:22 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 15:08:22 Message: update stable to v1.0.230 15:08:23 ------------------- 15:08:23 experimental info: 15:08:23 ------------------- 15:08:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:08:23 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 15:08:23 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:08:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 15:08:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 15:08:23 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:08:23 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:08:23 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:08:23 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 15:08:23 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:08:23 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:08:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:08:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:08:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:08:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 15:08:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:08:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:08:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:08:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:08:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:08:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:08:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:08:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:08:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:08:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:08:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:08:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:08:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:08:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:08:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:08:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:08:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:08:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7a984207ad216ad191b3ac0372c82a64ff54e9ba [Pipeline] echo 15:08:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7a98420 [Pipeline] echo 15:08:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:08:24 provisioning config files... 15:08:24 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8712854466424344194tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:08:24 ---> docker-login.sh 15:08:24 nexus3.edgexfoundry.org:10001 15:08:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:08:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:08:24 Configure a credential helper to remove this warning. See 15:08:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:08:24 15:08:24 Login Succeeded 15:08:24 nexus3.edgexfoundry.org:10002 15:08:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:08:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:08:24 Configure a credential helper to remove this warning. See 15:08:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:08:24 15:08:24 Login Succeeded 15:08:24 nexus3.edgexfoundry.org:10003 15:08:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:08:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:08:25 Configure a credential helper to remove this warning. See 15:08:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:08:25 15:08:25 Login Succeeded 15:08:25 nexus3.edgexfoundry.org:10004 15:08:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:08:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:08:25 Configure a credential helper to remove this warning. See 15:08:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:08:25 15:08:25 Login Succeeded 15:08:25 docker.io 15:08:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:08:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:08:25 Configure a credential helper to remove this warning. See 15:08:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:08:25 15:08:25 Login Succeeded 15:08:25 ---> docker-login.sh ends [Pipeline] } 15:08:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:08:26 + git rev-list -1 --merges 7a984207ad216ad191b3ac0372c82a64ff54e9ba~1..7a984207ad216ad191b3ac0372c82a64ff54e9ba [Pipeline] echo 15:08:26 -----------> git rev-list -1 --merges 7a984207ad216ad191b3ac0372c82a64ff54e9ba~1..7a984207ad216ad191b3ac0372c82a64ff54e9ba 7a984207ad216ad191b3ac0372c82a64ff54e9ba 15:08:26 7a984207ad216ad191b3ac0372c82a64ff54e9ba [false] [Pipeline] sh 15:08:26 + git log --format=format:%s -1 7a984207ad216ad191b3ac0372c82a64ff54e9ba [Pipeline] echo 15:08:26 ========================================================= 15:08:26 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:08:26 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:08:26 + git log --format=format:%s -1 7a984207ad216ad191b3ac0372c82a64ff54e9ba [Pipeline] echo 15:08:26 [semverPrep] GIT_COMMIT: 7a984207ad216ad191b3ac0372c82a64ff54e9ba, Commit Message: Merge pull request #171 from iain-anderson/changelog-fixup [Pipeline] echo 15:08:26 [semverPrep] This is not a build commit. [Pipeline] sh 15:08:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:08:27 + grep -v github /etc/ssh/ssh_known_hosts 15:08:27 + [ -e /tmp/ssh_known_hosts ] 15:08:27 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:08:27 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:08:27 + sudo tee -a /etc/ssh/ssh_known_hosts 15:08:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:08:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:08:27 15:08:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:08:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:08:27 latest: Pulling from edgex-devops/py-git-semver 15:08:27 1fe172e4850f: Pulling fs layer 15:08:27 caf521ccaac6: Pulling fs layer 15:08:27 3ead6fa29328: Pulling fs layer 15:08:27 5c2a1cbceb83: Pulling fs layer 15:08:27 a8d5f1318db7: Pulling fs layer 15:08:27 c427282e49a2: Pulling fs layer 15:08:27 1827001aaf11: Pulling fs layer 15:08:27 0714d37db230: Pulling fs layer 15:08:27 ac28cf19c067: Pulling fs layer 15:08:27 ca983d60f3e2: Pulling fs layer 15:08:27 9f894cec8388: Pulling fs layer 15:08:27 5c2a1cbceb83: Waiting 15:08:27 a8d5f1318db7: Waiting 15:08:27 0714d37db230: Waiting 15:08:27 c427282e49a2: Waiting 15:08:27 1827001aaf11: Waiting 15:08:27 ac28cf19c067: Waiting 15:08:27 9f894cec8388: Waiting 15:08:27 ca983d60f3e2: Waiting 15:08:27 caf521ccaac6: Verifying Checksum 15:08:27 caf521ccaac6: Download complete 15:08:27 5c2a1cbceb83: Verifying Checksum 15:08:27 5c2a1cbceb83: Download complete 15:08:28 a8d5f1318db7: Verifying Checksum 15:08:28 a8d5f1318db7: Download complete 15:08:28 3ead6fa29328: Verifying Checksum 15:08:28 3ead6fa29328: Download complete 15:08:28 c427282e49a2: Download complete 15:08:28 0714d37db230: Verifying Checksum 15:08:28 0714d37db230: Download complete 15:08:28 ac28cf19c067: Verifying Checksum 15:08:28 ac28cf19c067: Download complete 15:08:28 ca983d60f3e2: Download complete 15:08:28 9f894cec8388: Verifying Checksum 15:08:28 9f894cec8388: Download complete 15:08:28 1fe172e4850f: Verifying Checksum 15:08:28 1fe172e4850f: Download complete 15:08:28 1827001aaf11: Verifying Checksum 15:08:28 1827001aaf11: Download complete 15:08:29 1fe172e4850f: Pull complete 15:08:29 caf521ccaac6: Pull complete 15:08:30 3ead6fa29328: Pull complete 15:08:30 5c2a1cbceb83: Pull complete 15:08:31 a8d5f1318db7: Pull complete 15:08:31 c427282e49a2: Pull complete 15:08:32 1827001aaf11: Pull complete 15:08:32 0714d37db230: Pull complete 15:08:32 ac28cf19c067: Pull complete 15:08:32 ca983d60f3e2: Pull complete 15:08:33 9f894cec8388: Pull complete 15:08:33 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 15:08:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:08:33 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 15:08:33 prd-ubuntu20.04-docker-8c-8g-63403 does not seem to be running inside a container 15:08:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 15:08:35 $ docker top c4586694a82b39f5a84ce83ded1ab0758f22adc53770a8dd603e77a0bf2c618d -eo pid,comm 15:08:35 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 15:08:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:08:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:08:35 [ssh-agent] Looking for ssh-agent implementation... 15:08:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:08:35 $ docker exec c4586694a82b39f5a84ce83ded1ab0758f22adc53770a8dd603e77a0bf2c618d ssh-agent 15:08:35 SSH_AUTH_SOCK=/tmp/ssh-7AQ8zHXYz2gL/agent.33 15:08:35 SSH_AGENT_PID=39 15:08:35 Running ssh-add (command line suppressed) 15:08:35 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_832417698999238033.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_832417698999238033.key) 15:08:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:08:36 + git tag --points-at HEAD [Pipeline] } 15:08:36 $ docker exec --env ******** --env ******** c4586694a82b39f5a84ce83ded1ab0758f22adc53770a8dd603e77a0bf2c618d ssh-agent -k 15:08:36 unset SSH_AUTH_SOCK; 15:08:36 unset SSH_AGENT_PID; 15:08:36 echo Agent pid 39 killed; 15:08:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:08:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:08:36 [ssh-agent] Looking for ssh-agent implementation... 15:08:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:08:36 $ docker exec c4586694a82b39f5a84ce83ded1ab0758f22adc53770a8dd603e77a0bf2c618d ssh-agent 15:08:36 SSH_AUTH_SOCK=/tmp/ssh-QZr5s4VdL4St/agent.71 15:08:36 SSH_AGENT_PID=78 15:08:36 Running ssh-add (command line suppressed) 15:08:36 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5748393244409144278.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5748393244409144278.key) 15:08:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:08:36 + git semver init 15:08:37 2022-05-12 15:08:37,127 [run_init] DEBUG init version:0.0.0 force:False 15:08:37 2022-05-12 15:08:37,127 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver 15:08:37 2022-05-12 15:08:37,128 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver 15:08:37 2022-05-12 15:08:37,128 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/edgexfoundry_device-snmp-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 15:08:38 2022-05-12 15:08:37,937 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude 15:08:38 2022-05-12 15:08:37,937 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False 15:08:38 2022-05-12 15:08:37,938 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 15:08:38 2022-05-12 15:08:37,938 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 15:08:38 2.2.0-dev.19 [Pipeline] } 15:08:38 $ docker exec --env ******** --env ******** c4586694a82b39f5a84ce83ded1ab0758f22adc53770a8dd603e77a0bf2c618d ssh-agent -k 15:08:38 unset SSH_AUTH_SOCK; 15:08:38 unset SSH_AGENT_PID; 15:08:38 echo Agent pid 78 killed; 15:08:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:08:38 + git semver [Pipeline] } 15:08:38 $ docker stop --time=1 c4586694a82b39f5a84ce83ded1ab0758f22adc53770a8dd603e77a0bf2c618d 15:08:40 $ docker rm -f c4586694a82b39f5a84ce83ded1ab0758f22adc53770a8dd603e77a0bf2c618d [Pipeline] // withDockerContainer [Pipeline] sh 15:08:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:08:40 Stashed 1 file(s) [Pipeline] echo 15:08:40 [edgeXSemver]: initialized semver on version 2.2.0-dev.19 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:08:40 provisioning config files... 15:08:40 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7826468698263268687tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:08:41 ---> docker-login.sh 15:08:41 nexus3.edgexfoundry.org:10001 15:08:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:08:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:08:41 Configure a credential helper to remove this warning. See 15:08:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:08:41 15:08:41 Login Succeeded 15:08:41 nexus3.edgexfoundry.org:10002 15:08:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:08:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:08:41 Configure a credential helper to remove this warning. See 15:08:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:08:41 15:08:41 Login Succeeded 15:08:41 nexus3.edgexfoundry.org:10003 15:08:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:08:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:08:41 Configure a credential helper to remove this warning. See 15:08:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:08:41 15:08:41 Login Succeeded 15:08:41 nexus3.edgexfoundry.org:10004 15:08:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:08:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:08:41 Configure a credential helper to remove this warning. See 15:08:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:08:41 15:08:41 Login Succeeded 15:08:41 docker.io 15:08:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:08:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:08:42 Configure a credential helper to remove this warning. See 15:08:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:08:42 15:08:42 Login Succeeded 15:08:42 ---> docker-login.sh ends [Pipeline] } 15:08:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:08:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:08:42 ========================================================= 15:08:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 15:08:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:08:42 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 15:08:42 Sending build context to Docker daemon 5.343MB 15:08:42 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 15:08:42 Step 2/12 : FROM ${BASE} AS builder 15:08:42 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 15:08:42 59bf1c3509f3: Pulling fs layer 15:08:42 666ba61612fd: Pulling fs layer 15:08:42 8ed8ca486205: Pulling fs layer 15:08:42 4fe6c5a15a65: Pulling fs layer 15:08:42 22a0e8bec74d: Pulling fs layer 15:08:42 ca2b28591e48: Pulling fs layer 15:08:42 a51346096db8: Pulling fs layer 15:08:42 daebc70d1ce1: Pulling fs layer 15:08:42 0e18a0eac166: Pulling fs layer 15:08:42 a51346096db8: Waiting 15:08:42 daebc70d1ce1: Waiting 15:08:42 0e18a0eac166: Waiting 15:08:42 4fe6c5a15a65: Waiting 15:08:42 22a0e8bec74d: Waiting 15:08:42 ca2b28591e48: Waiting 15:08:42 8ed8ca486205: Verifying Checksum 15:08:42 8ed8ca486205: Download complete 15:08:42 666ba61612fd: Verifying Checksum 15:08:42 666ba61612fd: Download complete 15:08:42 22a0e8bec74d: Download complete 15:08:42 ca2b28591e48: Download complete 15:08:42 59bf1c3509f3: Verifying Checksum 15:08:42 59bf1c3509f3: Download complete 15:08:42 a51346096db8: Verifying Checksum 15:08:42 a51346096db8: Download complete 15:08:42 daebc70d1ce1: Verifying Checksum 15:08:42 daebc70d1ce1: Download complete 15:08:42 59bf1c3509f3: Pull complete 15:08:42 666ba61612fd: Pull complete 15:08:42 8ed8ca486205: Pull complete 15:08:43 0e18a0eac166: Verifying Checksum 15:08:43 0e18a0eac166: Download complete 15:08:43 4fe6c5a15a65: Verifying Checksum 15:08:43 4fe6c5a15a65: Download complete 15:08:47 4fe6c5a15a65: Pull complete 15:08:47 22a0e8bec74d: Pull complete 15:08:47 ca2b28591e48: Pull complete 15:08:47 a51346096db8: Pull complete 15:08:47 daebc70d1ce1: Pull complete 15:08:49 0e18a0eac166: Pull complete 15:08:49 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 15:08:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 15:08:49 ---> f018257e8ee9 15:08:49 Step 3/12 : ARG MAKE='make build' 15:08:51 ---> Running in 9a3f04de28b2 15:08:51 Removing intermediate container 9a3f04de28b2 15:08:51 ---> 5413f937c108 15:08:51 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:08:51 ---> Running in 05c2dc052d08 15:08:52 Removing intermediate container 05c2dc052d08 15:08:52 ---> dfd3457deea2 15:08:52 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 15:08:52 ---> Running in 079e421a51b3 15:08:52 Removing intermediate container 079e421a51b3 15:08:52 ---> c3ad466b8d2f 15:08:52 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:08:52 ---> Running in 480b7a30bd51 15:08:52 Removing intermediate container 480b7a30bd51 15:08:52 ---> 0b85f8533b7a 15:08:52 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:08:52 ---> Running in ce08e0b16dcc 15:08:53 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:08:54 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:08:54 (1/4) Installing openssh-keygen (8.8_p1-r1) 15:08:54 (2/4) Installing libedit (20210910.3.1-r0) 15:08:54 (3/4) Installing openssh-client-common (8.8_p1-r1) 15:08:54 (4/4) Installing openssh-client-default (8.8_p1-r1) 15:08:54 Executing busybox-1.34.1-r3.trigger 15:08:54 OK: 224 MiB in 56 packages 15:08:55 Removing intermediate container ce08e0b16dcc 15:08:55 ---> d699592b8569 15:08:55 Step 8/12 : WORKDIR /device-snmp-go 15:08:55 ---> Running in cd294b16cdbc 15:08:55 Removing intermediate container cd294b16cdbc 15:08:55 ---> dd3ab10f96f4 15:08:55 Step 9/12 : COPY go.mod vendor* ./ 15:08:55 ---> 4a8ed4e9935f 15:08:55 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:08:55 ---> Running in b71df1815020 15:08:55 Still waiting to schedule task 15:08:55 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 15:09:10 Removing intermediate container b71df1815020 15:09:10 ---> d96c37b90981 15:09:10 Step 11/12 : COPY . . 15:09:10 ---> 74ec356b614a 15:09:10 Step 12/12 : RUN ${MAKE} 15:09:10 ---> Running in 1f833dbbbd25 15:09:10 noop 15:09:11 Removing intermediate container 1f833dbbbd25 15:09:11 ---> 284a09dbfefb 15:09:11 Successfully built 284a09dbfefb 15:09:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 15:09:11 + docker inspect -f . ci-base-image-x86_64 15:09:11 . [Pipeline] withDockerContainer 15:09:11 prd-ubuntu20.04-docker-8c-8g-63403 does not seem to be running inside a container 15:09:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:09:12 $ docker top 5333c1c83df307d032696acef6a48635087ab4e943c788b146e1c8f01e8a8679 -eo pid,comm [Pipeline] { [Pipeline] sh 15:09:12 + go version 15:09:12 go version go1.17.6 linux/amd64 [Pipeline] } 15:09:12 $ docker stop --time=1 5333c1c83df307d032696acef6a48635087ab4e943c788b146e1c8f01e8a8679 15:09:13 $ docker rm -f 5333c1c83df307d032696acef6a48635087ab4e943c788b146e1c8f01e8a8679 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:09:14 + docker inspect -f . ci-base-image-x86_64 15:09:14 . [Pipeline] withDockerContainer 15:09:14 prd-ubuntu20.04-docker-8c-8g-63403 does not seem to be running inside a container 15:09: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 ******** ci-base-image-x86_64 cat 15:09:14 $ docker top 0f79b4af0c3f8dd51edae583cb1b25157081d28a5b4e861352b02fe43e85fd59 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:09:15 + make test 15:09:15 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 15:09:15 ? github.com/edgexfoundry/device-snmp-go [no test files] 15:09:25 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 15:09:25 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.014s coverage: 0.0% of statements 15:09:30 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:09:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:09:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:09:34 ./bin/test-attribution-txt.sh [Pipeline] echo 15:09:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:09:35 $ docker stop --time=1 0f79b4af0c3f8dd51edae583cb1b25157081d28a5b4e861352b02fe43e85fd59 15:09:37 $ docker rm -f 0f79b4af0c3f8dd51edae583cb1b25157081d28a5b4e861352b02fe43e85fd59 [Pipeline] // withDockerContainer [Pipeline] sh 15:09:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:09:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:09:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:09:38 + ls -al . 15:09:38 total 168 15:09:38 drwxrwxr-x 9 jenkins jenkins 4096 May 12 15:09 . 15:09:38 drwxrwxr-x 4 jenkins jenkins 4096 May 12 15:08 .. 15:09:38 -rw-rw-r-- 1 jenkins jenkins 6 May 12 15:08 .dockerignore 15:09:38 drwxrwxr-x 8 jenkins jenkins 4096 May 12 15:08 .git 15:09:38 drwxrwxr-x 3 jenkins jenkins 4096 May 12 15:08 .github 15:09:38 -rw-rw-r-- 1 jenkins jenkins 328 May 12 15:08 .gitignore 15:09:38 -rw-rw-r-- 1 jenkins jenkins 41 May 12 15:08 .golangci.yml 15:09:38 drwxr-xr-x 3 jenkins jenkins 4096 May 12 15:08 .semver 15:09:38 -rw-rw-r-- 1 jenkins jenkins 8296 May 12 15:08 Attribution.txt 15:09:38 -rw-rw-r-- 1 jenkins jenkins 6948 May 12 15:08 CHANGELOG.md 15:09:38 -rw-rw-r-- 1 jenkins jenkins 1516 May 12 15:08 Dockerfile 15:09:38 -rw-rw-r-- 1 jenkins jenkins 677 May 12 15:08 GOVERNANCE.md 15:09:38 -rw-rw-r-- 1 jenkins jenkins 656 May 12 15:08 Jenkinsfile 15:09:38 -rw-rw-r-- 1 jenkins jenkins 11340 May 12 15:08 LICENSE 15:09:38 -rw-rw-r-- 1 jenkins jenkins 1938 May 12 15:08 Makefile 15:09:38 -rw-rw-r-- 1 jenkins jenkins 620 May 12 15:08 OWNERS.md 15:09:38 -rw-rw-r-- 1 jenkins jenkins 9390 May 12 15:08 README.md 15:09:38 -rw-rw-r-- 1 jenkins jenkins 12 May 12 15:08 VERSION 15:09:38 drwxrwxr-x 2 jenkins jenkins 4096 May 12 15:08 bin 15:09:38 drwxrwxr-x 3 jenkins jenkins 4096 May 12 15:08 cmd 15:09:38 -rw-r--r-- 1 jenkins jenkins 7631 May 12 15:09 coverage.out 15:09:38 -rw-rw-r-- 1 jenkins jenkins 3250 May 12 15:08 go.mod 15:09:38 -rw-rw-r-- 1 jenkins jenkins 35701 May 12 15:08 go.sum 15:09:38 drwxrwxr-x 3 jenkins jenkins 4096 May 12 15:08 internal 15:09:38 drwxrwxr-x 3 jenkins jenkins 4096 May 12 15:08 snap 15:09:38 -rw-rw-r-- 1 jenkins jenkins 209 May 12 15:08 version.go [Pipeline] isUnix [Pipeline] sh 15:09:38 + 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=7a984207ad216ad191b3ac0372c82a64ff54e9ba --label arch=amd64 --label version=2.2.0-dev.19 . 15:09:38 Sending build context to Docker daemon 5.351MB 15:09:38 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 15:09:38 Step 2/24 : FROM ${BASE} AS builder 15:09:38 ---> 284a09dbfefb 15:09:38 Step 3/24 : ARG MAKE='make build' 15:09:38 ---> Running in 38f634fa5122 15:09:39 Removing intermediate container 38f634fa5122 15:09:39 ---> 62030cb4188b 15:09:39 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:09:39 ---> Running in c0199fae4eb9 15:09:39 Removing intermediate container c0199fae4eb9 15:09:39 ---> f0d5dcdffbc7 15:09:39 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 15:09:39 ---> Running in 95110db6f77a 15:09:39 Removing intermediate container 95110db6f77a 15:09:39 ---> d41569b5b56f 15:09:39 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:09:39 ---> Running in 3089f512de40 15:09:39 Removing intermediate container 3089f512de40 15:09:39 ---> 23ab9871139b 15:09:39 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:09:39 ---> Running in 9eee8add6bd2 15:09:40 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:09:41 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:09:41 OK: 224 MiB in 56 packages 15:09:41 Removing intermediate container 9eee8add6bd2 15:09:41 ---> 39e6067c0098 15:09:41 Step 8/24 : WORKDIR /device-snmp-go 15:09:41 ---> Running in 557cc58d7f7c 15:09:41 Removing intermediate container 557cc58d7f7c 15:09:41 ---> 47120e9628b5 15:09:41 Step 9/24 : COPY go.mod vendor* ./ 15:09:41 ---> 341b8f8d731a 15:09:41 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:09:41 ---> Running in e0bc91501773 15:09:42 Removing intermediate container e0bc91501773 15:09:42 ---> 4727f55a0e0d 15:09:42 Step 11/24 : COPY . . 15:09:42 ---> b4a66ca9604e 15:09:42 Step 12/24 : RUN ${MAKE} 15:09:42 ---> Running in edabe32e3cf1 15:09:43 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=2.2.0-dev.19" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 15:10:05 Removing intermediate container edabe32e3cf1 15:10:05 ---> 97f9a0fd105d 15:10:05 Step 13/24 : FROM alpine:3.14 15:10:05 3.14: Pulling from library/alpine 15:10:05 8663204ce13b: Pulling fs layer 15:10:05 8663204ce13b: Verifying Checksum 15:10:05 8663204ce13b: Download complete 15:10:05 8663204ce13b: Pull complete 15:10:05 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 15:10:05 Status: Downloaded newer image for alpine:3.14 15:10:05 ---> e04c818066af 15:10:05 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 15:10:05 ---> Running in 0ffefa52b4f6 15:10:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 15:10:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 15:10:05 (1/6) Installing dumb-init (1.2.5-r1) 15:10:05 (2/6) Installing libgcc (10.3.1_git20210424-r2) 15:10:05 (3/6) Installing libsodium (1.0.18-r0) 15:10:05 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 15:10:05 (5/6) Installing libzmq (4.3.4-r0) 15:10:05 (6/6) Installing zeromq (4.3.4-r0) 15:10:05 Executing busybox-1.33.1-r7.trigger 15:10:05 OK: 8 MiB in 20 packages 15:10:05 Removing intermediate container 0ffefa52b4f6 15:10:05 ---> 9799003e97a5 15:10:05 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 15:10:05 ---> b21ce4fdf109 15:10:05 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 15:10:06 ---> 23a4d14768ec 15:10:06 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 15:10:06 ---> 8ec31a77db8a 15:10:06 Step 18/24 : EXPOSE 59993 15:10:06 ---> Running in ef81b0206888 15:10:06 Removing intermediate container ef81b0206888 15:10:06 ---> 29a0c7c96672 15:10:06 Step 19/24 : EXPOSE 161 15:10:06 ---> Running in 0ebb28efc2b3 15:10:06 Removing intermediate container 0ebb28efc2b3 15:10:06 ---> b412f8d64eb5 15:10:06 Step 20/24 : ENTRYPOINT ["/device-snmp"] 15:10:06 ---> Running in 683ab7896855 15:10:06 Removing intermediate container 683ab7896855 15:10:06 ---> 4c3a565f2f42 15:10:06 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 15:10:06 ---> Running in f1ff6a5876ef 15:10:06 Removing intermediate container f1ff6a5876ef 15:10:06 ---> 374d0f2302ae 15:10:06 Step 22/24 : LABEL arch=amd64 15:10:06 ---> Running in c9cc0b58a26f 15:10:07 Removing intermediate container c9cc0b58a26f 15:10:07 ---> cb233cc428a3 15:10:07 Step 23/24 : LABEL git_sha=7a984207ad216ad191b3ac0372c82a64ff54e9ba 15:10:07 ---> Running in 76ec553c8892 15:10:07 Removing intermediate container 76ec553c8892 15:10:07 ---> 3af95801ad33 15:10:07 Step 24/24 : LABEL version=2.2.0-dev.19 15:10:07 ---> Running in 429c99da7428 15:10:07 Removing intermediate container 429c99da7428 15:10:07 ---> 7c12d7b4b797 15:10:07 [Warning] One or more build-args [ARCH] were not consumed 15:10:07 Successfully built 7c12d7b4b797 15:10:07 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:10:07 provisioning config files... 15:10:07 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8148214390614587961tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:10:07 ---> docker-login.sh 15:10:07 nexus3.edgexfoundry.org:10001 15:10:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:10:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:10:07 Configure a credential helper to remove this warning. See 15:10:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:10:07 15:10:07 Login Succeeded 15:10:07 nexus3.edgexfoundry.org:10002 15:10:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:10:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:10:07 Configure a credential helper to remove this warning. See 15:10:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:10:07 15:10:07 Login Succeeded 15:10:07 nexus3.edgexfoundry.org:10003 15:10:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:10:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:10:07 Configure a credential helper to remove this warning. See 15:10:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:10:07 15:10:07 Login Succeeded 15:10:07 nexus3.edgexfoundry.org:10004 15:10:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:10:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:10:07 Configure a credential helper to remove this warning. See 15:10:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:10:07 15:10:07 Login Succeeded 15:10:07 docker.io 15:10:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:10:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:10:08 Configure a credential helper to remove this warning. See 15:10:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:10:08 15:10:08 Login Succeeded 15:10:08 ---> docker-login.sh ends [Pipeline] } 15:10:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:10:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:10:08 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 15:10:08 7a984207ad216ad191b3ac0372c82a64ff54e9ba 15:10:08 latest 15:10:08 2.2.0-dev.19 15:10:08 7a984207ad216ad191b3ac0372c82a64ff54e9ba-2.2.0-dev.19 15:10:08 main 15:10:08 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:10:08 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:7a984207ad216ad191b3ac0372c82a64ff54e9ba [Pipeline] isUnix [Pipeline] sh 15:10:09 + docker push nexus3.edgexfoundry.org:10004/device-snmp:7a984207ad216ad191b3ac0372c82a64ff54e9ba 15:10:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 15:10:09 8130069ddf5f: Preparing 15:10:09 7c1e179ae966: Preparing 15:10:09 d335cf720576: Preparing 15:10:09 8c6961ffc766: Preparing 15:10:09 b541d28bf3b4: Preparing 15:10:09 b541d28bf3b4: Layer already exists 15:10:09 7c1e179ae966: Pushed 15:10:09 8130069ddf5f: Pushed 15:10:09 8c6961ffc766: Pushed 15:10:11 d335cf720576: Pushed 15:10:12 7a984207ad216ad191b3ac0372c82a64ff54e9ba: digest: sha256:43bddc51be745bf4d9f5ccfa8872e28ca344e9281328d68a1362a474d1fb6fcf size: 1367 [Pipeline] isUnix [Pipeline] sh 15:10:12 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] isUnix [Pipeline] sh 15:10:12 + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest 15:10:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 15:10:12 8130069ddf5f: Preparing 15:10:12 7c1e179ae966: Preparing 15:10:12 d335cf720576: Preparing 15:10:12 8c6961ffc766: Preparing 15:10:12 b541d28bf3b4: Preparing 15:10:12 b541d28bf3b4: Layer already exists 15:10:12 8130069ddf5f: Layer already exists 15:10:12 8c6961ffc766: Layer already exists 15:10:12 d335cf720576: Layer already exists 15:10:12 7c1e179ae966: Layer already exists 15:10:12 latest: digest: sha256:43bddc51be745bf4d9f5ccfa8872e28ca344e9281328d68a1362a474d1fb6fcf size: 1367 [Pipeline] isUnix [Pipeline] sh 15:10:13 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.19 [Pipeline] isUnix [Pipeline] sh 15:10:13 + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.19 15:10:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 15:10:13 8130069ddf5f: Preparing 15:10:13 7c1e179ae966: Preparing 15:10:13 d335cf720576: Preparing 15:10:13 8c6961ffc766: Preparing 15:10:13 b541d28bf3b4: Preparing 15:10:13 b541d28bf3b4: Layer already exists 15:10:13 8c6961ffc766: Layer already exists 15:10:13 8130069ddf5f: Layer already exists 15:10:13 7c1e179ae966: Layer already exists 15:10:13 d335cf720576: Layer already exists 15:10:13 2.2.0-dev.19: digest: sha256:43bddc51be745bf4d9f5ccfa8872e28ca344e9281328d68a1362a474d1fb6fcf size: 1367 [Pipeline] isUnix [Pipeline] sh 15:10:13 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:7a984207ad216ad191b3ac0372c82a64ff54e9ba-2.2.0-dev.19 [Pipeline] isUnix [Pipeline] sh 15:10:14 + docker push nexus3.edgexfoundry.org:10004/device-snmp:7a984207ad216ad191b3ac0372c82a64ff54e9ba-2.2.0-dev.19 15:10:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 15:10:14 8130069ddf5f: Preparing 15:10:14 7c1e179ae966: Preparing 15:10:14 d335cf720576: Preparing 15:10:14 8c6961ffc766: Preparing 15:10:14 b541d28bf3b4: Preparing 15:10:14 8c6961ffc766: Layer already exists 15:10:14 7c1e179ae966: Layer already exists 15:10:14 b541d28bf3b4: Layer already exists 15:10:14 8130069ddf5f: Layer already exists 15:10:14 d335cf720576: Layer already exists 15:10:14 7a984207ad216ad191b3ac0372c82a64ff54e9ba-2.2.0-dev.19: digest: sha256:43bddc51be745bf4d9f5ccfa8872e28ca344e9281328d68a1362a474d1fb6fcf size: 1367 [Pipeline] isUnix [Pipeline] sh 15:10:14 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] isUnix [Pipeline] sh 15:10:14 + docker push nexus3.edgexfoundry.org:10004/device-snmp:main 15:10:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 15:10:14 8130069ddf5f: Preparing 15:10:14 7c1e179ae966: Preparing 15:10:14 d335cf720576: Preparing 15:10:14 8c6961ffc766: Preparing 15:10:14 b541d28bf3b4: Preparing 15:10:14 b541d28bf3b4: Layer already exists 15:10:14 d335cf720576: Layer already exists 15:10:14 7c1e179ae966: Layer already exists 15:10:14 8c6961ffc766: Layer already exists 15:10:14 8130069ddf5f: Layer already exists 15:10:14 main: digest: sha256:43bddc51be745bf4d9f5ccfa8872e28ca344e9281328d68a1362a474d1fb6fcf size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:10:14 ===================================================== [Pipeline] echo 15:10:14 taggedImages: 15:10:14 - nexus3.edgexfoundry.org:10004/device-snmp:7a984207ad216ad191b3ac0372c82a64ff54e9ba 15:10:14 - nexus3.edgexfoundry.org:10004/device-snmp:latest 15:10:14 - nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.19 15:10:14 - nexus3.edgexfoundry.org:10004/device-snmp:7a984207ad216ad191b3ac0372c82a64ff54e9ba-2.2.0-dev.19 15:10:14 - nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:10:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:10:15 15:10:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 15:10:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:10:15 latest: Pulling from edgex-lftools-log-publisher 15:10:15 5eb5b503b376: Pulling fs layer 15:10:15 5c69ac0246d0: Pulling fs layer 15:10:15 ec43610c2a17: Pulling fs layer 15:10:15 3a2ae6a8a46f: Pulling fs layer 15:10:15 33b1e0a273af: Pulling fs layer 15:10:15 5d3b04190fa2: Pulling fs layer 15:10:15 2f39f015ded8: Pulling fs layer 15:10:15 33b1e0a273af: Waiting 15:10:15 5d3b04190fa2: Waiting 15:10:15 2f39f015ded8: Waiting 15:10:15 3a2ae6a8a46f: Waiting 15:10:15 5c69ac0246d0: Verifying Checksum 15:10:15 5c69ac0246d0: Download complete 15:10:15 3a2ae6a8a46f: Download complete 15:10:15 33b1e0a273af: Verifying Checksum 15:10:15 33b1e0a273af: Download complete 15:10:15 ec43610c2a17: Verifying Checksum 15:10:15 ec43610c2a17: Download complete 15:10:15 5d3b04190fa2: Download complete 15:10:15 5eb5b503b376: Verifying Checksum 15:10:15 5eb5b503b376: Download complete 15:10:16 2f39f015ded8: Download complete 15:10:16 5eb5b503b376: Pull complete 15:10:17 5c69ac0246d0: Pull complete 15:10:17 ec43610c2a17: Pull complete 15:10:17 3a2ae6a8a46f: Pull complete 15:10:17 33b1e0a273af: Pull complete 15:10:17 5d3b04190fa2: Pull complete 15:10:21 2f39f015ded8: Pull complete 15:10:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:10:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:10:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 15:10:22 prd-ubuntu20.04-docker-8c-8g-63403 does not seem to be running inside a container 15:10:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:10:23 $ docker top ac6516c85511cb523fde680360e43baf00184ca95ca295bf14425920e1e42985 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:10:24 ---> job-cost.sh 15:10:24 lf-activate-venv: SKIPPING 15:10:24 INFO: No Stack... 15:10:24 INFO: Retrieving Pricing Info for: v3-standard-8 15:10:25 INFO: Archiving Costs [Pipeline] sh 15:10:25 Running on prd-ubuntu20.04-docker-arm64-4c-16g-63404 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws 15:10:25 Running in /w/workspace/device-snmp-go/29 [Pipeline] { [Pipeline] checkout 15:10:25 + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv 15:10:25 + cut -d, -f6 [Pipeline] lock 15:10:25 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-29-stack-cost] 15:10:25 Resource [jenkins-edgexfoundry-device-snmp-go-main-29-stack-cost] did not exist. Created. 15:10:25 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-29-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:10:25 + echo total: 0.2199999988079071 [Pipeline] stash 15:10:25 Stashed 1 file(s) [Pipeline] } 15:10:25 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-29-stack-cost] [Pipeline] // lock [Pipeline] } 15:10:25 $ docker stop --time=1 ac6516c85511cb523fde680360e43baf00184ca95ca295bf14425920e1e42985 15:10:25 Selected Git installation does not exist. Using Default 15:10:25 The recommended git tool is: NONE 15:10:26 $ docker rm -f ac6516c85511cb523fde680360e43baf00184ca95ca295bf14425920e1e42985 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:10:33 using credential edgex-jenkins-ssh 15:10:33 Cloning the remote Git repository 15:10:33 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 15:10:33 > git init /w/workspace/device-snmp-go/29 # timeout=10 15:10:33 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 15:10:33 > git --version # timeout=10 15:10:33 > git --version # 'git version 2.25.1' 15:10:33 using GIT_SSH to set credentials SSH Credentials for GitHub 15:10:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:10:34 Avoid second fetch 15:10:34 Checking out Revision 7a984207ad216ad191b3ac0372c82a64ff54e9ba (main) 15:10:34 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 15:10:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:10:34 > git config core.sparsecheckout # timeout=10 15:10:34 > git checkout -f 7a984207ad216ad191b3ac0372c82a64ff54e9ba # timeout=10 15:10:39 Commit message: "Merge pull request #171 from iain-anderson/changelog-fixup" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:10:40 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:10:40 % Total % Received % Xferd Average Speed Time Time Time Current 15:10:40 Dload Upload Total Spent Left Speed 15:10:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 86445 0 --:--:-- --:--:-- --:--:-- 86445 [Pipeline] sh 15:10:40 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:10:41 + sudo tee /etc/docker/daemon.new 15:10:41 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:10:41 { 15:10:41 "registry-mirrors": [ 15:10:41 "https://nexus3.edgexfoundry.org:10001" 15:10:41 ], 15:10:41 "bip": "10.250.0.254/24", 15:10:41 "hosts": [ 15:10:41 "tcp://0.0.0.0:5555", 15:10:41 "unix:///var/run/docker.sock" 15:10:41 ], 15:10:41 "mtu": 1458, 15:10:41 "selinux-enabled": true, 15:10:41 "seccomp-profile": "/etc/docker/seccomp.json" 15:10:41 } [Pipeline] sh 15:10:41 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:10:41 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:11:00 provisioning config files... 15:11:00 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/29@tmp/config8547069690374174394tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:11:00 ---> docker-login.sh 15:11:00 nexus3.edgexfoundry.org:10001 15:11:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:11:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:11:01 Configure a credential helper to remove this warning. See 15:11:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:11:01 15:11:01 Login Succeeded 15:11:01 nexus3.edgexfoundry.org:10002 15:11:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:11:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:11:02 Configure a credential helper to remove this warning. See 15:11:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:11:02 15:11:02 Login Succeeded 15:11:02 nexus3.edgexfoundry.org:10003 15:11:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:11:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:11:02 Configure a credential helper to remove this warning. See 15:11:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:11:02 15:11:02 Login Succeeded 15:11:02 nexus3.edgexfoundry.org:10004 15:11:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:11:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:11:02 Configure a credential helper to remove this warning. See 15:11:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:11:02 15:11:02 Login Succeeded 15:11:02 docker.io 15:11:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:11:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:11:03 Configure a credential helper to remove this warning. See 15:11:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:11:03 15:11:03 Login Succeeded 15:11:03 ---> docker-login.sh ends [Pipeline] } 15:11:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:11:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:11:04 ========================================================= 15:11:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 15:11:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:11:04 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 15:11:05 Sending build context to Docker daemon 2.762MB 15:11:05 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 15:11:05 Step 2/12 : FROM ${BASE} AS builder 15:11:05 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:11:05 9b3977197b4f: Pulling fs layer 15:11:05 1a89e8eeedd5: Pulling fs layer 15:11:05 94645a83ff95: Pulling fs layer 15:11:05 3f3a8bcf1eab: Pulling fs layer 15:11:05 0c92f367c5e7: Pulling fs layer 15:11:05 3096ccb668a1: Pulling fs layer 15:11:05 e8cf19c19ddd: Pulling fs layer 15:11:05 a4caa8a26152: Pulling fs layer 15:11:05 3f3a8bcf1eab: Waiting 15:11:05 3096ccb668a1: Waiting 15:11:05 0c92f367c5e7: Waiting 15:11:05 a4caa8a26152: Waiting 15:11:05 e8cf19c19ddd: Waiting 15:11:05 94645a83ff95: Verifying Checksum 15:11:05 94645a83ff95: Download complete 15:11:05 1a89e8eeedd5: Verifying Checksum 15:11:05 1a89e8eeedd5: Download complete 15:11:05 0c92f367c5e7: Verifying Checksum 15:11:05 0c92f367c5e7: Download complete 15:11:05 9b3977197b4f: Verifying Checksum 15:11:05 9b3977197b4f: Download complete 15:11:05 3096ccb668a1: Verifying Checksum 15:11:05 3096ccb668a1: Download complete 15:11:05 e8cf19c19ddd: Verifying Checksum 15:11:05 e8cf19c19ddd: Download complete 15:11:06 9b3977197b4f: Pull complete 15:11:06 1a89e8eeedd5: Pull complete 15:11:07 94645a83ff95: Pull complete 15:11:07 a4caa8a26152: Verifying Checksum 15:11:07 a4caa8a26152: Download complete 15:11:08 3f3a8bcf1eab: Verifying Checksum 15:11:08 3f3a8bcf1eab: Download complete 15:11:20 3f3a8bcf1eab: Pull complete 15:11:20 0c92f367c5e7: Pull complete 15:11:20 3096ccb668a1: Pull complete 15:11:20 e8cf19c19ddd: Pull complete 15:11:27 a4caa8a26152: Pull complete 15:11:27 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 15:11:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 15:11:27 ---> 725f1c02e7f9 15:11:27 Step 3/12 : ARG MAKE='make build' 15:11:27 ---> Running in 0e0195769bc4 15:11:28 Removing intermediate container 0e0195769bc4 15:11:28 ---> 8786766cabb5 15:11:28 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:11:28 ---> Running in 0a9f3a1fbe1e 15:11:28 Removing intermediate container 0a9f3a1fbe1e 15:11:28 ---> a5376e215c8b 15:11:28 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 15:11:28 ---> Running in 8c2d4df598c4 15:11:28 Removing intermediate container 8c2d4df598c4 15:11:28 ---> 3b3a6f280c62 15:11:28 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:11:29 ---> Running in 514c69f6e134 15:11:30 Removing intermediate container 514c69f6e134 15:11:30 ---> 1356dc1c53fb 15:11:30 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:11:30 ---> Running in ce157cbd5e81 15:11:31 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:11:32 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:11:33 (1/4) Installing openssh-keygen (8.8_p1-r1) 15:11:33 (2/4) Installing libedit (20210910.3.1-r0) 15:11:33 (3/4) Installing openssh-client-common (8.8_p1-r1) 15:11:33 (4/4) Installing openssh-client-default (8.8_p1-r1) 15:11:33 Executing busybox-1.34.1-r3.trigger 15:11:33 OK: 224 MiB in 56 packages 15:11:34 Removing intermediate container ce157cbd5e81 15:11:34 ---> 35a3f24be927 15:11:34 Step 8/12 : WORKDIR /device-snmp-go 15:11:34 ---> Running in 00a42d57c77a 15:11:35 Removing intermediate container 00a42d57c77a 15:11:35 ---> 70472b78d4f6 15:11:35 Step 9/12 : COPY go.mod vendor* ./ 15:11:35 ---> a6f03c44b579 15:11:35 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:11:35 ---> Running in dbcd8ed08dc5 15:12:22 Removing intermediate container dbcd8ed08dc5 15:12:22 ---> 6df2ee9d7456 15:12:22 Step 11/12 : COPY . . 15:12:22 ---> 2ca23ba71cf9 15:12:22 Step 12/12 : RUN ${MAKE} 15:12:22 ---> Running in 0ff2479a7b67 15:12:22 noop 15:12:22 Removing intermediate container 0ff2479a7b67 15:12:22 ---> fac396aae815 15:12:22 Successfully built fac396aae815 15:12:22 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 15:12:23 + docker inspect -f . ci-base-image-arm64 15:12:23 . [Pipeline] withDockerContainer 15:12:23 prd-ubuntu20.04-docker-arm64-4c-16g-63404 does not seem to be running inside a container 15:12:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/29 -v /w/workspace/device-snmp-go/29:/w/workspace/device-snmp-go/29:rw,z -v /w/workspace/device-snmp-go/29@tmp:/w/workspace/device-snmp-go/29@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:12:24 $ docker top 87bcca532ee407f53b6877c1c63b9d1ac5f0e36bec37977274a73f155290149f -eo pid,comm [Pipeline] { [Pipeline] sh 15:12:25 + go version 15:12:25 go version go1.17.6 linux/arm64 [Pipeline] } 15:12:25 $ docker stop --time=1 87bcca532ee407f53b6877c1c63b9d1ac5f0e36bec37977274a73f155290149f 15:12:27 $ docker rm -f 87bcca532ee407f53b6877c1c63b9d1ac5f0e36bec37977274a73f155290149f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:12:28 + docker inspect -f . ci-base-image-arm64 15:12:28 . [Pipeline] withDockerContainer 15:12:28 prd-ubuntu20.04-docker-arm64-4c-16g-63404 does not seem to be running inside a container 15:12:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/29 -v /w/workspace/device-snmp-go/29:/w/workspace/device-snmp-go/29:rw,z -v /w/workspace/device-snmp-go/29@tmp:/w/workspace/device-snmp-go/29@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:12:29 $ docker top b5615f1ad073b165200f81e46103f93d91b91647f622be6dfa999f0fafdf38b5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:12:30 + make test 15:12:30 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 15:12:31 ? github.com/edgexfoundry/device-snmp-go [no test files] 15:13:53 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 15:13:53 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.042s coverage: 0.0% of statements 15:13:53 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:13:53 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:14:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:14:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:14:16 ./bin/test-attribution-txt.sh [Pipeline] echo 15:14:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:14:16 $ docker stop --time=1 b5615f1ad073b165200f81e46103f93d91b91647f622be6dfa999f0fafdf38b5 15:14:18 $ docker rm -f b5615f1ad073b165200f81e46103f93d91b91647f622be6dfa999f0fafdf38b5 [Pipeline] // withDockerContainer [Pipeline] sh 15:14:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:14:19 Warning: overwriting stash ‘coverage-report’ 15:14:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:14:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:14:20 + ls -al . 15:14:20 total 164 15:14:20 drwxrwxr-x 8 jenkins jenkins 4096 May 12 15:14 . 15:14:20 drwxrwxr-x 4 jenkins jenkins 4096 May 12 15:10 .. 15:14:20 -rw-rw-r-- 1 jenkins jenkins 6 May 12 15:10 .dockerignore 15:14:20 drwxrwxr-x 8 jenkins jenkins 4096 May 12 15:10 .git 15:14:20 drwxrwxr-x 3 jenkins jenkins 4096 May 12 15:10 .github 15:14:20 -rw-rw-r-- 1 jenkins jenkins 328 May 12 15:10 .gitignore 15:14:20 -rw-rw-r-- 1 jenkins jenkins 41 May 12 15:10 .golangci.yml 15:14:20 -rw-rw-r-- 1 jenkins jenkins 8296 May 12 15:10 Attribution.txt 15:14:20 -rw-rw-r-- 1 jenkins jenkins 6948 May 12 15:10 CHANGELOG.md 15:14:20 -rw-rw-r-- 1 jenkins jenkins 1516 May 12 15:10 Dockerfile 15:14:20 -rw-rw-r-- 1 jenkins jenkins 677 May 12 15:10 GOVERNANCE.md 15:14:20 -rw-rw-r-- 1 jenkins jenkins 656 May 12 15:10 Jenkinsfile 15:14:20 -rw-rw-r-- 1 jenkins jenkins 11340 May 12 15:10 LICENSE 15:14:20 -rw-rw-r-- 1 jenkins jenkins 1938 May 12 15:10 Makefile 15:14:20 -rw-rw-r-- 1 jenkins jenkins 620 May 12 15:10 OWNERS.md 15:14:20 -rw-rw-r-- 1 jenkins jenkins 9390 May 12 15:10 README.md 15:14:20 -rw-rw-r-- 1 jenkins jenkins 12 May 12 15:08 VERSION 15:14:20 drwxrwxr-x 2 jenkins jenkins 4096 May 12 15:10 bin 15:14:20 drwxrwxr-x 3 jenkins jenkins 4096 May 12 15:10 cmd 15:14:20 -rw-r--r-- 1 jenkins jenkins 7631 May 12 15:13 coverage.out 15:14:20 -rw-rw-r-- 1 jenkins jenkins 3250 May 12 15:10 go.mod 15:14:20 -rw-rw-r-- 1 jenkins jenkins 35701 May 12 15:10 go.sum 15:14:20 drwxrwxr-x 3 jenkins jenkins 4096 May 12 15:10 internal 15:14:20 drwxrwxr-x 3 jenkins jenkins 4096 May 12 15:10 snap 15:14:20 -rw-rw-r-- 1 jenkins jenkins 209 May 12 15:10 version.go [Pipeline] isUnix [Pipeline] sh 15:14:20 + 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=7a984207ad216ad191b3ac0372c82a64ff54e9ba --label arch=arm64 --label version=2.2.0-dev.19 . 15:14:20 Sending build context to Docker daemon 2.77MB 15:14:20 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 15:14:20 Step 2/24 : FROM ${BASE} AS builder 15:14:20 ---> fac396aae815 15:14:20 Step 3/24 : ARG MAKE='make build' 15:14:21 ---> Running in c533db7e4b46 15:14:21 Removing intermediate container c533db7e4b46 15:14:21 ---> dbadac3e6219 15:14:21 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:14:21 ---> Running in e95b1cb1a070 15:14:21 Removing intermediate container e95b1cb1a070 15:14:21 ---> 76b4240bd4ae 15:14:21 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 15:14:22 ---> Running in ace0b2aa3f71 15:14:22 Removing intermediate container ace0b2aa3f71 15:14:22 ---> b4539c62c934 15:14:22 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:14:22 ---> Running in ba34dbe5e2f6 15:14:24 Removing intermediate container ba34dbe5e2f6 15:14:24 ---> 9ffd22206de1 15:14:24 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:14:24 ---> Running in 7d3e8d38e0a5 15:14:24 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:14:25 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:14:26 OK: 224 MiB in 56 packages 15:14:27 Removing intermediate container 7d3e8d38e0a5 15:14:27 ---> 32f0c7325dae 15:14:27 Step 8/24 : WORKDIR /device-snmp-go 15:14:27 ---> Running in bd7629e12f76 15:14:27 Removing intermediate container bd7629e12f76 15:14:27 ---> 8eb15c398060 15:14:27 Step 9/24 : COPY go.mod vendor* ./ 15:14:28 ---> 32928ae76573 15:14:28 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:14:28 ---> Running in 274d6e968d53 15:14:30 Removing intermediate container 274d6e968d53 15:14:30 ---> f10ba07067da 15:14:30 Step 11/24 : COPY . . 15:14:31 ---> db45714a36e0 15:14:31 Step 12/24 : RUN ${MAKE} 15:14:31 ---> Running in a41efbd302e2 15:14:32 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=2.2.0-dev.19" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 15:16:39 Removing intermediate container a41efbd302e2 15:16:39 ---> f454a10d99f8 15:16:39 Step 13/24 : FROM alpine:3.14 15:16:39 3.14: Pulling from library/alpine 15:16:39 455c02918c45: Pulling fs layer 15:16:39 455c02918c45: Verifying Checksum 15:16:39 455c02918c45: Download complete 15:16:39 455c02918c45: Pull complete 15:16:39 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 15:16:39 Status: Downloaded newer image for alpine:3.14 15:16:39 ---> ac73e934f311 15:16:39 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 15:16:39 ---> Running in eb9efcda91e2 15:16:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 15:16:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 15:16:39 (1/6) Installing dumb-init (1.2.5-r1) 15:16:39 (2/6) Installing libgcc (10.3.1_git20210424-r2) 15:16:39 (3/6) Installing libsodium (1.0.18-r0) 15:16:39 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 15:16:39 (5/6) Installing libzmq (4.3.4-r0) 15:16:39 (6/6) Installing zeromq (4.3.4-r0) 15:16:39 Executing busybox-1.33.1-r7.trigger 15:16:39 OK: 8 MiB in 20 packages 15:16:39 Removing intermediate container eb9efcda91e2 15:16:39 ---> 35aedf193d67 15:16:39 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 15:16:39 ---> 577ae738dcb6 15:16:39 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 15:16:39 ---> 9f7e926e3ed2 15:16:39 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 15:16:39 ---> 0d9aaee8d376 15:16:39 Step 18/24 : EXPOSE 59993 15:16:39 ---> Running in b8621fe24964 15:16:39 Removing intermediate container b8621fe24964 15:16:39 ---> 430f84c24b7f 15:16:39 Step 19/24 : EXPOSE 161 15:16:39 ---> Running in 99260cf28eb3 15:16:39 Removing intermediate container 99260cf28eb3 15:16:39 ---> aa9ff348df08 15:16:39 Step 20/24 : ENTRYPOINT ["/device-snmp"] 15:16:39 ---> Running in 0c927b44eccc 15:16:39 Removing intermediate container 0c927b44eccc 15:16:39 ---> 1216bedf6e05 15:16:39 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 15:16:39 ---> Running in f781e9003eac 15:16:39 Removing intermediate container f781e9003eac 15:16:39 ---> 2dbe326fec0f 15:16:39 Step 22/24 : LABEL arch=arm64 15:16:39 ---> Running in e06c2477b13d 15:16:39 Removing intermediate container e06c2477b13d 15:16:39 ---> bdd4f9a9ee41 15:16:39 Step 23/24 : LABEL git_sha=7a984207ad216ad191b3ac0372c82a64ff54e9ba 15:16:39 ---> Running in 1d47e3cd7136 15:16:39 Removing intermediate container 1d47e3cd7136 15:16:39 ---> 3350c88d0ef6 15:16:39 Step 24/24 : LABEL version=2.2.0-dev.19 15:16:39 ---> Running in 8c4d6ad00d53 15:16:39 Removing intermediate container 8c4d6ad00d53 15:16:39 ---> a63b7fbd1efa 15:16:39 [Warning] One or more build-args [ARCH] were not consumed 15:16:39 Successfully built a63b7fbd1efa 15:16:39 Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:16:39 provisioning config files... 15:16:39 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/29@tmp/config2925850486305160571tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:16:39 ---> docker-login.sh 15:16:39 nexus3.edgexfoundry.org:10001 15:16:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:16:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:16:40 Configure a credential helper to remove this warning. See 15:16:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:16:40 15:16:40 Login Succeeded 15:16:40 nexus3.edgexfoundry.org:10002 15:16:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:16:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:16:40 Configure a credential helper to remove this warning. See 15:16:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:16:40 15:16:40 Login Succeeded 15:16:40 nexus3.edgexfoundry.org:10003 15:16:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:16:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:16:41 Configure a credential helper to remove this warning. See 15:16:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:16:41 15:16:41 Login Succeeded 15:16:41 nexus3.edgexfoundry.org:10004 15:16:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:16:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:16:41 Configure a credential helper to remove this warning. See 15:16:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:16:41 15:16:41 Login Succeeded 15:16:41 docker.io 15:16:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:16:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:16:42 Configure a credential helper to remove this warning. See 15:16:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:16:42 15:16:42 Login Succeeded 15:16:42 ---> docker-login.sh ends [Pipeline] } 15:16:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:16:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:16:42 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 15:16:42 7a984207ad216ad191b3ac0372c82a64ff54e9ba 15:16:42 latest 15:16:42 2.2.0-dev.19 15:16:42 7a984207ad216ad191b3ac0372c82a64ff54e9ba-2.2.0-dev.19 15:16:42 main 15:16:42 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:16:42 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:7a984207ad216ad191b3ac0372c82a64ff54e9ba [Pipeline] isUnix [Pipeline] sh 15:16:43 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:7a984207ad216ad191b3ac0372c82a64ff54e9ba 15:16:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 15:16:43 673519e89352: Preparing 15:16:43 12abc74b29a4: Preparing 15:16:43 3180a571e193: Preparing 15:16:43 f7d59cb26133: Preparing 15:16:43 f73e7dbfee58: Preparing 15:16:43 f73e7dbfee58: Layer already exists 15:16:43 673519e89352: Pushed 15:16:43 12abc74b29a4: Pushed 15:16:43 f7d59cb26133: Pushed 15:16:49 3180a571e193: Pushed 15:16:49 7a984207ad216ad191b3ac0372c82a64ff54e9ba: digest: sha256:ddd80f8461ee9c95f0fa2ca03378c915bbedc7b018006dd77db06106f1aa6ea6 size: 1366 [Pipeline] isUnix [Pipeline] sh 15:16:49 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] isUnix [Pipeline] sh 15:16:50 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 15:16:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 15:16:50 673519e89352: Preparing 15:16:50 12abc74b29a4: Preparing 15:16:50 3180a571e193: Preparing 15:16:50 f7d59cb26133: Preparing 15:16:50 f73e7dbfee58: Preparing 15:16:50 f7d59cb26133: Layer already exists 15:16:50 673519e89352: Layer already exists 15:16:50 12abc74b29a4: Layer already exists 15:16:50 f73e7dbfee58: Layer already exists 15:16:50 3180a571e193: Layer already exists 15:16:50 latest: digest: sha256:ddd80f8461ee9c95f0fa2ca03378c915bbedc7b018006dd77db06106f1aa6ea6 size: 1366 [Pipeline] isUnix [Pipeline] sh 15:16:50 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.19 [Pipeline] isUnix [Pipeline] sh 15:16:51 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.19 15:16:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 15:16:51 673519e89352: Preparing 15:16:51 12abc74b29a4: Preparing 15:16:51 3180a571e193: Preparing 15:16:51 f7d59cb26133: Preparing 15:16:51 f73e7dbfee58: Preparing 15:16:51 f73e7dbfee58: Layer already exists 15:16:51 3180a571e193: Layer already exists 15:16:51 f7d59cb26133: Layer already exists 15:16:51 12abc74b29a4: Layer already exists 15:16:51 673519e89352: Layer already exists 15:16:51 2.2.0-dev.19: digest: sha256:ddd80f8461ee9c95f0fa2ca03378c915bbedc7b018006dd77db06106f1aa6ea6 size: 1366 [Pipeline] isUnix [Pipeline] sh 15:16:51 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:7a984207ad216ad191b3ac0372c82a64ff54e9ba-2.2.0-dev.19 [Pipeline] isUnix [Pipeline] sh 15:16:51 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:7a984207ad216ad191b3ac0372c82a64ff54e9ba-2.2.0-dev.19 15:16:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 15:16:51 673519e89352: Preparing 15:16:51 12abc74b29a4: Preparing 15:16:51 3180a571e193: Preparing 15:16:51 f7d59cb26133: Preparing 15:16:51 f73e7dbfee58: Preparing 15:16:51 f73e7dbfee58: Layer already exists 15:16:51 3180a571e193: Layer already exists 15:16:51 673519e89352: Layer already exists 15:16:51 12abc74b29a4: Layer already exists 15:16:51 f7d59cb26133: Layer already exists 15:16:52 7a984207ad216ad191b3ac0372c82a64ff54e9ba-2.2.0-dev.19: digest: sha256:ddd80f8461ee9c95f0fa2ca03378c915bbedc7b018006dd77db06106f1aa6ea6 size: 1366 [Pipeline] isUnix [Pipeline] sh 15:16:52 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] isUnix [Pipeline] sh 15:16:52 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main 15:16:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 15:16:52 673519e89352: Preparing 15:16:52 12abc74b29a4: Preparing 15:16:52 3180a571e193: Preparing 15:16:52 f7d59cb26133: Preparing 15:16:52 f73e7dbfee58: Preparing 15:16:52 12abc74b29a4: Layer already exists 15:16:52 f7d59cb26133: Layer already exists 15:16:52 673519e89352: Layer already exists 15:16:52 3180a571e193: Layer already exists 15:16:52 f73e7dbfee58: Layer already exists 15:16:53 main: digest: sha256:ddd80f8461ee9c95f0fa2ca03378c915bbedc7b018006dd77db06106f1aa6ea6 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 15:16:53 ===================================================== [Pipeline] echo 15:16:53 taggedImages: 15:16:53 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:7a984207ad216ad191b3ac0372c82a64ff54e9ba 15:16:53 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 15:16:53 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.19 15:16:53 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:7a984207ad216ad191b3ac0372c82a64ff54e9ba-2.2.0-dev.19 15:16:53 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:16:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:16:53 15:16:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 15:16:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:16:54 arm64: Pulling from edgex-lftools-log-publisher 15:16:54 8998bd30e6a1: Pulling fs layer 15:16:54 04944245beec: Pulling fs layer 15:16:54 699f458cf7ca: Pulling fs layer 15:16:54 765212b225bb: Pulling fs layer 15:16:54 f23df028b6ca: Pulling fs layer 15:16:54 d65c8cfc05b1: Pulling fs layer 15:16:54 2437ff75d9bd: Pulling fs layer 15:16:54 765212b225bb: Waiting 15:16:54 f23df028b6ca: Waiting 15:16:54 d65c8cfc05b1: Waiting 15:16:54 2437ff75d9bd: Waiting 15:16:54 04944245beec: Verifying Checksum 15:16:54 04944245beec: Download complete 15:16:54 765212b225bb: Download complete 15:16:54 f23df028b6ca: Verifying Checksum 15:16:54 f23df028b6ca: Download complete 15:16:54 d65c8cfc05b1: Verifying Checksum 15:16:54 d65c8cfc05b1: Download complete 15:16:54 699f458cf7ca: Verifying Checksum 15:16:54 699f458cf7ca: Download complete 15:16:54 8998bd30e6a1: Verifying Checksum 15:16:54 8998bd30e6a1: Download complete 15:16:57 2437ff75d9bd: Verifying Checksum 15:16:57 2437ff75d9bd: Download complete 15:16:58 8998bd30e6a1: Pull complete 15:16:59 04944245beec: Pull complete 15:17:00 699f458cf7ca: Pull complete 15:17:01 765212b225bb: Pull complete 15:17:02 f23df028b6ca: Pull complete 15:17:02 d65c8cfc05b1: Pull complete 15:17:17 2437ff75d9bd: Pull complete 15:17:17 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:17:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:17:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 15:17:17 prd-ubuntu20.04-docker-arm64-4c-16g-63404 does not seem to be running inside a container 15:17:17 $ 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/29 -v /w/workspace/device-snmp-go/29:/w/workspace/device-snmp-go/29:rw,z -v /w/workspace/device-snmp-go/29@tmp:/w/workspace/device-snmp-go/29@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:17:20 $ docker top d54dc890b161eb33e30dc0ea951522d37a94f24be2d27630b99e8b9f03d19e34 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:17:21 ---> job-cost.sh 15:17:21 lf-activate-venv: SKIPPING 15:17:21 INFO: No Stack... 15:17:21 INFO: Retrieving Pricing Info for: v3-standard-4 15:17:22 INFO: Archiving Costs [Pipeline] sh 15:17:23 + cat /w/workspace/device-snmp-go/29/archives/cost.csv 15:17:23 + cut -d, -f6 [Pipeline] lock 15:17:23 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-29-stack-cost] 15:17:23 Resource [jenkins-edgexfoundry-device-snmp-go-main-29-stack-cost] did not exist. Created. 15:17:23 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-29-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:17:23 /w/workspace/device-snmp-go/29@tmp/durable-b6fc0cd4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:17:24 + echo total: 0.10999999940395355 [Pipeline] stash 15:17:24 Warning: overwriting stash ‘stack-cost’ 15:17:24 Stashed 1 file(s) [Pipeline] } 15:17:24 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-29-stack-cost] [Pipeline] // lock [Pipeline] } 15:17:24 $ docker stop --time=1 d54dc890b161eb33e30dc0ea951522d37a94f24be2d27630b99e8b9f03d19e34 15:17:26 $ docker rm -f d54dc890b161eb33e30dc0ea951522d37a94f24be2d27630b99e8b9f03d19e34 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 15:17:26 provisioning config files... 15:17:26 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2446953248428448856tmp [Pipeline] { [Pipeline] sh 15:17:26 + set +x 15:17:26 + curl -s https://codecov.io/bash 15:17:26 + bash -s -- 15:17:26 15:17:26 _____ _ 15:17:26 / ____| | | 15:17:26 | | ___ __| | ___ ___ _____ __ 15:17:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:17:26 | |___| (_) | (_| | __/ (_| (_) \ V / 15:17:26 \_____\___/ \__,_|\___|\___\___/ \_/ 15:17:26 Bash-1.0.6 15:17:26 15:17:26 15:17:26 ==> git version 2.25.1 found 15:17:26 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 15:17:26 Release-Date: 2020-01-08 15:17:26 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:17:26 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:17:26 ==> Jenkins CI detected. 15:17:26 current dir:  /w/workspace/edgexfoundry_device-snmp-go_main 15:17:26 project root: . 15:17:26 --> token set from env 15:17:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:17:26 ==> Running gcov in . (disable via -X gcov) 15:17:26 ==> Python coveragepy not found 15:17:26 ==> Searching for coverage reports in: 15:17:26 + . 15:17:26 -> Found 1 reports 15:17:26 ==> Detecting git/mercurial file structure 15:17:26 ==> Reading reports 15:17:26 + ./coverage.out bytes=7631 15:17:26 ==> Appending adjustments 15:17:26 https://docs.codecov.io/docs/fixing-reports 15:17:27 + Found adjustments 15:17:27 ==> Gzipping contents 15:17:27 4.0K /tmp/codecov.PpL5aZ.gz 15:17:27 ==> Uploading reports 15:17:27 url: https://codecov.io 15:17:27 query: branch=main&commit=7a984207ad216ad191b3ac0372c82a64ff54e9ba&build=29&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F29%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:17:27 -> Pinging Codecov 15:17:27 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=7a984207ad216ad191b3ac0372c82a64ff54e9ba&build=29&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F29%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:17:27 -> Uploading to 15:17:27 https://storage.googleapis.com/codecov/v4/raw/2022-05-12/6C56EA5C29638FB4528AC87E60AF5AE0/7a984207ad216ad191b3ac0372c82a64ff54e9ba/170cad30-5efb-4474-b29a-9079550ee86e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220512%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220512T151727Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a89ded2532da07ecb6b6c311d176e5f51e45a511ef70a756926e99140fdba0e7 15:17:27 % Total % Received % Xferd Average Speed Time Time Time Current 15:17:27 Dload Upload Total Spent Left Speed 15:17:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1602 0 0 100 1602 0 7248 --:--:-- --:--:-- --:--:-- 7216 100 1602 0 0 100 1602 0 6332 --:--:-- --:--:-- --:--:-- 6307 15:17:27 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/7a984207ad216ad191b3ac0372c82a64ff54e9ba [Pipeline] } 15:17:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 15:17:27 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 15:17:27 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:17:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:17:28 15:17:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 15:17:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:17:28 1.410.4: Pulling from edgex-devops/edgex-snyk-go 15:17:28 188c0c94c7c5: Pulling fs layer 15:17:28 0ef7d3d256c8: Pulling fs layer 15:17:28 de9db76c5a1d: Pulling fs layer 15:17:28 0eba1c9be4d2: Pulling fs layer 15:17:28 0d57e429df01: Pulling fs layer 15:17:28 4e4be7b47b0d: Pulling fs layer 15:17:28 e1f770b5df2f: Pulling fs layer 15:17:28 85a0685a4137: Pulling fs layer 15:17:28 0d57e429df01: Waiting 15:17:28 4e4be7b47b0d: Waiting 15:17:28 e1f770b5df2f: Waiting 15:17:28 85a0685a4137: Waiting 15:17:28 0eba1c9be4d2: Waiting 15:17:28 de9db76c5a1d: Verifying Checksum 15:17:28 de9db76c5a1d: Download complete 15:17:28 0ef7d3d256c8: Verifying Checksum 15:17:28 0ef7d3d256c8: Download complete 15:17:28 0d57e429df01: Download complete 15:17:28 4e4be7b47b0d: Verifying Checksum 15:17:28 4e4be7b47b0d: Download complete 15:17:28 188c0c94c7c5: Verifying Checksum 15:17:28 188c0c94c7c5: Download complete 15:17:28 188c0c94c7c5: Pull complete 15:17:28 e1f770b5df2f: Verifying Checksum 15:17:28 e1f770b5df2f: Download complete 15:17:29 0ef7d3d256c8: Pull complete 15:17:29 de9db76c5a1d: Pull complete 15:17:29 0eba1c9be4d2: Verifying Checksum 15:17:29 0eba1c9be4d2: Download complete 15:17:29 85a0685a4137: Verifying Checksum 15:17:29 85a0685a4137: Download complete 15:17:33 0eba1c9be4d2: Pull complete 15:17:33 0d57e429df01: Pull complete 15:17:33 4e4be7b47b0d: Pull complete 15:17:33 e1f770b5df2f: Pull complete 15:17:37 85a0685a4137: Pull complete 15:17:37 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 15:17:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:17:37 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 15:17:37 prd-ubuntu20.04-docker-8c-8g-63403 does not seem to be running inside a container 15:17:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 15:17:39 $ docker top f387fa9faf9d7cb78bdbe77d5569c47385b04bfc4fd7f35ac8edd1e32358bd31 -eo pid,comm [Pipeline] { [Pipeline] echo 15:17:39 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 15:17:39 + set -o pipefail 15:17:39 + snyk monitor '--org=edgex-jenkins' 15:17:45 15:17:45 Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... 15:17:45 15:17:45 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/c76919d0-7345-4304-8954-aa03851194a6/history/29c266d3-577a-41b6-aeba-efc8f57ae00f 15:17:45 15:17:45 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 15:17:45 15:17:45 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 15:17:45 15:17:45 [Pipeline] } 15:17:45 $ docker stop --time=1 f387fa9faf9d7cb78bdbe77d5569c47385b04bfc4fd7f35ac8edd1e32358bd31 15:17:47 $ docker rm -f f387fa9faf9d7cb78bdbe77d5569c47385b04bfc4fd7f35ac8edd1e32358bd31 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:17:48 + git log --format=format:%s -1 7a984207ad216ad191b3ac0372c82a64ff54e9ba [Pipeline] sh 15:17:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:17:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:17:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:17:48 . [Pipeline] withDockerContainer 15:17:48 prd-ubuntu20.04-docker-8c-8g-63403 does not seem to be running inside a container 15:17:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 15:17:49 $ docker top 83027ff0b06fb6eb665beb8531fd795d192a497439f68dc12d3a7ddcc2cb8c19 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:17:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:17:49 [ssh-agent] Looking for ssh-agent implementation... 15:17:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:17:49 $ docker exec 83027ff0b06fb6eb665beb8531fd795d192a497439f68dc12d3a7ddcc2cb8c19 ssh-agent 15:17:49 SSH_AUTH_SOCK=/tmp/ssh-uvh5umwxFldw/agent.33 15:17:49 SSH_AGENT_PID=40 15:17:49 Running ssh-add (command line suppressed) 15:17:49 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5571127205738578226.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5571127205738578226.key) 15:17:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:17:49 + git semver tag 15:17:50 2022-05-12 15:17:50,145 [run_tag] DEBUG tag force:False 15:17:50 2022-05-12 15:17:50,145 [check_head_tag] DEBUG check head tag 15:17:50 2022-05-12 15:17:50,145 [execute] INFO git cat-file --batch-check 15:17:50 2022-05-12 15:17:50,146 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 15:17:50 2022-05-12 15:17:50,149 [execute] INFO git cat-file --batch 15:17:50 2022-05-12 15:17:50,149 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 15:17:50 2022-05-12 15:17:50,161 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 15:17:50 2022-05-12 15:17:50,161 [execute] INFO git tag -a v2.2.0-dev.19 -m v2.2.0-dev.19 15:17:50 2022-05-12 15:17:50,161 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.19', '-m', 'v2.2.0-dev.19'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 15:17:50 2022-05-12 15:17:50,166 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 15:17:50 2.2.0-dev.19 [Pipeline] } 15:17:50 $ docker exec --env ******** --env ******** 83027ff0b06fb6eb665beb8531fd795d192a497439f68dc12d3a7ddcc2cb8c19 ssh-agent -k 15:17:50 unset SSH_AUTH_SOCK; 15:17:50 unset SSH_AGENT_PID; 15:17:50 echo Agent pid 40 killed; 15:17:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:17:50 + git semver [Pipeline] } 15:17:51 $ docker stop --time=1 83027ff0b06fb6eb665beb8531fd795d192a497439f68dc12d3a7ddcc2cb8c19 15:17:52 $ docker rm -f 83027ff0b06fb6eb665beb8531fd795d192a497439f68dc12d3a7ddcc2cb8c19 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 15:17:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:17:52 15:17:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 15:17:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:17:52 0.23.1-centos7: Pulling from edgex-lftools 15:17:52 ab5ef0e58194: Pulling fs layer 15:17:52 9712f1f96733: Pulling fs layer 15:17:52 63f879dbbcfc: Pulling fs layer 15:17:52 0d9ebad4ef96: Pulling fs layer 15:17:52 e9a5061849ea: Pulling fs layer 15:17:52 d747dcd14b5f: Pulling fs layer 15:17:52 2de7ff778b66: Pulling fs layer 15:17:52 e9a5061849ea: Waiting 15:17:52 d747dcd14b5f: Waiting 15:17:52 2de7ff778b66: Waiting 15:17:52 0d9ebad4ef96: Waiting 15:17:52 9712f1f96733: Download complete 15:17:53 63f879dbbcfc: Verifying Checksum 15:17:53 63f879dbbcfc: Download complete 15:17:53 0d9ebad4ef96: Verifying Checksum 15:17:53 0d9ebad4ef96: Download complete 15:17:53 d747dcd14b5f: Verifying Checksum 15:17:53 d747dcd14b5f: Download complete 15:17:53 e9a5061849ea: Verifying Checksum 15:17:53 e9a5061849ea: Download complete 15:17:53 ab5ef0e58194: Verifying Checksum 15:17:53 ab5ef0e58194: Download complete 15:17:53 2de7ff778b66: Verifying Checksum 15:17:53 2de7ff778b66: Download complete 15:17:57 ab5ef0e58194: Pull complete 15:17:57 9712f1f96733: Pull complete 15:17:57 63f879dbbcfc: Pull complete 15:18:01 0d9ebad4ef96: Pull complete 15:18:01 e9a5061849ea: Pull complete 15:18:01 d747dcd14b5f: Pull complete 15:18:03 2de7ff778b66: Pull complete 15:18:03 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:18:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:18:03 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 15:18:03 prd-ubuntu20.04-docker-8c-8g-63403 does not seem to be running inside a container 15:18:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 15:18:05 $ docker top 4cd3714e25568f7aa94e988274f5671bad9d969b63137de4439f79a7dea78242 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:18:05 provisioning config files... 15:18:05 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2054066674039670381tmp 15:18:05 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5045556529035856176tmp 15:18:05 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5714568770472095469tmp [Pipeline] { [Pipeline] echo 15:18:05 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:18:06 ---> sigul-configuration.sh 15:18:06 gpg: directory `/root/.gnupg' created 15:18:06 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:18:06 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:18:06 gpg: keyring `/root/.gnupg/secring.gpg' created 15:18:06 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:18:06 gpg: CAST5 encrypted data 15:18:06 gpg: encrypted with 1 passphrase 15:18:06 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:18:06 + mkdir /home/jenkins 15:18:06 + mkdir /home/jenkins/sigul [Pipeline] sh 15:18:06 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 15:18:06 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:18:07 ---> sigul-install.sh 15:18:07 Sigul already installed; skipping installation. [Pipeline] sh 15:18:07 + git tag --list 15:18:07 1.0.0 15:18:07 v0.0.0 15:18:07 v1.1.0 15:18:07 v1.1.1 15:18:07 v1.2.2 15:18:07 v1.3.0 15:18:07 v1.3.1 15:18:07 v2.0.0 15:18:07 v2.0.1-dev.1 15:18:07 v2.0.1-dev.2 15:18:07 v2.0.1-dev.3 15:18:07 v2.0.1-dev.4 15:18:07 v2.0.1-dev.5 15:18:07 v2.0.1-dev.6 15:18:07 v2.1.0 15:18:07 v2.2.0-dev.1 15:18:07 v2.2.0-dev.10 15:18:07 v2.2.0-dev.11 15:18:07 v2.2.0-dev.12 15:18:07 v2.2.0-dev.13 15:18:07 v2.2.0-dev.14 15:18:07 v2.2.0-dev.15 15:18:07 v2.2.0-dev.16 15:18:07 v2.2.0-dev.17 15:18:07 v2.2.0-dev.18 15:18:07 v2.2.0-dev.19 15:18:07 v2.2.0-dev.2 15:18:07 v2.2.0-dev.3 15:18:07 v2.2.0-dev.4 15:18:07 v2.2.0-dev.5 15:18:07 v2.2.0-dev.6 15:18:07 v2.2.0-dev.7 15:18:07 v2.2.0-dev.8 15:18:07 v2.2.0-dev.9 [Pipeline] sh 15:18:07 + lftools sign git-tag v2.2.0-dev.19 15:18:08 Signing Git tag with Sigul... 15:18:08 Signing v2.2.0-dev.19 [Pipeline] echo 15:18:08 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:18:08 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:18:08 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:18:08 $ docker stop --time=1 4cd3714e25568f7aa94e988274f5671bad9d969b63137de4439f79a7dea78242 15:18:10 $ docker rm -f 4cd3714e25568f7aa94e988274f5671bad9d969b63137de4439f79a7dea78242 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 15:18:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:18:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:18:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:18:10 . [Pipeline] withDockerContainer 15:18:10 prd-ubuntu20.04-docker-8c-8g-63403 does not seem to be running inside a container 15:18:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 15:18:11 $ docker top e2765bada71135e05d30f15ebedce8edd303400c5ff959920ff89e7158bd2147 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:18:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:18:11 [ssh-agent] Looking for ssh-agent implementation... 15:18:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:18:11 $ docker exec e2765bada71135e05d30f15ebedce8edd303400c5ff959920ff89e7158bd2147 ssh-agent 15:18:11 SSH_AUTH_SOCK=/tmp/ssh-3amEVJ3WN3z3/agent.32 15:18:11 SSH_AGENT_PID=38 15:18:11 Running ssh-add (command line suppressed) 15:18:11 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8826442124173496940.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8826442124173496940.key) 15:18:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:18:12 + git semver bump pre 15:18:12 2022-05-12 15:18:12,363 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 15:18:12 2022-05-12 15:18:12,364 [bump_version] DEBUG bumping version:2.2.0-dev.19 on axis:pre with prefix:dev 15:18:12 2022-05-12 15:18:12,364 [bump_version] DEBUG bumped version:2.2.0-dev.20 15:18:12 2022-05-12 15:18:12,364 [write_version] DEBUG write version:2.2.0-dev.20 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True 15:18:12 2022-05-12 15:18:12,364 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 15:18:12 2022-05-12 15:18:12,364 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 15:18:12 2022-05-12 15:18:12,366 [execute] INFO git cat-file --batch-check 15:18:12 2022-05-12 15:18:12,366 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:18:12 2022-05-12 15:18:12,372 [execute] INFO git cat-file --batch 15:18:12 2022-05-12 15:18:12,373 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:18:12 2022-05-12 15:18:12,378 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 15:18:12 2.2.0-dev.20 [Pipeline] } 15:18:12 $ docker exec --env ******** --env ******** e2765bada71135e05d30f15ebedce8edd303400c5ff959920ff89e7158bd2147 ssh-agent -k 15:18:12 unset SSH_AUTH_SOCK; 15:18:12 unset SSH_AGENT_PID; 15:18:12 echo Agent pid 38 killed; 15:18:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:18:12 + git semver [Pipeline] } 15:18:13 $ docker stop --time=1 e2765bada71135e05d30f15ebedce8edd303400c5ff959920ff89e7158bd2147 15:18:14 $ docker rm -f e2765bada71135e05d30f15ebedce8edd303400c5ff959920ff89e7158bd2147 [Pipeline] // withDockerContainer [Pipeline] sh 15:18:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:18:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:18:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 15:18:15 . [Pipeline] withDockerContainer 15:18:15 prd-ubuntu20.04-docker-8c-8g-63403 does not seem to be running inside a container 15:18:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 15:18:15 $ docker top 6aee9dececec9cdd55378d186ea9474a4304beb1b93b675a068c9f628504c0c8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:18:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:18:15 [ssh-agent] Looking for ssh-agent implementation... 15:18:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:18:15 $ docker exec 6aee9dececec9cdd55378d186ea9474a4304beb1b93b675a068c9f628504c0c8 ssh-agent 15:18:15 SSH_AUTH_SOCK=/tmp/ssh-vgA5ZN8Jdbbs/agent.32 15:18:15 SSH_AGENT_PID=38 15:18:15 Running ssh-add (command line suppressed) 15:18:16 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_4152037470333383740.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_4152037470333383740.key) 15:18:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:18:16 + git semver push 15:18:16 2022-05-12 15:18:16,554 [run_push] DEBUG push 15:18:16 2022-05-12 15:18:16,555 [execute] INFO git push origin semver 15:18:16 2022-05-12 15:18:16,555 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 15:18:17 2022-05-12 15:18:17,545 [run_push] DEBUG push all version tags 15:18:17 2022-05-12 15:18:17,546 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 15:18:17 2022-05-12 15:18:17,546 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 15:18:18 2022-05-12 15:18:18,564 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 15:18:18 2.2.0-dev.20 [Pipeline] } 15:18:18 $ docker exec --env ******** --env ******** 6aee9dececec9cdd55378d186ea9474a4304beb1b93b675a068c9f628504c0c8 ssh-agent -k 15:18:18 unset SSH_AUTH_SOCK; 15:18:18 unset SSH_AGENT_PID; 15:18:18 echo Agent pid 38 killed; 15:18:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:18:19 + git semver [Pipeline] } 15:18:19 $ docker stop --time=1 6aee9dececec9cdd55378d186ea9474a4304beb1b93b675a068c9f628504c0c8 15:18:20 $ docker rm -f 6aee9dececec9cdd55378d186ea9474a4304beb1b93b675a068c9f628504c0c8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 15:18:21 + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] 15:18:21 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 15:18:21 total 16 15:18:21 drwxr-xr-x 3 root root 4096 May 12 15:10 . 15:18:21 drwxrwxr-x 10 jenkins jenkins 4096 May 12 15:18 .. 15:18:21 drwxr-xr-x 2 root root 4096 May 12 15:10 cost 15:18:21 -rw-r--r-- 1 root root 84 May 12 15:10 cost.csv 15:18:21 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives 15:18:21 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 15:18:21 total 16 15:18:21 drwxr-xr-x 3 jenkins jenkins 4096 May 12 15:10 . 15:18:21 drwxrwxr-x 10 jenkins jenkins 4096 May 12 15:18 .. 15:18:21 drwxr-xr-x 2 jenkins jenkins 4096 May 12 15:10 cost 15:18:21 -rw-r--r-- 1 jenkins jenkins 84 May 12 15:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:18:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:18:22 ---> package-listing.sh 15:18:22 ++ facter osfamily 15:18:22 ++ tr '[:upper:]' '[:lower:]' 15:18:23 + OS_FAMILY=debian 15:18:23 + workspace=/w/workspace/edgexfoundry_device-snmp-go_main 15:18:23 + START_PACKAGES=/tmp/packages_start.txt 15:18:23 + END_PACKAGES=/tmp/packages_end.txt 15:18:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:18:23 + PACKAGES=/tmp/packages_start.txt 15:18:23 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 15:18:23 + PACKAGES=/tmp/packages_end.txt 15:18:23 + case "${OS_FAMILY}" in 15:18:23 + dpkg -l 15:18:23 + grep '^ii' 15:18:23 + '[' -f /tmp/packages_start.txt ']' 15:18:23 + '[' -f /tmp/packages_end.txt ']' 15:18:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:18:23 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 15:18:23 + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ 15:18:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo 15:18:23 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:18:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 15:18:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:18:23 . [Pipeline] withDockerContainer 15:18:24 prd-ubuntu20.04-docker-8c-8g-63403 does not seem to be running inside a container 15:18:24 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:18:24 $ docker top c9f379aab794fd5fdc9af6470a0c745247ddd8a8f140163281eacdf66f0743bd -eo pid,comm [Pipeline] { [Pipeline] sh 15:18:24 + touch /tmp/pre-build-complete [Pipeline] sh 15:18:24 + mkdir -p /var/log/sysstat [Pipeline] sh 15:18:25 + ls /var/log/sa-host 15:18:25 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:18:25 provisioning config files... 15:18:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config940643758140612143tmp [Pipeline] { [Pipeline] echo 15:18:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:18:25 ---> create-netrc.sh [Pipeline] } 15:18:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:18:26 ---> python-tools-install.sh [Pipeline] echo 15:18:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:18:26 ---> sudo-logs.sh 15:18:26 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:18:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:18:26 ---> job-cost.sh 15:18:26 lf-activate-venv: SKIPPING 15:18:26 DEBUG: total: 0.2199999988079071 15:18:26 INFO: Retrieving Stack Cost... 15:18:27 INFO: Retrieving Pricing Info for: v3-standard-8 15:18:27 INFO: Archiving Costs [Pipeline] echo 15:18:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:18:27 ---> logs-deploy.sh 15:18:27 lf-activate-venv: SKIPPING 15:18:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/29 15:18:27 INFO: archiving workspace using pattern(s): 15:18:28 Archives upload complete. 15:18:28 INFO: archiving logs to Nexus