Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 397e2e5fd123a0613be6f16d07ee51abe899caab 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-ssh348956159526043980.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-ssh9523230462069788065.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-ssh7598891722986001107.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-ssh2359020723698182577.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-ssh1164815590595837334.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 Running on prd-ubuntu20.04-docker-8c-8g-63360 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 397e2e5fd123a0613be6f16d07ee51abe899caab (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 397e2e5fd123a0613be6f16d07ee51abe899caab # timeout=10 Commit message: "docs: update CHANGELOG for Kamakura (#168)" > git rev-list --no-walk 2a65a39039cf7664a715857da731e59ec3cb9dfd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:42:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:42:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:42:50 ========================================================= 05:42:50 EdgeX Global Pipelines Version Info 05:42:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:42:51 ------------------- 05:42:51 stable info: 05:42:51 ------------------- 05:42:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:42:51 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 05:42:51 Message: update stable to v1.0.230 05:42:51 ------------------- 05:42:51 experimental info: 05:42:51 ------------------- 05:42:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:42:51 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 05:42:51 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:42:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 05:42:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 05:42:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:42:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:42:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:42:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 05:42:51 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:42:51 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 05:42:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:42:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:42:51 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:42:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 05:42:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:42:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:42:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:42:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 05:42:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:42:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:42:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:42:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:42:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 05:42:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 05:42:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:42:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:42:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:42:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:42:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:42:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:42:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:42:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 397e2e5fd123a0613be6f16d07ee51abe899caab [Pipeline] echo 05:42:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 397e2e5 [Pipeline] echo 05:42:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:42:52 provisioning config files... 05:42:52 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4750891701110728308tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:42:52 ---> docker-login.sh 05:42:52 nexus3.edgexfoundry.org:10001 05:42:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:42:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:42:52 Configure a credential helper to remove this warning. See 05:42:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:42:52 05:42:52 Login Succeeded 05:42:52 nexus3.edgexfoundry.org:10002 05:42:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:42:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:42:53 Configure a credential helper to remove this warning. See 05:42:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:42:53 05:42:53 Login Succeeded 05:42:53 nexus3.edgexfoundry.org:10003 05:42:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:42:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:42:53 Configure a credential helper to remove this warning. See 05:42:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:42:53 05:42:53 Login Succeeded 05:42:53 nexus3.edgexfoundry.org:10004 05:42:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:42:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:42:53 Configure a credential helper to remove this warning. See 05:42:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:42:53 05:42:53 Login Succeeded 05:42:53 docker.io 05:42:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:42:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:42:53 Configure a credential helper to remove this warning. See 05:42:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:42:53 05:42:53 Login Succeeded 05:42:53 ---> docker-login.sh ends [Pipeline] } 05:42:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:42:54 + git rev-list -1 --merges 397e2e5fd123a0613be6f16d07ee51abe899caab~1..397e2e5fd123a0613be6f16d07ee51abe899caab [Pipeline] echo 05:42:54 -----------> git rev-list -1 --merges 397e2e5fd123a0613be6f16d07ee51abe899caab~1..397e2e5fd123a0613be6f16d07ee51abe899caab 397e2e5fd123a0613be6f16d07ee51abe899caab [false] [Pipeline] sh 05:42:54 + git log --format=format:%s -1 397e2e5fd123a0613be6f16d07ee51abe899caab [Pipeline] echo 05:42:54 ========================================================= 05:42:54 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:42:54 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:42:54 + git log --format=format:%s -1 397e2e5fd123a0613be6f16d07ee51abe899caab [Pipeline] echo 05:42:54 [semverPrep] GIT_COMMIT: 397e2e5fd123a0613be6f16d07ee51abe899caab, Commit Message: docs: update CHANGELOG for Kamakura (#168) [Pipeline] echo 05:42:54 [semverPrep] This is not a build commit. [Pipeline] sh 05:42:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:42:55 + grep -v github /etc/ssh/ssh_known_hosts 05:42:55 + [ -e /tmp/ssh_known_hosts ] 05:42:55 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:42:55 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:42:55 + sudo tee -a /etc/ssh/ssh_known_hosts 05:42:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 05:42:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 05:42:55 05:42:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:42:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 05:42:55 latest: Pulling from edgex-devops/py-git-semver 05:42:55 1fe172e4850f: Pulling fs layer 05:42:55 caf521ccaac6: Pulling fs layer 05:42:55 3ead6fa29328: Pulling fs layer 05:42:55 5c2a1cbceb83: Pulling fs layer 05:42:55 a8d5f1318db7: Pulling fs layer 05:42:55 c427282e49a2: Pulling fs layer 05:42:55 1827001aaf11: Pulling fs layer 05:42:55 0714d37db230: Pulling fs layer 05:42:55 ac28cf19c067: Pulling fs layer 05:42:55 ca983d60f3e2: Pulling fs layer 05:42:55 9f894cec8388: Pulling fs layer 05:42:55 ac28cf19c067: Waiting 05:42:55 ca983d60f3e2: Waiting 05:42:55 9f894cec8388: Waiting 05:42:55 a8d5f1318db7: Waiting 05:42:55 5c2a1cbceb83: Waiting 05:42:55 0714d37db230: Waiting 05:42:55 1827001aaf11: Waiting 05:42:55 c427282e49a2: Waiting 05:42:55 caf521ccaac6: Verifying Checksum 05:42:55 caf521ccaac6: Download complete 05:42:55 5c2a1cbceb83: Verifying Checksum 05:42:55 5c2a1cbceb83: Download complete 05:42:55 a8d5f1318db7: Verifying Checksum 05:42:56 3ead6fa29328: Verifying Checksum 05:42:56 3ead6fa29328: Download complete 05:42:56 c427282e49a2: Verifying Checksum 05:42:56 c427282e49a2: Download complete 05:42:56 0714d37db230: Download complete 05:42:56 ac28cf19c067: Verifying Checksum 05:42:56 ac28cf19c067: Download complete 05:42:56 ca983d60f3e2: Download complete 05:42:56 9f894cec8388: Verifying Checksum 05:42:56 9f894cec8388: Download complete 05:42:56 1fe172e4850f: Download complete 05:42:56 1827001aaf11: Verifying Checksum 05:42:56 1827001aaf11: Download complete 05:42:57 1fe172e4850f: Pull complete 05:42:57 caf521ccaac6: Pull complete 05:42:57 3ead6fa29328: Pull complete 05:42:58 5c2a1cbceb83: Pull complete 05:42:58 a8d5f1318db7: Pull complete 05:42:58 c427282e49a2: Pull complete 05:43:00 1827001aaf11: Pull complete 05:43:00 0714d37db230: Pull complete 05:43:00 ac28cf19c067: Pull complete 05:43:00 ca983d60f3e2: Pull complete 05:43:00 9f894cec8388: Pull complete 05:43:00 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 05:43:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 05:43:00 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 05:43:00 prd-ubuntu20.04-docker-8c-8g-63360 does not seem to be running inside a container 05:43:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 05:43:02 $ docker top e86949f953e2b6fa853f5ffca41d51938213a7d5e9ecea549867ae055b8fa85e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:43:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:43:02 [ssh-agent] Looking for ssh-agent implementation... 05:43:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:43:02 $ docker exec e86949f953e2b6fa853f5ffca41d51938213a7d5e9ecea549867ae055b8fa85e ssh-agent 05:43:02 SSH_AUTH_SOCK=/tmp/ssh-XmxYuzpYaee3/agent.33 05:43:02 SSH_AGENT_PID=39 05:43:02 Running ssh-add (command line suppressed) 05:43:02 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7980622428840685158.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7980622428840685158.key) 05:43:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:43:02 + git tag --points-at HEAD [Pipeline] } 05:43:02 $ docker exec --env ******** --env ******** e86949f953e2b6fa853f5ffca41d51938213a7d5e9ecea549867ae055b8fa85e ssh-agent -k 05:43:03 unset SSH_AUTH_SOCK; 05:43:03 unset SSH_AGENT_PID; 05:43:03 echo Agent pid 39 killed; 05:43:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:43:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:43:03 [ssh-agent] Looking for ssh-agent implementation... 05:43:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:43:03 $ docker exec e86949f953e2b6fa853f5ffca41d51938213a7d5e9ecea549867ae055b8fa85e ssh-agent 05:43:03 SSH_AUTH_SOCK=/tmp/ssh-FCv2aj2rtSDY/agent.73 05:43:03 SSH_AGENT_PID=79 05:43:03 Running ssh-add (command line suppressed) 05:43:03 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2215762261297299623.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2215762261297299623.key) 05:43:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:43:03 + git semver init 05:43:03 2022-05-12 05:43:03,899 [run_init] DEBUG init version:0.0.0 force:False 05:43:03 2022-05-12 05:43:03,899 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver 05:43:03 2022-05-12 05:43:03,900 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver 05:43:03 2022-05-12 05:43:03,900 [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) 05:43:04 2022-05-12 05:43:04,684 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude 05:43:04 2022-05-12 05:43:04,685 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False 05:43:04 2022-05-12 05:43:04,685 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 05:43:04 2022-05-12 05:43:04,685 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 05:43:04 2.2.0-dev.18 [Pipeline] } 05:43:04 $ docker exec --env ******** --env ******** e86949f953e2b6fa853f5ffca41d51938213a7d5e9ecea549867ae055b8fa85e ssh-agent -k 05:43:05 unset SSH_AUTH_SOCK; 05:43:05 unset SSH_AGENT_PID; 05:43:05 echo Agent pid 79 killed; 05:43:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:43:05 + git semver [Pipeline] } 05:43:05 $ docker stop --time=1 e86949f953e2b6fa853f5ffca41d51938213a7d5e9ecea549867ae055b8fa85e 05:43:07 $ docker rm -f e86949f953e2b6fa853f5ffca41d51938213a7d5e9ecea549867ae055b8fa85e [Pipeline] // withDockerContainer [Pipeline] sh 05:43:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:43:07 Stashed 1 file(s) [Pipeline] echo 05:43:07 [edgeXSemver]: initialized semver on version 2.2.0-dev.18 [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 05:43:07 provisioning config files... 05:43:07 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7416602327742970015tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:43:08 ---> docker-login.sh 05:43:08 nexus3.edgexfoundry.org:10001 05:43:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:43:08 Configure a credential helper to remove this warning. See 05:43:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:43:08 05:43:08 Login Succeeded 05:43:08 nexus3.edgexfoundry.org:10002 05:43:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:43:08 Configure a credential helper to remove this warning. See 05:43:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:43:08 05:43:08 Login Succeeded 05:43:08 nexus3.edgexfoundry.org:10003 05:43:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:43:08 Configure a credential helper to remove this warning. See 05:43:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:43:08 05:43:08 Login Succeeded 05:43:08 nexus3.edgexfoundry.org:10004 05:43:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:43:08 Configure a credential helper to remove this warning. See 05:43:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:43:08 05:43:08 Login Succeeded 05:43:08 docker.io 05:43:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:43:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:43:08 Configure a credential helper to remove this warning. See 05:43:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:43:08 05:43:08 Login Succeeded 05:43:08 ---> docker-login.sh ends [Pipeline] } 05:43:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:43:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:43:08 ========================================================= 05:43:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 05:43:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:43:09 + 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 . 05:43:09 Sending build context to Docker daemon 5.337MB 05:43:09 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 05:43:09 Step 2/12 : FROM ${BASE} AS builder 05:43:09 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 05:43:09 59bf1c3509f3: Pulling fs layer 05:43:09 666ba61612fd: Pulling fs layer 05:43:09 8ed8ca486205: Pulling fs layer 05:43:09 4fe6c5a15a65: Pulling fs layer 05:43:09 22a0e8bec74d: Pulling fs layer 05:43:09 ca2b28591e48: Pulling fs layer 05:43:09 a51346096db8: Pulling fs layer 05:43:09 daebc70d1ce1: Pulling fs layer 05:43:09 0e18a0eac166: Pulling fs layer 05:43:09 ca2b28591e48: Waiting 05:43:09 a51346096db8: Waiting 05:43:09 daebc70d1ce1: Waiting 05:43:09 0e18a0eac166: Waiting 05:43:09 22a0e8bec74d: Waiting 05:43:09 4fe6c5a15a65: Waiting 05:43:09 8ed8ca486205: Verifying Checksum 05:43:09 8ed8ca486205: Download complete 05:43:09 666ba61612fd: Verifying Checksum 05:43:09 666ba61612fd: Download complete 05:43:09 22a0e8bec74d: Verifying Checksum 05:43:09 22a0e8bec74d: Download complete 05:43:09 ca2b28591e48: Verifying Checksum 05:43:09 ca2b28591e48: Download complete 05:43:09 a51346096db8: Verifying Checksum 05:43:09 a51346096db8: Download complete 05:43:09 59bf1c3509f3: Verifying Checksum 05:43:09 59bf1c3509f3: Download complete 05:43:09 daebc70d1ce1: Verifying Checksum 05:43:09 daebc70d1ce1: Download complete 05:43:09 59bf1c3509f3: Pull complete 05:43:09 666ba61612fd: Pull complete 05:43:09 8ed8ca486205: Pull complete 05:43:10 0e18a0eac166: Verifying Checksum 05:43:10 0e18a0eac166: Download complete 05:43:10 4fe6c5a15a65: Verifying Checksum 05:43:10 4fe6c5a15a65: Download complete 05:43:14 4fe6c5a15a65: Pull complete 05:43:14 22a0e8bec74d: Pull complete 05:43:14 ca2b28591e48: Pull complete 05:43:14 a51346096db8: Pull complete 05:43:14 daebc70d1ce1: Pull complete 05:43:16 0e18a0eac166: Pull complete 05:43:16 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 05:43:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 05:43:16 ---> f018257e8ee9 05:43:16 Step 3/12 : ARG MAKE='make build' 05:43:18 ---> Running in 645fea276f09 05:43:18 Removing intermediate container 645fea276f09 05:43:18 ---> 20c345e9639b 05:43:18 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:43:18 ---> Running in 5e23c4f959b0 05:43:18 Removing intermediate container 5e23c4f959b0 05:43:18 ---> 8dae1787488e 05:43:18 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 05:43:18 ---> Running in 4efed78b682d 05:43:18 Removing intermediate container 4efed78b682d 05:43:18 ---> 0a84fa0b8dac 05:43:18 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:43:18 ---> Running in fc64ac948f20 05:43:18 Removing intermediate container fc64ac948f20 05:43:18 ---> dbefe2aeef16 05:43:18 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:43:18 ---> Running in 36f6ea62e6d3 05:43:18 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:43:19 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:43:20 (1/4) Installing openssh-keygen (8.8_p1-r1) 05:43:20 (2/4) Installing libedit (20210910.3.1-r0) 05:43:20 (3/4) Installing openssh-client-common (8.8_p1-r1) 05:43:20 (4/4) Installing openssh-client-default (8.8_p1-r1) 05:43:20 Executing busybox-1.34.1-r3.trigger 05:43:20 OK: 224 MiB in 56 packages 05:43:21 Removing intermediate container 36f6ea62e6d3 05:43:21 ---> 6f446db082ae 05:43:21 Step 8/12 : WORKDIR /device-snmp-go 05:43:21 ---> Running in c531dcd9f54f 05:43:21 Removing intermediate container c531dcd9f54f 05:43:21 ---> d4bfb73812ae 05:43:21 Step 9/12 : COPY go.mod vendor* ./ 05:43:21 ---> cc9a5f5da1ec 05:43:21 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:43:21 ---> Running in 471bcf1b648e 05:43:22 Still waiting to schedule task 05:43:22 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:43:39 Removing intermediate container 471bcf1b648e 05:43:39 ---> b7311c3133c6 05:43:39 Step 11/12 : COPY . . 05:43:39 ---> 11dc2aabe18a 05:43:39 Step 12/12 : RUN ${MAKE} 05:43:39 ---> Running in 8d793971ce02 05:43:39 noop 05:43:39 Removing intermediate container 8d793971ce02 05:43:39 ---> 9a64772daeaf 05:43:39 Successfully built 9a64772daeaf 05:43:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:43:39 + docker inspect -f . ci-base-image-x86_64 05:43:39 . [Pipeline] withDockerContainer 05:43:39 prd-ubuntu20.04-docker-8c-8g-63360 does not seem to be running inside a container 05:43:39 $ 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 05:43:40 $ docker top f1a4e4a789a2967721437642bc00b1c20ded85a85aa3d28e53024f6dfff11d9d -eo pid,comm [Pipeline] { [Pipeline] sh 05:43:40 + go version 05:43:40 go version go1.17.6 linux/amd64 [Pipeline] } 05:43:40 $ docker stop --time=1 f1a4e4a789a2967721437642bc00b1c20ded85a85aa3d28e53024f6dfff11d9d 05:43:41 $ docker rm -f f1a4e4a789a2967721437642bc00b1c20ded85a85aa3d28e53024f6dfff11d9d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:43:42 + docker inspect -f . ci-base-image-x86_64 05:43:42 . [Pipeline] withDockerContainer 05:43:42 prd-ubuntu20.04-docker-8c-8g-63360 does not seem to be running inside a container 05:43:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:43:42 $ docker top e3415f8e48629bb4c7a8df3aab01f077cfaf8e56a0ec639e977f1415235237a0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:43:43 + make test 05:43:43 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:43:43 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:43:51 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:43:51 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.014s coverage: 0.0% of statements 05:43:58 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:44:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:44:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:44:01 ./bin/test-attribution-txt.sh [Pipeline] echo 05:44:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:44:01 $ docker stop --time=1 e3415f8e48629bb4c7a8df3aab01f077cfaf8e56a0ec639e977f1415235237a0 05:44:03 $ docker rm -f e3415f8e48629bb4c7a8df3aab01f077cfaf8e56a0ec639e977f1415235237a0 [Pipeline] // withDockerContainer [Pipeline] sh 05:44:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:44:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:44:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:44:05 + ls -al . 05:44:05 total 168 05:44:05 drwxrwxr-x 9 jenkins jenkins 4096 May 12 05:44 . 05:44:05 drwxrwxr-x 4 jenkins jenkins 4096 May 12 05:42 .. 05:44:05 -rw-rw-r-- 1 jenkins jenkins 6 May 12 05:42 .dockerignore 05:44:05 drwxrwxr-x 8 jenkins jenkins 4096 May 12 05:43 .git 05:44:05 drwxrwxr-x 3 jenkins jenkins 4096 May 12 05:42 .github 05:44:05 -rw-rw-r-- 1 jenkins jenkins 328 May 12 05:42 .gitignore 05:44:05 -rw-rw-r-- 1 jenkins jenkins 41 May 12 05:42 .golangci.yml 05:44:05 drwxr-xr-x 3 jenkins jenkins 4096 May 12 05:43 .semver 05:44:05 -rw-rw-r-- 1 jenkins jenkins 8296 May 12 05:42 Attribution.txt 05:44:05 -rw-rw-r-- 1 jenkins jenkins 6950 May 12 05:42 CHANGELOG.md 05:44:05 -rw-rw-r-- 1 jenkins jenkins 1516 May 12 05:42 Dockerfile 05:44:05 -rw-rw-r-- 1 jenkins jenkins 677 May 12 05:42 GOVERNANCE.md 05:44:05 -rw-rw-r-- 1 jenkins jenkins 656 May 12 05:42 Jenkinsfile 05:44:05 -rw-rw-r-- 1 jenkins jenkins 11340 May 12 05:42 LICENSE 05:44:05 -rw-rw-r-- 1 jenkins jenkins 1938 May 12 05:42 Makefile 05:44:05 -rw-rw-r-- 1 jenkins jenkins 620 May 12 05:42 OWNERS.md 05:44:05 -rw-rw-r-- 1 jenkins jenkins 9390 May 12 05:42 README.md 05:44:05 -rw-rw-r-- 1 jenkins jenkins 12 May 12 05:43 VERSION 05:44:05 drwxrwxr-x 2 jenkins jenkins 4096 May 12 05:42 bin 05:44:05 drwxrwxr-x 3 jenkins jenkins 4096 May 12 05:42 cmd 05:44:05 -rw-r--r-- 1 jenkins jenkins 7631 May 12 05:43 coverage.out 05:44:05 -rw-rw-r-- 1 jenkins jenkins 3250 May 12 05:42 go.mod 05:44:05 -rw-rw-r-- 1 jenkins jenkins 35701 May 12 05:42 go.sum 05:44:05 drwxrwxr-x 3 jenkins jenkins 4096 May 12 05:42 internal 05:44:05 drwxrwxr-x 3 jenkins jenkins 4096 May 12 05:42 snap 05:44:05 -rw-rw-r-- 1 jenkins jenkins 209 May 12 05:42 version.go [Pipeline] isUnix [Pipeline] sh 05:44:05 + 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=397e2e5fd123a0613be6f16d07ee51abe899caab --label arch=amd64 --label version=2.2.0-dev.18 . 05:44:05 Sending build context to Docker daemon 5.345MB 05:44:05 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 05:44:05 Step 2/24 : FROM ${BASE} AS builder 05:44:05 ---> 9a64772daeaf 05:44:05 Step 3/24 : ARG MAKE='make build' 05:44:05 ---> Running in c3c54fada9c9 05:44:05 Removing intermediate container c3c54fada9c9 05:44:05 ---> fca56e7cca68 05:44:05 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:44:05 ---> Running in c49893a66503 05:44:05 Removing intermediate container c49893a66503 05:44:05 ---> 34922cefdd71 05:44:05 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 05:44:05 ---> Running in 5b920f923b66 05:44:05 Removing intermediate container 5b920f923b66 05:44:05 ---> 34a7b542a76e 05:44:05 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:44:05 ---> Running in d3d88fabdfb3 05:44:06 Removing intermediate container d3d88fabdfb3 05:44:06 ---> addd4a4b2eff 05:44:06 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:44:06 ---> Running in 28c76c908097 05:44:06 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:44:07 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:44:07 OK: 224 MiB in 56 packages 05:44:08 Removing intermediate container 28c76c908097 05:44:08 ---> 0be784973c13 05:44:08 Step 8/24 : WORKDIR /device-snmp-go 05:44:08 ---> Running in 276fa2cacac4 05:44:08 Removing intermediate container 276fa2cacac4 05:44:08 ---> b4a71e4c6518 05:44:08 Step 9/24 : COPY go.mod vendor* ./ 05:44:08 ---> 08666195b822 05:44:08 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:44:08 ---> Running in 2cfe0347906c 05:44:08 Removing intermediate container 2cfe0347906c 05:44:08 ---> 675db1cb44e7 05:44:08 Step 11/24 : COPY . . 05:44:09 ---> d28c04487fa2 05:44:09 Step 12/24 : RUN ${MAKE} 05:44:09 ---> Running in db988ffa2205 05:44:09 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=2.2.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 05:44:27 Removing intermediate container db988ffa2205 05:44:27 ---> ade8e2bfb427 05:44:27 Step 13/24 : FROM alpine:3.14 05:44:28 3.14: Pulling from library/alpine 05:44:28 8663204ce13b: Pulling fs layer 05:44:28 8663204ce13b: Verifying Checksum 05:44:28 8663204ce13b: Download complete 05:44:28 8663204ce13b: Pull complete 05:44:28 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 05:44:28 Status: Downloaded newer image for alpine:3.14 05:44:28 ---> e04c818066af 05:44:28 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 05:44:28 ---> Running in ca9aa637e284 05:44:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 05:44:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 05:44:29 (1/6) Installing dumb-init (1.2.5-r1) 05:44:29 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:44:29 (3/6) Installing libsodium (1.0.18-r0) 05:44:29 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:44:29 (5/6) Installing libzmq (4.3.4-r0) 05:44:29 (6/6) Installing zeromq (4.3.4-r0) 05:44:29 Executing busybox-1.33.1-r7.trigger 05:44:29 OK: 8 MiB in 20 packages 05:44:29 Removing intermediate container ca9aa637e284 05:44:29 ---> fbe442437f34 05:44:29 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 05:44:30 ---> 2a5ee5981e7e 05:44:30 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:44:30 ---> 0c5a9a0c37cb 05:44:30 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 05:44:30 ---> 300290579b86 05:44:30 Step 18/24 : EXPOSE 59993 05:44:30 ---> Running in 91392a50a0a6 05:44:30 Removing intermediate container 91392a50a0a6 05:44:30 ---> eaa2ade47c1c 05:44:30 Step 19/24 : EXPOSE 161 05:44:30 ---> Running in 1b85b5dd278e 05:44:30 Removing intermediate container 1b85b5dd278e 05:44:30 ---> 6edab4cb9fe3 05:44:30 Step 20/24 : ENTRYPOINT ["/device-snmp"] 05:44:30 ---> Running in 0c8b27a1104a 05:44:31 Removing intermediate container 0c8b27a1104a 05:44:31 ---> cf3bf2f69a5a 05:44:31 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 05:44:31 ---> Running in f62e84434288 05:44:31 Removing intermediate container f62e84434288 05:44:31 ---> e55cf1044ab8 05:44:31 Step 22/24 : LABEL arch=amd64 05:44:31 ---> Running in 8bc334d75d37 05:44:31 Removing intermediate container 8bc334d75d37 05:44:31 ---> 42174d84edd7 05:44:31 Step 23/24 : LABEL git_sha=397e2e5fd123a0613be6f16d07ee51abe899caab 05:44:31 ---> Running in 2b2d5f5f859d 05:44:31 Removing intermediate container 2b2d5f5f859d 05:44:31 ---> 560d8f157c25 05:44:31 Step 24/24 : LABEL version=2.2.0-dev.18 05:44:31 ---> Running in c929494d613a 05:44:31 Removing intermediate container c929494d613a 05:44:31 ---> 18a70be56bf7 05:44:31 [Warning] One or more build-args [ARCH] were not consumed 05:44:31 Successfully built 18a70be56bf7 05:44:31 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:44:31 provisioning config files... 05:44:31 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3155486379395704076tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:44:32 ---> docker-login.sh 05:44:32 nexus3.edgexfoundry.org:10001 05:44:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:44:32 Configure a credential helper to remove this warning. See 05:44:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:44:32 05:44:32 Login Succeeded 05:44:32 nexus3.edgexfoundry.org:10002 05:44:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:44:32 Configure a credential helper to remove this warning. See 05:44:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:44:32 05:44:32 Login Succeeded 05:44:32 nexus3.edgexfoundry.org:10003 05:44:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:44:32 Configure a credential helper to remove this warning. See 05:44:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:44:32 05:44:32 Login Succeeded 05:44:32 nexus3.edgexfoundry.org:10004 05:44:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:44:32 Configure a credential helper to remove this warning. See 05:44:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:44:32 05:44:32 Login Succeeded 05:44:32 docker.io 05:44:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:44:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:44:32 Configure a credential helper to remove this warning. See 05:44:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:44:32 05:44:32 Login Succeeded 05:44:32 ---> docker-login.sh ends [Pipeline] } 05:44:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:44:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:44:32 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 05:44:32 397e2e5fd123a0613be6f16d07ee51abe899caab 05:44:32 latest 05:44:32 2.2.0-dev.18 05:44:32 397e2e5fd123a0613be6f16d07ee51abe899caab-2.2.0-dev.18 05:44:32 main 05:44:32 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:44:33 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:397e2e5fd123a0613be6f16d07ee51abe899caab [Pipeline] isUnix [Pipeline] sh 05:44:33 + docker push nexus3.edgexfoundry.org:10004/device-snmp:397e2e5fd123a0613be6f16d07ee51abe899caab 05:44:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 05:44:33 4bc57011cab4: Preparing 05:44:33 c06aa7a711b9: Preparing 05:44:33 32a1ef66669f: Preparing 05:44:33 80bbb57ab007: Preparing 05:44:33 b541d28bf3b4: Preparing 05:44:33 b541d28bf3b4: Layer already exists 05:44:33 4bc57011cab4: Pushed 05:44:33 c06aa7a711b9: Pushed 05:44:33 80bbb57ab007: Pushed 05:44:36 32a1ef66669f: Pushed 05:44:36 397e2e5fd123a0613be6f16d07ee51abe899caab: digest: sha256:cf1440460970933b8facd88880b9ed766e2d3ad45bac7351ad6d0d537d934ac6 size: 1367 [Pipeline] isUnix [Pipeline] sh 05:44:36 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] isUnix [Pipeline] sh 05:44:36 + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest 05:44:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 05:44:36 4bc57011cab4: Preparing 05:44:36 c06aa7a711b9: Preparing 05:44:36 32a1ef66669f: Preparing 05:44:36 80bbb57ab007: Preparing 05:44:36 b541d28bf3b4: Preparing 05:44:36 4bc57011cab4: Layer already exists 05:44:36 32a1ef66669f: Layer already exists 05:44:36 80bbb57ab007: Layer already exists 05:44:36 c06aa7a711b9: Layer already exists 05:44:36 b541d28bf3b4: Layer already exists 05:44:36 latest: digest: sha256:cf1440460970933b8facd88880b9ed766e2d3ad45bac7351ad6d0d537d934ac6 size: 1367 [Pipeline] isUnix [Pipeline] sh 05:44:37 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.18 [Pipeline] isUnix [Pipeline] sh 05:44:37 + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.18 05:44:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 05:44:37 4bc57011cab4: Preparing 05:44:37 c06aa7a711b9: Preparing 05:44:37 32a1ef66669f: Preparing 05:44:37 80bbb57ab007: Preparing 05:44:37 b541d28bf3b4: Preparing 05:44:37 32a1ef66669f: Layer already exists 05:44:37 80bbb57ab007: Layer already exists 05:44:37 4bc57011cab4: Layer already exists 05:44:37 b541d28bf3b4: Layer already exists 05:44:37 c06aa7a711b9: Layer already exists 05:44:37 2.2.0-dev.18: digest: sha256:cf1440460970933b8facd88880b9ed766e2d3ad45bac7351ad6d0d537d934ac6 size: 1367 [Pipeline] isUnix [Pipeline] sh 05:44:37 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:397e2e5fd123a0613be6f16d07ee51abe899caab-2.2.0-dev.18 [Pipeline] isUnix [Pipeline] sh 05:44:38 + docker push nexus3.edgexfoundry.org:10004/device-snmp:397e2e5fd123a0613be6f16d07ee51abe899caab-2.2.0-dev.18 05:44:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 05:44:38 4bc57011cab4: Preparing 05:44:38 c06aa7a711b9: Preparing 05:44:38 32a1ef66669f: Preparing 05:44:38 80bbb57ab007: Preparing 05:44:38 b541d28bf3b4: Preparing 05:44:38 80bbb57ab007: Layer already exists 05:44:38 c06aa7a711b9: Layer already exists 05:44:38 4bc57011cab4: Layer already exists 05:44:38 b541d28bf3b4: Layer already exists 05:44:38 32a1ef66669f: Layer already exists 05:44:38 397e2e5fd123a0613be6f16d07ee51abe899caab-2.2.0-dev.18: digest: sha256:cf1440460970933b8facd88880b9ed766e2d3ad45bac7351ad6d0d537d934ac6 size: 1367 [Pipeline] isUnix [Pipeline] sh 05:44:38 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] isUnix [Pipeline] sh 05:44:38 + docker push nexus3.edgexfoundry.org:10004/device-snmp:main 05:44:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 05:44:38 4bc57011cab4: Preparing 05:44:38 c06aa7a711b9: Preparing 05:44:38 32a1ef66669f: Preparing 05:44:38 80bbb57ab007: Preparing 05:44:38 b541d28bf3b4: Preparing 05:44:38 80bbb57ab007: Layer already exists 05:44:38 c06aa7a711b9: Layer already exists 05:44:38 b541d28bf3b4: Layer already exists 05:44:38 4bc57011cab4: Layer already exists 05:44:38 32a1ef66669f: Layer already exists 05:44:38 main: digest: sha256:cf1440460970933b8facd88880b9ed766e2d3ad45bac7351ad6d0d537d934ac6 size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:44:38 ===================================================== [Pipeline] echo 05:44:38 taggedImages: 05:44:38 - nexus3.edgexfoundry.org:10004/device-snmp:397e2e5fd123a0613be6f16d07ee51abe899caab 05:44:38 - nexus3.edgexfoundry.org:10004/device-snmp:latest 05:44:38 - nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.18 05:44:38 - nexus3.edgexfoundry.org:10004/device-snmp:397e2e5fd123a0613be6f16d07ee51abe899caab-2.2.0-dev.18 05:44:38 - 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 05:44:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:44:39 05:44:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 05:44:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:44:39 latest: Pulling from edgex-lftools-log-publisher 05:44:39 5eb5b503b376: Pulling fs layer 05:44:39 5c69ac0246d0: Pulling fs layer 05:44:39 ec43610c2a17: Pulling fs layer 05:44:39 3a2ae6a8a46f: Pulling fs layer 05:44:39 33b1e0a273af: Pulling fs layer 05:44:39 5d3b04190fa2: Pulling fs layer 05:44:39 2f39f015ded8: Pulling fs layer 05:44:39 33b1e0a273af: Waiting 05:44:39 2f39f015ded8: Waiting 05:44:39 5d3b04190fa2: Waiting 05:44:39 3a2ae6a8a46f: Waiting 05:44:39 5c69ac0246d0: Verifying Checksum 05:44:39 5c69ac0246d0: Download complete 05:44:39 3a2ae6a8a46f: Download complete 05:44:39 33b1e0a273af: Verifying Checksum 05:44:39 33b1e0a273af: Download complete 05:44:39 5d3b04190fa2: Verifying Checksum 05:44:39 5d3b04190fa2: Download complete 05:44:39 ec43610c2a17: Verifying Checksum 05:44:39 ec43610c2a17: Download complete 05:44:39 5eb5b503b376: Verifying Checksum 05:44:39 5eb5b503b376: Download complete 05:44:40 2f39f015ded8: Download complete 05:44:40 5eb5b503b376: Pull complete 05:44:40 5c69ac0246d0: Pull complete 05:44:41 ec43610c2a17: Pull complete 05:44:41 3a2ae6a8a46f: Pull complete 05:44:41 33b1e0a273af: Pull complete 05:44:41 5d3b04190fa2: Pull complete 05:44:45 2f39f015ded8: Pull complete 05:44:45 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:44:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:44:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 05:44:46 prd-ubuntu20.04-docker-8c-8g-63360 does not seem to be running inside a container 05:44:46 $ 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 05:44:47 $ docker top 6b17c94add9125d7d2ad6d14859bbca1df8a31ea62ae38afd6779333b1a8cdcd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:44:48 ---> job-cost.sh 05:44:48 lf-activate-venv: SKIPPING 05:44:48 INFO: No Stack... 05:44:48 INFO: Retrieving Pricing Info for: v3-standard-8 05:44:49 INFO: Archiving Costs [Pipeline] sh 05:44:49 + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv 05:44:49 + cut -d, -f6 [Pipeline] lock 05:44:49 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-28-stack-cost] 05:44:49 Resource [jenkins-edgexfoundry-device-snmp-go-main-28-stack-cost] did not exist. Created. 05:44:49 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-28-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:44:49 + echo total: 0.8799999952316284 [Pipeline] stash 05:44:49 Stashed 1 file(s) [Pipeline] } 05:44:49 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-28-stack-cost] [Pipeline] // lock [Pipeline] } 05:44:49 $ docker stop --time=1 6b17c94add9125d7d2ad6d14859bbca1df8a31ea62ae38afd6779333b1a8cdcd 05:44:50 $ docker rm -f 6b17c94add9125d7d2ad6d14859bbca1df8a31ea62ae38afd6779333b1a8cdcd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:45:02 Running on prd-ubuntu20.04-docker-arm64-4c-16g-63366 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws 05:45:02 Running in /w/workspace/device-snmp-go/28 [Pipeline] { [Pipeline] checkout 05:45:02 Selected Git installation does not exist. Using Default 05:45:02 The recommended git tool is: NONE 05:45:08 using credential edgex-jenkins-ssh 05:45:08 Cloning the remote Git repository 05:45:08 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 05:45:08 > git init /w/workspace/device-snmp-go/28 # timeout=10 05:45:08 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 05:45:08 > git --version # timeout=10 05:45:08 > git --version # 'git version 2.25.1' 05:45:08 using GIT_SSH to set credentials SSH Credentials for GitHub 05:45:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:45:09 Avoid second fetch 05:45:09 Checking out Revision 397e2e5fd123a0613be6f16d07ee51abe899caab (main) 05:45:09 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 05:45:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:45:09 > git config core.sparsecheckout # timeout=10 05:45:09 > git checkout -f 397e2e5fd123a0613be6f16d07ee51abe899caab # timeout=10 05:45:13 Commit message: "docs: update CHANGELOG for Kamakura (#168)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:45:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:45:14 % Total % Received % Xferd Average Speed Time Time Time Current 05:45:14 Dload Upload Total Spent Left Speed 05:45:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 93251 0 --:--:-- --:--:-- --:--:-- 93251 [Pipeline] sh 05:45:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:45:15 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:45:15 + sudo tee /etc/docker/daemon.new 05:45:15 { 05:45:15 "registry-mirrors": [ 05:45:15 "https://nexus3.edgexfoundry.org:10001" 05:45:15 ], 05:45:15 "bip": "10.250.0.254/24", 05:45:15 "hosts": [ 05:45:15 "tcp://0.0.0.0:5555", 05:45:15 "unix:///var/run/docker.sock" 05:45:15 ], 05:45:15 "mtu": 1458, 05:45:15 "selinux-enabled": true, 05:45:15 "seccomp-profile": "/etc/docker/seccomp.json" 05:45:15 } [Pipeline] sh 05:45:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:45:16 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:45:34 provisioning config files... 05:45:34 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/28@tmp/config6288365132279054137tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:45:34 ---> docker-login.sh 05:45:34 nexus3.edgexfoundry.org:10001 05:45:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:45:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:45:35 Configure a credential helper to remove this warning. See 05:45:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:45:35 05:45:35 Login Succeeded 05:45:35 nexus3.edgexfoundry.org:10002 05:45:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:45:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:45:36 Configure a credential helper to remove this warning. See 05:45:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:45:36 05:45:36 Login Succeeded 05:45:36 nexus3.edgexfoundry.org:10003 05:45:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:45:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:45:36 Configure a credential helper to remove this warning. See 05:45:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:45:36 05:45:36 Login Succeeded 05:45:36 nexus3.edgexfoundry.org:10004 05:45:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:45:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:45:37 Configure a credential helper to remove this warning. See 05:45:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:45:37 05:45:37 Login Succeeded 05:45:37 docker.io 05:45:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:45:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:45:38 Configure a credential helper to remove this warning. See 05:45:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:45:38 05:45:38 Login Succeeded 05:45:38 ---> docker-login.sh ends [Pipeline] } 05:45:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:45:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:45:38 ========================================================= 05:45:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 05:45:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:45:39 + 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 . 05:45:39 Sending build context to Docker daemon 2.758MB 05:45:39 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 05:45:39 Step 2/12 : FROM ${BASE} AS builder 05:45:39 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:45:39 9b3977197b4f: Pulling fs layer 05:45:39 1a89e8eeedd5: Pulling fs layer 05:45:39 94645a83ff95: Pulling fs layer 05:45:39 3f3a8bcf1eab: Pulling fs layer 05:45:39 0c92f367c5e7: Pulling fs layer 05:45:39 3096ccb668a1: Pulling fs layer 05:45:39 e8cf19c19ddd: Pulling fs layer 05:45:39 a4caa8a26152: Pulling fs layer 05:45:39 3f3a8bcf1eab: Waiting 05:45:39 0c92f367c5e7: Waiting 05:45:39 3096ccb668a1: Waiting 05:45:39 e8cf19c19ddd: Waiting 05:45:39 a4caa8a26152: Waiting 05:45:39 94645a83ff95: Verifying Checksum 05:45:39 94645a83ff95: Download complete 05:45:39 1a89e8eeedd5: Download complete 05:45:39 0c92f367c5e7: Download complete 05:45:39 9b3977197b4f: Download complete 05:45:39 3096ccb668a1: Verifying Checksum 05:45:39 3096ccb668a1: Download complete 05:45:39 e8cf19c19ddd: Verifying Checksum 05:45:39 e8cf19c19ddd: Download complete 05:45:40 9b3977197b4f: Pull complete 05:45:40 1a89e8eeedd5: Pull complete 05:45:41 94645a83ff95: Pull complete 05:45:41 a4caa8a26152: Verifying Checksum 05:45:41 a4caa8a26152: Download complete 05:45:42 3f3a8bcf1eab: Verifying Checksum 05:45:42 3f3a8bcf1eab: Download complete 05:45:54 3f3a8bcf1eab: Pull complete 05:45:54 0c92f367c5e7: Pull complete 05:45:54 3096ccb668a1: Pull complete 05:45:55 e8cf19c19ddd: Pull complete 05:46:01 a4caa8a26152: Pull complete 05:46:01 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 05:46:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 05:46:01 ---> 725f1c02e7f9 05:46:01 Step 3/12 : ARG MAKE='make build' 05:46:01 ---> Running in 13441c8789fb 05:46:02 Removing intermediate container 13441c8789fb 05:46:02 ---> c7f71df89a6e 05:46:02 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:46:02 ---> Running in 08413a1994ca 05:46:02 Removing intermediate container 08413a1994ca 05:46:02 ---> 875fe0a52117 05:46:02 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 05:46:02 ---> Running in 3199e9e6cbb7 05:46:02 Removing intermediate container 3199e9e6cbb7 05:46:02 ---> 34dd2f84523b 05:46:02 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:46:02 ---> Running in 7777c1819f52 05:46:04 Removing intermediate container 7777c1819f52 05:46:04 ---> 70dc791f82a9 05:46:04 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:46:04 ---> Running in 178a155dbe24 05:46:05 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:46:06 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:46:07 (1/4) Installing openssh-keygen (8.8_p1-r1) 05:46:07 (2/4) Installing libedit (20210910.3.1-r0) 05:46:07 (3/4) Installing openssh-client-common (8.8_p1-r1) 05:46:07 (4/4) Installing openssh-client-default (8.8_p1-r1) 05:46:08 Executing busybox-1.34.1-r3.trigger 05:46:08 OK: 224 MiB in 56 packages 05:46:09 Removing intermediate container 178a155dbe24 05:46:09 ---> 29653da82eaf 05:46:09 Step 8/12 : WORKDIR /device-snmp-go 05:46:09 ---> Running in fb9ed91bdb29 05:46:09 Removing intermediate container fb9ed91bdb29 05:46:09 ---> 71976bc83c40 05:46:09 Step 9/12 : COPY go.mod vendor* ./ 05:46:10 ---> 42ee810c245d 05:46:10 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:46:10 ---> Running in aa93a4b68819 05:46:57 Removing intermediate container aa93a4b68819 05:46:57 ---> 7147bb0c5423 05:46:57 Step 11/12 : COPY . . 05:46:57 ---> 1cc3e9bca91d 05:46:57 Step 12/12 : RUN ${MAKE} 05:46:57 ---> Running in 7d9b9b38e430 05:46:57 noop 05:46:57 Removing intermediate container 7d9b9b38e430 05:46:57 ---> 2ea34edbe3c1 05:46:57 Successfully built 2ea34edbe3c1 05:46:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:46:57 + docker inspect -f . ci-base-image-arm64 05:46:57 . [Pipeline] withDockerContainer 05:46:57 prd-ubuntu20.04-docker-arm64-4c-16g-63366 does not seem to be running inside a container 05:46:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/28 -v /w/workspace/device-snmp-go/28:/w/workspace/device-snmp-go/28:rw,z -v /w/workspace/device-snmp-go/28@tmp:/w/workspace/device-snmp-go/28@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 05:46:58 $ docker top f91941d10c2298df28b247cb08d65ca7caa3f7f9496a88f87a31f79b3e01609b -eo pid,comm [Pipeline] { [Pipeline] sh 05:46:59 + go version 05:46:59 go version go1.17.6 linux/arm64 [Pipeline] } 05:46:59 $ docker stop --time=1 f91941d10c2298df28b247cb08d65ca7caa3f7f9496a88f87a31f79b3e01609b 05:47:01 $ docker rm -f f91941d10c2298df28b247cb08d65ca7caa3f7f9496a88f87a31f79b3e01609b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:47:02 + docker inspect -f . ci-base-image-arm64 05:47:02 . [Pipeline] withDockerContainer 05:47:02 prd-ubuntu20.04-docker-arm64-4c-16g-63366 does not seem to be running inside a container 05:47:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/28 -v /w/workspace/device-snmp-go/28:/w/workspace/device-snmp-go/28:rw,z -v /w/workspace/device-snmp-go/28@tmp:/w/workspace/device-snmp-go/28@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 05:47:03 $ docker top 35087268e2f6d42d386da06c45d3cf5b38985ab4e372c3dae5439232ca7a5c49 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:47:04 + make test 05:47:04 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 05:47:06 ? github.com/edgexfoundry/device-snmp-go [no test files] 05:48:27 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 05:48:27 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.041s coverage: 0.0% of statements 05:48:27 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:48:27 CGO_ENABLED=1 GO111MODULE=on go vet ./... 05:48:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:48:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:48:46 ./bin/test-attribution-txt.sh [Pipeline] echo 05:48:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:48:48 $ docker stop --time=1 35087268e2f6d42d386da06c45d3cf5b38985ab4e372c3dae5439232ca7a5c49 05:48:50 $ docker rm -f 35087268e2f6d42d386da06c45d3cf5b38985ab4e372c3dae5439232ca7a5c49 [Pipeline] // withDockerContainer [Pipeline] sh 05:48:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:48:51 Warning: overwriting stash ‘coverage-report’ 05:48:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:48:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:48:52 + ls -al . 05:48:52 total 164 05:48:52 drwxrwxr-x 8 jenkins jenkins 4096 May 12 05:48 . 05:48:52 drwxrwxr-x 4 jenkins jenkins 4096 May 12 05:45 .. 05:48:52 -rw-rw-r-- 1 jenkins jenkins 6 May 12 05:45 .dockerignore 05:48:52 drwxrwxr-x 8 jenkins jenkins 4096 May 12 05:45 .git 05:48:52 drwxrwxr-x 3 jenkins jenkins 4096 May 12 05:45 .github 05:48:52 -rw-rw-r-- 1 jenkins jenkins 328 May 12 05:45 .gitignore 05:48:52 -rw-rw-r-- 1 jenkins jenkins 41 May 12 05:45 .golangci.yml 05:48:52 -rw-rw-r-- 1 jenkins jenkins 8296 May 12 05:45 Attribution.txt 05:48:52 -rw-rw-r-- 1 jenkins jenkins 6950 May 12 05:45 CHANGELOG.md 05:48:52 -rw-rw-r-- 1 jenkins jenkins 1516 May 12 05:45 Dockerfile 05:48:52 -rw-rw-r-- 1 jenkins jenkins 677 May 12 05:45 GOVERNANCE.md 05:48:52 -rw-rw-r-- 1 jenkins jenkins 656 May 12 05:45 Jenkinsfile 05:48:52 -rw-rw-r-- 1 jenkins jenkins 11340 May 12 05:45 LICENSE 05:48:52 -rw-rw-r-- 1 jenkins jenkins 1938 May 12 05:45 Makefile 05:48:52 -rw-rw-r-- 1 jenkins jenkins 620 May 12 05:45 OWNERS.md 05:48:52 -rw-rw-r-- 1 jenkins jenkins 9390 May 12 05:45 README.md 05:48:52 -rw-rw-r-- 1 jenkins jenkins 12 May 12 05:43 VERSION 05:48:52 drwxrwxr-x 2 jenkins jenkins 4096 May 12 05:45 bin 05:48:52 drwxrwxr-x 3 jenkins jenkins 4096 May 12 05:45 cmd 05:48:52 -rw-r--r-- 1 jenkins jenkins 7631 May 12 05:48 coverage.out 05:48:52 -rw-rw-r-- 1 jenkins jenkins 3250 May 12 05:45 go.mod 05:48:52 -rw-rw-r-- 1 jenkins jenkins 35701 May 12 05:45 go.sum 05:48:52 drwxrwxr-x 3 jenkins jenkins 4096 May 12 05:45 internal 05:48:52 drwxrwxr-x 3 jenkins jenkins 4096 May 12 05:45 snap 05:48:52 -rw-rw-r-- 1 jenkins jenkins 209 May 12 05:45 version.go [Pipeline] isUnix [Pipeline] sh 05:48:53 + 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=397e2e5fd123a0613be6f16d07ee51abe899caab --label arch=arm64 --label version=2.2.0-dev.18 . 05:48:53 Sending build context to Docker daemon 2.766MB 05:48:53 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 05:48:53 Step 2/24 : FROM ${BASE} AS builder 05:48:53 ---> 2ea34edbe3c1 05:48:53 Step 3/24 : ARG MAKE='make build' 05:48:53 ---> Running in 338ac66952df 05:48:53 Removing intermediate container 338ac66952df 05:48:53 ---> c6b2f823a184 05:48:53 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 05:48:53 ---> Running in e1c30c987bd8 05:48:54 Removing intermediate container e1c30c987bd8 05:48:54 ---> 00c54906ce96 05:48:54 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 05:48:54 ---> Running in 87ab9aea9413 05:48:54 Removing intermediate container 87ab9aea9413 05:48:54 ---> 94e1b6d8e9b7 05:48:54 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:48:54 ---> Running in fb2410fcbb2f 05:48:56 Removing intermediate container fb2410fcbb2f 05:48:56 ---> 8258c2bd9a10 05:48:56 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 05:48:56 ---> Running in dc30810f3c0a 05:48:57 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:48:58 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:48:59 OK: 224 MiB in 56 packages 05:49:00 Removing intermediate container dc30810f3c0a 05:49:00 ---> 5fb7ef5db245 05:49:00 Step 8/24 : WORKDIR /device-snmp-go 05:49:00 ---> Running in 389a3cbdc935 05:49:00 Removing intermediate container 389a3cbdc935 05:49:00 ---> 1c8e6536bdec 05:49:00 Step 9/24 : COPY go.mod vendor* ./ 05:49:01 ---> e679f957f65a 05:49:01 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:49:01 ---> Running in d078f21e7d09 05:49:03 Removing intermediate container d078f21e7d09 05:49:03 ---> 8e70ef3c1622 05:49:03 Step 11/24 : COPY . . 05:49:03 ---> 29e8da8a4122 05:49:03 Step 12/24 : RUN ${MAKE} 05:49:03 ---> Running in a329a3aed570 05:49:04 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=2.2.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 05:51:11 Removing intermediate container a329a3aed570 05:51:11 ---> 7ca7cbd2567d 05:51:11 Step 13/24 : FROM alpine:3.14 05:51:11 3.14: Pulling from library/alpine 05:51:11 455c02918c45: Pulling fs layer 05:51:11 455c02918c45: Verifying Checksum 05:51:11 455c02918c45: Download complete 05:51:11 455c02918c45: Pull complete 05:51:11 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 05:51:11 Status: Downloaded newer image for alpine:3.14 05:51:11 ---> ac73e934f311 05:51:11 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 05:51:11 ---> Running in a28a6747d0d9 05:51:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 05:51:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 05:51:11 (1/6) Installing dumb-init (1.2.5-r1) 05:51:11 (2/6) Installing libgcc (10.3.1_git20210424-r2) 05:51:11 (3/6) Installing libsodium (1.0.18-r0) 05:51:11 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 05:51:11 (5/6) Installing libzmq (4.3.4-r0) 05:51:11 (6/6) Installing zeromq (4.3.4-r0) 05:51:11 Executing busybox-1.33.1-r7.trigger 05:51:11 OK: 8 MiB in 20 packages 05:51:11 Removing intermediate container a28a6747d0d9 05:51:11 ---> c27b11e80465 05:51:11 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 05:51:11 ---> b2a56bd96246 05:51:11 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 05:51:11 ---> 52bc52e72466 05:51:11 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 05:51:11 ---> df21f24bcd19 05:51:11 Step 18/24 : EXPOSE 59993 05:51:11 ---> Running in 9adeb3d0ebb7 05:51:11 Removing intermediate container 9adeb3d0ebb7 05:51:11 ---> 1e15ef2edbd1 05:51:11 Step 19/24 : EXPOSE 161 05:51:11 ---> Running in 5944c37e268e 05:51:11 Removing intermediate container 5944c37e268e 05:51:11 ---> 3d2c3cc85ec2 05:51:11 Step 20/24 : ENTRYPOINT ["/device-snmp"] 05:51:11 ---> Running in 586bd80db83a 05:51:11 Removing intermediate container 586bd80db83a 05:51:11 ---> 08eee9bab0fd 05:51:11 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 05:51:11 ---> Running in 8acb35449392 05:51:11 Removing intermediate container 8acb35449392 05:51:11 ---> 331feda2ef33 05:51:11 Step 22/24 : LABEL arch=arm64 05:51:11 ---> Running in b322650f2049 05:51:11 Removing intermediate container b322650f2049 05:51:11 ---> b3cf54d725a7 05:51:11 Step 23/24 : LABEL git_sha=397e2e5fd123a0613be6f16d07ee51abe899caab 05:51:11 ---> Running in 3696fb61af65 05:51:11 Removing intermediate container 3696fb61af65 05:51:11 ---> 15140627706f 05:51:11 Step 24/24 : LABEL version=2.2.0-dev.18 05:51:11 ---> Running in dae270e33dad 05:51:11 Removing intermediate container dae270e33dad 05:51:11 ---> 9a59660aadc0 05:51:11 [Warning] One or more build-args [ARCH] were not consumed 05:51:11 Successfully built 9a59660aadc0 05:51:11 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 05:51:11 provisioning config files... 05:51:12 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/28@tmp/config3504945143512348220tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:51:12 ---> docker-login.sh 05:51:12 nexus3.edgexfoundry.org:10001 05:51:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:51:12 Configure a credential helper to remove this warning. See 05:51:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:51:12 05:51:12 Login Succeeded 05:51:12 nexus3.edgexfoundry.org:10002 05:51:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:51:13 Configure a credential helper to remove this warning. See 05:51:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:51:13 05:51:13 Login Succeeded 05:51:13 nexus3.edgexfoundry.org:10003 05:51:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:51:13 Configure a credential helper to remove this warning. See 05:51:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:51:13 05:51:13 Login Succeeded 05:51:13 nexus3.edgexfoundry.org:10004 05:51:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:51:14 Configure a credential helper to remove this warning. See 05:51:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:51:14 05:51:14 Login Succeeded 05:51:14 docker.io 05:51:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:51:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:51:14 Configure a credential helper to remove this warning. See 05:51:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:51:14 05:51:14 Login Succeeded 05:51:14 ---> docker-login.sh ends [Pipeline] } 05:51:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:51:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:51:14 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 05:51:14 397e2e5fd123a0613be6f16d07ee51abe899caab 05:51:14 latest 05:51:14 2.2.0-dev.18 05:51:14 397e2e5fd123a0613be6f16d07ee51abe899caab-2.2.0-dev.18 05:51:14 main 05:51:14 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:51:15 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:397e2e5fd123a0613be6f16d07ee51abe899caab [Pipeline] isUnix [Pipeline] sh 05:51:15 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:397e2e5fd123a0613be6f16d07ee51abe899caab 05:51:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 05:51:15 332e62341ac7: Preparing 05:51:15 8d222c02347d: Preparing 05:51:15 16298e86f18d: Preparing 05:51:15 a85baa246c93: Preparing 05:51:15 f73e7dbfee58: Preparing 05:51:15 f73e7dbfee58: Layer already exists 05:51:15 332e62341ac7: Pushed 05:51:15 8d222c02347d: Pushed 05:51:16 a85baa246c93: Pushed 05:51:21 16298e86f18d: Pushed 05:51:21 397e2e5fd123a0613be6f16d07ee51abe899caab: digest: sha256:27ec4446f05d30c427522f94d712ff9d8bd1f23abdf25bdc6cb09ee7ad234a68 size: 1366 [Pipeline] isUnix [Pipeline] sh 05:51:22 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:51:22 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 05:51:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 05:51:22 332e62341ac7: Preparing 05:51:22 8d222c02347d: Preparing 05:51:22 16298e86f18d: Preparing 05:51:22 a85baa246c93: Preparing 05:51:22 f73e7dbfee58: Preparing 05:51:22 a85baa246c93: Layer already exists 05:51:22 16298e86f18d: Layer already exists 05:51:22 f73e7dbfee58: Layer already exists 05:51:22 332e62341ac7: Layer already exists 05:51:22 8d222c02347d: Layer already exists 05:51:22 latest: digest: sha256:27ec4446f05d30c427522f94d712ff9d8bd1f23abdf25bdc6cb09ee7ad234a68 size: 1366 [Pipeline] isUnix [Pipeline] sh 05:51:23 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.18 [Pipeline] isUnix [Pipeline] sh 05:51:23 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.18 05:51:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 05:51:23 332e62341ac7: Preparing 05:51:23 8d222c02347d: Preparing 05:51:23 16298e86f18d: Preparing 05:51:23 a85baa246c93: Preparing 05:51:23 f73e7dbfee58: Preparing 05:51:23 332e62341ac7: Layer already exists 05:51:23 f73e7dbfee58: Layer already exists 05:51:23 a85baa246c93: Layer already exists 05:51:23 16298e86f18d: Layer already exists 05:51:23 8d222c02347d: Layer already exists 05:51:23 2.2.0-dev.18: digest: sha256:27ec4446f05d30c427522f94d712ff9d8bd1f23abdf25bdc6cb09ee7ad234a68 size: 1366 [Pipeline] isUnix [Pipeline] sh 05:51:24 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:397e2e5fd123a0613be6f16d07ee51abe899caab-2.2.0-dev.18 [Pipeline] isUnix [Pipeline] sh 05:51:24 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:397e2e5fd123a0613be6f16d07ee51abe899caab-2.2.0-dev.18 05:51:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 05:51:24 332e62341ac7: Preparing 05:51:24 8d222c02347d: Preparing 05:51:24 16298e86f18d: Preparing 05:51:24 a85baa246c93: Preparing 05:51:24 f73e7dbfee58: Preparing 05:51:24 f73e7dbfee58: Layer already exists 05:51:24 332e62341ac7: Layer already exists 05:51:24 a85baa246c93: Layer already exists 05:51:24 8d222c02347d: Layer already exists 05:51:24 16298e86f18d: Layer already exists 05:51:24 397e2e5fd123a0613be6f16d07ee51abe899caab-2.2.0-dev.18: digest: sha256:27ec4446f05d30c427522f94d712ff9d8bd1f23abdf25bdc6cb09ee7ad234a68 size: 1366 [Pipeline] isUnix [Pipeline] sh 05:51:25 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] isUnix [Pipeline] sh 05:51:25 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main 05:51:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 05:51:25 332e62341ac7: Preparing 05:51:25 8d222c02347d: Preparing 05:51:25 16298e86f18d: Preparing 05:51:25 a85baa246c93: Preparing 05:51:25 f73e7dbfee58: Preparing 05:51:25 8d222c02347d: Layer already exists 05:51:25 16298e86f18d: Layer already exists 05:51:25 f73e7dbfee58: Layer already exists 05:51:25 a85baa246c93: Layer already exists 05:51:25 332e62341ac7: Layer already exists 05:51:25 main: digest: sha256:27ec4446f05d30c427522f94d712ff9d8bd1f23abdf25bdc6cb09ee7ad234a68 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 05:51:25 ===================================================== [Pipeline] echo 05:51:25 taggedImages: 05:51:25 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:397e2e5fd123a0613be6f16d07ee51abe899caab 05:51:25 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 05:51:25 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.18 05:51:25 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:397e2e5fd123a0613be6f16d07ee51abe899caab-2.2.0-dev.18 05:51:25 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:51:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:51:26 05:51:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 05:51:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:51:26 arm64: Pulling from edgex-lftools-log-publisher 05:51:26 8998bd30e6a1: Pulling fs layer 05:51:26 04944245beec: Pulling fs layer 05:51:26 699f458cf7ca: Pulling fs layer 05:51:26 765212b225bb: Pulling fs layer 05:51:26 f23df028b6ca: Pulling fs layer 05:51:26 765212b225bb: Waiting 05:51:26 d65c8cfc05b1: Pulling fs layer 05:51:26 2437ff75d9bd: Pulling fs layer 05:51:26 f23df028b6ca: Waiting 05:51:26 2437ff75d9bd: Waiting 05:51:26 d65c8cfc05b1: Waiting 05:51:26 04944245beec: Verifying Checksum 05:51:26 04944245beec: Download complete 05:51:26 765212b225bb: Download complete 05:51:26 f23df028b6ca: Verifying Checksum 05:51:26 f23df028b6ca: Download complete 05:51:26 d65c8cfc05b1: Verifying Checksum 05:51:26 d65c8cfc05b1: Download complete 05:51:27 699f458cf7ca: Verifying Checksum 05:51:27 699f458cf7ca: Download complete 05:51:27 8998bd30e6a1: Download complete 05:51:29 2437ff75d9bd: Verifying Checksum 05:51:29 2437ff75d9bd: Download complete 05:51:31 8998bd30e6a1: Pull complete 05:51:31 04944245beec: Pull complete 05:51:33 699f458cf7ca: Pull complete 05:51:33 765212b225bb: Pull complete 05:51:34 f23df028b6ca: Pull complete 05:51:34 d65c8cfc05b1: Pull complete 05:51:49 2437ff75d9bd: Pull complete 05:51:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:51:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:51:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 05:51:49 prd-ubuntu20.04-docker-arm64-4c-16g-63366 does not seem to be running inside a container 05:51:49 $ 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/28 -v /w/workspace/device-snmp-go/28:/w/workspace/device-snmp-go/28:rw,z -v /w/workspace/device-snmp-go/28@tmp:/w/workspace/device-snmp-go/28@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 05:51:52 $ docker top 800524d521c58dbacc219ff34846aaf6cbbab173dee0adc19a555613c7f705dc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:51:53 ---> job-cost.sh 05:51:53 lf-activate-venv: SKIPPING 05:51:53 INFO: No Stack... 05:51:54 INFO: Retrieving Pricing Info for: v3-standard-4 05:51:55 INFO: Archiving Costs [Pipeline] sh 05:51:55 + cat /w/workspace/device-snmp-go/28/archives/cost.csv 05:51:55 + cut -d, -f6 [Pipeline] lock 05:51:55 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-28-stack-cost] 05:51:55 Resource [jenkins-edgexfoundry-device-snmp-go-main-28-stack-cost] did not exist. Created. 05:51:55 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-28-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:51:56 /w/workspace/device-snmp-go/28@tmp/durable-0449b065/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:51:57 + echo total: 0.10999999940395355 [Pipeline] stash 05:51:57 Warning: overwriting stash ‘stack-cost’ 05:51:57 Stashed 1 file(s) [Pipeline] } 05:51:57 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-28-stack-cost] [Pipeline] // lock [Pipeline] } 05:51:57 $ docker stop --time=1 800524d521c58dbacc219ff34846aaf6cbbab173dee0adc19a555613c7f705dc 05:51:58 $ docker rm -f 800524d521c58dbacc219ff34846aaf6cbbab173dee0adc19a555613c7f705dc [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 05:51:59 provisioning config files... 05:51:59 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config8791785114709122126tmp [Pipeline] { [Pipeline] sh 05:51:59 + set +x 05:51:59 + curl -s https://codecov.io/bash 05:51:59 + bash -s -- 05:51:59 05:51:59 _____ _ 05:51:59 / ____| | | 05:51:59 | | ___ __| | ___ ___ _____ __ 05:51:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:51:59 | |___| (_) | (_| | __/ (_| (_) \ V / 05:51:59 \_____\___/ \__,_|\___|\___\___/ \_/ 05:51:59 Bash-1.0.6 05:51:59 05:51:59 05:51:59 ==> git version 2.25.1 found 05:51:59 ==> 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 05:51:59 Release-Date: 2020-01-08 05:51:59 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:51:59 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:51:59 ==> Jenkins CI detected. 05:51:59 current dir:  /w/workspace/edgexfoundry_device-snmp-go_main 05:51:59 project root: . 05:51:59 --> token set from env 05:51:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:51:59 ==> Running gcov in . (disable via -X gcov) 05:51:59 ==> Python coveragepy not found 05:51:59 ==> Searching for coverage reports in: 05:51:59 + . 05:51:59 -> Found 1 reports 05:51:59 ==> Detecting git/mercurial file structure 05:51:59 ==> Reading reports 05:51:59 + ./coverage.out bytes=7631 05:51:59 ==> Appending adjustments 05:51:59 https://docs.codecov.io/docs/fixing-reports 05:51:59 + Found adjustments 05:51:59 ==> Gzipping contents 05:51:59 4.0K /tmp/codecov.GCleQm.gz 05:51:59 ==> Uploading reports 05:51:59 url: https://codecov.io 05:51:59 query: branch=main&commit=397e2e5fd123a0613be6f16d07ee51abe899caab&build=28&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F28%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:51:59 -> Pinging Codecov 05:51:59 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=397e2e5fd123a0613be6f16d07ee51abe899caab&build=28&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F28%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:52:00 -> Uploading to 05:52:00 https://storage.googleapis.com/codecov/v4/raw/2022-05-12/6C56EA5C29638FB4528AC87E60AF5AE0/397e2e5fd123a0613be6f16d07ee51abe899caab/44c848c2-745d-4e6d-9a73-e9fe680a50f4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220512%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220512T055159Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=67dab697cf83a02d605e575d38d2b3e15f2afb53382c4e5bc2ccaeac35f36e4e 05:52:00 % Total % Received % Xferd Average Speed Time Time Time Current 05:52:00 Dload Upload Total Spent Left Speed 05:52:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1602 0 0 100 1602 0 6846 --:--:-- --:--:-- --:--:-- 6846 05:52:00 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/397e2e5fd123a0613be6f16d07ee51abe899caab [Pipeline] } 05:52:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:52:00 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:52:00 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:52:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:52:00 05:52:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 05:52:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:52:01 1.410.4: Pulling from edgex-devops/edgex-snyk-go 05:52:01 188c0c94c7c5: Pulling fs layer 05:52:01 0ef7d3d256c8: Pulling fs layer 05:52:01 de9db76c5a1d: Pulling fs layer 05:52:01 0eba1c9be4d2: Pulling fs layer 05:52:01 0d57e429df01: Pulling fs layer 05:52:01 4e4be7b47b0d: Pulling fs layer 05:52:01 e1f770b5df2f: Pulling fs layer 05:52:01 0d57e429df01: Waiting 05:52:01 4e4be7b47b0d: Waiting 05:52:01 0eba1c9be4d2: Waiting 05:52:01 85a0685a4137: Pulling fs layer 05:52:01 e1f770b5df2f: Waiting 05:52:01 85a0685a4137: Waiting 05:52:01 de9db76c5a1d: Verifying Checksum 05:52:01 de9db76c5a1d: Download complete 05:52:01 0ef7d3d256c8: Verifying Checksum 05:52:01 0ef7d3d256c8: Download complete 05:52:01 0d57e429df01: Verifying Checksum 05:52:01 0d57e429df01: Download complete 05:52:01 4e4be7b47b0d: Verifying Checksum 05:52:01 4e4be7b47b0d: Download complete 05:52:01 188c0c94c7c5: Download complete 05:52:01 188c0c94c7c5: Pull complete 05:52:01 0ef7d3d256c8: Pull complete 05:52:01 e1f770b5df2f: Verifying Checksum 05:52:01 e1f770b5df2f: Download complete 05:52:01 de9db76c5a1d: Pull complete 05:52:02 0eba1c9be4d2: Verifying Checksum 05:52:02 0eba1c9be4d2: Download complete 05:52:02 85a0685a4137: Verifying Checksum 05:52:02 85a0685a4137: Download complete 05:52:05 0eba1c9be4d2: Pull complete 05:52:05 0d57e429df01: Pull complete 05:52:05 4e4be7b47b0d: Pull complete 05:52:05 e1f770b5df2f: Pull complete 05:52:08 85a0685a4137: Pull complete 05:52:08 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 05:52:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:52:08 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 05:52:09 prd-ubuntu20.04-docker-8c-8g-63360 does not seem to be running inside a container 05:52:09 $ 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 05:52:11 $ docker top 11cffa6dfb6236ee63a7b8279b7ef5ff3a636ce9f9eb36de4a0203673b9908f4 -eo pid,comm [Pipeline] { [Pipeline] echo 05:52:11 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 05:52:11 + set -o pipefail 05:52:11 + snyk monitor '--org=edgex-jenkins' 05:52:16 05:52:16 Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... 05:52:16 05:52:16 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/c76919d0-7345-4304-8954-aa03851194a6/history/a92ac6e0-ab47-4524-bd65-eadb4097245a 05:52:16 05:52:16 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 05:52:16 05:52:16 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:52:16 05:52:16 [Pipeline] } 05:52:16 $ docker stop --time=1 11cffa6dfb6236ee63a7b8279b7ef5ff3a636ce9f9eb36de4a0203673b9908f4 05:52:19 $ docker rm -f 11cffa6dfb6236ee63a7b8279b7ef5ff3a636ce9f9eb36de4a0203673b9908f4 [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 05:52:19 + git log --format=format:%s -1 397e2e5fd123a0613be6f16d07ee51abe899caab [Pipeline] sh 05:52:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:52:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 05:52:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 05:52:20 . [Pipeline] withDockerContainer 05:52:20 prd-ubuntu20.04-docker-8c-8g-63360 does not seem to be running inside a container 05:52:20 $ 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 05:52:20 $ docker top 4680945b8cfc5b9995c39e064e605bccb47311f0a1b4d3f1e66fa965179bc561 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:52:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:52:20 [ssh-agent] Looking for ssh-agent implementation... 05:52:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:52:21 $ docker exec 4680945b8cfc5b9995c39e064e605bccb47311f0a1b4d3f1e66fa965179bc561 ssh-agent 05:52:21 SSH_AUTH_SOCK=/tmp/ssh-ldEdiwMIUM2Q/agent.33 05:52:21 SSH_AGENT_PID=39 05:52:21 Running ssh-add (command line suppressed) 05:52:21 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5869258900377839711.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5869258900377839711.key) 05:52:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:52:21 + git semver tag 05:52:21 2022-05-12 05:52:21,748 [run_tag] DEBUG tag force:False 05:52:21 2022-05-12 05:52:21,748 [check_head_tag] DEBUG check head tag 05:52:21 2022-05-12 05:52:21,748 [execute] INFO git cat-file --batch-check 05:52:21 2022-05-12 05:52:21,749 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 05:52:21 2022-05-12 05:52:21,752 [execute] INFO git cat-file --batch 05:52:21 2022-05-12 05:52:21,752 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 05:52:21 2022-05-12 05:52:21,765 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 05:52:21 2022-05-12 05:52:21,765 [execute] INFO git tag -a v2.2.0-dev.18 -m v2.2.0-dev.18 05:52:21 2022-05-12 05:52:21,765 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.18', '-m', 'v2.2.0-dev.18'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 05:52:21 2022-05-12 05:52:21,770 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 05:52:21 2.2.0-dev.18 [Pipeline] } 05:52:21 $ docker exec --env ******** --env ******** 4680945b8cfc5b9995c39e064e605bccb47311f0a1b4d3f1e66fa965179bc561 ssh-agent -k 05:52:21 unset SSH_AUTH_SOCK; 05:52:21 unset SSH_AGENT_PID; 05:52:21 echo Agent pid 39 killed; 05:52:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:52:22 + git semver [Pipeline] } 05:52:22 $ docker stop --time=1 4680945b8cfc5b9995c39e064e605bccb47311f0a1b4d3f1e66fa965179bc561 05:52:23 $ docker rm -f 4680945b8cfc5b9995c39e064e605bccb47311f0a1b4d3f1e66fa965179bc561 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 05:52:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:52:24 05:52:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 05:52:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:52:24 0.23.1-centos7: Pulling from edgex-lftools 05:52:24 ab5ef0e58194: Pulling fs layer 05:52:24 9712f1f96733: Pulling fs layer 05:52:24 63f879dbbcfc: Pulling fs layer 05:52:24 0d9ebad4ef96: Pulling fs layer 05:52:24 e9a5061849ea: Pulling fs layer 05:52:24 d747dcd14b5f: Pulling fs layer 05:52:24 2de7ff778b66: Pulling fs layer 05:52:24 0d9ebad4ef96: Waiting 05:52:24 e9a5061849ea: Waiting 05:52:24 d747dcd14b5f: Waiting 05:52:24 9712f1f96733: Verifying Checksum 05:52:24 9712f1f96733: Download complete 05:52:24 63f879dbbcfc: Verifying Checksum 05:52:24 63f879dbbcfc: Download complete 05:52:25 ab5ef0e58194: Verifying Checksum 05:52:25 ab5ef0e58194: Download complete 05:52:25 d747dcd14b5f: Verifying Checksum 05:52:25 d747dcd14b5f: Download complete 05:52:25 e9a5061849ea: Verifying Checksum 05:52:25 e9a5061849ea: Download complete 05:52:25 0d9ebad4ef96: Verifying Checksum 05:52:25 0d9ebad4ef96: Download complete 05:52:25 2de7ff778b66: Download complete 05:52:27 ab5ef0e58194: Pull complete 05:52:27 9712f1f96733: Pull complete 05:52:28 63f879dbbcfc: Pull complete 05:52:31 0d9ebad4ef96: Pull complete 05:52:32 e9a5061849ea: Pull complete 05:52:32 d747dcd14b5f: Pull complete 05:52:33 2de7ff778b66: Pull complete 05:52:33 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:52:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:52:33 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 05:52:33 prd-ubuntu20.04-docker-8c-8g-63360 does not seem to be running inside a container 05:52:33 $ 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 05:52:35 $ docker top d34e8a81b656e04d2984d83fd47c5602134991e8b4c7b4b6f559c3ccd1e3bb16 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:52:35 provisioning config files... 05:52:35 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config6175375778536272527tmp 05:52:35 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4897715361229194218tmp 05:52:35 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7457373293527664065tmp [Pipeline] { [Pipeline] echo 05:52:35 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:52:36 ---> sigul-configuration.sh 05:52:36 gpg: directory `/root/.gnupg' created 05:52:36 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:52:36 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:52:36 gpg: keyring `/root/.gnupg/secring.gpg' created 05:52:36 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:52:36 gpg: CAST5 encrypted data 05:52:36 gpg: encrypted with 1 passphrase 05:52:36 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:52:36 + mkdir /home/jenkins 05:52:36 + mkdir /home/jenkins/sigul [Pipeline] sh 05:52:36 + 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 05:52:36 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:52:37 ---> sigul-install.sh 05:52:37 Sigul already installed; skipping installation. [Pipeline] sh 05:52:37 + git tag --list 05:52:37 1.0.0 05:52:37 v0.0.0 05:52:37 v1.1.0 05:52:37 v1.1.1 05:52:37 v1.2.2 05:52:37 v1.3.0 05:52:37 v1.3.1 05:52:37 v2.0.0 05:52:37 v2.0.1-dev.1 05:52:37 v2.0.1-dev.2 05:52:37 v2.0.1-dev.3 05:52:37 v2.0.1-dev.4 05:52:37 v2.0.1-dev.5 05:52:37 v2.0.1-dev.6 05:52:37 v2.1.0 05:52:37 v2.2.0-dev.1 05:52:37 v2.2.0-dev.10 05:52:37 v2.2.0-dev.11 05:52:37 v2.2.0-dev.12 05:52:37 v2.2.0-dev.13 05:52:37 v2.2.0-dev.14 05:52:37 v2.2.0-dev.15 05:52:37 v2.2.0-dev.16 05:52:37 v2.2.0-dev.17 05:52:37 v2.2.0-dev.18 05:52:37 v2.2.0-dev.2 05:52:37 v2.2.0-dev.3 05:52:37 v2.2.0-dev.4 05:52:37 v2.2.0-dev.5 05:52:37 v2.2.0-dev.6 05:52:37 v2.2.0-dev.7 05:52:37 v2.2.0-dev.8 05:52:37 v2.2.0-dev.9 [Pipeline] sh 05:52:37 + lftools sign git-tag v2.2.0-dev.18 05:52:38 Signing Git tag with Sigul... 05:52:38 Signing v2.2.0-dev.18 [Pipeline] echo 05:52:38 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:52:38 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:52:38 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:52:38 $ docker stop --time=1 d34e8a81b656e04d2984d83fd47c5602134991e8b4c7b4b6f559c3ccd1e3bb16 05:52:40 $ docker rm -f d34e8a81b656e04d2984d83fd47c5602134991e8b4c7b4b6f559c3ccd1e3bb16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 05:52:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:52:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 05:52:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 05:52:40 . [Pipeline] withDockerContainer 05:52:40 prd-ubuntu20.04-docker-8c-8g-63360 does not seem to be running inside a container 05:52:40 $ 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 05:52:41 $ docker top cd19820fe5700a282ab367634a83e165427da4e58feabc00e06de6f19ccc61cd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:52:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:52:41 [ssh-agent] Looking for ssh-agent implementation... 05:52:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:52:41 $ docker exec cd19820fe5700a282ab367634a83e165427da4e58feabc00e06de6f19ccc61cd ssh-agent 05:52:41 SSH_AUTH_SOCK=/tmp/ssh-xufkC3WhtnEe/agent.33 05:52:41 SSH_AGENT_PID=39 05:52:41 Running ssh-add (command line suppressed) 05:52:41 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7327580297892113652.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7327580297892113652.key) 05:52:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:52:42 + git semver bump pre 05:52:42 2022-05-12 05:52:42,381 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 05:52:42 2022-05-12 05:52:42,381 [bump_version] DEBUG bumping version:2.2.0-dev.18 on axis:pre with prefix:dev 05:52:42 2022-05-12 05:52:42,381 [bump_version] DEBUG bumped version:2.2.0-dev.19 05:52:42 2022-05-12 05:52:42,381 [write_version] DEBUG write version:2.2.0-dev.19 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True 05:52:42 2022-05-12 05:52:42,381 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 05:52:42 2022-05-12 05:52:42,382 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 05:52:42 2022-05-12 05:52:42,384 [execute] INFO git cat-file --batch-check 05:52:42 2022-05-12 05:52:42,385 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:52:42 2022-05-12 05:52:42,389 [execute] INFO git cat-file --batch 05:52:42 2022-05-12 05:52:42,390 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:52:42 2022-05-12 05:52:42,395 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 05:52:42 2.2.0-dev.19 [Pipeline] } 05:52:42 $ docker exec --env ******** --env ******** cd19820fe5700a282ab367634a83e165427da4e58feabc00e06de6f19ccc61cd ssh-agent -k 05:52:42 unset SSH_AUTH_SOCK; 05:52:42 unset SSH_AGENT_PID; 05:52:42 echo Agent pid 39 killed; 05:52:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:52:42 + git semver [Pipeline] } 05:52:43 $ docker stop --time=1 cd19820fe5700a282ab367634a83e165427da4e58feabc00e06de6f19ccc61cd 05:52:44 $ docker rm -f cd19820fe5700a282ab367634a83e165427da4e58feabc00e06de6f19ccc61cd [Pipeline] // withDockerContainer [Pipeline] sh 05:52:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:52:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 05:52:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 05:52:45 . [Pipeline] withDockerContainer 05:52:45 prd-ubuntu20.04-docker-8c-8g-63360 does not seem to be running inside a container 05:52:45 $ 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 05:52:45 $ docker top d61a21fee8102625d46accdb74cbaca8a1721117f5cd893509bcea88b5d03c18 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:52:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:52:45 [ssh-agent] Looking for ssh-agent implementation... 05:52:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:52:45 $ docker exec d61a21fee8102625d46accdb74cbaca8a1721117f5cd893509bcea88b5d03c18 ssh-agent 05:52:46 SSH_AUTH_SOCK=/tmp/ssh-Sf1gfjrUcMIH/agent.32 05:52:46 SSH_AGENT_PID=38 05:52:46 Running ssh-add (command line suppressed) 05:52:46 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7489597664543194142.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7489597664543194142.key) 05:52:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:52:46 + git semver push 05:52:46 2022-05-12 05:52:46,606 [run_push] DEBUG push 05:52:46 2022-05-12 05:52:46,607 [execute] INFO git push origin semver 05:52:46 2022-05-12 05:52:46,607 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:52:47 2022-05-12 05:52:47,347 [run_push] DEBUG push all version tags 05:52:47 2022-05-12 05:52:47,348 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 05:52:47 2022-05-12 05:52:47,348 [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) 05:52:48 2022-05-12 05:52:48,083 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 05:52:48 2.2.0-dev.19 [Pipeline] } 05:52:48 $ docker exec --env ******** --env ******** d61a21fee8102625d46accdb74cbaca8a1721117f5cd893509bcea88b5d03c18 ssh-agent -k 05:52:48 unset SSH_AUTH_SOCK; 05:52:48 unset SSH_AGENT_PID; 05:52:48 echo Agent pid 38 killed; 05:52:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:52:48 + git semver [Pipeline] } 05:52:48 $ docker stop --time=1 d61a21fee8102625d46accdb74cbaca8a1721117f5cd893509bcea88b5d03c18 05:52:50 $ docker rm -f d61a21fee8102625d46accdb74cbaca8a1721117f5cd893509bcea88b5d03c18 [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 05:52:50 + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] 05:52:50 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 05:52:50 total 16 05:52:50 drwxr-xr-x 3 root root 4096 May 12 05:44 . 05:52:50 drwxrwxr-x 10 jenkins jenkins 4096 May 12 05:52 .. 05:52:50 drwxr-xr-x 2 root root 4096 May 12 05:44 cost 05:52:50 -rw-r--r-- 1 root root 86 May 12 05:44 cost.csv 05:52:50 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives 05:52:50 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 05:52:50 total 16 05:52:50 drwxr-xr-x 3 jenkins jenkins 4096 May 12 05:44 . 05:52:50 drwxrwxr-x 10 jenkins jenkins 4096 May 12 05:52 .. 05:52:50 drwxr-xr-x 2 jenkins jenkins 4096 May 12 05:44 cost 05:52:50 -rw-r--r-- 1 jenkins jenkins 86 May 12 05:44 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:52:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:52:51 ---> package-listing.sh 05:52:51 ++ facter osfamily 05:52:51 ++ tr '[:upper:]' '[:lower:]' 05:52:52 + OS_FAMILY=debian 05:52:52 + workspace=/w/workspace/edgexfoundry_device-snmp-go_main 05:52:52 + START_PACKAGES=/tmp/packages_start.txt 05:52:52 + END_PACKAGES=/tmp/packages_end.txt 05:52:52 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:52:52 + PACKAGES=/tmp/packages_start.txt 05:52:52 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 05:52:52 + PACKAGES=/tmp/packages_end.txt 05:52:52 + case "${OS_FAMILY}" in 05:52:52 + dpkg -l 05:52:52 + grep '^ii' 05:52:52 + '[' -f /tmp/packages_start.txt ']' 05:52:52 + '[' -f /tmp/packages_end.txt ']' 05:52:52 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:52:52 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 05:52:52 + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ 05:52:52 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo 05:52:52 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 05:52:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:52:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:52:53 . [Pipeline] withDockerContainer 05:52:53 prd-ubuntu20.04-docker-8c-8g-63360 does not seem to be running inside a container 05:52:53 $ 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 05:52:53 $ docker top af1f7a731bbdf91243af77769c2e5fd7cc9d5e1fe96d398150ef9f6971909ca0 -eo pid,comm [Pipeline] { [Pipeline] sh 05:52:53 + touch /tmp/pre-build-complete [Pipeline] sh 05:52:54 + mkdir -p /var/log/sysstat [Pipeline] sh 05:52:54 + ls /var/log/sa-host 05:52:54 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:52:54 provisioning config files... 05:52:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2092311352809675868tmp [Pipeline] { [Pipeline] echo 05:52:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:52:54 ---> create-netrc.sh [Pipeline] } 05:52:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:52:55 ---> python-tools-install.sh [Pipeline] echo 05:52:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:52:55 ---> sudo-logs.sh 05:52:55 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:52:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:52:55 ---> job-cost.sh 05:52:55 lf-activate-venv: SKIPPING 05:52:55 DEBUG: total: 0.8799999952316284 05:52:55 INFO: Retrieving Stack Cost... 05:52:56 INFO: Retrieving Pricing Info for: v3-standard-8 05:52:56 INFO: Archiving Costs [Pipeline] echo 05:52:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:52:57 ---> logs-deploy.sh 05:52:57 lf-activate-venv: SKIPPING 05:52:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/28 05:52:57 INFO: archiving workspace using pattern(s): 05:52:57 Archives upload complete. 05:52:57 INFO: archiving logs to Nexus