Started by upstream project "edgexfoundry/cd-management/release" build number 108 originally caused by: Push event to branch release Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9505b3b9fb87609b3cd85be587e030c33719d431 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-ssh10251461208664709337.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh14787861899019871568.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh17954544436221805618.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7840644980654613125.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-ssh18327276782340253815.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-64509 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 9505b3b9fb87609b3cd85be587e030c33719d431 (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 9505b3b9fb87609b3cd85be587e030c33719d431 # timeout=10 Commit message: "fix: Correctly set the versions for the service and sdk when building the binary (#173)" > git rev-list --no-walk 9505b3b9fb87609b3cd85be587e030c33719d431 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:24:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:24:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:24:25 ========================================================= 18:24:25 EdgeX Global Pipelines Version Info 18:24:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:24:26 ------------------- 18:24:26 stable info: 18:24:26 ------------------- 18:24:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:24:26 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 18:24:26 Message: update stable to v1.0.230 18:24:26 ------------------- 18:24:26 experimental info: 18:24:26 ------------------- 18:24:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:24:26 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 18:24:26 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:24:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 18:24:26 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 18:24:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:24:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:24:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:24:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 18:24:26 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:24:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:24:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:24:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:24:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:24:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 18:24:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:24:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:24:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:24:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:24:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:24:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:24:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:24:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:24:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:24:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:24:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:24:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:24:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:24:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:24:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 18:24:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 18:24:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 18:24:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9505b3b9fb87609b3cd85be587e030c33719d431 [Pipeline] echo 18:24:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9505b3b [Pipeline] echo 18:24:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:24:27 provisioning config files... 18:24:27 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5501249207443008207tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:24:27 ---> docker-login.sh 18:24:27 nexus3.edgexfoundry.org:10001 18:24:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:27 Configure a credential helper to remove this warning. See 18:24:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:27 18:24:27 Login Succeeded 18:24:27 nexus3.edgexfoundry.org:10002 18:24:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:28 Configure a credential helper to remove this warning. See 18:24:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:28 18:24:28 Login Succeeded 18:24:28 nexus3.edgexfoundry.org:10003 18:24:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:28 Configure a credential helper to remove this warning. See 18:24:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:28 18:24:28 Login Succeeded 18:24:28 nexus3.edgexfoundry.org:10004 18:24:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:28 Configure a credential helper to remove this warning. See 18:24:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:28 18:24:28 Login Succeeded 18:24:28 docker.io 18:24:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:28 Configure a credential helper to remove this warning. See 18:24:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:28 18:24:28 Login Succeeded 18:24:28 ---> docker-login.sh ends [Pipeline] } 18:24:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:24:28 + git rev-list -1 --merges 9505b3b9fb87609b3cd85be587e030c33719d431~1..9505b3b9fb87609b3cd85be587e030c33719d431 [Pipeline] echo 18:24:29 -----------> git rev-list -1 --merges 9505b3b9fb87609b3cd85be587e030c33719d431~1..9505b3b9fb87609b3cd85be587e030c33719d431 9505b3b9fb87609b3cd85be587e030c33719d431 [false] [Pipeline] sh 18:24:29 + git log --format=format:%s -1 9505b3b9fb87609b3cd85be587e030c33719d431 [Pipeline] echo 18:24:29 ========================================================= 18:24:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId 18:24:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:24:29 + git log --format=format:%s -1 9505b3b9fb87609b3cd85be587e030c33719d431 [Pipeline] echo 18:24:29 [semverPrep] GIT_COMMIT: 9505b3b9fb87609b3cd85be587e030c33719d431, Commit Message: fix: Correctly set the versions for the service and sdk when building the binary (#173) [Pipeline] echo 18:24:29 [semverPrep] This is not a build commit. [Pipeline] sh 18:24:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:24:30 + grep -v github /etc/ssh/ssh_known_hosts 18:24:30 + [ -e /tmp/ssh_known_hosts ] 18:24:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:24:30 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:24:30 + sudo tee -a /etc/ssh/ssh_known_hosts 18:24:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 18:24:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 18:24:30 18:24:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 18:24:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 18:24:30 latest: Pulling from edgex-devops/py-git-semver 18:24:30 1fe172e4850f: Pulling fs layer 18:24:30 caf521ccaac6: Pulling fs layer 18:24:30 3ead6fa29328: Pulling fs layer 18:24:30 5c2a1cbceb83: Pulling fs layer 18:24:30 a8d5f1318db7: Pulling fs layer 18:24:30 c427282e49a2: Pulling fs layer 18:24:30 1827001aaf11: Pulling fs layer 18:24:30 5c2a1cbceb83: Waiting 18:24:30 c427282e49a2: Waiting 18:24:30 1827001aaf11: Waiting 18:24:30 0714d37db230: Pulling fs layer 18:24:30 a8d5f1318db7: Waiting 18:24:30 ac28cf19c067: Pulling fs layer 18:24:30 ca983d60f3e2: Pulling fs layer 18:24:30 0714d37db230: Waiting 18:24:30 ac28cf19c067: Waiting 18:24:30 9f894cec8388: Pulling fs layer 18:24:30 ca983d60f3e2: Waiting 18:24:30 caf521ccaac6: Verifying Checksum 18:24:30 caf521ccaac6: Download complete 18:24:30 5c2a1cbceb83: Verifying Checksum 18:24:30 5c2a1cbceb83: Download complete 18:24:31 a8d5f1318db7: Verifying Checksum 18:24:31 a8d5f1318db7: Download complete 18:24:31 c427282e49a2: Verifying Checksum 18:24:31 c427282e49a2: Download complete 18:24:31 3ead6fa29328: Verifying Checksum 18:24:31 3ead6fa29328: Download complete 18:24:31 0714d37db230: Verifying Checksum 18:24:31 0714d37db230: Download complete 18:24:31 ac28cf19c067: Verifying Checksum 18:24:31 ac28cf19c067: Download complete 18:24:31 ca983d60f3e2: Verifying Checksum 18:24:31 ca983d60f3e2: Download complete 18:24:31 9f894cec8388: Verifying Checksum 18:24:31 9f894cec8388: Download complete 18:24:31 1fe172e4850f: Verifying Checksum 18:24:31 1fe172e4850f: Download complete 18:24:31 1827001aaf11: Verifying Checksum 18:24:31 1827001aaf11: Download complete 18:24:32 1fe172e4850f: Pull complete 18:24:32 caf521ccaac6: Pull complete 18:24:33 3ead6fa29328: Pull complete 18:24:33 5c2a1cbceb83: Pull complete 18:24:33 a8d5f1318db7: Pull complete 18:24:33 c427282e49a2: Pull complete 18:24:35 1827001aaf11: Pull complete 18:24:35 0714d37db230: Pull complete 18:24:35 ac28cf19c067: Pull complete 18:24:36 ca983d60f3e2: Pull complete 18:24:36 9f894cec8388: Pull complete 18:24:36 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 18:24:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 18:24:36 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 18:24:36 prd-ubuntu20.04-docker-8c-8g-64509 does not seem to be running inside a container 18:24:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 18:24:37 $ docker top e7a709503a1784d96b289ffde46204c6c45cb49051b952a07603492712d6dfb4 -eo pid,comm 18:24:37 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). 18:24:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:24:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:24:37 [ssh-agent] Looking for ssh-agent implementation... 18:24:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:24:37 $ docker exec e7a709503a1784d96b289ffde46204c6c45cb49051b952a07603492712d6dfb4 ssh-agent 18:24:37 SSH_AUTH_SOCK=/tmp/ssh-JkmGt0VZv7EY/agent.34 18:24:37 SSH_AGENT_PID=41 18:24:38 Running ssh-add (command line suppressed) 18:24:38 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8684940438823024957.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_8684940438823024957.key) 18:24:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:24:38 + git tag --points-at 9505b3b9fb87609b3cd85be587e030c33719d431 [Pipeline] } 18:24:38 $ docker exec --env ******** --env ******** e7a709503a1784d96b289ffde46204c6c45cb49051b952a07603492712d6dfb4 ssh-agent -k 18:24:38 unset SSH_AUTH_SOCK; 18:24:38 unset SSH_AGENT_PID; 18:24:38 echo Agent pid 41 killed; 18:24:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 18:24:38 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v2.2.0|v2.2.1-dev.1' [Pipeline] sshagent 18:24:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:24:38 [ssh-agent] Looking for ssh-agent implementation... 18:24:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:24:38 $ docker exec e7a709503a1784d96b289ffde46204c6c45cb49051b952a07603492712d6dfb4 ssh-agent 18:24:38 SSH_AUTH_SOCK=/tmp/ssh-SDkoaH8KIxzX/agent.74 18:24:38 SSH_AGENT_PID=81 18:24:38 Running ssh-add (command line suppressed) 18:24:38 Identity added: /w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6731596118427501739.key (/w/workspace/edgexfoundry_device-snmp-go_main@tmp/private_key_6731596118427501739.key) 18:24:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:24:39 + git semver init 18:24:39 2022-05-24 18:24:39,481 [run_init] DEBUG init version:0.0.0 force:False 18:24:39 2022-05-24 18:24:39,481 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-snmp-go_main/.semver 18:24:39 2022-05-24 18:24:39,482 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/edgexfoundry_device-snmp-go_main/.semver 18:24:39 2022-05-24 18:24:39,482 [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) 18:24:40 2022-05-24 18:24:40,179 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-snmp-go_main/.git/info/exclude 18:24:40 2022-05-24 18:24:40,180 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-snmp-go_main/.semver/main with force:False 18:24:40 2022-05-24 18:24:40,180 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 18:24:40 2022-05-24 18:24:40,180 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-snmp-go_main/.semver/main 18:24:40 2.2.0 [Pipeline] } 18:24:40 $ docker exec --env ******** --env ******** e7a709503a1784d96b289ffde46204c6c45cb49051b952a07603492712d6dfb4 ssh-agent -k 18:24:40 unset SSH_AUTH_SOCK; 18:24:40 unset SSH_AGENT_PID; 18:24:40 echo Agent pid 81 killed; 18:24:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:24:40 + git semver [Pipeline] } 18:24:41 $ docker stop --time=1 e7a709503a1784d96b289ffde46204c6c45cb49051b952a07603492712d6dfb4 18:24:42 $ docker rm -f e7a709503a1784d96b289ffde46204c6c45cb49051b952a07603492712d6dfb4 [Pipeline] // withDockerContainer [Pipeline] sh 18:24:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:24:43 Stashed 1 file(s) [Pipeline] echo 18:24:43 [edgeXSemver]: initialized semver on version 2.2.0 [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] sh 18:24:43 + git checkout 9505b3b9fb87609b3cd85be587e030c33719d431 18:24:43 HEAD is now at 9505b3b fix: Correctly set the versions for the service and sdk when building the binary (#173) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:24:43 provisioning config files... 18:24:43 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config1738956110045549618tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:24:43 ---> docker-login.sh 18:24:43 nexus3.edgexfoundry.org:10001 18:24:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:43 Configure a credential helper to remove this warning. See 18:24:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:43 18:24:43 Login Succeeded 18:24:43 nexus3.edgexfoundry.org:10002 18:24:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:44 Configure a credential helper to remove this warning. See 18:24:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:44 18:24:44 Login Succeeded 18:24:44 nexus3.edgexfoundry.org:10003 18:24:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:44 Configure a credential helper to remove this warning. See 18:24:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:44 18:24:44 Login Succeeded 18:24:44 nexus3.edgexfoundry.org:10004 18:24:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:44 Configure a credential helper to remove this warning. See 18:24:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:44 18:24:44 Login Succeeded 18:24:44 docker.io 18:24:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:24:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:24:44 Configure a credential helper to remove this warning. See 18:24:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:24:44 18:24:44 Login Succeeded 18:24:44 ---> docker-login.sh ends [Pipeline] } 18:24:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:24:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:24:44 ========================================================= 18:24:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 18:24:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 18:24:45 + 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 . 18:24:45 Sending build context to Docker daemon 5.353MB 18:24:45 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 18:24:45 Step 2/12 : FROM ${BASE} AS builder 18:24:45 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 18:24:45 59bf1c3509f3: Pulling fs layer 18:24:45 666ba61612fd: Pulling fs layer 18:24:45 8ed8ca486205: Pulling fs layer 18:24:45 4fe6c5a15a65: Pulling fs layer 18:24:45 22a0e8bec74d: Pulling fs layer 18:24:45 ca2b28591e48: Pulling fs layer 18:24:45 22a0e8bec74d: Waiting 18:24:45 4fe6c5a15a65: Waiting 18:24:45 a51346096db8: Pulling fs layer 18:24:45 daebc70d1ce1: Pulling fs layer 18:24:45 0e18a0eac166: Pulling fs layer 18:24:45 ca2b28591e48: Waiting 18:24:45 a51346096db8: Waiting 18:24:45 daebc70d1ce1: Waiting 18:24:45 0e18a0eac166: Waiting 18:24:45 8ed8ca486205: Verifying Checksum 18:24:45 8ed8ca486205: Download complete 18:24:45 666ba61612fd: Verifying Checksum 18:24:45 666ba61612fd: Download complete 18:24:45 22a0e8bec74d: Verifying Checksum 18:24:45 22a0e8bec74d: Download complete 18:24:45 ca2b28591e48: Verifying Checksum 18:24:45 ca2b28591e48: Download complete 18:24:45 a51346096db8: Verifying Checksum 18:24:45 a51346096db8: Download complete 18:24:45 59bf1c3509f3: Verifying Checksum 18:24:45 59bf1c3509f3: Download complete 18:24:45 daebc70d1ce1: Verifying Checksum 18:24:45 daebc70d1ce1: Download complete 18:24:45 59bf1c3509f3: Pull complete 18:24:45 666ba61612fd: Pull complete 18:24:45 8ed8ca486205: Pull complete 18:24:46 0e18a0eac166: Verifying Checksum 18:24:46 0e18a0eac166: Download complete 18:24:46 4fe6c5a15a65: Verifying Checksum 18:24:46 4fe6c5a15a65: Download complete 18:24:50 4fe6c5a15a65: Pull complete 18:24:50 22a0e8bec74d: Pull complete 18:24:50 ca2b28591e48: Pull complete 18:24:50 a51346096db8: Pull complete 18:24:50 daebc70d1ce1: Pull complete 18:24:52 0e18a0eac166: Pull complete 18:24:52 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 18:24:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 18:24:52 ---> f018257e8ee9 18:24:52 Step 3/12 : ARG MAKE='make build' 18:24:53 ---> Running in 89481eb4368a 18:24:53 Removing intermediate container 89481eb4368a 18:24:53 ---> ec67271aceda 18:24:53 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:24:53 ---> Running in dd1669c01bee 18:24:53 Removing intermediate container dd1669c01bee 18:24:53 ---> 080cbc8e6248 18:24:53 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 18:24:53 ---> Running in 6b00645f7f53 18:24:53 Removing intermediate container 6b00645f7f53 18:24:53 ---> a71395d63ed8 18:24:53 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:24:54 ---> Running in 620c378fd913 18:24:54 Removing intermediate container 620c378fd913 18:24:54 ---> 40b947f95279 18:24:54 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:24:54 ---> Running in 972c1b794586 18:24:55 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 18:24:55 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 18:24:56 (1/4) Installing openssh-keygen (8.8_p1-r1) 18:24:56 (2/4) Installing libedit (20210910.3.1-r0) 18:24:56 (3/4) Installing openssh-client-common (8.8_p1-r1) 18:24:56 (4/4) Installing openssh-client-default (8.8_p1-r1) 18:24:56 Executing busybox-1.34.1-r3.trigger 18:24:56 OK: 224 MiB in 56 packages 18:24:57 Removing intermediate container 972c1b794586 18:24:57 ---> d8e2d0edd8d8 18:24:57 Step 8/12 : WORKDIR /device-snmp-go 18:24:57 ---> Running in 2aaa564fce18 18:24:57 Removing intermediate container 2aaa564fce18 18:24:57 ---> 69469c1a6ef3 18:24:57 Step 9/12 : COPY go.mod vendor* ./ 18:24:57 ---> 708c9ef0f071 18:24:57 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:24:57 ---> Running in 00223e44b18f 18:24:58 Still waiting to schedule task 18:24:58 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 18:25:12 Removing intermediate container 00223e44b18f 18:25:12 ---> 6fb64c66d530 18:25:12 Step 11/12 : COPY . . 18:25:12 ---> e6ef42dc52de 18:25:12 Step 12/12 : RUN ${MAKE} 18:25:12 ---> Running in 91ad77df79a2 18:25:12 noop 18:25:12 Removing intermediate container 91ad77df79a2 18:25:12 ---> c72413e6aabf 18:25:12 Successfully built c72413e6aabf 18:25:12 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 18:25:12 + docker inspect -f . ci-base-image-x86_64 18:25:12 . [Pipeline] withDockerContainer 18:25:12 prd-ubuntu20.04-docker-8c-8g-64509 does not seem to be running inside a container 18:25:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-snmp-go_main -v /w/workspace/edgexfoundry_device-snmp-go_main:/w/workspace/edgexfoundry_device-snmp-go_main:rw,z -v /w/workspace/edgexfoundry_device-snmp-go_main@tmp:/w/workspace/edgexfoundry_device-snmp-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:25:13 $ docker top 3f9974d799caea744ca78b48d2b96e84b208d00016cbdf0718ff46eb067cbfff -eo pid,comm [Pipeline] { [Pipeline] sh 18:25:13 + go version 18:25:13 go version go1.17.6 linux/amd64 [Pipeline] } 18:25:13 $ docker stop --time=1 3f9974d799caea744ca78b48d2b96e84b208d00016cbdf0718ff46eb067cbfff 18:25:14 $ docker rm -f 3f9974d799caea744ca78b48d2b96e84b208d00016cbdf0718ff46eb067cbfff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:25:15 + docker inspect -f . ci-base-image-x86_64 18:25:15 . [Pipeline] withDockerContainer 18:25:15 prd-ubuntu20.04-docker-8c-8g-64509 does not seem to be running inside a container 18:25:15 $ 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 18:25:15 $ docker top fe670fe468db3f8fe4079a679928dc1cc6c23200211b00ac7af7b1f7c7d08b54 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 18:25:16 + make test 18:25:16 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 18:25:16 ? github.com/edgexfoundry/device-snmp-go [no test files] 18:25:24 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 18:25:24 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.009s coverage: 0.0% of statements 18:25:31 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:25:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:25:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:25:35 ./bin/test-attribution-txt.sh [Pipeline] echo 18:25:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:25:35 $ docker stop --time=1 fe670fe468db3f8fe4079a679928dc1cc6c23200211b00ac7af7b1f7c7d08b54 18:25:37 $ docker rm -f fe670fe468db3f8fe4079a679928dc1cc6c23200211b00ac7af7b1f7c7d08b54 [Pipeline] // withDockerContainer [Pipeline] sh 18:25:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:25:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:25:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:25:38 + ls -al . 18:25:38 total 168 18:25:38 drwxrwxr-x 9 jenkins jenkins 4096 May 24 18:25 . 18:25:38 drwxrwxr-x 4 jenkins jenkins 4096 May 24 18:24 .. 18:25:38 -rw-rw-r-- 1 jenkins jenkins 6 May 24 18:24 .dockerignore 18:25:38 drwxrwxr-x 8 jenkins jenkins 4096 May 24 18:24 .git 18:25:38 drwxrwxr-x 3 jenkins jenkins 4096 May 24 18:24 .github 18:25:38 -rw-rw-r-- 1 jenkins jenkins 328 May 24 18:24 .gitignore 18:25:38 -rw-rw-r-- 1 jenkins jenkins 41 May 24 18:24 .golangci.yml 18:25:38 drwxr-xr-x 3 jenkins jenkins 4096 May 24 18:24 .semver 18:25:38 -rw-rw-r-- 1 jenkins jenkins 8296 May 24 18:24 Attribution.txt 18:25:38 -rw-rw-r-- 1 jenkins jenkins 6948 May 24 18:24 CHANGELOG.md 18:25:38 -rw-rw-r-- 1 jenkins jenkins 1516 May 24 18:24 Dockerfile 18:25:38 -rw-rw-r-- 1 jenkins jenkins 677 May 24 18:24 GOVERNANCE.md 18:25:38 -rw-rw-r-- 1 jenkins jenkins 656 May 24 18:24 Jenkinsfile 18:25:38 -rw-rw-r-- 1 jenkins jenkins 11340 May 24 18:24 LICENSE 18:25:38 -rw-rw-r-- 1 jenkins jenkins 2334 May 24 18:24 Makefile 18:25:38 -rw-rw-r-- 1 jenkins jenkins 620 May 24 18:24 OWNERS.md 18:25:38 -rw-rw-r-- 1 jenkins jenkins 9390 May 24 18:24 README.md 18:25:38 -rw-rw-r-- 1 jenkins jenkins 5 May 24 18:24 VERSION 18:25:38 drwxrwxr-x 2 jenkins jenkins 4096 May 24 18:24 bin 18:25:38 drwxrwxr-x 3 jenkins jenkins 4096 May 24 18:24 cmd 18:25:38 -rw-r--r-- 1 jenkins jenkins 7631 May 24 18:25 coverage.out 18:25:38 -rw-rw-r-- 1 jenkins jenkins 3250 May 24 18:24 go.mod 18:25:38 -rw-rw-r-- 1 jenkins jenkins 35701 May 24 18:24 go.sum 18:25:38 drwxrwxr-x 3 jenkins jenkins 4096 May 24 18:24 internal 18:25:38 drwxrwxr-x 3 jenkins jenkins 4096 May 24 18:24 snap 18:25:38 -rw-rw-r-- 1 jenkins jenkins 228 May 24 18:24 version.go [Pipeline] isUnix [Pipeline] sh 18:25:39 + 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=9505b3b9fb87609b3cd85be587e030c33719d431 --label arch=amd64 --label version=2.2.0 . 18:25:39 Sending build context to Docker daemon 5.361MB 18:25:39 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 18:25:39 Step 2/24 : FROM ${BASE} AS builder 18:25:39 ---> c72413e6aabf 18:25:39 Step 3/24 : ARG MAKE='make build' 18:25:39 ---> Running in f1d6041c70c2 18:25:39 Removing intermediate container f1d6041c70c2 18:25:39 ---> ee84e8dd29e8 18:25:39 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:25:39 ---> Running in 23a8404ff166 18:25:39 Removing intermediate container 23a8404ff166 18:25:39 ---> 24e5c49aefc6 18:25:39 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 18:25:39 ---> Running in 442bc1322591 18:25:39 Removing intermediate container 442bc1322591 18:25:39 ---> f78fbeb02498 18:25:39 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:25:39 ---> Running in 142512a577e5 18:25:40 Removing intermediate container 142512a577e5 18:25:40 ---> e59be6f759eb 18:25:40 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:25:40 ---> Running in cf00937dac30 18:25:40 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 18:25:41 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 18:25:41 OK: 224 MiB in 56 packages 18:25:41 Removing intermediate container cf00937dac30 18:25:41 ---> c647b436aefe 18:25:41 Step 8/24 : WORKDIR /device-snmp-go 18:25:41 ---> Running in f31e3c491e0c 18:25:41 Removing intermediate container f31e3c491e0c 18:25:41 ---> 7661b219790f 18:25:41 Step 9/24 : COPY go.mod vendor* ./ 18:25:42 ---> a4daf44673a4 18:25:42 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:25:42 ---> Running in 08edb9a9ba70 18:25:42 Removing intermediate container 08edb9a9ba70 18:25:42 ---> 2b996fc626fc 18:25:42 Step 11/24 : COPY . . 18:25:43 ---> 2d23292325db 18:25:43 Step 12/24 : RUN ${MAKE} 18:25:43 ---> Running in cbfb93089c30 18:25:43 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0 -X github.com/edgexfoundry/device-snmp-go.Version=2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 18:26:05 Removing intermediate container cbfb93089c30 18:26:05 ---> 62cb355e3ca0 18:26:05 Step 13/24 : FROM alpine:3.14 18:26:05 3.14: Pulling from library/alpine 18:26:05 8663204ce13b: Pulling fs layer 18:26:05 8663204ce13b: Verifying Checksum 18:26:05 8663204ce13b: Download complete 18:26:05 8663204ce13b: Pull complete 18:26:05 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 18:26:05 Status: Downloaded newer image for alpine:3.14 18:26:05 ---> e04c818066af 18:26:05 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 18:26:05 ---> Running in d075672bf795 18:26:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 18:26:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 18:26:05 (1/6) Installing dumb-init (1.2.5-r1) 18:26:05 (2/6) Installing libgcc (10.3.1_git20210424-r2) 18:26:05 (3/6) Installing libsodium (1.0.18-r0) 18:26:05 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 18:26:05 (5/6) Installing libzmq (4.3.4-r0) 18:26:05 (6/6) Installing zeromq (4.3.4-r0) 18:26:05 Executing busybox-1.33.1-r7.trigger 18:26:05 OK: 8 MiB in 20 packages 18:26:05 Removing intermediate container d075672bf795 18:26:05 ---> 04cde862a081 18:26:05 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 18:26:05 ---> 765842b05d74 18:26:05 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 18:26:05 ---> 07ca8edc0b45 18:26:05 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 18:26:06 ---> 68b1a6602f5a 18:26:06 Step 18/24 : EXPOSE 59993 18:26:06 ---> Running in a87f6c8a7d1c 18:26:06 Removing intermediate container a87f6c8a7d1c 18:26:06 ---> 045b7722175d 18:26:06 Step 19/24 : EXPOSE 161 18:26:06 ---> Running in e0bb83c2db3e 18:26:06 Removing intermediate container e0bb83c2db3e 18:26:06 ---> 433433c9fb58 18:26:06 Step 20/24 : ENTRYPOINT ["/device-snmp"] 18:26:06 ---> Running in 33f16cc68594 18:26:06 Removing intermediate container 33f16cc68594 18:26:06 ---> 33553690ad31 18:26:06 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 18:26:06 ---> Running in a911fc835387 18:26:06 Removing intermediate container a911fc835387 18:26:06 ---> 2590cd986d1b 18:26:06 Step 22/24 : LABEL arch=amd64 18:26:06 ---> Running in 9e999d467520 18:26:06 Removing intermediate container 9e999d467520 18:26:06 ---> aa106b850918 18:26:06 Step 23/24 : LABEL git_sha=9505b3b9fb87609b3cd85be587e030c33719d431 18:26:06 ---> Running in f6b6a9037d7f 18:26:06 Removing intermediate container f6b6a9037d7f 18:26:06 ---> 4e57ef7e751f 18:26:06 Step 24/24 : LABEL version=2.2.0 18:26:06 ---> Running in 68d3d35669fa 18:26:06 Removing intermediate container 68d3d35669fa 18:26:06 ---> f62f0c1c9bdc 18:26:06 [Warning] One or more build-args [ARCH] were not consumed 18:26:06 Successfully built f62f0c1c9bdc 18:26:06 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:26:06 provisioning config files... 18:26:06 copy managed file [device-snmp-go-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config3343141475815558228tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:26:07 ---> docker-login.sh 18:26:07 nexus3.edgexfoundry.org:10001 18:26:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:26:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:26:07 Configure a credential helper to remove this warning. See 18:26:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:26:07 18:26:07 Login Succeeded 18:26:07 nexus3.edgexfoundry.org:10002 18:26:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:26:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:26:07 Configure a credential helper to remove this warning. See 18:26:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:26:07 18:26:07 Login Succeeded 18:26:07 nexus3.edgexfoundry.org:10003 18:26:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:26:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:26:07 Configure a credential helper to remove this warning. See 18:26:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:26:07 18:26:07 Login Succeeded 18:26:07 nexus3.edgexfoundry.org:10004 18:26:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:26:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:26:07 Configure a credential helper to remove this warning. See 18:26:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:26:07 18:26:07 Login Succeeded 18:26:07 docker.io 18:26:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:26:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:26:07 Configure a credential helper to remove this warning. See 18:26:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:26:07 18:26:07 Login Succeeded 18:26:07 ---> docker-login.sh ends [Pipeline] } 18:26:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:26:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:26:08 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 18:26:08 9505b3b9fb87609b3cd85be587e030c33719d431 18:26:08 latest 18:26:08 2.2.0 18:26:08 9505b3b9fb87609b3cd85be587e030c33719d431-2.2.0 18:26:08 main 18:26:08 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:26:08 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:9505b3b9fb87609b3cd85be587e030c33719d431 [Pipeline] isUnix [Pipeline] sh 18:26:08 + docker push nexus3.edgexfoundry.org:10004/device-snmp:9505b3b9fb87609b3cd85be587e030c33719d431 18:26:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 18:26:08 e44af2788ba4: Preparing 18:26:08 f9bcd9a576b8: Preparing 18:26:08 ec0b74f4ec5f: Preparing 18:26:08 652b93513af3: Preparing 18:26:08 b541d28bf3b4: Preparing 18:26:08 b541d28bf3b4: Layer already exists 18:26:08 f9bcd9a576b8: Pushed 18:26:08 e44af2788ba4: Pushed 18:26:09 652b93513af3: Pushed 18:26:11 ec0b74f4ec5f: Pushed 18:26:11 9505b3b9fb87609b3cd85be587e030c33719d431: digest: sha256:5ecb32048c170de62b005da81faf6e14ae2cf0d1e50f07d3652b8e36e750d2c3 size: 1367 [Pipeline] isUnix [Pipeline] sh 18:26:11 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:latest [Pipeline] isUnix [Pipeline] sh 18:26:12 + docker push nexus3.edgexfoundry.org:10004/device-snmp:latest 18:26:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 18:26:12 e44af2788ba4: Preparing 18:26:12 f9bcd9a576b8: Preparing 18:26:12 ec0b74f4ec5f: Preparing 18:26:12 652b93513af3: Preparing 18:26:12 b541d28bf3b4: Preparing 18:26:12 f9bcd9a576b8: Layer already exists 18:26:12 ec0b74f4ec5f: Layer already exists 18:26:12 e44af2788ba4: Layer already exists 18:26:12 b541d28bf3b4: Layer already exists 18:26:12 652b93513af3: Layer already exists 18:26:12 latest: digest: sha256:5ecb32048c170de62b005da81faf6e14ae2cf0d1e50f07d3652b8e36e750d2c3 size: 1367 [Pipeline] isUnix [Pipeline] sh 18:26:12 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.2.0 [Pipeline] isUnix [Pipeline] sh 18:26:12 + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.2.0 18:26:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 18:26:12 e44af2788ba4: Preparing 18:26:12 f9bcd9a576b8: Preparing 18:26:12 ec0b74f4ec5f: Preparing 18:26:12 652b93513af3: Preparing 18:26:12 b541d28bf3b4: Preparing 18:26:12 ec0b74f4ec5f: Layer already exists 18:26:12 b541d28bf3b4: Layer already exists 18:26:12 652b93513af3: Layer already exists 18:26:12 e44af2788ba4: Layer already exists 18:26:12 f9bcd9a576b8: Layer already exists 18:26:12 2.2.0: digest: sha256:5ecb32048c170de62b005da81faf6e14ae2cf0d1e50f07d3652b8e36e750d2c3 size: 1367 [Pipeline] isUnix [Pipeline] sh 18:26:13 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:9505b3b9fb87609b3cd85be587e030c33719d431-2.2.0 [Pipeline] isUnix [Pipeline] sh 18:26:13 + docker push nexus3.edgexfoundry.org:10004/device-snmp:9505b3b9fb87609b3cd85be587e030c33719d431-2.2.0 18:26:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 18:26:13 e44af2788ba4: Preparing 18:26:13 f9bcd9a576b8: Preparing 18:26:13 ec0b74f4ec5f: Preparing 18:26:13 652b93513af3: Preparing 18:26:13 b541d28bf3b4: Preparing 18:26:13 ec0b74f4ec5f: Layer already exists 18:26:13 f9bcd9a576b8: Layer already exists 18:26:13 e44af2788ba4: Layer already exists 18:26:13 652b93513af3: Layer already exists 18:26:13 b541d28bf3b4: Layer already exists 18:26:13 9505b3b9fb87609b3cd85be587e030c33719d431-2.2.0: digest: sha256:5ecb32048c170de62b005da81faf6e14ae2cf0d1e50f07d3652b8e36e750d2c3 size: 1367 [Pipeline] isUnix [Pipeline] sh 18:26:13 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:main [Pipeline] isUnix [Pipeline] sh 18:26:13 + docker push nexus3.edgexfoundry.org:10004/device-snmp:main 18:26:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 18:26:13 e44af2788ba4: Preparing 18:26:13 f9bcd9a576b8: Preparing 18:26:13 ec0b74f4ec5f: Preparing 18:26:13 652b93513af3: Preparing 18:26:13 b541d28bf3b4: Preparing 18:26:13 ec0b74f4ec5f: Layer already exists 18:26:13 652b93513af3: Layer already exists 18:26:13 b541d28bf3b4: Layer already exists 18:26:13 f9bcd9a576b8: Layer already exists 18:26:13 e44af2788ba4: Layer already exists 18:26:13 main: digest: sha256:5ecb32048c170de62b005da81faf6e14ae2cf0d1e50f07d3652b8e36e750d2c3 size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:26:13 ===================================================== [Pipeline] echo 18:26:13 taggedImages: 18:26:13 - nexus3.edgexfoundry.org:10004/device-snmp:9505b3b9fb87609b3cd85be587e030c33719d431 18:26:13 - nexus3.edgexfoundry.org:10004/device-snmp:latest 18:26:13 - nexus3.edgexfoundry.org:10004/device-snmp:2.2.0 18:26:13 - nexus3.edgexfoundry.org:10004/device-snmp:9505b3b9fb87609b3cd85be587e030c33719d431-2.2.0 18:26:13 - 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 18:26:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:26:14 18:26:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 18:26:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:26:14 latest: Pulling from edgex-lftools-log-publisher 18:26:14 5eb5b503b376: Pulling fs layer 18:26:14 5c69ac0246d0: Pulling fs layer 18:26:14 ec43610c2a17: Pulling fs layer 18:26:14 3a2ae6a8a46f: Pulling fs layer 18:26:14 33b1e0a273af: Pulling fs layer 18:26:14 5d3b04190fa2: Pulling fs layer 18:26:14 2f39f015ded8: Pulling fs layer 18:26:14 3a2ae6a8a46f: Waiting 18:26:14 33b1e0a273af: Waiting 18:26:14 5d3b04190fa2: Waiting 18:26:14 5c69ac0246d0: Verifying Checksum 18:26:14 5c69ac0246d0: Download complete 18:26:14 3a2ae6a8a46f: Verifying Checksum 18:26:14 3a2ae6a8a46f: Download complete 18:26:14 33b1e0a273af: Verifying Checksum 18:26:14 33b1e0a273af: Download complete 18:26:14 5d3b04190fa2: Download complete 18:26:14 ec43610c2a17: Verifying Checksum 18:26:14 ec43610c2a17: Download complete 18:26:14 5eb5b503b376: Verifying Checksum 18:26:14 5eb5b503b376: Download complete 18:26:15 2f39f015ded8: Download complete 18:26:16 5eb5b503b376: Pull complete 18:26:16 5c69ac0246d0: Pull complete 18:26:16 ec43610c2a17: Pull complete 18:26:16 3a2ae6a8a46f: Pull complete 18:26:17 33b1e0a273af: Pull complete 18:26:17 5d3b04190fa2: Pull complete 18:26:21 2f39f015ded8: Pull complete 18:26:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:26:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:26:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 18:26:21 prd-ubuntu20.04-docker-8c-8g-64509 does not seem to be running inside a container 18:26:21 $ 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 18:26:23 $ docker top cd6c104d93a38c063e81af3f164600cc8c72dc12332afa7e6353f50ed624e494 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:26:23 ---> job-cost.sh 18:26:23 lf-activate-venv: SKIPPING 18:26:23 INFO: No Stack... 18:26:24 INFO: Retrieving Pricing Info for: v3-standard-8 18:26:24 INFO: Archiving Costs [Pipeline] sh 18:26:25 + cat /w/workspace/edgexfoundry_device-snmp-go_main/archives/cost.csv 18:26:25 + cut -d, -f6 [Pipeline] lock 18:26:25 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-32-stack-cost] 18:26:25 Resource [jenkins-edgexfoundry-device-snmp-go-main-32-stack-cost] did not exist. Created. 18:26:25 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-32-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:26:25 + echo total: 0.2199999988079071 [Pipeline] stash 18:26:25 Stashed 1 file(s) [Pipeline] } 18:26:25 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-32-stack-cost] [Pipeline] // lock [Pipeline] } 18:26:25 $ docker stop --time=1 cd6c104d93a38c063e81af3f164600cc8c72dc12332afa7e6353f50ed624e494 18:26:26 $ docker rm -f cd6c104d93a38c063e81af3f164600cc8c72dc12332afa7e6353f50ed624e494 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:27:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-64510 in /w/workspace/edgexfoundry_device-snmp-go_main [Pipeline] { [Pipeline] ws 18:27:45 Running in /w/workspace/device-snmp-go/32 [Pipeline] { [Pipeline] checkout 18:27:45 Selected Git installation does not exist. Using Default 18:27:45 The recommended git tool is: NONE 18:27:50 using credential edgex-jenkins-ssh 18:27:50 Cloning the remote Git repository 18:27:50 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 18:27:50 > git init /w/workspace/device-snmp-go/32 # timeout=10 18:27:50 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 18:27:50 > git --version # timeout=10 18:27:51 > git --version # 'git version 2.25.1' 18:27:51 using GIT_SSH to set credentials SSH Credentials for GitHub 18:27:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:27:52 Avoid second fetch 18:27:52 Checking out Revision 9505b3b9fb87609b3cd85be587e030c33719d431 (main) 18:27:52 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 18:27:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:27:52 > git config core.sparsecheckout # timeout=10 18:27:52 > git checkout -f 9505b3b9fb87609b3cd85be587e030c33719d431 # timeout=10 18:27:56 Commit message: "fix: Correctly set the versions for the service and sdk when building the binary (#173)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:27:57 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:27:57 % Total % Received % Xferd Average Speed Time Time Time Current 18:27:57 Dload Upload Total Spent Left Speed 18:27:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 249k 0 --:--:-- --:--:-- --:--:-- 244k [Pipeline] sh 18:27:57 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:27:58 + + sudo teesudo /etc/docker/daemon.new jq 18:27:58 . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:27:58 { 18:27:58 "registry-mirrors": [ 18:27:58 "https://nexus3.edgexfoundry.org:10001" 18:27:58 ], 18:27:58 "bip": "10.250.0.254/24", 18:27:58 "hosts": [ 18:27:58 "tcp://0.0.0.0:5555", 18:27:58 "unix:///var/run/docker.sock" 18:27:58 ], 18:27:58 "mtu": 1458, 18:27:58 "selinux-enabled": true, 18:27:58 "seccomp-profile": "/etc/docker/seccomp.json" 18:27:58 } [Pipeline] sh 18:27:58 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:27:58 + sudo service docker restart [Pipeline] sh 18:28:17 + git checkout 9505b3b9fb87609b3cd85be587e030c33719d431 18:28:17 HEAD is now at 9505b3b fix: Correctly set the versions for the service and sdk when building the binary (#173) [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:28:17 provisioning config files... 18:28:17 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/32@tmp/config5582622649491912871tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:28:17 ---> docker-login.sh 18:28:17 nexus3.edgexfoundry.org:10001 18:28:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:28:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:28:18 Configure a credential helper to remove this warning. See 18:28:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:28:18 18:28:18 Login Succeeded 18:28:18 nexus3.edgexfoundry.org:10002 18:28:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:28:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:28:19 Configure a credential helper to remove this warning. See 18:28:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:28:19 18:28:19 Login Succeeded 18:28:19 nexus3.edgexfoundry.org:10003 18:28:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:28:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:28:19 Configure a credential helper to remove this warning. See 18:28:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:28:19 18:28:19 Login Succeeded 18:28:19 nexus3.edgexfoundry.org:10004 18:28:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:28:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:28:20 Configure a credential helper to remove this warning. See 18:28:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:28:20 18:28:20 Login Succeeded 18:28:20 docker.io 18:28:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:28:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:28:20 Configure a credential helper to remove this warning. See 18:28:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:28:20 18:28:20 Login Succeeded 18:28:20 ---> docker-login.sh ends [Pipeline] } 18:28:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:28:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:28:21 ========================================================= 18:28:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 18:28:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 18:28:21 + 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 . 18:28:21 Sending build context to Docker daemon 2.768MB 18:28:21 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 18:28:21 Step 2/12 : FROM ${BASE} AS builder 18:28:22 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:28:22 9b3977197b4f: Pulling fs layer 18:28:22 1a89e8eeedd5: Pulling fs layer 18:28:22 94645a83ff95: Pulling fs layer 18:28:22 3f3a8bcf1eab: Pulling fs layer 18:28:22 0c92f367c5e7: Pulling fs layer 18:28:22 3096ccb668a1: Pulling fs layer 18:28:22 e8cf19c19ddd: Pulling fs layer 18:28:22 a4caa8a26152: Pulling fs layer 18:28:22 0c92f367c5e7: Waiting 18:28:22 3096ccb668a1: Waiting 18:28:22 e8cf19c19ddd: Waiting 18:28:22 a4caa8a26152: Waiting 18:28:22 3f3a8bcf1eab: Waiting 18:28:22 94645a83ff95: Verifying Checksum 18:28:22 94645a83ff95: Download complete 18:28:22 1a89e8eeedd5: Verifying Checksum 18:28:22 1a89e8eeedd5: Download complete 18:28:22 0c92f367c5e7: Verifying Checksum 18:28:22 0c92f367c5e7: Download complete 18:28:22 3096ccb668a1: Verifying Checksum 18:28:22 3096ccb668a1: Download complete 18:28:22 e8cf19c19ddd: Verifying Checksum 18:28:22 e8cf19c19ddd: Download complete 18:28:22 9b3977197b4f: Verifying Checksum 18:28:22 9b3977197b4f: Download complete 18:28:22 9b3977197b4f: Pull complete 18:28:23 1a89e8eeedd5: Pull complete 18:28:23 94645a83ff95: Pull complete 18:28:24 a4caa8a26152: Verifying Checksum 18:28:24 a4caa8a26152: Download complete 18:28:24 3f3a8bcf1eab: Verifying Checksum 18:28:24 3f3a8bcf1eab: Download complete 18:28:36 3f3a8bcf1eab: Pull complete 18:28:36 0c92f367c5e7: Pull complete 18:28:36 3096ccb668a1: Pull complete 18:28:37 e8cf19c19ddd: Pull complete 18:28:43 a4caa8a26152: Pull complete 18:28:43 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 18:28:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 18:28:43 ---> 725f1c02e7f9 18:28:43 Step 3/12 : ARG MAKE='make build' 18:28:45 ---> Running in 3151c75f3c30 18:28:45 Removing intermediate container 3151c75f3c30 18:28:45 ---> 43773c636436 18:28:45 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:28:45 ---> Running in 02289853ff84 18:28:45 Removing intermediate container 02289853ff84 18:28:45 ---> e5bc18bb45c2 18:28:45 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 18:28:46 ---> Running in 6dc43bd02739 18:28:46 Removing intermediate container 6dc43bd02739 18:28:46 ---> 5e80451115da 18:28:46 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:28:46 ---> Running in 45848ed8b640 18:28:48 Removing intermediate container 45848ed8b640 18:28:48 ---> 02716a52c8fd 18:28:48 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:28:48 ---> Running in 853a4953fe80 18:28:49 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 18:28:49 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 18:28:50 (1/4) Installing openssh-keygen (8.8_p1-r1) 18:28:50 (2/4) Installing libedit (20210910.3.1-r0) 18:28:50 (3/4) Installing openssh-client-common (8.8_p1-r1) 18:28:51 (4/4) Installing openssh-client-default (8.8_p1-r1) 18:28:51 Executing busybox-1.34.1-r3.trigger 18:28:51 OK: 224 MiB in 56 packages 18:28:52 Removing intermediate container 853a4953fe80 18:28:52 ---> 84916336a0eb 18:28:52 Step 8/12 : WORKDIR /device-snmp-go 18:28:52 ---> Running in dfb7369c221b 18:28:52 Removing intermediate container dfb7369c221b 18:28:52 ---> 9fdfe9bcd122 18:28:52 Step 9/12 : COPY go.mod vendor* ./ 18:28:53 ---> ee45d5a6fb0e 18:28:53 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:28:53 ---> Running in dbca165dc219 18:29:40 Removing intermediate container dbca165dc219 18:29:40 ---> 39c9b5771521 18:29:40 Step 11/12 : COPY . . 18:29:40 ---> fdcdbee2d03c 18:29:40 Step 12/12 : RUN ${MAKE} 18:29:40 ---> Running in 92388b7a5fbc 18:29:40 noop 18:29:41 Removing intermediate container 92388b7a5fbc 18:29:41 ---> fbb443c0d15d 18:29:41 Successfully built fbb443c0d15d 18:29:41 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 18:29:41 + docker inspect -f . ci-base-image-arm64 18:29:41 . [Pipeline] withDockerContainer 18:29:42 prd-ubuntu20.04-docker-arm64-4c-16g-64510 does not seem to be running inside a container 18:29:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/32 -v /w/workspace/device-snmp-go/32:/w/workspace/device-snmp-go/32:rw,z -v /w/workspace/device-snmp-go/32@tmp:/w/workspace/device-snmp-go/32@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 18:29:43 $ docker top 5e3b1351134fa11e4886f760ce4a2bb98654f7c2807fc77013dd468e65bea2f8 -eo pid,comm [Pipeline] { [Pipeline] sh 18:29:44 + go version 18:29:44 go version go1.17.6 linux/arm64 [Pipeline] } 18:29:44 $ docker stop --time=1 5e3b1351134fa11e4886f760ce4a2bb98654f7c2807fc77013dd468e65bea2f8 18:29:46 $ docker rm -f 5e3b1351134fa11e4886f760ce4a2bb98654f7c2807fc77013dd468e65bea2f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:29:46 + docker inspect -f . ci-base-image-arm64 18:29:46 . [Pipeline] withDockerContainer 18:29:47 prd-ubuntu20.04-docker-arm64-4c-16g-64510 does not seem to be running inside a container 18:29:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/32 -v /w/workspace/device-snmp-go/32:/w/workspace/device-snmp-go/32:rw,z -v /w/workspace/device-snmp-go/32@tmp:/w/workspace/device-snmp-go/32@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 18:29:48 $ docker top 21dac74792694572160444851ad214982c6acbe51f68162a6f05a5a71d28196f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 18:29:49 + make test 18:29:49 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 18:29:51 ? github.com/edgexfoundry/device-snmp-go [no test files] 18:31:12 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 18:31:12 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.043s coverage: 0.0% of statements 18:31:12 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:31:12 CGO_ENABLED=1 GO111MODULE=on go vet ./... 18:31:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:31:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:31:39 ./bin/test-attribution-txt.sh [Pipeline] echo 18:31:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:31:41 $ docker stop --time=1 21dac74792694572160444851ad214982c6acbe51f68162a6f05a5a71d28196f 18:31:43 $ docker rm -f 21dac74792694572160444851ad214982c6acbe51f68162a6f05a5a71d28196f [Pipeline] // withDockerContainer [Pipeline] sh 18:31:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:31:44 Warning: overwriting stash ‘coverage-report’ 18:31:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:31:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:31:45 + ls -al . 18:31:45 total 164 18:31:45 drwxrwxr-x 8 jenkins jenkins 4096 May 24 18:31 . 18:31:45 drwxrwxr-x 4 jenkins jenkins 4096 May 24 18:27 .. 18:31:45 -rw-rw-r-- 1 jenkins jenkins 6 May 24 18:27 .dockerignore 18:31:45 drwxrwxr-x 8 jenkins jenkins 4096 May 24 18:28 .git 18:31:45 drwxrwxr-x 3 jenkins jenkins 4096 May 24 18:27 .github 18:31:45 -rw-rw-r-- 1 jenkins jenkins 328 May 24 18:27 .gitignore 18:31:45 -rw-rw-r-- 1 jenkins jenkins 41 May 24 18:27 .golangci.yml 18:31:45 -rw-rw-r-- 1 jenkins jenkins 8296 May 24 18:27 Attribution.txt 18:31:45 -rw-rw-r-- 1 jenkins jenkins 6948 May 24 18:27 CHANGELOG.md 18:31:45 -rw-rw-r-- 1 jenkins jenkins 1516 May 24 18:27 Dockerfile 18:31:45 -rw-rw-r-- 1 jenkins jenkins 677 May 24 18:27 GOVERNANCE.md 18:31:45 -rw-rw-r-- 1 jenkins jenkins 656 May 24 18:27 Jenkinsfile 18:31:45 -rw-rw-r-- 1 jenkins jenkins 11340 May 24 18:27 LICENSE 18:31:45 -rw-rw-r-- 1 jenkins jenkins 2334 May 24 18:27 Makefile 18:31:45 -rw-rw-r-- 1 jenkins jenkins 620 May 24 18:27 OWNERS.md 18:31:45 -rw-rw-r-- 1 jenkins jenkins 9390 May 24 18:27 README.md 18:31:45 -rw-rw-r-- 1 jenkins jenkins 5 May 24 18:24 VERSION 18:31:45 drwxrwxr-x 2 jenkins jenkins 4096 May 24 18:27 bin 18:31:45 drwxrwxr-x 3 jenkins jenkins 4096 May 24 18:27 cmd 18:31:45 -rw-r--r-- 1 jenkins jenkins 7631 May 24 18:31 coverage.out 18:31:45 -rw-rw-r-- 1 jenkins jenkins 3250 May 24 18:27 go.mod 18:31:45 -rw-rw-r-- 1 jenkins jenkins 35701 May 24 18:27 go.sum 18:31:45 drwxrwxr-x 3 jenkins jenkins 4096 May 24 18:27 internal 18:31:45 drwxrwxr-x 3 jenkins jenkins 4096 May 24 18:27 snap 18:31:45 -rw-rw-r-- 1 jenkins jenkins 228 May 24 18:27 version.go [Pipeline] isUnix [Pipeline] sh 18:31:46 + 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=9505b3b9fb87609b3cd85be587e030c33719d431 --label arch=arm64 --label version=2.2.0 . 18:31:46 Sending build context to Docker daemon 2.777MB 18:31:46 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 18:31:46 Step 2/24 : FROM ${BASE} AS builder 18:31:46 ---> fbb443c0d15d 18:31:46 Step 3/24 : ARG MAKE='make build' 18:31:46 ---> Running in 4f60d3b3e51c 18:31:47 Removing intermediate container 4f60d3b3e51c 18:31:47 ---> f551d7ab6e4a 18:31:47 Step 4/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:31:47 ---> Running in d757046240e1 18:31:47 Removing intermediate container d757046240e1 18:31:47 ---> 60c357c6135c 18:31:47 Step 5/24 : ARG ALPINE_PKG_EXTRA="" 18:31:47 ---> Running in 89db5a9f160b 18:31:47 Removing intermediate container 89db5a9f160b 18:31:47 ---> e5189902568c 18:31:47 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 18:31:47 ---> Running in 8ae9148faa35 18:31:49 Removing intermediate container 8ae9148faa35 18:31:49 ---> aaf7ba31e9be 18:31:49 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:31:49 ---> Running in 058325db238e 18:31:50 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 18:31:51 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 18:31:52 OK: 224 MiB in 56 packages 18:31:53 Removing intermediate container 058325db238e 18:31:53 ---> 09e9b52509c8 18:31:53 Step 8/24 : WORKDIR /device-snmp-go 18:31:53 ---> Running in d34ddb742511 18:31:53 Removing intermediate container d34ddb742511 18:31:53 ---> dfcf3bdb790a 18:31:53 Step 9/24 : COPY go.mod vendor* ./ 18:31:54 ---> 7337f854238f 18:31:54 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:31:54 ---> Running in 7a5543580924 18:31:56 Removing intermediate container 7a5543580924 18:31:56 ---> 68c83c983351 18:31:56 Step 11/24 : COPY . . 18:31:57 ---> bc3b6ccf2eca 18:31:57 Step 12/24 : RUN ${MAKE} 18:31:57 ---> Running in a5012d81fd55 18:31:58 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0 -X github.com/edgexfoundry/device-snmp-go.Version=2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-snmp ./cmd 18:34:05 Removing intermediate container a5012d81fd55 18:34:05 ---> a23fd9108651 18:34:05 Step 13/24 : FROM alpine:3.14 18:34:05 3.14: Pulling from library/alpine 18:34:05 455c02918c45: Pulling fs layer 18:34:05 455c02918c45: Verifying Checksum 18:34:05 455c02918c45: Download complete 18:34:05 455c02918c45: Pull complete 18:34:05 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 18:34:05 Status: Downloaded newer image for alpine:3.14 18:34:05 ---> ac73e934f311 18:34:05 Step 14/24 : RUN apk add --update --no-cache zeromq dumb-init 18:34:05 ---> Running in 00415981938b 18:34:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 18:34:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 18:34:05 (1/6) Installing dumb-init (1.2.5-r1) 18:34:05 (2/6) Installing libgcc (10.3.1_git20210424-r2) 18:34:05 (3/6) Installing libsodium (1.0.18-r0) 18:34:05 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 18:34:05 (5/6) Installing libzmq (4.3.4-r0) 18:34:05 (6/6) Installing zeromq (4.3.4-r0) 18:34:05 Executing busybox-1.33.1-r7.trigger 18:34:05 OK: 8 MiB in 20 packages 18:34:05 Removing intermediate container 00415981938b 18:34:05 ---> 93d3f1021bbd 18:34:05 Step 15/24 : COPY --from=builder /device-snmp-go/cmd / 18:34:07 ---> 6381201c4e14 18:34:07 Step 16/24 : COPY --from=builder /device-snmp-go/Attribution.txt / 18:34:07 ---> 5bcb34c96f32 18:34:07 Step 17/24 : COPY --from=builder /device-snmp-go/LICENSE / 18:34:08 ---> 1945dba87a9f 18:34:08 Step 18/24 : EXPOSE 59993 18:34:08 ---> Running in bd42690a5861 18:34:08 Removing intermediate container bd42690a5861 18:34:08 ---> e287cbbeb72d 18:34:08 Step 19/24 : EXPOSE 161 18:34:08 ---> Running in ba1825da1253 18:34:08 Removing intermediate container ba1825da1253 18:34:08 ---> 678346c33bf8 18:34:08 Step 20/24 : ENTRYPOINT ["/device-snmp"] 18:34:08 ---> Running in 6a1f6c3691d3 18:34:09 Removing intermediate container 6a1f6c3691d3 18:34:09 ---> 3dd1ab1d60ba 18:34:09 Step 21/24 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 18:34:09 ---> Running in e65da9006724 18:34:09 Removing intermediate container e65da9006724 18:34:09 ---> 6614950c13ae 18:34:09 Step 22/24 : LABEL arch=arm64 18:34:09 ---> Running in a3be0ef85b31 18:34:09 Removing intermediate container a3be0ef85b31 18:34:09 ---> 59f1ceebcf66 18:34:09 Step 23/24 : LABEL git_sha=9505b3b9fb87609b3cd85be587e030c33719d431 18:34:09 ---> Running in 50e0491e5975 18:34:10 Removing intermediate container 50e0491e5975 18:34:10 ---> 3f84d64a8c50 18:34:10 Step 24/24 : LABEL version=2.2.0 18:34:10 ---> Running in 87c4ad04f9a3 18:34:10 Removing intermediate container 87c4ad04f9a3 18:34:10 ---> ffa0a4b787eb 18:34:10 [Warning] One or more build-args [ARCH] were not consumed 18:34:10 Successfully built ffa0a4b787eb 18:34:10 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 18:34:10 provisioning config files... 18:34:10 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/32@tmp/config1961478951310129519tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:34:11 ---> docker-login.sh 18:34:11 nexus3.edgexfoundry.org:10001 18:34:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:34:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:34:11 Configure a credential helper to remove this warning. See 18:34:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:34:11 18:34:11 Login Succeeded 18:34:11 nexus3.edgexfoundry.org:10002 18:34:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:34:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:34:12 Configure a credential helper to remove this warning. See 18:34:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:34:12 18:34:12 Login Succeeded 18:34:12 nexus3.edgexfoundry.org:10003 18:34:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:34:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:34:12 Configure a credential helper to remove this warning. See 18:34:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:34:12 18:34:12 Login Succeeded 18:34:12 nexus3.edgexfoundry.org:10004 18:34:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:34:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:34:12 Configure a credential helper to remove this warning. See 18:34:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:34:12 18:34:12 Login Succeeded 18:34:12 docker.io 18:34:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:34:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:34:13 Configure a credential helper to remove this warning. See 18:34:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:34:13 18:34:13 Login Succeeded 18:34:13 ---> docker-login.sh ends [Pipeline] } 18:34:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:34:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:34:13 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 18:34:13 9505b3b9fb87609b3cd85be587e030c33719d431 18:34:13 latest 18:34:13 2.2.0 18:34:13 9505b3b9fb87609b3cd85be587e030c33719d431-2.2.0 18:34:13 main 18:34:13 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:34:14 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:9505b3b9fb87609b3cd85be587e030c33719d431 [Pipeline] isUnix [Pipeline] sh 18:34:14 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:9505b3b9fb87609b3cd85be587e030c33719d431 18:34:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 18:34:14 1453794ab9f6: Preparing 18:34:14 7fbffcb7e4d9: Preparing 18:34:14 304de2a8c07a: Preparing 18:34:14 e4970cb89cba: Preparing 18:34:14 f73e7dbfee58: Preparing 18:34:14 f73e7dbfee58: Layer already exists 18:34:14 1453794ab9f6: Pushed 18:34:14 7fbffcb7e4d9: Pushed 18:34:15 e4970cb89cba: Pushed 18:34:20 304de2a8c07a: Pushed 18:34:20 9505b3b9fb87609b3cd85be587e030c33719d431: digest: sha256:b5022f3486a23d63ab2360975ca42056cdec2582aa4679bdbffd5b778bf071f1 size: 1366 [Pipeline] isUnix [Pipeline] sh 18:34:21 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest [Pipeline] isUnix [Pipeline] sh 18:34:21 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 18:34:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 18:34:21 1453794ab9f6: Preparing 18:34:21 7fbffcb7e4d9: Preparing 18:34:21 304de2a8c07a: Preparing 18:34:21 e4970cb89cba: Preparing 18:34:21 f73e7dbfee58: Preparing 18:34:21 304de2a8c07a: Layer already exists 18:34:21 1453794ab9f6: Layer already exists 18:34:21 7fbffcb7e4d9: Layer already exists 18:34:21 e4970cb89cba: Layer already exists 18:34:21 f73e7dbfee58: Layer already exists 18:34:21 latest: digest: sha256:b5022f3486a23d63ab2360975ca42056cdec2582aa4679bdbffd5b778bf071f1 size: 1366 [Pipeline] isUnix [Pipeline] sh 18:34:22 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0 [Pipeline] isUnix [Pipeline] sh 18:34:22 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0 18:34:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 18:34:22 1453794ab9f6: Preparing 18:34:22 7fbffcb7e4d9: Preparing 18:34:22 304de2a8c07a: Preparing 18:34:22 e4970cb89cba: Preparing 18:34:22 f73e7dbfee58: Preparing 18:34:22 7fbffcb7e4d9: Layer already exists 18:34:22 304de2a8c07a: Layer already exists 18:34:22 e4970cb89cba: Layer already exists 18:34:22 1453794ab9f6: Layer already exists 18:34:22 f73e7dbfee58: Layer already exists 18:34:22 2.2.0: digest: sha256:b5022f3486a23d63ab2360975ca42056cdec2582aa4679bdbffd5b778bf071f1 size: 1366 [Pipeline] isUnix [Pipeline] sh 18:34:23 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:9505b3b9fb87609b3cd85be587e030c33719d431-2.2.0 [Pipeline] isUnix [Pipeline] sh 18:34:23 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:9505b3b9fb87609b3cd85be587e030c33719d431-2.2.0 18:34:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 18:34:23 1453794ab9f6: Preparing 18:34:23 7fbffcb7e4d9: Preparing 18:34:23 304de2a8c07a: Preparing 18:34:23 e4970cb89cba: Preparing 18:34:23 f73e7dbfee58: Preparing 18:34:23 7fbffcb7e4d9: Layer already exists 18:34:23 1453794ab9f6: Layer already exists 18:34:23 f73e7dbfee58: Layer already exists 18:34:23 e4970cb89cba: Layer already exists 18:34:23 304de2a8c07a: Layer already exists 18:34:23 9505b3b9fb87609b3cd85be587e030c33719d431-2.2.0: digest: sha256:b5022f3486a23d63ab2360975ca42056cdec2582aa4679bdbffd5b778bf071f1 size: 1366 [Pipeline] isUnix [Pipeline] sh 18:34:24 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] isUnix [Pipeline] sh 18:34:24 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:main 18:34:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 18:34:24 1453794ab9f6: Preparing 18:34:24 7fbffcb7e4d9: Preparing 18:34:24 304de2a8c07a: Preparing 18:34:24 e4970cb89cba: Preparing 18:34:24 f73e7dbfee58: Preparing 18:34:24 f73e7dbfee58: Layer already exists 18:34:24 e4970cb89cba: Layer already exists 18:34:24 7fbffcb7e4d9: Layer already exists 18:34:24 1453794ab9f6: Layer already exists 18:34:24 304de2a8c07a: Layer already exists 18:34:24 main: digest: sha256:b5022f3486a23d63ab2360975ca42056cdec2582aa4679bdbffd5b778bf071f1 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:34:24 ===================================================== [Pipeline] echo 18:34:24 taggedImages: 18:34:24 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:9505b3b9fb87609b3cd85be587e030c33719d431 18:34:24 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:latest 18:34:24 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.2.0 18:34:24 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:9505b3b9fb87609b3cd85be587e030c33719d431-2.2.0 18:34:24 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:34:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:34:25 18:34:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 18:34:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:34:25 arm64: Pulling from edgex-lftools-log-publisher 18:34:25 8998bd30e6a1: Pulling fs layer 18:34:25 04944245beec: Pulling fs layer 18:34:25 699f458cf7ca: Pulling fs layer 18:34:25 765212b225bb: Pulling fs layer 18:34:25 f23df028b6ca: Pulling fs layer 18:34:25 d65c8cfc05b1: Pulling fs layer 18:34:25 2437ff75d9bd: Pulling fs layer 18:34:25 765212b225bb: Waiting 18:34:25 f23df028b6ca: Waiting 18:34:25 d65c8cfc05b1: Waiting 18:34:25 2437ff75d9bd: Waiting 18:34:25 04944245beec: Verifying Checksum 18:34:25 04944245beec: Download complete 18:34:25 765212b225bb: Verifying Checksum 18:34:25 765212b225bb: Download complete 18:34:25 f23df028b6ca: Download complete 18:34:25 d65c8cfc05b1: Verifying Checksum 18:34:25 d65c8cfc05b1: Download complete 18:34:26 699f458cf7ca: Verifying Checksum 18:34:26 699f458cf7ca: Download complete 18:34:26 8998bd30e6a1: Download complete 18:34:28 2437ff75d9bd: Verifying Checksum 18:34:30 8998bd30e6a1: Pull complete 18:34:31 04944245beec: Pull complete 18:34:33 699f458cf7ca: Pull complete 18:34:33 765212b225bb: Pull complete 18:34:34 f23df028b6ca: Pull complete 18:34:34 d65c8cfc05b1: Pull complete 18:34:49 2437ff75d9bd: Pull complete 18:34:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:34:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:34:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 18:34:49 prd-ubuntu20.04-docker-arm64-4c-16g-64510 does not seem to be running inside a container 18:34:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-snmp-go/32 -v /w/workspace/device-snmp-go/32:/w/workspace/device-snmp-go/32:rw,z -v /w/workspace/device-snmp-go/32@tmp:/w/workspace/device-snmp-go/32@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 18:34:52 $ docker top 0bb8260f100fdbde9310db7166f7db7cade436b2bb5bd9f752ed0532644e3373 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:34:53 ---> job-cost.sh 18:34:53 lf-activate-venv: SKIPPING 18:34:53 INFO: No Stack... 18:34:53 INFO: Retrieving Pricing Info for: v3-standard-4 18:34:54 INFO: Archiving Costs [Pipeline] sh 18:34:55 + + catcut /w/workspace/device-snmp-go/32/archives/cost.csv -d, 18:34:55 -f6 [Pipeline] lock 18:34:55 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-main-32-stack-cost] 18:34:55 Resource [jenkins-edgexfoundry-device-snmp-go-main-32-stack-cost] did not exist. Created. 18:34:55 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-main-32-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:34:56 /w/workspace/device-snmp-go/32@tmp/durable-0137650c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:34:56 + echo total: 0.10999999940395355 [Pipeline] stash 18:34:56 Warning: overwriting stash ‘stack-cost’ 18:34:56 Stashed 1 file(s) [Pipeline] } 18:34:56 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-main-32-stack-cost] [Pipeline] // lock [Pipeline] } 18:34:57 $ docker stop --time=1 0bb8260f100fdbde9310db7166f7db7cade436b2bb5bd9f752ed0532644e3373 18:34:58 $ docker rm -f 0bb8260f100fdbde9310db7166f7db7cade436b2bb5bd9f752ed0532644e3373 [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 18:34:59 provisioning config files... 18:34:59 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5714419076495069199tmp [Pipeline] { [Pipeline] sh 18:34:59 + set +x 18:34:59 + curl -s https://codecov.io/bash 18:34:59 + bash -s -- 18:34:59 18:34:59 _____ _ 18:34:59 / ____| | | 18:34:59 | | ___ __| | ___ ___ _____ __ 18:34:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:34:59 | |___| (_) | (_| | __/ (_| (_) \ V / 18:34:59 \_____\___/ \__,_|\___|\___\___/ \_/ 18:34:59 Bash-1.0.6 18:34:59 18:34:59 18:34:59 ==> git version 2.25.1 found 18:34:59 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 18:34:59 Release-Date: 2020-01-08 18:34:59 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:34:59 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:34:59 ==> Jenkins CI detected. 18:34:59 current dir:  /w/workspace/edgexfoundry_device-snmp-go_main 18:34:59 project root: . 18:34:59 --> token set from env 18:34:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:34:59 ==> Running gcov in . (disable via -X gcov) 18:34:59 ==> Python coveragepy not found 18:34:59 ==> Searching for coverage reports in: 18:34:59 + . 18:34:59 -> Found 1 reports 18:34:59 ==> Detecting git/mercurial file structure 18:34:59 ==> Reading reports 18:34:59 + ./coverage.out bytes=7631 18:34:59 ==> Appending adjustments 18:34:59 https://docs.codecov.io/docs/fixing-reports 18:34:59 + Found adjustments 18:34:59 ==> Gzipping contents 18:34:59 4.0K /tmp/codecov.Q53kbq.gz 18:34:59 ==> Uploading reports 18:34:59 url: https://codecov.io 18:34:59 query: branch=main&commit=9505b3b9fb87609b3cd85be587e030c33719d431&build=32&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F32%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:34:59 -> Pinging Codecov 18:34:59 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=main&commit=9505b3b9fb87609b3cd85be587e030c33719d431&build=32&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmain%2F32%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:34:59 -> Uploading to 18:34:59 https://storage.googleapis.com/codecov/v4/raw/2022-05-24/6C56EA5C29638FB4528AC87E60AF5AE0/9505b3b9fb87609b3cd85be587e030c33719d431/58211f00-a2c2-4c68-83f4-7a00e55687cc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220524%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220524T183459Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=696968d06f332bf7b45eab997f6778015666eaceb1b98ec0419e68603b0aca41 18:34:59 % Total % Received % Xferd Average Speed Time Time Time Current 18:34:59 Dload Upload Total Spent Left Speed 18:35:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1603 0 0 100 1603 0 6792 --:--:-- --:--:-- --:--:-- 6792 18:35:00 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/9505b3b9fb87609b3cd85be587e030c33719d431 [Pipeline] } 18:35:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 18:35:00 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 18:35:00 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 18:35:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:35:00 18:35:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 18:35:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:35:01 1.410.4: Pulling from edgex-devops/edgex-snyk-go 18:35:01 188c0c94c7c5: Pulling fs layer 18:35:01 0ef7d3d256c8: Pulling fs layer 18:35:01 de9db76c5a1d: Pulling fs layer 18:35:01 0eba1c9be4d2: Pulling fs layer 18:35:01 0d57e429df01: Pulling fs layer 18:35:01 4e4be7b47b0d: Pulling fs layer 18:35:01 e1f770b5df2f: Pulling fs layer 18:35:01 85a0685a4137: Pulling fs layer 18:35:01 0eba1c9be4d2: Waiting 18:35:01 0d57e429df01: Waiting 18:35:01 4e4be7b47b0d: Waiting 18:35:01 e1f770b5df2f: Waiting 18:35:01 85a0685a4137: Waiting 18:35:01 de9db76c5a1d: Verifying Checksum 18:35:01 de9db76c5a1d: Download complete 18:35:01 0ef7d3d256c8: Download complete 18:35:01 0d57e429df01: Verifying Checksum 18:35:01 0d57e429df01: Download complete 18:35:01 188c0c94c7c5: Verifying Checksum 18:35:01 188c0c94c7c5: Download complete 18:35:01 188c0c94c7c5: Pull complete 18:35:01 0ef7d3d256c8: Pull complete 18:35:01 e1f770b5df2f: Verifying Checksum 18:35:01 e1f770b5df2f: Download complete 18:35:01 de9db76c5a1d: Pull complete 18:35:01 0eba1c9be4d2: Verifying Checksum 18:35:01 0eba1c9be4d2: Download complete 18:35:02 85a0685a4137: Verifying Checksum 18:35:02 85a0685a4137: Download complete 18:35:05 0eba1c9be4d2: Pull complete 18:35:05 0d57e429df01: Pull complete 18:35:05 4e4be7b47b0d: Pull complete 18:35:06 e1f770b5df2f: Pull complete 18:35:10 85a0685a4137: Pull complete 18:35:10 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 18:35:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:35:10 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 18:35:10 prd-ubuntu20.04-docker-8c-8g-64509 does not seem to be running inside a container 18:35:10 $ 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 18:35:11 $ docker top bf983d0e18156841ff072f2de4e7aef9b794867188f6a0c201c011e72fe2bd3f -eo pid,comm [Pipeline] { [Pipeline] echo 18:35:11 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 18:35:12 + set -o pipefail 18:35:12 + snyk monitor '--org=edgex-jenkins' 18:35:18 18:35:18 Monitoring /w/workspace/edgexfoundry_device-snmp-go_main (github.com/edgexfoundry/device-snmp-go)... 18:35:18 18:35:18 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/c76919d0-7345-4304-8954-aa03851194a6/history/3aa5e947-8052-410d-a783-374901472fa5 18:35:18 18:35:18 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 18:35:18 18:35:18 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 18:35:18 18:35:18 [Pipeline] } 18:35:18 $ docker stop --time=1 bf983d0e18156841ff072f2de4e7aef9b794867188f6a0c201c011e72fe2bd3f 18:35:20 $ docker rm -f bf983d0e18156841ff072f2de4e7aef9b794867188f6a0c201c011e72fe2bd3f [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 18:35:21 + git log --format=format:%s -1 9505b3b9fb87609b3cd85be587e030c33719d431 [Pipeline] sh 18:35:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:35:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 18:35:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 18:35:22 . [Pipeline] withDockerContainer 18:35:22 prd-ubuntu20.04-docker-8c-8g-64509 does not seem to be running inside a container 18:35:22 $ 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 18:35:22 $ docker top 23bd3b5b6b92ab1712a7ac6c7c2e41e89774a6ba468d279d7d27f61e54174087 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:35:22 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v2.2.0|v2.2.1-dev.1' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:35:23 + git semver [Pipeline] } 18:35:23 $ docker stop --time=1 23bd3b5b6b92ab1712a7ac6c7c2e41e89774a6ba468d279d7d27f61e54174087 18:35:24 $ docker rm -f 23bd3b5b6b92ab1712a7ac6c7c2e41e89774a6ba468d279d7d27f61e54174087 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 18:35:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:35:25 18:35:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 18:35:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:35:25 0.23.1-centos7: Pulling from edgex-lftools 18:35:25 ab5ef0e58194: Pulling fs layer 18:35:25 9712f1f96733: Pulling fs layer 18:35:25 63f879dbbcfc: Pulling fs layer 18:35:25 0d9ebad4ef96: Pulling fs layer 18:35:25 e9a5061849ea: Pulling fs layer 18:35:25 d747dcd14b5f: Pulling fs layer 18:35:25 2de7ff778b66: Pulling fs layer 18:35:25 0d9ebad4ef96: Waiting 18:35:25 e9a5061849ea: Waiting 18:35:25 d747dcd14b5f: Waiting 18:35:25 9712f1f96733: Download complete 18:35:25 63f879dbbcfc: Download complete 18:35:26 0d9ebad4ef96: Verifying Checksum 18:35:26 0d9ebad4ef96: Download complete 18:35:26 e9a5061849ea: Verifying Checksum 18:35:26 e9a5061849ea: Download complete 18:35:26 d747dcd14b5f: Download complete 18:35:26 ab5ef0e58194: Verifying Checksum 18:35:26 ab5ef0e58194: Download complete 18:35:26 2de7ff778b66: Verifying Checksum 18:35:26 2de7ff778b66: Download complete 18:35:29 ab5ef0e58194: Pull complete 18:35:29 9712f1f96733: Pull complete 18:35:29 63f879dbbcfc: Pull complete 18:35:34 0d9ebad4ef96: Pull complete 18:35:34 e9a5061849ea: Pull complete 18:35:34 d747dcd14b5f: Pull complete 18:35:35 2de7ff778b66: Pull complete 18:35:35 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 18:35:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:35:35 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 18:35:35 prd-ubuntu20.04-docker-8c-8g-64509 does not seem to be running inside a container 18:35:35 $ 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 18:35:37 $ docker top 5555feee51124d8752410c1d01ba69bb0cdbbf62ecb2538e2b912209076d520d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 18:35:37 provisioning config files... 18:35:37 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config4375158546270785614tmp 18:35:37 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config6394069938499946366tmp 18:35:37 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config24226321000168787tmp [Pipeline] { [Pipeline] echo 18:35:37 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 18:35:38 ---> sigul-configuration.sh 18:35:38 gpg: directory `/root/.gnupg' created 18:35:38 gpg: new configuration file `/root/.gnupg/gpg.conf' created 18:35:38 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 18:35:38 gpg: keyring `/root/.gnupg/secring.gpg' created 18:35:38 gpg: keyring `/root/.gnupg/pubring.gpg' created 18:35:38 gpg: CAST5 encrypted data 18:35:38 gpg: encrypted with 1 passphrase 18:35:38 gpg: WARNING: message was not integrity protected [Pipeline] sh 18:35:38 + mkdir /home/jenkins 18:35:38 + mkdir /home/jenkins/sigul [Pipeline] sh 18:35:38 + 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 18:35:38 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 18:35:38 ---> sigul-install.sh 18:35:38 Sigul already installed; skipping installation. [Pipeline] sh 18:35:39 + git tag --list 18:35:39 1.0.0 18:35:39 v0.0.0 18:35:39 v1.1.0 18:35:39 v1.1.1 18:35:39 v1.2.2 18:35:39 v1.3.0 18:35:39 v1.3.1 18:35:39 v2.0.0 18:35:39 v2.0.1-dev.1 18:35:39 v2.0.1-dev.2 18:35:39 v2.0.1-dev.3 18:35:39 v2.0.1-dev.4 18:35:39 v2.0.1-dev.5 18:35:39 v2.0.1-dev.6 18:35:39 v2.1.0 18:35:39 v2.2.0 18:35:39 v2.2.0-dev.1 18:35:39 v2.2.0-dev.10 18:35:39 v2.2.0-dev.11 18:35:39 v2.2.0-dev.12 18:35:39 v2.2.0-dev.13 18:35:39 v2.2.0-dev.14 18:35:39 v2.2.0-dev.15 18:35:39 v2.2.0-dev.16 18:35:39 v2.2.0-dev.17 18:35:39 v2.2.0-dev.18 18:35:39 v2.2.0-dev.19 18:35:39 v2.2.0-dev.2 18:35:39 v2.2.0-dev.3 18:35:39 v2.2.0-dev.4 18:35:39 v2.2.0-dev.5 18:35:39 v2.2.0-dev.6 18:35:39 v2.2.0-dev.7 18:35:39 v2.2.0-dev.8 18:35:39 v2.2.0-dev.9 18:35:39 v2.2.1-dev.1 [Pipeline] sh 18:35:39 + lftools sign git-tag v2.2.0 18:35:40 Signing Git tag with Sigul... 18:35:40 Signing v2.2.0 [Pipeline] echo 18:35:40 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 18:35:40 ---> sigul-configuration-cleanup.sh [Pipeline] } 18:35:40 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 18:35:40 $ docker stop --time=1 5555feee51124d8752410c1d01ba69bb0cdbbf62ecb2538e2b912209076d520d 18:35:42 $ docker rm -f 5555feee51124d8752410c1d01ba69bb0cdbbf62ecb2538e2b912209076d520d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 18:35:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:35:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 18:35:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 18:35:42 . [Pipeline] withDockerContainer 18:35:43 prd-ubuntu20.04-docker-8c-8g-64509 does not seem to be running inside a container 18:35:43 $ 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 18:35:43 $ docker top c34737eb5a58f52b9d3835f51f9f05548fa2e7c5429ce1b61b0aa1b5a4d8bdbf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:35:43 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v2.2.0|v2.2.1-dev.1' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:35:43 + git semver [Pipeline] } 18:35:44 $ docker stop --time=1 c34737eb5a58f52b9d3835f51f9f05548fa2e7c5429ce1b61b0aa1b5a4d8bdbf 18:35:45 $ docker rm -f c34737eb5a58f52b9d3835f51f9f05548fa2e7c5429ce1b61b0aa1b5a4d8bdbf [Pipeline] // withDockerContainer [Pipeline] sh 18:35:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:35:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 18:35:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 18:35:46 . [Pipeline] withDockerContainer 18:35:46 prd-ubuntu20.04-docker-8c-8g-64509 does not seem to be running inside a container 18:35:46 $ 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 18:35:46 $ docker top 2f5cbf7b43b3cd77410a2e8ba2274f94d3b70c9a2830ac7b166fa63b2a5f01a1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:35:46 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v2.2.0|v2.2.1-dev.1' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:35:46 + git semver [Pipeline] } 18:35:47 $ docker stop --time=1 2f5cbf7b43b3cd77410a2e8ba2274f94d3b70c9a2830ac7b166fa63b2a5f01a1 18:35:48 $ docker rm -f 2f5cbf7b43b3cd77410a2e8ba2274f94d3b70c9a2830ac7b166fa63b2a5f01a1 [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 18:35:49 + [ -d /w/workspace/edgexfoundry_device-snmp-go_main/archives ] 18:35:49 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 18:35:49 total 16 18:35:49 drwxr-xr-x 3 root root 4096 May 24 18:26 . 18:35:49 drwxrwxr-x 10 jenkins jenkins 4096 May 24 18:35 .. 18:35:49 drwxr-xr-x 2 root root 4096 May 24 18:26 cost 18:35:49 -rw-r--r-- 1 root root 84 May 24 18:26 cost.csv 18:35:49 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-snmp-go_main/archives 18:35:49 + ls -al /w/workspace/edgexfoundry_device-snmp-go_main/archives 18:35:49 total 16 18:35:49 drwxr-xr-x 3 jenkins jenkins 4096 May 24 18:26 . 18:35:49 drwxrwxr-x 10 jenkins jenkins 4096 May 24 18:35 .. 18:35:49 drwxr-xr-x 2 jenkins jenkins 4096 May 24 18:26 cost 18:35:49 -rw-r--r-- 1 jenkins jenkins 84 May 24 18:26 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:35:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:35:50 ---> package-listing.sh 18:35:50 ++ facter osfamily 18:35:50 ++ tr '[:upper:]' '[:lower:]' 18:35:50 + OS_FAMILY=debian 18:35:50 + workspace=/w/workspace/edgexfoundry_device-snmp-go_main 18:35:50 + START_PACKAGES=/tmp/packages_start.txt 18:35:50 + END_PACKAGES=/tmp/packages_end.txt 18:35:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:35:50 + PACKAGES=/tmp/packages_start.txt 18:35:50 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 18:35:50 + PACKAGES=/tmp/packages_end.txt 18:35:50 + case "${OS_FAMILY}" in 18:35:50 + dpkg -l 18:35:50 + grep '^ii' 18:35:50 + '[' -f /tmp/packages_start.txt ']' 18:35:50 + '[' -f /tmp/packages_end.txt ']' 18:35:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:35:50 + '[' /w/workspace/edgexfoundry_device-snmp-go_main ']' 18:35:50 + mkdir -p /w/workspace/edgexfoundry_device-snmp-go_main/archives/ 18:35:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-snmp-go_main/archives/ [Pipeline] echo 18:35:50 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 18:35:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 18:35:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:35:51 . [Pipeline] withDockerContainer 18:35:51 prd-ubuntu20.04-docker-8c-8g-64509 does not seem to be running inside a container 18:35:51 $ 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 18:35:51 $ docker top 39e437f58a32c5b59baddc69df7801f461ac808b1f2393252537b4f13c75e4b6 -eo pid,comm [Pipeline] { [Pipeline] sh 18:35:52 + touch /tmp/pre-build-complete [Pipeline] sh 18:35:52 + mkdir -p /var/log/sysstat [Pipeline] sh 18:35:52 + ls /var/log/sa-host 18:35:52 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:35:53 provisioning config files... 18:35:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-snmp-go_main@tmp/config5163913051868266219tmp [Pipeline] { [Pipeline] echo 18:35:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:35:53 ---> create-netrc.sh [Pipeline] } 18:35:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:35:53 ---> python-tools-install.sh [Pipeline] echo 18:35:53 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:35:54 ---> sudo-logs.sh 18:35:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:35:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:35:54 ---> job-cost.sh 18:35:54 lf-activate-venv: SKIPPING 18:35:54 DEBUG: total: 0.2199999988079071 18:35:54 INFO: Retrieving Stack Cost... 18:35:54 INFO: Retrieving Pricing Info for: v3-standard-8 18:35:55 INFO: Archiving Costs [Pipeline] echo 18:35:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:35:55 ---> logs-deploy.sh 18:35:55 lf-activate-venv: SKIPPING 18:35:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/main/32 18:35:55 INFO: archiving workspace using pattern(s): 18:35:56 Archives upload complete. 18:35:56 INFO: archiving logs to Nexus