Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 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-ssh307268429327367474.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh1700093406862651776.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh15174099760693317612.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5139409335262841995.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-ssh6799402841515238686.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-40581 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 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 (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 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 # timeout=10 Commit message: "docs(snap): Move usage instructions to docs (#167)" > git rev-list --no-walk d555bf136e773009b6ef88c6c814540d1eb4cbee # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:16:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:16:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:16:05 ========================================================= 13:16:05 EdgeX Global Pipelines Version Info 13:16:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:16:06 ------------------- 13:16:06 stable info: 13:16:06 ------------------- 13:16:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:16:06 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 13:16:06 Message: update stable to v1.0.227 13:16:06 ------------------- 13:16:06 experimental info: 13:16:06 ------------------- 13:16:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:16:06 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 13:16:06 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:16:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 13:16:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 13:16:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:16:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:16:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:16:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 13:16:06 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:16:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:16:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:16:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:16:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:16:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 13:16:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:16:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:16:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:16:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:16:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:16:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:16:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:16:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:16:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:16:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:16:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:16:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:16:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:16:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:16:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 13:16:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 13:16:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 13:16:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 [Pipeline] echo 13:16:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 73713b9 [Pipeline] echo 13:16:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:16:07 provisioning config files... 13:16:07 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config2727642279921445306tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:16:07 ---> docker-login.sh 13:16:07 nexus3.edgexfoundry.org:10001 13:16:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:07 Configure a credential helper to remove this warning. See 13:16:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:07 13:16:07 Login Succeeded 13:16:07 nexus3.edgexfoundry.org:10002 13:16:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:08 Configure a credential helper to remove this warning. See 13:16:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:08 13:16:08 Login Succeeded 13:16:08 nexus3.edgexfoundry.org:10003 13:16:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:08 Configure a credential helper to remove this warning. See 13:16:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:08 13:16:08 Login Succeeded 13:16:08 nexus3.edgexfoundry.org:10004 13:16:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:08 Configure a credential helper to remove this warning. See 13:16:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:08 13:16:08 Login Succeeded 13:16:08 docker.io 13:16:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:09 Configure a credential helper to remove this warning. See 13:16:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:09 13:16:09 Login Succeeded 13:16:09 ---> docker-login.sh ends [Pipeline] } 13:16:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:16:09 + git rev-list -1 --merges 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8~1..73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 [Pipeline] echo 13:16:09 -----------> git rev-list -1 --merges 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8~1..73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 [false] [Pipeline] sh 13:16:09 + git log --format=format:%s -1 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 [Pipeline] echo 13:16:09 ========================================================= 13:16:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:16:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:16:10 + git log --format=format:%s -1 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 [Pipeline] echo 13:16:10 [semverPrep] GIT_COMMIT: 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8, Commit Message: docs(snap): Move usage instructions to docs (#167) [Pipeline] echo 13:16:10 [semverPrep] This is not a build commit. [Pipeline] sh 13:16:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:16:10 + grep -v github /etc/ssh/ssh_known_hosts 13:16:10 + [ -e /tmp/ssh_known_hosts ] 13:16:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:16:10 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:16:10 + sudo tee -a /etc/ssh/ssh_known_hosts 13:16:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 13:16:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 13:16:10 13:16:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 13:16:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 13:16:11 latest: Pulling from edgex-devops/py-git-semver 13:16:11 1fe172e4850f: Pulling fs layer 13:16:11 caf521ccaac6: Pulling fs layer 13:16:11 3ead6fa29328: Pulling fs layer 13:16:11 5c2a1cbceb83: Pulling fs layer 13:16:11 a8d5f1318db7: Pulling fs layer 13:16:11 c427282e49a2: Pulling fs layer 13:16:11 1827001aaf11: Pulling fs layer 13:16:11 0714d37db230: Pulling fs layer 13:16:11 ac28cf19c067: Pulling fs layer 13:16:11 ca983d60f3e2: Pulling fs layer 13:16:11 9f894cec8388: Pulling fs layer 13:16:11 9f894cec8388: Waiting 13:16:11 ca983d60f3e2: Waiting 13:16:11 a8d5f1318db7: Waiting 13:16:11 1827001aaf11: Waiting 13:16:11 c427282e49a2: Waiting 13:16:11 0714d37db230: Waiting 13:16:11 ac28cf19c067: Waiting 13:16:11 5c2a1cbceb83: Waiting 13:16:11 caf521ccaac6: Verifying Checksum 13:16:11 caf521ccaac6: Download complete 13:16:11 5c2a1cbceb83: Verifying Checksum 13:16:11 5c2a1cbceb83: Download complete 13:16:11 a8d5f1318db7: Verifying Checksum 13:16:11 a8d5f1318db7: Download complete 13:16:11 c427282e49a2: Verifying Checksum 13:16:11 c427282e49a2: Download complete 13:16:11 3ead6fa29328: Verifying Checksum 13:16:11 3ead6fa29328: Download complete 13:16:11 0714d37db230: Verifying Checksum 13:16:11 0714d37db230: Download complete 13:16:11 ac28cf19c067: Download complete 13:16:11 ca983d60f3e2: Verifying Checksum 13:16:11 ca983d60f3e2: Download complete 13:16:11 9f894cec8388: Verifying Checksum 13:16:11 9f894cec8388: Download complete 13:16:11 1fe172e4850f: Verifying Checksum 13:16:11 1fe172e4850f: Download complete 13:16:11 1827001aaf11: Verifying Checksum 13:16:11 1827001aaf11: Download complete 13:16:13 1fe172e4850f: Pull complete 13:16:13 caf521ccaac6: Pull complete 13:16:13 3ead6fa29328: Pull complete 13:16:13 5c2a1cbceb83: Pull complete 13:16:14 a8d5f1318db7: Pull complete 13:16:14 c427282e49a2: Pull complete 13:16:15 1827001aaf11: Pull complete 13:16:15 0714d37db230: Pull complete 13:16:16 ac28cf19c067: Pull complete 13:16:16 ca983d60f3e2: Pull complete 13:16:16 9f894cec8388: Pull complete 13:16:16 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 13:16:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 13:16:16 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 13:16:16 prd-ubuntu20.04-docker-8c-8g-40581 does not seem to be running inside a container 13:16:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 13:16:17 $ docker top b51d01d10248e739b1a96a7b9d9ef55746f64422bbcabc913cd919810f54d720 -eo pid,comm 13:16:17 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 13:16:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:16:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:16:17 [ssh-agent] Looking for ssh-agent implementation... 13:16:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:16:17 $ docker exec b51d01d10248e739b1a96a7b9d9ef55746f64422bbcabc913cd919810f54d720 ssh-agent 13:16:17 SSH_AUTH_SOCK=/tmp/ssh-KIHd6g3DtUmU/agent.32 13:16:17 SSH_AGENT_PID=38 13:16:17 Running ssh-add (command line suppressed) 13:16:18 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7273001044218875167.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_7273001044218875167.key) 13:16:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:16:18 + git tag --points-at HEAD [Pipeline] } 13:16:18 $ docker exec --env ******** --env ******** b51d01d10248e739b1a96a7b9d9ef55746f64422bbcabc913cd919810f54d720 ssh-agent -k 13:16:18 unset SSH_AUTH_SOCK; 13:16:18 unset SSH_AGENT_PID; 13:16:18 echo Agent pid 38 killed; 13:16:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:16:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:16:18 [ssh-agent] Looking for ssh-agent implementation... 13:16:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:16:18 $ docker exec b51d01d10248e739b1a96a7b9d9ef55746f64422bbcabc913cd919810f54d720 ssh-agent 13:16:18 SSH_AUTH_SOCK=/tmp/ssh-djr3LOXJHfs5/agent.70 13:16:18 SSH_AGENT_PID=77 13:16:18 Running ssh-add (command line suppressed) 13:16:18 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2333680207148168901.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_2333680207148168901.key) 13:16:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:16:19 + git semver init 13:16:19 2022-05-06 13:16:19,490 [run_init] DEBUG init version:0.0.0 force:False 13:16:19 2022-05-06 13:16:19,491 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver 13:16:19 2022-05-06 13:16:19,491 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver 13:16:19 2022-05-06 13:16:19,492 [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) 13:16:20 2022-05-06 13:16:20,296 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude 13:16:20 2022-05-06 13:16:20,297 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False 13:16:20 2022-05-06 13:16:20,297 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 13:16:20 2022-05-06 13:16:20,297 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 13:16:20 2.2.0-dev.15 [Pipeline] } 13:16:20 $ docker exec --env ******** --env ******** b51d01d10248e739b1a96a7b9d9ef55746f64422bbcabc913cd919810f54d720 ssh-agent -k 13:16:20 unset SSH_AUTH_SOCK; 13:16:20 unset SSH_AGENT_PID; 13:16:20 echo Agent pid 77 killed; 13:16:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:16:20 + git semver [Pipeline] } 13:16:21 $ docker stop --time=1 b51d01d10248e739b1a96a7b9d9ef55746f64422bbcabc913cd919810f54d720 13:16:22 $ docker rm -f b51d01d10248e739b1a96a7b9d9ef55746f64422bbcabc913cd919810f54d720 [Pipeline] // withDockerContainer [Pipeline] sh 13:16:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:16:23 Stashed 1 file(s) [Pipeline] echo 13:16:23 [edgeXSemver]: initialized semver on version 2.2.0-dev.15 [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 13:16:23 provisioning config files... 13:16:23 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config533575026870848320tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:16:23 ---> docker-login.sh 13:16:23 nexus3.edgexfoundry.org:10001 13:16:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:23 Configure a credential helper to remove this warning. See 13:16:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:23 13:16:23 Login Succeeded 13:16:23 nexus3.edgexfoundry.org:10002 13:16:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:23 Configure a credential helper to remove this warning. See 13:16:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:23 13:16:23 Login Succeeded 13:16:23 nexus3.edgexfoundry.org:10003 13:16:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:23 Configure a credential helper to remove this warning. See 13:16:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:23 13:16:23 Login Succeeded 13:16:23 nexus3.edgexfoundry.org:10004 13:16:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:24 Configure a credential helper to remove this warning. See 13:16:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:24 13:16:24 Login Succeeded 13:16:24 docker.io 13:16:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:16:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:16:24 Configure a credential helper to remove this warning. See 13:16:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:16:24 13:16:24 Login Succeeded 13:16:24 ---> docker-login.sh ends [Pipeline] } 13:16:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:16:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:16:24 ========================================================= 13:16:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 13:16:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 13:16:24 + 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 . 13:16:24 Sending build context to Docker daemon 5.308MB 13:16:24 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 13:16:24 Step 2/12 : FROM ${BASE} AS builder 13:16:24 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 13:16:24 59bf1c3509f3: Pulling fs layer 13:16:24 666ba61612fd: Pulling fs layer 13:16:24 8ed8ca486205: Pulling fs layer 13:16:24 4fe6c5a15a65: Pulling fs layer 13:16:24 22a0e8bec74d: Pulling fs layer 13:16:24 ca2b28591e48: Pulling fs layer 13:16:24 a51346096db8: Pulling fs layer 13:16:24 daebc70d1ce1: Pulling fs layer 13:16:24 0e18a0eac166: Pulling fs layer 13:16:24 4fe6c5a15a65: Waiting 13:16:24 22a0e8bec74d: Waiting 13:16:24 ca2b28591e48: Waiting 13:16:24 a51346096db8: Waiting 13:16:24 daebc70d1ce1: Waiting 13:16:24 0e18a0eac166: Waiting 13:16:24 8ed8ca486205: Download complete 13:16:24 666ba61612fd: Verifying Checksum 13:16:24 666ba61612fd: Download complete 13:16:24 22a0e8bec74d: Verifying Checksum 13:16:24 22a0e8bec74d: Download complete 13:16:24 ca2b28591e48: Verifying Checksum 13:16:24 ca2b28591e48: Download complete 13:16:24 59bf1c3509f3: Verifying Checksum 13:16:24 59bf1c3509f3: Download complete 13:16:25 a51346096db8: Verifying Checksum 13:16:25 a51346096db8: Download complete 13:16:25 daebc70d1ce1: Verifying Checksum 13:16:25 daebc70d1ce1: Download complete 13:16:25 59bf1c3509f3: Pull complete 13:16:25 666ba61612fd: Pull complete 13:16:25 8ed8ca486205: Pull complete 13:16:25 4fe6c5a15a65: Verifying Checksum 13:16:25 4fe6c5a15a65: Download complete 13:16:25 0e18a0eac166: Verifying Checksum 13:16:25 0e18a0eac166: Download complete 13:16:29 4fe6c5a15a65: Pull complete 13:16:29 22a0e8bec74d: Pull complete 13:16:29 ca2b28591e48: Pull complete 13:16:29 a51346096db8: Pull complete 13:16:29 daebc70d1ce1: Pull complete 13:16:32 0e18a0eac166: Pull complete 13:16:32 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 13:16:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 13:16:32 ---> f018257e8ee9 13:16:32 Step 3/12 : ARG MAKE='make build' 13:16:33 ---> Running in 709af7dc85e8 13:16:33 Removing intermediate container 709af7dc85e8 13:16:33 ---> 478f6a864c64 13:16:33 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 13:16:33 ---> Running in 487ef961c043 13:16:33 Removing intermediate container 487ef961c043 13:16:33 ---> d1cce3f8f8f6 13:16:33 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 13:16:33 ---> Running in d4626c4aa5e9 13:16:33 Removing intermediate container d4626c4aa5e9 13:16:33 ---> 522eec697350 13:16:33 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:16:33 ---> Running in d787fccbb8a1 13:16:34 Removing intermediate container d787fccbb8a1 13:16:34 ---> 8c58d0280a77 13:16:34 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:16:34 ---> Running in 05e14b901e2b 13:16:34 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 13:16:35 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 13:16:35 (1/4) Installing openssh-keygen (8.8_p1-r1) 13:16:35 (2/4) Installing libedit (20210910.3.1-r0) 13:16:35 (3/4) Installing openssh-client-common (8.8_p1-r1) 13:16:35 (4/4) Installing openssh-client-default (8.8_p1-r1) 13:16:35 Executing busybox-1.34.1-r3.trigger 13:16:35 OK: 224 MiB in 56 packages 13:16:36 Removing intermediate container 05e14b901e2b 13:16:36 ---> 0b9ae3bc964d 13:16:36 Step 8/12 : WORKDIR /device-snmp-go 13:16:36 ---> Running in d4f5c3076f61 13:16:36 Removing intermediate container d4f5c3076f61 13:16:36 ---> c00850756604 13:16:36 Step 9/12 : COPY go.mod vendor* ./ 13:16:36 ---> 283bb8dceb08 13:16:36 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:16:36 ---> Running in 108bf09c67d9 13:16:38 Still waiting to schedule task 13:16:38 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 13:16:51 Removing intermediate container 108bf09c67d9 13:16:51 ---> 54b13bea4d23 13:16:51 Step 11/12 : COPY . . 13:16:51 ---> f7fb505f83f8 13:16:51 Step 12/12 : RUN ${MAKE} 13:16:51 ---> Running in 0edf44f9f302 13:16:51 noop 13:16:51 Removing intermediate container 0edf44f9f302 13:16:51 ---> 77305c035261 13:16:51 Successfully built 77305c035261 13:16:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 13:16:51 + docker inspect -f . ci-base-image-x86_64 13:16:51 . [Pipeline] withDockerContainer 13:16:52 prd-ubuntu20.04-docker-8c-8g-40581 does not seem to be running inside a container 13:16:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:16:52 $ docker top 1548134e371fc9da8886adc2e741d34bb5261cd95af2ee5ecd87533d99d6c732 -eo pid,comm [Pipeline] { [Pipeline] sh 13:16:52 + go version 13:16:52 go version go1.17.6 linux/amd64 [Pipeline] } 13:16:52 $ docker stop --time=1 1548134e371fc9da8886adc2e741d34bb5261cd95af2ee5ecd87533d99d6c732 13:16:54 $ docker rm -f 1548134e371fc9da8886adc2e741d34bb5261cd95af2ee5ecd87533d99d6c732 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:16:54 + docker inspect -f . ci-base-image-x86_64 13:16:54 . [Pipeline] withDockerContainer 13:16:54 prd-ubuntu20.04-docker-8c-8g-40581 does not seem to be running inside a container 13:16:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:16:55 $ docker top 3f09269ade175c522b1c38d55ebb9db318edfb45e55d1b41f3f6bbd29886eb92 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 13:16:55 + make test 13:16:55 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 13:16:55 ? github.com/edgexfoundry/device-snmp-go [no test files] 13:17:05 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 13:17:05 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.011s coverage: 0.0% of statements 13:17:12 CGO_ENABLED=1 GO111MODULE=on go vet ./... 13:17:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:17:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:17:16 ./bin/test-attribution-txt.sh [Pipeline] echo 13:17:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:17:17 $ docker stop --time=1 3f09269ade175c522b1c38d55ebb9db318edfb45e55d1b41f3f6bbd29886eb92 13:17:18 $ docker rm -f 3f09269ade175c522b1c38d55ebb9db318edfb45e55d1b41f3f6bbd29886eb92 [Pipeline] // withDockerContainer [Pipeline] sh 13:17:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:17:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:17:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:17:19 + ls -al . 13:17:19 total 168 13:17:19 drwxrwxr-x 9 jenkins jenkins 4096 May 6 13:17 . 13:17:19 drwxrwxr-x 4 jenkins jenkins 4096 May 6 13:16 .. 13:17:19 -rw-rw-r-- 1 jenkins jenkins 6 May 6 13:16 .dockerignore 13:17:19 drwxrwxr-x 8 jenkins jenkins 4096 May 6 13:16 .git 13:17:19 drwxrwxr-x 3 jenkins jenkins 4096 May 6 13:16 .github 13:17:19 -rw-rw-r-- 1 jenkins jenkins 328 May 6 13:16 .gitignore 13:17:19 -rw-rw-r-- 1 jenkins jenkins 41 May 6 13:16 .golangci.yml 13:17:19 drwxr-xr-x 3 jenkins jenkins 4096 May 6 13:16 .semver 13:17:19 -rw-rw-r-- 1 jenkins jenkins 8296 May 6 13:16 Attribution.txt 13:17:19 -rw-rw-r-- 1 jenkins jenkins 4401 May 6 13:16 CHANGELOG.md 13:17:19 -rw-rw-r-- 1 jenkins jenkins 1516 May 6 13:16 Dockerfile 13:17:19 -rw-rw-r-- 1 jenkins jenkins 677 May 6 13:16 GOVERNANCE.md 13:17:19 -rw-rw-r-- 1 jenkins jenkins 656 May 6 13:16 Jenkinsfile 13:17:19 -rw-rw-r-- 1 jenkins jenkins 11340 May 6 13:16 LICENSE 13:17:19 -rw-rw-r-- 1 jenkins jenkins 1938 May 6 13:16 Makefile 13:17:19 -rw-rw-r-- 1 jenkins jenkins 620 May 6 13:16 OWNERS.md 13:17:19 -rw-rw-r-- 1 jenkins jenkins 9390 May 6 13:16 README.md 13:17:19 -rw-rw-r-- 1 jenkins jenkins 12 May 6 13:16 VERSION 13:17:19 drwxrwxr-x 2 jenkins jenkins 4096 May 6 13:16 bin 13:17:19 drwxrwxr-x 3 jenkins jenkins 4096 May 6 13:16 cmd 13:17:19 -rw-r--r-- 1 jenkins jenkins 7631 May 6 13:17 coverage.out 13:17:19 -rw-rw-r-- 1 jenkins jenkins 3296 May 6 13:16 go.mod 13:17:19 -rw-rw-r-- 1 jenkins jenkins 35911 May 6 13:16 go.sum 13:17:19 drwxrwxr-x 3 jenkins jenkins 4096 May 6 13:16 internal 13:17:19 drwxrwxr-x 3 jenkins jenkins 4096 May 6 13:16 snap 13:17:19 -rw-rw-r-- 1 jenkins jenkins 209 May 6 13:16 version.go [Pipeline] isUnix [Pipeline] sh 13:17:20 + 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=73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 --label arch=amd64 --label version=2.2.0-dev.15 . 13:17:20 Sending build context to Docker daemon 5.316MB 13:17:20 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 13:17:20 Step 2/24 : FROM ${BASE} AS builder 13:17:20 ---> 77305c035261 13:17:20 Step 3/24 : ARG MAKE='make build' 13:17:20 ---> Running in 143571eb9268 13:17:20 Removing intermediate container 143571eb9268 13:17:20 ---> 2462a97d8780 13:17:20 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 13:17:20 ---> Running in c718de4e195b 13:17:20 Removing intermediate container c718de4e195b 13:17:20 ---> 83964cadad21 13:17:20 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 13:17:20 ---> Running in 816b5c2a1f66 13:17:20 Removing intermediate container 816b5c2a1f66 13:17:20 ---> 26091903a0dc 13:17:20 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:17:20 ---> Running in 4aa045a902ab 13:17:21 Removing intermediate container 4aa045a902ab 13:17:21 ---> f9cf14a42828 13:17:21 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:17:21 ---> Running in cd3448a64a68 13:17:21 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 13:17:22 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 13:17:22 OK: 224 MiB in 56 packages 13:17:23 Removing intermediate container cd3448a64a68 13:17:23 ---> 87b672bd9d1b 13:17:23 Step 8/24 : WORKDIR /device-snmp-go 13:17:23 ---> Running in 381d0fcfeda0 13:17:23 Removing intermediate container 381d0fcfeda0 13:17:23 ---> da4fbadced67 13:17:23 Step 9/24 : COPY go.mod vendor* ./ 13:17:23 ---> d09104b02343 13:17:23 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:17:23 ---> Running in 25114fe65b4a 13:17:24 Removing intermediate container 25114fe65b4a 13:17:24 ---> fcebbbeff059 13:17:24 Step 11/24 : COPY . . 13:17:24 ---> 8674df82333f 13:17:24 Step 12/24 : RUN ${MAKE} 13:17:24 ---> Running in aecf91afcca1 13:17:24 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=2.2.0-dev.15" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 13:17:46 Removing intermediate container aecf91afcca1 13:17:46 ---> 21681581b9ee 13:17:46 Step 13/24 : FROM alpine:3.14 13:17:46 3.14: Pulling from library/alpine 13:17:46 8663204ce13b: Pulling fs layer 13:17:46 8663204ce13b: Verifying Checksum 13:17:46 8663204ce13b: Download complete 13:17:46 8663204ce13b: Pull complete 13:17:46 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 13:17:46 Status: Downloaded newer image for alpine:3.14 13:17:46 ---> e04c818066af 13:17:46 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 13:17:46 ---> Running in bd7a55339c58 13:17:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 13:17:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 13:17:46 (1/6) Installing dumb-init (1.2.5-r1) 13:17:46 (2/6) Installing libgcc (10.3.1_git20210424-r2) 13:17:46 (3/6) Installing libsodium (1.0.18-r0) 13:17:46 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 13:17:46 (5/6) Installing libzmq (4.3.4-r0) 13:17:46 (6/6) Installing zeromq (4.3.4-r0) 13:17:46 Executing busybox-1.33.1-r7.trigger 13:17:46 OK: 8 MiB in 20 packages 13:17:46 Removing intermediate container bd7a55339c58 13:17:46 ---> 0ce3abe369f6 13:17:46 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 13:17:46 ---> 5200ed61c977 13:17:46 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 13:17:46 ---> 965e2c1ade9e 13:17:46 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 13:17:47 ---> 10b848fe1a9d 13:17:47 Step 18/24 : EXPOSE 59993 13:17:47 ---> Running in d99f30d8bac8 13:17:47 Removing intermediate container d99f30d8bac8 13:17:47 ---> 5e0ca0215fc3 13:17:47 Step 19/24 : EXPOSE 161 13:17:47 ---> Running in bbbeb428a715 13:17:47 Removing intermediate container bbbeb428a715 13:17:47 ---> 5143e527a44e 13:17:47 Step 20/24 : ENTRYPOINT ["/device-snmp"] 13:17:47 ---> Running in dcb55e9044a8 13:17:47 Removing intermediate container dcb55e9044a8 13:17:47 ---> 10be7b2df632 13:17:47 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 13:17:47 ---> Running in 6bf908a2b9a7 13:17:47 Removing intermediate container 6bf908a2b9a7 13:17:47 ---> 34dbb7e09577 13:17:47 Step 22/24 : LABEL arch=amd64 13:17:47 ---> Running in 4e1bd7a7fafb 13:17:47 Removing intermediate container 4e1bd7a7fafb 13:17:47 ---> 33acbec34a73 13:17:47 Step 23/24 : LABEL git_sha=73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 13:17:47 ---> Running in a849b9598c48 13:17:47 Removing intermediate container a849b9598c48 13:17:47 ---> df8db61870ae 13:17:47 Step 24/24 : LABEL version=2.2.0-dev.15 13:17:47 ---> Running in 49555a99f2b2 13:17:47 Removing intermediate container 49555a99f2b2 13:17:47 ---> ba21038a7c52 13:17:47 [Warning] One or more build-args [ARCH] were not consumed 13:17:47 Successfully built ba21038a7c52 13:17:47 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:17:47 provisioning config files... 13:17:47 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config7453915342096950720tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:17:48 ---> docker-login.sh 13:17:48 nexus3.edgexfoundry.org:10001 13:17:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:17:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:17:48 Configure a credential helper to remove this warning. See 13:17:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:17:48 13:17:48 Login Succeeded 13:17:48 nexus3.edgexfoundry.org:10002 13:17:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:17:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:17:48 Configure a credential helper to remove this warning. See 13:17:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:17:48 13:17:48 Login Succeeded 13:17:48 nexus3.edgexfoundry.org:10003 13:17:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:17:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:17:48 Configure a credential helper to remove this warning. See 13:17:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:17:48 13:17:48 Login Succeeded 13:17:48 nexus3.edgexfoundry.org:10004 13:17:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:17:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:17:48 Configure a credential helper to remove this warning. See 13:17:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:17:48 13:17:48 Login Succeeded 13:17:48 docker.io 13:17:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:17:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:17:48 Configure a credential helper to remove this warning. See 13:17:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:17:48 13:17:48 Login Succeeded 13:17:48 ---> docker-login.sh ends [Pipeline] } 13:17:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 13:17:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:17:49 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 13:17:49 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 13:17:49 latest 13:17:49 2.2.0-dev.15 13:17:49 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8-2.2.0-dev.15 13:17:49 main 13:17:49 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:17:49 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 [Pipeline] isUnix [Pipeline] sh 13:17:49 + docker push nexus3.edgexfoundry.org:10004/device-snmp:73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 13:17:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 13:17:49 18ec2e93d487: Preparing 13:17:49 ac4c1822ce85: Preparing 13:17:49 976a0f3741ee: Preparing 13:17:49 2cf7be30d646: Preparing 13:17:49 b541d28bf3b4: Preparing 13:17:49 b541d28bf3b4: Layer already exists 13:17:49 18ec2e93d487: Pushed 13:17:49 ac4c1822ce85: Pushed 13:17:49 2cf7be30d646: Pushed 13:17:52 976a0f3741ee: Pushed 13:17:52 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8: digest: sha256:91f6ae56bf9011e8f20f116b6d6ef2ea82caa4f29fa1c6f10e9477b99e987574 size: 1367 [Pipeline] isUnix [Pipeline] sh 13:17:52 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] isUnix [Pipeline] sh 13:17:53 + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest 13:17:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 13:17:53 18ec2e93d487: Preparing 13:17:53 ac4c1822ce85: Preparing 13:17:53 976a0f3741ee: Preparing 13:17:53 2cf7be30d646: Preparing 13:17:53 b541d28bf3b4: Preparing 13:17:53 b541d28bf3b4: Layer already exists 13:17:53 2cf7be30d646: Layer already exists 13:17:53 18ec2e93d487: Layer already exists 13:17:53 976a0f3741ee: Layer already exists 13:17:53 ac4c1822ce85: Layer already exists 13:17:53 latest: digest: sha256:91f6ae56bf9011e8f20f116b6d6ef2ea82caa4f29fa1c6f10e9477b99e987574 size: 1367 [Pipeline] isUnix [Pipeline] sh 13:17:53 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.15 [Pipeline] isUnix [Pipeline] sh 13:17:53 + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.15 13:17:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 13:17:53 18ec2e93d487: Preparing 13:17:53 ac4c1822ce85: Preparing 13:17:53 976a0f3741ee: Preparing 13:17:53 2cf7be30d646: Preparing 13:17:53 b541d28bf3b4: Preparing 13:17:53 976a0f3741ee: Layer already exists 13:17:53 2cf7be30d646: Layer already exists 13:17:53 ac4c1822ce85: Layer already exists 13:17:53 18ec2e93d487: Layer already exists 13:17:53 b541d28bf3b4: Layer already exists 13:17:53 2.2.0-dev.15: digest: sha256:91f6ae56bf9011e8f20f116b6d6ef2ea82caa4f29fa1c6f10e9477b99e987574 size: 1367 [Pipeline] isUnix [Pipeline] sh 13:17:53 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:73713b96c9dcd40dfd5451eeaca2e2c15d544ca8-2.2.0-dev.15 [Pipeline] isUnix [Pipeline] sh 13:17:54 + docker push nexus3.edgexfoundry.org:10004/device-snmp:73713b96c9dcd40dfd5451eeaca2e2c15d544ca8-2.2.0-dev.15 13:17:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 13:17:54 18ec2e93d487: Preparing 13:17:54 ac4c1822ce85: Preparing 13:17:54 976a0f3741ee: Preparing 13:17:54 2cf7be30d646: Preparing 13:17:54 b541d28bf3b4: Preparing 13:17:54 18ec2e93d487: Layer already exists 13:17:54 976a0f3741ee: Layer already exists 13:17:54 b541d28bf3b4: Layer already exists 13:17:54 ac4c1822ce85: Layer already exists 13:17:54 2cf7be30d646: Layer already exists 13:17:54 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8-2.2.0-dev.15: digest: sha256:91f6ae56bf9011e8f20f116b6d6ef2ea82caa4f29fa1c6f10e9477b99e987574 size: 1367 [Pipeline] isUnix [Pipeline] sh 13:17:54 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] isUnix [Pipeline] sh 13:17:54 + docker push nexus3.edgexfoundry.org:10004/device-snmp:main 13:17:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 13:17:54 18ec2e93d487: Preparing 13:17:54 ac4c1822ce85: Preparing 13:17:54 976a0f3741ee: Preparing 13:17:54 2cf7be30d646: Preparing 13:17:54 b541d28bf3b4: Preparing 13:17:54 18ec2e93d487: Layer already exists 13:17:54 976a0f3741ee: Layer already exists 13:17:54 ac4c1822ce85: Layer already exists 13:17:54 b541d28bf3b4: Layer already exists 13:17:54 2cf7be30d646: Layer already exists 13:17:54 main: digest: sha256:91f6ae56bf9011e8f20f116b6d6ef2ea82caa4f29fa1c6f10e9477b99e987574 size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 13:17:54 ===================================================== [Pipeline] echo 13:17:54 taggedImages: 13:17:54 - nexus3.edgexfoundry.org:10004/device-snmp:73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 13:17:54 - nexus3.edgexfoundry.org:10004/device-snmp:latest 13:17:54 - nexus3.edgexfoundry.org:10004/device-snmp:2.2.0-dev.15 13:17:54 - nexus3.edgexfoundry.org:10004/device-snmp:73713b96c9dcd40dfd5451eeaca2e2c15d544ca8-2.2.0-dev.15 13:17:54 - 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 13:17:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:17:55 13:17:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 13:17:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:17:55 latest: Pulling from edgex-lftools-log-publisher 13:17:55 5eb5b503b376: Pulling fs layer 13:17:55 5c69ac0246d0: Pulling fs layer 13:17:55 ec43610c2a17: Pulling fs layer 13:17:55 3a2ae6a8a46f: Pulling fs layer 13:17:55 33b1e0a273af: Pulling fs layer 13:17:55 5d3b04190fa2: Pulling fs layer 13:17:55 2f39f015ded8: Pulling fs layer 13:17:55 5d3b04190fa2: Waiting 13:17:55 3a2ae6a8a46f: Waiting 13:17:55 33b1e0a273af: Waiting 13:17:55 2f39f015ded8: Waiting 13:17:55 5c69ac0246d0: Verifying Checksum 13:17:55 5c69ac0246d0: Download complete 13:17:55 3a2ae6a8a46f: Verifying Checksum 13:17:55 3a2ae6a8a46f: Download complete 13:17:55 33b1e0a273af: Verifying Checksum 13:17:55 33b1e0a273af: Download complete 13:17:55 5d3b04190fa2: Verifying Checksum 13:17:55 5d3b04190fa2: Download complete 13:17:55 ec43610c2a17: Verifying Checksum 13:17:55 ec43610c2a17: Download complete 13:17:55 5eb5b503b376: Verifying Checksum 13:17:55 5eb5b503b376: Download complete 13:17:56 2f39f015ded8: Verifying Checksum 13:17:56 2f39f015ded8: Download complete 13:17:57 5eb5b503b376: Pull complete 13:17:57 5c69ac0246d0: Pull complete 13:17:57 ec43610c2a17: Pull complete 13:17:57 3a2ae6a8a46f: Pull complete 13:17:58 33b1e0a273af: Pull complete 13:17:58 5d3b04190fa2: Pull complete 13:18:03 2f39f015ded8: Pull complete 13:18:03 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:18:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:18:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 13:18:03 prd-ubuntu20.04-docker-8c-8g-40581 does not seem to be running inside a container 13:18:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:18:05 $ docker top d3253e92258417338563a84fcf4e1efa07c946a24720a5e905aefd63609f9b31 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:18:05 ---> job-cost.sh 13:18:05 lf-activate-venv: SKIPPING 13:18:05 INFO: No Stack... 13:18:05 INFO: Retrieving Pricing Info for: v3-standard-8 13:18:06 INFO: Archiving Costs [Pipeline] sh 13:18:06 + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv 13:18:06 + cut -d, -f6 [Pipeline] lock 13:18:06 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-25-stack-cost] 13:18:06 Resource [jenkins-edgexfoundry-device-snmp-go-main-25-stack-cost] did not exist. Created. 13:18:06 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-25-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:18:06 + echo total: 0.2199999988079071 [Pipeline] stash 13:18:06 Stashed 1 file(s) [Pipeline] } 13:18:06 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-25-stack-cost] [Pipeline] // lock [Pipeline] } 13:18:07 $ docker stop --time=1 d3253e92258417338563a84fcf4e1efa07c946a24720a5e905aefd63609f9b31 13:18:08 $ docker rm -f d3253e92258417338563a84fcf4e1efa07c946a24720a5e905aefd63609f9b31 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:35:04 Running on prd-ubuntu20.04-docker-arm64-4c-16g-41053 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws 13:35:04 Running in /w/workspace/device-snmp-go/25 [Pipeline] { [Pipeline] checkout 13:35:05 Selected Git installation does not exist. Using Default 13:35:05 The recommended git tool is: NONE 13:35:12 using credential edgex-jenkins-ssh 13:35:12 Cloning the remote Git repository 13:35:12 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 13:35:12 > git init /w/workspace/device-snmp-go/25 # timeout=10 13:35:13 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 13:35:13 > git --version # timeout=10 13:35:13 > git --version # 'git version 2.25.1' 13:35:13 using GIT_SSH to set credentials SSH Credentials for GitHub 13:35:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:35:14 Avoid second fetch 13:35:14 Checking out Revision 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 (main) 13:35:14 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 13:35:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:35:14 > git config core.sparsecheckout # timeout=10 13:35:14 > git checkout -f 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 # timeout=10 13:35:18 Commit message: "docs(snap): Move usage instructions to docs (#167)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:35:19 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:35:19 % Total % Received % Xferd Average Speed Time Time Time Current 13:35:19 Dload Upload Total Spent Left Speed 13:35:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 210k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh 13:35:20 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:35:20 + sudo jq+ . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:35:20 sudo tee /etc/docker/daemon.new 13:35:20 { 13:35:20 "registry-mirrors": [ 13:35:20 "https://nexus3.edgexfoundry.org:10001" 13:35:20 ], 13:35:20 "bip": "10.250.0.254/24", 13:35:20 "hosts": [ 13:35:20 "tcp://0.0.0.0:5555", 13:35:20 "unix:///var/run/docker.sock" 13:35:20 ], 13:35:20 "mtu": 1458, 13:35:20 "selinux-enabled": true, 13:35:20 "seccomp-profile": "/etc/docker/seccomp.json" 13:35:20 } [Pipeline] sh 13:35:20 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:35:21 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:35:39 provisioning config files... 13:35:39 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/25@tmp/config2756331182745547334tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:35:40 ---> docker-login.sh 13:35:40 nexus3.edgexfoundry.org:10001 13:35:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:35:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:35:41 Configure a credential helper to remove this warning. See 13:35:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:35:41 13:35:41 Login Succeeded 13:35:41 nexus3.edgexfoundry.org:10002 13:35:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:35:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:35:41 Configure a credential helper to remove this warning. See 13:35:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:35:41 13:35:41 Login Succeeded 13:35:41 nexus3.edgexfoundry.org:10003 13:35:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:35:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:35:42 Configure a credential helper to remove this warning. See 13:35:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:35:42 13:35:42 Login Succeeded 13:35:42 nexus3.edgexfoundry.org:10004 13:35:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:35:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:35:42 Configure a credential helper to remove this warning. See 13:35:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:35:42 13:35:42 Login Succeeded 13:35:42 docker.io 13:35:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:35:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:35:43 Configure a credential helper to remove this warning. See 13:35:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:35:43 13:35:43 Login Succeeded 13:35:43 ---> docker-login.sh ends [Pipeline] } 13:35:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:35:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:35:44 ========================================================= 13:35:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 13:35:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 13:35:44 + 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 . 13:35:45 Sending build context to Docker daemon 2.741MB 13:35:45 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 13:35:45 Step 2/12 : FROM ${BASE} AS builder 13:35:45 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:35:45 9b3977197b4f: Pulling fs layer 13:35:45 1a89e8eeedd5: Pulling fs layer 13:35:45 94645a83ff95: Pulling fs layer 13:35:45 3f3a8bcf1eab: Pulling fs layer 13:35:45 0c92f367c5e7: Pulling fs layer 13:35:45 3096ccb668a1: Pulling fs layer 13:35:45 e8cf19c19ddd: Pulling fs layer 13:35:45 a4caa8a26152: Pulling fs layer 13:35:45 3f3a8bcf1eab: Waiting 13:35:45 0c92f367c5e7: Waiting 13:35:45 3096ccb668a1: Waiting 13:35:45 a4caa8a26152: Waiting 13:35:45 e8cf19c19ddd: Waiting 13:35:45 94645a83ff95: Verifying Checksum 13:35:45 94645a83ff95: Download complete 13:35:45 1a89e8eeedd5: Verifying Checksum 13:35:45 1a89e8eeedd5: Download complete 13:35:45 0c92f367c5e7: Verifying Checksum 13:35:45 0c92f367c5e7: Download complete 13:35:45 3096ccb668a1: Verifying Checksum 13:35:45 3096ccb668a1: Download complete 13:35:45 9b3977197b4f: Verifying Checksum 13:35:45 9b3977197b4f: Download complete 13:35:45 e8cf19c19ddd: Verifying Checksum 13:35:45 e8cf19c19ddd: Download complete 13:35:46 9b3977197b4f: Pull complete 13:35:47 1a89e8eeedd5: Pull complete 13:35:47 94645a83ff95: Pull complete 13:35:47 a4caa8a26152: Verifying Checksum 13:35:47 a4caa8a26152: Download complete 13:35:48 3f3a8bcf1eab: Verifying Checksum 13:35:48 3f3a8bcf1eab: Download complete 13:36:03 3f3a8bcf1eab: Pull complete 13:36:03 0c92f367c5e7: Pull complete 13:36:03 3096ccb668a1: Pull complete 13:36:03 e8cf19c19ddd: Pull complete 13:36:09 a4caa8a26152: Pull complete 13:36:09 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 13:36:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 13:36:09 ---> 725f1c02e7f9 13:36:09 Step 3/12 : ARG MAKE='make build' 13:36:11 ---> Running in b71a18e9bc20 13:36:11 Removing intermediate container b71a18e9bc20 13:36:11 ---> 1202e81ed95d 13:36:11 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 13:36:11 ---> Running in ba0a15356452 13:36:13 Removing intermediate container ba0a15356452 13:36:13 ---> cad599964a63 13:36:13 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 13:36:13 ---> Running in 7e50875d08e5 13:36:13 Removing intermediate container 7e50875d08e5 13:36:13 ---> cd675c4c38e8 13:36:13 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:36:13 ---> Running in 36cd9f1decfa 13:36:16 Removing intermediate container 36cd9f1decfa 13:36:16 ---> 0840ca08ac7e 13:36:16 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:36:16 ---> Running in 27a6bf80cdd2 13:36:17 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 13:36:18 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 13:36:19 (1/4) Installing openssh-keygen (8.8_p1-r1) 13:36:19 (2/4) Installing libedit (20210910.3.1-r0) 13:36:19 (3/4) Installing openssh-client-common (8.8_p1-r1) 13:36:19 (4/4) Installing openssh-client-default (8.8_p1-r1) 13:36:19 Executing busybox-1.34.1-r3.trigger 13:36:19 OK: 224 MiB in 56 packages 13:36:20 Removing intermediate container 27a6bf80cdd2 13:36:20 ---> 6bbcb9413599 13:36:20 Step 8/12 : WORKDIR /device-snmp-go 13:36:20 ---> Running in fe3d280cc10b 13:36:21 Removing intermediate container fe3d280cc10b 13:36:21 ---> 191134c48537 13:36:21 Step 9/12 : COPY go.mod vendor* ./ 13:36:21 ---> d44e8c08dc8f 13:36:21 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:36:21 ---> Running in 3605fb2e95da 13:37:18 Removing intermediate container 3605fb2e95da 13:37:18 ---> d908f5c56e1c 13:37:18 Step 11/12 : COPY . . 13:37:18 ---> 8a8c016f7f94 13:37:18 Step 12/12 : RUN ${MAKE} 13:37:18 ---> Running in d44232adfa69 13:37:18 noop 13:37:18 Removing intermediate container d44232adfa69 13:37:18 ---> 8a846ad7e4b7 13:37:18 Successfully built 8a846ad7e4b7 13:37:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 13:37:18 + docker inspect -f . ci-base-image-arm64 13:37:18 . [Pipeline] withDockerContainer 13:37:19 prd-ubuntu20.04-docker-arm64-4c-16g-41053 does not seem to be running inside a container 13:37:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/25 -v /w/workspace/device-snmp-go/25:/w/workspace/device-snmp-go/25:rw,z -v /w/workspace/device-snmp-go/25@tmp:/w/workspace/device-snmp-go/25@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 13:37:20 $ docker top 1b83071cbff90f54749ce76e9dca217340871c9c8ec6191dd353575d2ca231fb -eo pid,comm [Pipeline] { [Pipeline] sh 13:37:21 + go version 13:37:21 go version go1.17.6 linux/arm64 [Pipeline] } 13:37:21 $ docker stop --time=1 1b83071cbff90f54749ce76e9dca217340871c9c8ec6191dd353575d2ca231fb 13:37:23 $ docker rm -f 1b83071cbff90f54749ce76e9dca217340871c9c8ec6191dd353575d2ca231fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:37:24 + docker inspect -f . ci-base-image-arm64 13:37:24 . [Pipeline] withDockerContainer 13:37:24 prd-ubuntu20.04-docker-arm64-4c-16g-41053 does not seem to be running inside a container 13:37:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/25 -v /w/workspace/device-snmp-go/25:/w/workspace/device-snmp-go/25:rw,z -v /w/workspace/device-snmp-go/25@tmp:/w/workspace/device-snmp-go/25@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 13:37:26 $ docker top 0a83e70d0a03a9b730e0c4d45ab533df8466b4b80abd53ed12b7e044b0f84d2b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 13:37:27 + make test 13:37:27 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 13:37:29 ? github.com/edgexfoundry/device-snmp-go [no test files] 13:39:06 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 13:39:06 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.050s coverage: 0.0% of statements 13:39:06 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:39:06 CGO_ENABLED=1 GO111MODULE=on go vet ./... 13:39:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:39:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:39:39 ./bin/test-attribution-txt.sh [Pipeline] echo 13:39:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:39:39 $ docker stop --time=1 0a83e70d0a03a9b730e0c4d45ab533df8466b4b80abd53ed12b7e044b0f84d2b 13:39:41 $ docker rm -f 0a83e70d0a03a9b730e0c4d45ab533df8466b4b80abd53ed12b7e044b0f84d2b [Pipeline] // withDockerContainer [Pipeline] sh 13:39:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:39:42 Warning: overwriting stash ‘coverage-report’ 13:39:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:39:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:39:43 + ls -al . 13:39:43 total 164 13:39:43 drwxrwxr-x 8 jenkins jenkins 4096 May 6 13:39 . 13:39:43 drwxrwxr-x 4 jenkins jenkins 4096 May 6 13:35 .. 13:39:43 -rw-rw-r-- 1 jenkins jenkins 6 May 6 13:35 .dockerignore 13:39:43 drwxrwxr-x 8 jenkins jenkins 4096 May 6 13:35 .git 13:39:43 drwxrwxr-x 3 jenkins jenkins 4096 May 6 13:35 .github 13:39:43 -rw-rw-r-- 1 jenkins jenkins 328 May 6 13:35 .gitignore 13:39:43 -rw-rw-r-- 1 jenkins jenkins 41 May 6 13:35 .golangci.yml 13:39:43 -rw-rw-r-- 1 jenkins jenkins 8296 May 6 13:35 Attribution.txt 13:39:43 -rw-rw-r-- 1 jenkins jenkins 4401 May 6 13:35 CHANGELOG.md 13:39:43 -rw-rw-r-- 1 jenkins jenkins 1516 May 6 13:35 Dockerfile 13:39:43 -rw-rw-r-- 1 jenkins jenkins 677 May 6 13:35 GOVERNANCE.md 13:39:43 -rw-rw-r-- 1 jenkins jenkins 656 May 6 13:35 Jenkinsfile 13:39:43 -rw-rw-r-- 1 jenkins jenkins 11340 May 6 13:35 LICENSE 13:39:43 -rw-rw-r-- 1 jenkins jenkins 1938 May 6 13:35 Makefile 13:39:43 -rw-rw-r-- 1 jenkins jenkins 620 May 6 13:35 OWNERS.md 13:39:43 -rw-rw-r-- 1 jenkins jenkins 9390 May 6 13:35 README.md 13:39:43 -rw-rw-r-- 1 jenkins jenkins 12 May 6 13:16 VERSION 13:39:43 drwxrwxr-x 2 jenkins jenkins 4096 May 6 13:35 bin 13:39:43 drwxrwxr-x 3 jenkins jenkins 4096 May 6 13:35 cmd 13:39:43 -rw-r--r-- 1 jenkins jenkins 7631 May 6 13:38 coverage.out 13:39:43 -rw-rw-r-- 1 jenkins jenkins 3296 May 6 13:35 go.mod 13:39:43 -rw-rw-r-- 1 jenkins jenkins 35911 May 6 13:35 go.sum 13:39:43 drwxrwxr-x 3 jenkins jenkins 4096 May 6 13:35 internal 13:39:43 drwxrwxr-x 3 jenkins jenkins 4096 May 6 13:35 snap 13:39:43 -rw-rw-r-- 1 jenkins jenkins 209 May 6 13:35 version.go [Pipeline] isUnix [Pipeline] sh 13:39:43 + 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=73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 --label arch=arm64 --label version=2.2.0-dev.15 . 13:39:44 Sending build context to Docker daemon 2.749MB 13:39:44 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 13:39:44 Step 2/24 : FROM ${BASE} AS builder 13:39:44 ---> 8a846ad7e4b7 13:39:44 Step 3/24 : ARG MAKE='make build' 13:39:44 ---> Running in d7f45710896e 13:39:44 Removing intermediate container d7f45710896e 13:39:44 ---> 7cbd302f358a 13:39:44 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 13:39:45 ---> Running in 6c45fa82e3b8 13:39:45 Removing intermediate container 6c45fa82e3b8 13:39:45 ---> 3d6b7fc229a1 13:39:45 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 13:39:45 ---> Running in dc3176d7123f 13:39:46 Removing intermediate container dc3176d7123f 13:39:46 ---> ca1ed453945e 13:39:46 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:39:46 ---> Running in a8232d1a07d3 13:39:48 Removing intermediate container a8232d1a07d3 13:39:48 ---> 1a0bc13e4a2b 13:39:48 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:39:48 ---> Running in 7bccd88e941f 13:39:49 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 13:39:50 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 13:39:51 OK: 224 MiB in 56 packages 13:39:52 Removing intermediate container 7bccd88e941f 13:39:52 ---> 28777f2c48e0 13:39:52 Step 8/24 : WORKDIR /device-snmp-go 13:39:52 ---> Running in 172b671e6322 13:39:52 Removing intermediate container 172b671e6322 13:39:52 ---> b4de64968873 13:39:52 Step 9/24 : COPY go.mod vendor* ./ 13:39:53 ---> e29c781f2b6d 13:39:53 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:39:53 ---> Running in 5df2f13aa4c5 13:39:55 Removing intermediate container 5df2f13aa4c5 13:39:55 ---> 0ad6bf5ec978 13:39:55 Step 11/24 : COPY . . 13:39:56 ---> fa6b19749d5d 13:39:56 Step 12/24 : RUN ${MAKE} 13:39:56 ---> Running in 05280948a3f9 13:39:57 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-snmp-go.Version=2.2.0-dev.15" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 13:42:19 Removing intermediate container 05280948a3f9 13:42:19 ---> 570b9acde092 13:42:19 Step 13/24 : FROM alpine:3.14 13:42:19 3.14: Pulling from library/alpine 13:42:19 455c02918c45: Pulling fs layer 13:42:19 455c02918c45: Verifying Checksum 13:42:19 455c02918c45: Download complete 13:42:19 455c02918c45: Pull complete 13:42:19 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 13:42:19 Status: Downloaded newer image for alpine:3.14 13:42:19 ---> ac73e934f311 13:42:19 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 13:42:19 ---> Running in 58dda5397304 13:42:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 13:42:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 13:42:19 (1/6) Installing dumb-init (1.2.5-r1) 13:42:19 (2/6) Installing libgcc (10.3.1_git20210424-r2) 13:42:19 (3/6) Installing libsodium (1.0.18-r0) 13:42:19 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 13:42:19 (5/6) Installing libzmq (4.3.4-r0) 13:42:19 (6/6) Installing zeromq (4.3.4-r0) 13:42:19 Executing busybox-1.33.1-r7.trigger 13:42:19 OK: 8 MiB in 20 packages 13:42:19 Removing intermediate container 58dda5397304 13:42:19 ---> 333346f91ea7 13:42:19 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 13:42:19 ---> a8146a4b0c79 13:42:19 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 13:42:19 ---> 8e1fcbccb466 13:42:19 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 13:42:20 ---> 339af5733f40 13:42:20 Step 18/24 : EXPOSE 59993 13:42:20 ---> Running in 741a949a71f8 13:42:20 Removing intermediate container 741a949a71f8 13:42:20 ---> 0dfbd34ec1d7 13:42:20 Step 19/24 : EXPOSE 161 13:42:20 ---> Running in 26b7035212b0 13:42:21 Removing intermediate container 26b7035212b0 13:42:21 ---> 5d2dd6532d0d 13:42:21 Step 20/24 : ENTRYPOINT ["/device-snmp"] 13:42:21 ---> Running in 7040a44055de 13:42:21 Removing intermediate container 7040a44055de 13:42:21 ---> 59824498fea2 13:42:21 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 13:42:21 ---> Running in 35cb30f3ba93 13:42:22 Removing intermediate container 35cb30f3ba93 13:42:22 ---> 747168023453 13:42:22 Step 22/24 : LABEL arch=arm64 13:42:22 ---> Running in ecd7ce32518b 13:42:22 Removing intermediate container ecd7ce32518b 13:42:22 ---> 9fec5e4e5235 13:42:22 Step 23/24 : LABEL git_sha=73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 13:42:22 ---> Running in e513efd4a4bc 13:42:22 Removing intermediate container e513efd4a4bc 13:42:22 ---> b8e697b20706 13:42:22 Step 24/24 : LABEL version=2.2.0-dev.15 13:42:22 ---> Running in 1a93addf3211 13:42:23 Removing intermediate container 1a93addf3211 13:42:23 ---> 7f9717e5858c 13:42:23 [Warning] One or more build-args [ARCH] were not consumed 13:42:23 Successfully built 7f9717e5858c 13:42:23 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 13:42:23 provisioning config files... 13:42:23 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/25@tmp/config3599475804777222411tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:42:23 ---> docker-login.sh 13:42:23 nexus3.edgexfoundry.org:10001 13:42:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:42:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:42:24 Configure a credential helper to remove this warning. See 13:42:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:42:24 13:42:24 Login Succeeded 13:42:24 nexus3.edgexfoundry.org:10002 13:42:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:42:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:42:24 Configure a credential helper to remove this warning. See 13:42:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:42:24 13:42:24 Login Succeeded 13:42:24 nexus3.edgexfoundry.org:10003 13:42:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:42:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:42:25 Configure a credential helper to remove this warning. See 13:42:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:42:25 13:42:25 Login Succeeded 13:42:25 nexus3.edgexfoundry.org:10004 13:42:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:42:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:42:25 Configure a credential helper to remove this warning. See 13:42:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:42:25 13:42:25 Login Succeeded 13:42:25 docker.io 13:42:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:42:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:42:26 Configure a credential helper to remove this warning. See 13:42:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:42:26 13:42:26 Login Succeeded 13:42:26 ---> docker-login.sh ends [Pipeline] } 13:42:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 13:42:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:42:26 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 13:42:26 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 13:42:26 latest 13:42:26 2.2.0-dev.15 13:42:26 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8-2.2.0-dev.15 13:42:26 main 13:42:26 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:42:27 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 [Pipeline] isUnix [Pipeline] sh 13:42:27 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 13:42:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 13:42:27 ccaf1cfd803d: Preparing 13:42:27 a753c3593ae4: Preparing 13:42:27 7d00c2f7958b: Preparing 13:42:27 5d9bc1b22154: Preparing 13:42:27 f73e7dbfee58: Preparing 13:42:27 f73e7dbfee58: Layer already exists 13:42:27 a753c3593ae4: Pushed 13:42:27 ccaf1cfd803d: Pushed 13:42:28 5d9bc1b22154: Pushed 13:42:33 7d00c2f7958b: Pushed 13:42:34 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8: digest: sha256:44ed6896483f4e050db270e7194793cf9d742aa1e0f54f1fcc26211a1a642886 size: 1366 [Pipeline] isUnix [Pipeline] sh 13:42:34 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] isUnix [Pipeline] sh 13:42:34 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 13:42:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 13:42:34 ccaf1cfd803d: Preparing 13:42:34 a753c3593ae4: Preparing 13:42:34 7d00c2f7958b: Preparing 13:42:34 5d9bc1b22154: Preparing 13:42:34 f73e7dbfee58: Preparing 13:42:34 f73e7dbfee58: Layer already exists 13:42:34 7d00c2f7958b: Layer already exists 13:42:34 a753c3593ae4: Layer already exists 13:42:34 5d9bc1b22154: Layer already exists 13:42:34 ccaf1cfd803d: Layer already exists 13:42:35 latest: digest: sha256:44ed6896483f4e050db270e7194793cf9d742aa1e0f54f1fcc26211a1a642886 size: 1366 [Pipeline] isUnix [Pipeline] sh 13:42:35 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.15 [Pipeline] isUnix [Pipeline] sh 13:42:35 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.15 13:42:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 13:42:35 ccaf1cfd803d: Preparing 13:42:35 a753c3593ae4: Preparing 13:42:35 7d00c2f7958b: Preparing 13:42:35 5d9bc1b22154: Preparing 13:42:35 f73e7dbfee58: Preparing 13:42:35 ccaf1cfd803d: Layer already exists 13:42:35 a753c3593ae4: Layer already exists 13:42:35 7d00c2f7958b: Layer already exists 13:42:35 f73e7dbfee58: Layer already exists 13:42:35 5d9bc1b22154: Layer already exists 13:42:36 2.2.0-dev.15: digest: sha256:44ed6896483f4e050db270e7194793cf9d742aa1e0f54f1fcc26211a1a642886 size: 1366 [Pipeline] isUnix [Pipeline] sh 13:42:36 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:73713b96c9dcd40dfd5451eeaca2e2c15d544ca8-2.2.0-dev.15 [Pipeline] isUnix [Pipeline] sh 13:42:36 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:73713b96c9dcd40dfd5451eeaca2e2c15d544ca8-2.2.0-dev.15 13:42:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 13:42:36 ccaf1cfd803d: Preparing 13:42:36 a753c3593ae4: Preparing 13:42:36 7d00c2f7958b: Preparing 13:42:36 5d9bc1b22154: Preparing 13:42:36 f73e7dbfee58: Preparing 13:42:36 7d00c2f7958b: Layer already exists 13:42:36 5d9bc1b22154: Layer already exists 13:42:36 f73e7dbfee58: Layer already exists 13:42:36 ccaf1cfd803d: Layer already exists 13:42:36 a753c3593ae4: Layer already exists 13:42:37 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8-2.2.0-dev.15: digest: sha256:44ed6896483f4e050db270e7194793cf9d742aa1e0f54f1fcc26211a1a642886 size: 1366 [Pipeline] isUnix [Pipeline] sh 13:42:37 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] isUnix [Pipeline] sh 13:42:37 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main 13:42:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 13:42:37 ccaf1cfd803d: Preparing 13:42:37 a753c3593ae4: Preparing 13:42:37 7d00c2f7958b: Preparing 13:42:37 5d9bc1b22154: Preparing 13:42:37 f73e7dbfee58: Preparing 13:42:37 5d9bc1b22154: Layer already exists 13:42:37 7d00c2f7958b: Layer already exists 13:42:37 ccaf1cfd803d: Layer already exists 13:42:37 a753c3593ae4: Layer already exists 13:42:37 f73e7dbfee58: Layer already exists 13:42:37 main: digest: sha256:44ed6896483f4e050db270e7194793cf9d742aa1e0f54f1fcc26211a1a642886 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 13:42:38 ===================================================== [Pipeline] echo 13:42:38 taggedImages: 13:42:38 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 13:42:38 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 13:42:38 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0-dev.15 13:42:38 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:73713b96c9dcd40dfd5451eeaca2e2c15d544ca8-2.2.0-dev.15 13:42:38 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:42:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:42:38 13:42:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 13:42:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:42:39 arm64: Pulling from edgex-lftools-log-publisher 13:42:39 8998bd30e6a1: Pulling fs layer 13:42:39 04944245beec: Pulling fs layer 13:42:39 699f458cf7ca: Pulling fs layer 13:42:39 765212b225bb: Pulling fs layer 13:42:39 f23df028b6ca: Pulling fs layer 13:42:39 d65c8cfc05b1: Pulling fs layer 13:42:39 2437ff75d9bd: Pulling fs layer 13:42:39 f23df028b6ca: Waiting 13:42:39 765212b225bb: Waiting 13:42:39 2437ff75d9bd: Waiting 13:42:39 d65c8cfc05b1: Waiting 13:42:39 04944245beec: Verifying Checksum 13:42:39 04944245beec: Download complete 13:42:39 765212b225bb: Verifying Checksum 13:42:39 765212b225bb: Download complete 13:42:39 f23df028b6ca: Verifying Checksum 13:42:39 f23df028b6ca: Download complete 13:42:39 d65c8cfc05b1: Verifying Checksum 13:42:39 d65c8cfc05b1: Download complete 13:42:39 699f458cf7ca: Verifying Checksum 13:42:39 699f458cf7ca: Download complete 13:42:39 8998bd30e6a1: Verifying Checksum 13:42:39 8998bd30e6a1: Download complete 13:42:42 2437ff75d9bd: Verifying Checksum 13:42:42 2437ff75d9bd: Download complete 13:42:43 8998bd30e6a1: Pull complete 13:42:44 04944245beec: Pull complete 13:42:45 699f458cf7ca: Pull complete 13:42:45 765212b225bb: Pull complete 13:42:46 f23df028b6ca: Pull complete 13:42:46 d65c8cfc05b1: Pull complete 13:43:01 2437ff75d9bd: Pull complete 13:43:01 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:43:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:43:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 13:43:02 prd-ubuntu20.04-docker-arm64-4c-16g-41053 does not seem to be running inside a container 13:43:02 $ 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/25 -v /w/workspace/device-snmp-go/25:/w/workspace/device-snmp-go/25:rw,z -v /w/workspace/device-snmp-go/25@tmp:/w/workspace/device-snmp-go/25@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 13:43:05 $ docker top 3415bcaa2197a6666b6dd2273edb810421ab6f0aae53cf247b4f5f8ab8bf815a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:43:06 ---> job-cost.sh 13:43:06 lf-activate-venv: SKIPPING 13:43:06 INFO: No Stack... 13:43:06 INFO: Retrieving Pricing Info for: v3-standard-4 13:43:07 INFO: Archiving Costs [Pipeline] sh 13:43:08 + cat /w/workspace/device-snmp-go/25/archives/cost.csv 13:43:08 + cut -d, -f6 [Pipeline] lock 13:43:08 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-25-stack-cost] 13:43:08 Resource [jenkins-edgexfoundry-device-snmp-go-main-25-stack-cost] did not exist. Created. 13:43:08 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-25-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:43:08 /w/workspace/device-snmp-go/25@tmp/durable-49b431d5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:43:09 + echo total: 0.10999999940395355 [Pipeline] stash 13:43:09 Warning: overwriting stash ‘stack-cost’ 13:43:09 Stashed 1 file(s) [Pipeline] } 13:43:09 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-25-stack-cost] [Pipeline] // lock [Pipeline] } 13:43:09 $ docker stop --time=1 3415bcaa2197a6666b6dd2273edb810421ab6f0aae53cf247b4f5f8ab8bf815a 13:43:11 $ docker rm -f 3415bcaa2197a6666b6dd2273edb810421ab6f0aae53cf247b4f5f8ab8bf815a [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 13:43:11 provisioning config files... 13:43:11 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5789793514943597521tmp [Pipeline] { [Pipeline] sh 13:43:12 + set +x 13:43:12 + curl -s https://codecov.io/bash 13:43:12 + bash -s -- 13:43:12 13:43:12 _____ _ 13:43:12 / ____| | | 13:43:12 | | ___ __| | ___ ___ _____ __ 13:43:12 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:43:12 | |___| (_) | (_| | __/ (_| (_) \ V / 13:43:12 \_____\___/ \__,_|\___|\___\___/ \_/ 13:43:12 Bash-1.0.6 13:43:12 13:43:12 13:43:12 ==> git version 2.25.1 found 13:43:12 ==> 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 13:43:12 Release-Date: 2020-01-08 13:43:12 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:43:12 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:43:12 ==> Jenkins CI detected. 13:43:12 current dir:  /w/workspace/edgexfoundry_device-snmp-go_main 13:43:12 project root: . 13:43:12 --> token set from env 13:43:12 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:43:12 ==> Running gcov in . (disable via -X gcov) 13:43:12 ==> Python coveragepy not found 13:43:12 ==> Searching for coverage reports in: 13:43:12 + . 13:43:12 -> Found 1 reports 13:43:12 ==> Detecting git/mercurial file structure 13:43:12 ==> Reading reports 13:43:12 + ./coverage.out bytes=7631 13:43:12 ==> Appending adjustments 13:43:12 https://docs.codecov.io/docs/fixing-reports 13:43:12 + Found adjustments 13:43:12 ==> Gzipping contents 13:43:12 4.0K /tmp/codecov.D1Wa1L.gz 13:43:12 ==> Uploading reports 13:43:12 url: https://codecov.io 13:43:12 query: branch=main&commit=73713b96c9dcd40dfd5451eeaca2e2c15d544ca8&build=25&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F25%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 13:43:12 -> Pinging Codecov 13:43:12 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=73713b96c9dcd40dfd5451eeaca2e2c15d544ca8&build=25&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F25%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 13:43:12 -> Uploading to 13:43:12 https://storage.googleapis.com/codecov/v4/raw/2022-05-06/6C56EA5C29638FB4528AC87E60AF5AE0/73713b96c9dcd40dfd5451eeaca2e2c15d544ca8/4def2d1a-c5f1-464d-9969-cd8cff4ef159.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220506%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220506T134312Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=557e820a0d18e41eca864b7ce96195cd54bdbdd1aed9c59988e2419e69ddc4ec 13:43:12 % Total % Received % Xferd Average Speed Time Time Time Current 13:43:12 Dload Upload Total Spent Left Speed 13:43:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1602 0 0 100 1602 0 7026 --:--:-- --:--:-- --:--:-- 7026 13:43:12 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 [Pipeline] } 13:43:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 13:43:12 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 13:43:12 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:43:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 13:43:13 13:43:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 13:43:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 13:43:13 1.410.4: Pulling from edgex-devops/edgex-snyk-go 13:43:13 188c0c94c7c5: Pulling fs layer 13:43:13 0ef7d3d256c8: Pulling fs layer 13:43:13 de9db76c5a1d: Pulling fs layer 13:43:13 0eba1c9be4d2: Pulling fs layer 13:43:13 0d57e429df01: Pulling fs layer 13:43:13 4e4be7b47b0d: Pulling fs layer 13:43:13 e1f770b5df2f: Pulling fs layer 13:43:13 85a0685a4137: Pulling fs layer 13:43:13 0eba1c9be4d2: Waiting 13:43:13 0d57e429df01: Waiting 13:43:13 85a0685a4137: Waiting 13:43:13 e1f770b5df2f: Waiting 13:43:13 de9db76c5a1d: Verifying Checksum 13:43:13 de9db76c5a1d: Download complete 13:43:13 0ef7d3d256c8: Download complete 13:43:13 0d57e429df01: Download complete 13:43:13 4e4be7b47b0d: Verifying Checksum 13:43:13 4e4be7b47b0d: Download complete 13:43:13 188c0c94c7c5: Verifying Checksum 13:43:13 188c0c94c7c5: Download complete 13:43:13 188c0c94c7c5: Pull complete 13:43:13 e1f770b5df2f: Verifying Checksum 13:43:13 e1f770b5df2f: Download complete 13:43:13 0ef7d3d256c8: Pull complete 13:43:14 de9db76c5a1d: Pull complete 13:43:14 0eba1c9be4d2: Verifying Checksum 13:43:14 0eba1c9be4d2: Download complete 13:43:14 85a0685a4137: Verifying Checksum 13:43:14 85a0685a4137: Download complete 13:43:17 0eba1c9be4d2: Pull complete 13:43:17 0d57e429df01: Pull complete 13:43:17 4e4be7b47b0d: Pull complete 13:43:18 e1f770b5df2f: Pull complete 13:43:21 85a0685a4137: Pull complete 13:43:21 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 13:43:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 13:43:21 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 13:43:21 prd-ubuntu20.04-docker-8c-8g-40581 does not seem to be running inside a container 13:43:21 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 13:43:24 $ docker top 1bee601a918199ff271e899af0f1e666a3cfca70eb496df101ca953cb0bdbc6c -eo pid,comm [Pipeline] { [Pipeline] echo 13:43:24 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 13:43:24 + set -o pipefail 13:43:24 + snyk monitor '--org=edgex-jenkins' 13:43:29 13:43:29 Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... 13:43:29 13:43:29 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/c76919d0-7345-4304-8954-aa03851194a6/history/32bf2d74-f01f-436c-a027-736ed49fb8ec 13:43:29 13:43:29 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 13:43:29 13:43:29 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 13:43:29 13:43:29 [Pipeline] } 13:43:29 $ docker stop --time=1 1bee601a918199ff271e899af0f1e666a3cfca70eb496df101ca953cb0bdbc6c 13:43:32 $ docker rm -f 1bee601a918199ff271e899af0f1e666a3cfca70eb496df101ca953cb0bdbc6c [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 13:43:32 + git log --format=format:%s -1 73713b96c9dcd40dfd5451eeaca2e2c15d544ca8 [Pipeline] sh 13:43:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:43:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 13:43:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 13:43:33 . [Pipeline] withDockerContainer 13:43:33 prd-ubuntu20.04-docker-8c-8g-40581 does not seem to be running inside a container 13:43:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 13:43:34 $ docker top d7203b4d89a380d00f8eec055762f363b9715b800db3ac89dd9701ce1ad2d404 -eo pid,comm 13:43:34 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 13:43:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:43:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:43:34 [ssh-agent] Looking for ssh-agent implementation... 13:43:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:43:34 $ docker exec d7203b4d89a380d00f8eec055762f363b9715b800db3ac89dd9701ce1ad2d404 ssh-agent 13:43:34 SSH_AUTH_SOCK=/tmp/ssh-Odpqb8LYz22h/agent.33 13:43:34 SSH_AGENT_PID=39 13:43:34 Running ssh-add (command line suppressed) 13:43:34 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5119289315748910320.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5119289315748910320.key) 13:43:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:43:34 + git semver tag 13:43:35 2022-05-06 13:43:35,055 [run_tag] DEBUG tag force:False 13:43:35 2022-05-06 13:43:35,056 [check_head_tag] DEBUG check head tag 13:43:35 2022-05-06 13:43:35,056 [execute] INFO git cat-file --batch-check 13:43:35 2022-05-06 13:43:35,057 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 13:43:35 2022-05-06 13:43:35,060 [execute] INFO git cat-file --batch 13:43:35 2022-05-06 13:43:35,060 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=) 13:43:35 2022-05-06 13:43:35,071 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 13:43:35 2022-05-06 13:43:35,071 [execute] INFO git tag -a v2.2.0-dev.15 -m v2.2.0-dev.15 13:43:35 2022-05-06 13:43:35,071 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.15', '-m', 'v2.2.0-dev.15'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main, universal_newlines=False, shell=None, istream=None) 13:43:35 2022-05-06 13:43:35,076 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 13:43:35 2.2.0-dev.15 [Pipeline] } 13:43:35 $ docker exec --env ******** --env ******** d7203b4d89a380d00f8eec055762f363b9715b800db3ac89dd9701ce1ad2d404 ssh-agent -k 13:43:35 unset SSH_AUTH_SOCK; 13:43:35 unset SSH_AGENT_PID; 13:43:35 echo Agent pid 39 killed; 13:43:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:43:35 + git semver [Pipeline] } 13:43:35 $ docker stop --time=1 d7203b4d89a380d00f8eec055762f363b9715b800db3ac89dd9701ce1ad2d404 13:43:37 $ docker rm -f d7203b4d89a380d00f8eec055762f363b9715b800db3ac89dd9701ce1ad2d404 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 13:43:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 13:43:37 13:43:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 13:43:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 13:43:37 0.23.1-centos7: Pulling from edgex-lftools 13:43:37 ab5ef0e58194: Pulling fs layer 13:43:37 9712f1f96733: Pulling fs layer 13:43:37 63f879dbbcfc: Pulling fs layer 13:43:37 0d9ebad4ef96: Pulling fs layer 13:43:37 e9a5061849ea: Pulling fs layer 13:43:37 d747dcd14b5f: Pulling fs layer 13:43:37 2de7ff778b66: Pulling fs layer 13:43:37 0d9ebad4ef96: Waiting 13:43:37 e9a5061849ea: Waiting 13:43:37 2de7ff778b66: Waiting 13:43:37 9712f1f96733: Verifying Checksum 13:43:37 9712f1f96733: Download complete 13:43:38 63f879dbbcfc: Verifying Checksum 13:43:38 63f879dbbcfc: Download complete 13:43:38 e9a5061849ea: Verifying Checksum 13:43:38 e9a5061849ea: Download complete 13:43:38 0d9ebad4ef96: Verifying Checksum 13:43:38 0d9ebad4ef96: Download complete 13:43:38 d747dcd14b5f: Download complete 13:43:38 ab5ef0e58194: Verifying Checksum 13:43:38 ab5ef0e58194: Download complete 13:43:38 2de7ff778b66: Verifying Checksum 13:43:38 2de7ff778b66: Download complete 13:43:41 ab5ef0e58194: Pull complete 13:43:41 9712f1f96733: Pull complete 13:43:41 63f879dbbcfc: Pull complete 13:43:46 0d9ebad4ef96: Pull complete 13:43:46 e9a5061849ea: Pull complete 13:43:46 d747dcd14b5f: Pull complete 13:43:46 2de7ff778b66: Pull complete 13:43:46 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 13:43:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 13:43:46 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 13:43:46 prd-ubuntu20.04-docker-8c-8g-40581 does not seem to be running inside a container 13:43:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 13:43:49 $ docker top 6d01588f37c3d0e7cc026c8c340b9a95ad6f910b015fe2e1390d0c470d075326 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 13:43:49 provisioning config files... 13:43:49 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4710649627463169226tmp 13:43:49 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4102029900436178391tmp 13:43:49 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1290920626601530774tmp [Pipeline] { [Pipeline] echo 13:43:49 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 13:43:50 ---> sigul-configuration.sh 13:43:50 gpg: directory `/root/.gnupg' created 13:43:50 gpg: new configuration file `/root/.gnupg/gpg.conf' created 13:43:50 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 13:43:50 gpg: keyring `/root/.gnupg/secring.gpg' created 13:43:50 gpg: keyring `/root/.gnupg/pubring.gpg' created 13:43:50 gpg: CAST5 encrypted data 13:43:50 gpg: encrypted with 1 passphrase 13:43:50 gpg: WARNING: message was not integrity protected [Pipeline] sh 13:43:50 + mkdir /home/jenkins 13:43:50 + mkdir /home/jenkins/sigul [Pipeline] sh 13:43:50 + 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 13:43:50 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 13:43:51 ---> sigul-install.sh 13:43:51 Sigul already installed; skipping installation. [Pipeline] sh 13:43:51 + git tag --list 13:43:51 1.0.0 13:43:51 v0.0.0 13:43:51 v1.1.0 13:43:51 v1.1.1 13:43:51 v1.2.2 13:43:51 v1.3.0 13:43:51 v1.3.1 13:43:51 v2.0.0 13:43:51 v2.0.1-dev.1 13:43:51 v2.0.1-dev.2 13:43:51 v2.0.1-dev.3 13:43:51 v2.0.1-dev.4 13:43:51 v2.0.1-dev.5 13:43:51 v2.0.1-dev.6 13:43:51 v2.1.0 13:43:51 v2.2.0-dev.1 13:43:51 v2.2.0-dev.10 13:43:51 v2.2.0-dev.11 13:43:51 v2.2.0-dev.12 13:43:51 v2.2.0-dev.13 13:43:51 v2.2.0-dev.14 13:43:51 v2.2.0-dev.15 13:43:51 v2.2.0-dev.2 13:43:51 v2.2.0-dev.3 13:43:51 v2.2.0-dev.4 13:43:51 v2.2.0-dev.5 13:43:51 v2.2.0-dev.6 13:43:51 v2.2.0-dev.7 13:43:51 v2.2.0-dev.8 13:43:51 v2.2.0-dev.9 [Pipeline] sh 13:43:51 + lftools sign git-tag v2.2.0-dev.15 13:43:52 Signing Git tag with Sigul... 13:43:52 Signing v2.2.0-dev.15 [Pipeline] echo 13:43:52 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 13:43:52 ---> sigul-configuration-cleanup.sh [Pipeline] } 13:43:52 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 13:43:52 $ docker stop --time=1 6d01588f37c3d0e7cc026c8c340b9a95ad6f910b015fe2e1390d0c470d075326 13:43:54 $ docker rm -f 6d01588f37c3d0e7cc026c8c340b9a95ad6f910b015fe2e1390d0c470d075326 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 13:43:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:43:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 13:43:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 13:43:54 . [Pipeline] withDockerContainer 13:43:55 prd-ubuntu20.04-docker-8c-8g-40581 does not seem to be running inside a container 13:43:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 13:43:55 $ docker top 87ee6cf2304be5d290154bf6f218550f1b01c06a80f59a37b6d4f1e85881c8e3 -eo pid,comm 13:43:55 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 13:43:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:43:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:43:55 [ssh-agent] Looking for ssh-agent implementation... 13:43:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:43:55 $ docker exec 87ee6cf2304be5d290154bf6f218550f1b01c06a80f59a37b6d4f1e85881c8e3 ssh-agent 13:43:55 SSH_AUTH_SOCK=/tmp/ssh-Lc4upVzpT7sy/agent.32 13:43:55 SSH_AGENT_PID=39 13:43:55 Running ssh-add (command line suppressed) 13:43:55 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5631396203587591647.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5631396203587591647.key) 13:43:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:43:56 + git semver bump pre 13:43:56 2022-05-06 13:43:56,471 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 13:43:56 2022-05-06 13:43:56,471 [bump_version] DEBUG bumping version:2.2.0-dev.15 on axis:pre with prefix:dev 13:43:56 2022-05-06 13:43:56,471 [bump_version] DEBUG bumped version:2.2.0-dev.16 13:43:56 2022-05-06 13:43:56,471 [write_version] DEBUG write version:2.2.0-dev.16 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:True 13:43:56 2022-05-06 13:43:56,471 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 13:43:56 2022-05-06 13:43:56,471 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 13:43:56 2022-05-06 13:43:56,473 [execute] INFO git cat-file --batch-check 13:43:56 2022-05-06 13:43:56,473 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 13:43:56 2022-05-06 13:43:56,479 [execute] INFO git cat-file --batch 13:43:56 2022-05-06 13:43:56,479 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=) 13:43:56 2022-05-06 13:43:56,484 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 13:43:56 2.2.0-dev.16 [Pipeline] } 13:43:56 $ docker exec --env ******** --env ******** 87ee6cf2304be5d290154bf6f218550f1b01c06a80f59a37b6d4f1e85881c8e3 ssh-agent -k 13:43:56 unset SSH_AUTH_SOCK; 13:43:56 unset SSH_AGENT_PID; 13:43:56 echo Agent pid 39 killed; 13:43:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:43:56 + git semver [Pipeline] } 13:43:57 $ docker stop --time=1 87ee6cf2304be5d290154bf6f218550f1b01c06a80f59a37b6d4f1e85881c8e3 13:43:58 $ docker rm -f 87ee6cf2304be5d290154bf6f218550f1b01c06a80f59a37b6d4f1e85881c8e3 [Pipeline] // withDockerContainer [Pipeline] sh 13:43:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:43:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 13:43:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 13:43:59 . [Pipeline] withDockerContainer 13:43:59 prd-ubuntu20.04-docker-8c-8g-40581 does not seem to be running inside a container 13:43:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 13:43:59 $ docker top c1a8a3866068b75f574c09494ba2214a8eda5d88adfdfa98fb7a45574c9b8dd8 -eo pid,comm 13:43:59 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 13:43:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:43:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:43:59 [ssh-agent] Looking for ssh-agent implementation... 13:44:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:44:00 $ docker exec c1a8a3866068b75f574c09494ba2214a8eda5d88adfdfa98fb7a45574c9b8dd8 ssh-agent 13:44:00 SSH_AUTH_SOCK=/tmp/ssh-gHtmCogXrHL5/agent.34 13:44:00 SSH_AGENT_PID=40 13:44:00 Running ssh-add (command line suppressed) 13:44:00 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5801822886103406828.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_5801822886103406828.key) 13:44:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:44:00 + git semver push 13:44:00 2022-05-06 13:44:00,764 [run_push] DEBUG push 13:44:00 2022-05-06 13:44:00,765 [execute] INFO git push origin semver 13:44:00 2022-05-06 13:44:00,765 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-snmp-go_main/.semver, universal_newlines=False, shell=None, istream=None) 13:44:01 2022-05-06 13:44:01,564 [run_push] DEBUG push all version tags 13:44:01 2022-05-06 13:44:01,565 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 13:44:01 2022-05-06 13:44:01,565 [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) 13:44:02 2022-05-06 13:44:02,321 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 13:44:02 2.2.0-dev.16 [Pipeline] } 13:44:02 $ docker exec --env ******** --env ******** c1a8a3866068b75f574c09494ba2214a8eda5d88adfdfa98fb7a45574c9b8dd8 ssh-agent -k 13:44:02 unset SSH_AUTH_SOCK; 13:44:02 unset SSH_AGENT_PID; 13:44:02 echo Agent pid 40 killed; 13:44:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:44:03 + git semver [Pipeline] } 13:44:03 $ docker stop --time=1 c1a8a3866068b75f574c09494ba2214a8eda5d88adfdfa98fb7a45574c9b8dd8 13:44:04 $ docker rm -f c1a8a3866068b75f574c09494ba2214a8eda5d88adfdfa98fb7a45574c9b8dd8 [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 13:44:05 + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] 13:44:05 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 13:44:05 total 16 13:44:05 drwxr-xr-x 3 root root 4096 May 6 13:18 . 13:44:05 drwxrwxr-x 10 jenkins jenkins 4096 May 6 13:43 .. 13:44:05 drwxr-xr-x 2 root root 4096 May 6 13:18 cost 13:44:05 -rw-r--r-- 1 root root 84 May 6 13:18 cost.csv 13:44:05 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives 13:44:05 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 13:44:05 total 16 13:44:05 drwxr-xr-x 3 jenkins jenkins 4096 May 6 13:18 . 13:44:05 drwxrwxr-x 10 jenkins jenkins 4096 May 6 13:43 .. 13:44:05 drwxr-xr-x 2 jenkins jenkins 4096 May 6 13:18 cost 13:44:05 -rw-r--r-- 1 jenkins jenkins 84 May 6 13:18 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:44:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:44:06 ---> package-listing.sh 13:44:06 ++ facter osfamily 13:44:06 ++ tr '[:upper:]' '[:lower:]' 13:44:06 + OS_FAMILY=debian 13:44:06 + workspace=/w/workspace/edgexfoundry_device-snmp-go_main 13:44:06 + START_PACKAGES=/tmp/packages_start.txt 13:44:06 + END_PACKAGES=/tmp/packages_end.txt 13:44:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:44:06 + PACKAGES=/tmp/packages_start.txt 13:44:06 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 13:44:06 + PACKAGES=/tmp/packages_end.txt 13:44:06 + case "${OS_FAMILY}" in 13:44:06 + dpkg -l 13:44:06 + grep '^ii' 13:44:06 + '[' -f /tmp/packages_start.txt ']' 13:44:06 + '[' -f /tmp/packages_end.txt ']' 13:44:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:44:06 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 13:44:06 + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ 13:44:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo 13:44:06 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 13:44:07 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 13:44:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:44:07 . [Pipeline] withDockerContainer 13:44:07 prd-ubuntu20.04-docker-8c-8g-40581 does not seem to be running inside a container 13:44:07 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-snmp-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:44:07 $ docker top cd64d31bfb43b2d81ff84e37f79ff502da7266936cc550867583e277efa40f5e -eo pid,comm [Pipeline] { [Pipeline] sh 13:44:08 + touch /tmp/pre-build-complete [Pipeline] sh 13:44:08 + mkdir -p /var/log/sysstat [Pipeline] sh 13:44:08 + ls /var/log/sa-host 13:44:08 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:44:09 provisioning config files... 13:44:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5321986841543053918tmp [Pipeline] { [Pipeline] echo 13:44:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:44:09 ---> create-netrc.sh [Pipeline] } 13:44:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:44:09 ---> python-tools-install.sh [Pipeline] echo 13:44:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:44:09 ---> sudo-logs.sh 13:44:09 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:44:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:44:10 ---> job-cost.sh 13:44:10 lf-activate-venv: SKIPPING 13:44:10 DEBUG: total: 0.2199999988079071 13:44:10 INFO: Retrieving Stack Cost... 13:44:10 INFO: Retrieving Pricing Info for: v3-standard-8 13:44:11 INFO: Archiving Costs [Pipeline] echo 13:44:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:44:11 ---> logs-deploy.sh 13:44:11 lf-activate-venv: SKIPPING 13:44:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/25 13:44:11 INFO: archiving workspace using pattern(s): 13:44:12 Archives upload complete. 13:44:12 INFO: archiving logs to Nexus