Push event to branch jakarta Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0a73bd19d177e0be9e88e3cec666e4c6d1c018b1 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-ssh12611841798699971390.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-ssh5293365538010075789.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/jakarta/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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/jakarta/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12605416887161247401.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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/jakarta/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3744586842238445599.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 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-ssh9785444355709258147.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/jakarta/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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/jakarta/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13947258047011259287.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-snmp-go-settings PROJECT: device-snmp-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-snmp DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-13 in /w/workspace/exfoundry_device-snmp-go_jakarta [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/exfoundry_device-snmp-go_jakarta # 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 0a73bd19d177e0be9e88e3cec666e4c6d1c018b1 (jakarta) > 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 0a73bd19d177e0be9e88e3cec666e4c6d1c018b1 # timeout=10 Commit message: "Merge pull request #174 from lenny-intel/jakarta-versions-fix" > git rev-list --no-walk 0a246da567fca350fd9d1d3301cf71cc0b33f546 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:39:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:39:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:39:56 ========================================================= 01:39:56 EdgeX Global Pipelines Version Info 01:39:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:39:57 ------------------- 01:39:57 stable info: 01:39:57 ------------------- 01:39:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:39:57 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 01:39:57 Message: update stable to v1.0.230 01:39:57 ------------------- 01:39:57 experimental info: 01:39:57 ------------------- 01:39:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:39:57 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 01:39:57 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = jakarta [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = jakarta [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = jakarta [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0a73bd19d177e0be9e88e3cec666e4c6d1c018b1 [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0a73bd1 [Pipeline] echo 01:39:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:39:58 provisioning config files... 01:39:58 copy managed file [device-snmp-go-settings] to file:/w/workspace/exfoundry_device-snmp-go_jakarta@tmp/config3198768528461429440tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:39:58 ---> docker-login.sh 01:39:58 nexus3.edgexfoundry.org:10001 01:39:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:39:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:39:59 Configure a credential helper to remove this warning. See 01:39:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:39:59 01:39:59 Login Succeeded 01:39:59 nexus3.edgexfoundry.org:10002 01:39:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:39:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:39:59 Configure a credential helper to remove this warning. See 01:39:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:39:59 01:39:59 Login Succeeded 01:39:59 nexus3.edgexfoundry.org:10003 01:39:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:39:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:39:59 Configure a credential helper to remove this warning. See 01:39:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:39:59 01:39:59 Login Succeeded 01:39:59 nexus3.edgexfoundry.org:10004 01:39:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:39:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:39:59 Configure a credential helper to remove this warning. See 01:39:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:39:59 01:39:59 Login Succeeded 01:39:59 docker.io 01:39:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:40:00 Configure a credential helper to remove this warning. See 01:40:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:40:00 01:40:00 Login Succeeded 01:40:00 ---> docker-login.sh ends [Pipeline] } 01:40:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:40:00 + git rev-list -1 --merges 0a73bd19d177e0be9e88e3cec666e4c6d1c018b1~1..0a73bd19d177e0be9e88e3cec666e4c6d1c018b1 [Pipeline] echo 01:40:00 -----------> git rev-list -1 --merges 0a73bd19d177e0be9e88e3cec666e4c6d1c018b1~1..0a73bd19d177e0be9e88e3cec666e4c6d1c018b1 0a73bd19d177e0be9e88e3cec666e4c6d1c018b1 01:40:00 0a73bd19d177e0be9e88e3cec666e4c6d1c018b1 [false] [Pipeline] sh 01:40:00 + git log --format=format:%s -1 0a73bd19d177e0be9e88e3cec666e4c6d1c018b1 [Pipeline] echo 01:40:00 ========================================================= 01:40:00 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:40:00 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:40:01 + git log --format=format:%s -1 0a73bd19d177e0be9e88e3cec666e4c6d1c018b1 [Pipeline] echo 01:40:01 [semverPrep] GIT_COMMIT: 0a73bd19d177e0be9e88e3cec666e4c6d1c018b1, Commit Message: Merge pull request #174 from lenny-intel/jakarta-versions-fix [Pipeline] echo 01:40:01 [semverPrep] This is not a build commit. [Pipeline] sh 01:40:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:40:01 + grep -v github /etc/ssh/ssh_known_hosts 01:40:01 + [ -e /tmp/ssh_known_hosts ] 01:40:01 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:40:01 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:40:01 + sudo tee -a /etc/ssh/ssh_known_hosts 01:40:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:40:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 01:40:02 01:40:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:40:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 01:40:02 latest: Pulling from edgex-devops/py-git-semver 01:40:02 1fe172e4850f: Pulling fs layer 01:40:02 caf521ccaac6: Pulling fs layer 01:40:02 3ead6fa29328: Pulling fs layer 01:40:02 5c2a1cbceb83: Pulling fs layer 01:40:02 a8d5f1318db7: Pulling fs layer 01:40:02 c427282e49a2: Pulling fs layer 01:40:02 1827001aaf11: Pulling fs layer 01:40:02 0714d37db230: Pulling fs layer 01:40:02 ac28cf19c067: Pulling fs layer 01:40:02 ca983d60f3e2: Pulling fs layer 01:40:02 9f894cec8388: Pulling fs layer 01:40:02 5c2a1cbceb83: Waiting 01:40:02 c427282e49a2: Waiting 01:40:02 1827001aaf11: Waiting 01:40:02 0714d37db230: Waiting 01:40:02 a8d5f1318db7: Waiting 01:40:02 ac28cf19c067: Waiting 01:40:02 9f894cec8388: Waiting 01:40:02 caf521ccaac6: Download complete 01:40:02 5c2a1cbceb83: Verifying Checksum 01:40:02 a8d5f1318db7: Verifying Checksum 01:40:02 a8d5f1318db7: Download complete 01:40:02 c427282e49a2: Verifying Checksum 01:40:02 c427282e49a2: Download complete 01:40:02 3ead6fa29328: Verifying Checksum 01:40:02 3ead6fa29328: Download complete 01:40:02 0714d37db230: Verifying Checksum 01:40:02 0714d37db230: Download complete 01:40:02 ac28cf19c067: Download complete 01:40:02 ca983d60f3e2: Verifying Checksum 01:40:02 ca983d60f3e2: Download complete 01:40:02 9f894cec8388: Download complete 01:40:02 1fe172e4850f: Download complete 01:40:03 1827001aaf11: Verifying Checksum 01:40:03 1827001aaf11: Download complete 01:40:03 1fe172e4850f: Pull complete 01:40:04 caf521ccaac6: Pull complete 01:40:04 3ead6fa29328: Pull complete 01:40:04 5c2a1cbceb83: Pull complete 01:40:05 a8d5f1318db7: Pull complete 01:40:05 c427282e49a2: Pull complete 01:40:06 1827001aaf11: Pull complete 01:40:07 0714d37db230: Pull complete 01:40:07 ac28cf19c067: Pull complete 01:40:07 ca983d60f3e2: Pull complete 01:40:07 9f894cec8388: Pull complete 01:40:07 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 01:40:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 01:40:07 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:40:07 prd-ubuntu20.04-docker-8c-8g-13 does not seem to be running inside a container 01:40:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-snmp-go_jakarta -v /w/workspace/exfoundry_device-snmp-go_jakarta:/w/workspace/exfoundry_device-snmp-go_jakarta:rw,z -v /w/workspace/exfoundry_device-snmp-go_jakarta@tmp:/w/workspace/exfoundry_device-snmp-go_jakarta@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 01:40:09 $ docker top 63c48fc24d388f2299e427d43776b44a50bf4786749bc11b7f2b2d7e9a8d4d8c -eo pid,comm 01:40:09 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). 01:40:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:40:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:40:09 [ssh-agent] Looking for ssh-agent implementation... 01:40:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:40:09 $ docker exec 63c48fc24d388f2299e427d43776b44a50bf4786749bc11b7f2b2d7e9a8d4d8c ssh-agent 01:40:09 SSH_AUTH_SOCK=/tmp/ssh-WBLvDrSvzJSz/agent.32 01:40:09 SSH_AGENT_PID=38 01:40:09 Running ssh-add (command line suppressed) 01:40:09 Identity added: /w/workspace/exfoundry_device-snmp-go_jakarta@tmp/private_key_1234415494693925425.key (/w/workspace/exfoundry_device-snmp-go_jakarta@tmp/private_key_1234415494693925425.key) 01:40:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:40:09 + git tag --points-at HEAD [Pipeline] } 01:40:09 $ docker exec --env ******** --env ******** 63c48fc24d388f2299e427d43776b44a50bf4786749bc11b7f2b2d7e9a8d4d8c ssh-agent -k 01:40:10 unset SSH_AUTH_SOCK; 01:40:10 unset SSH_AGENT_PID; 01:40:10 echo Agent pid 38 killed; 01:40:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:40:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:40:10 [ssh-agent] Looking for ssh-agent implementation... 01:40:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:40:10 $ docker exec 63c48fc24d388f2299e427d43776b44a50bf4786749bc11b7f2b2d7e9a8d4d8c ssh-agent 01:40:10 SSH_AUTH_SOCK=/tmp/ssh-UaMjOpm9UylP/agent.71 01:40:10 SSH_AGENT_PID=78 01:40:10 Running ssh-add (command line suppressed) 01:40:10 Identity added: /w/workspace/exfoundry_device-snmp-go_jakarta@tmp/private_key_1513378343937180768.key (/w/workspace/exfoundry_device-snmp-go_jakarta@tmp/private_key_1513378343937180768.key) 01:40:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:40:10 + git semver init 01:40:11 2022-05-25 01:40:10,997 [run_init] DEBUG init version:0.0.0 force:False 01:40:11 2022-05-25 01:40:10,997 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-snmp-go_jakarta/.semver 01:40:11 2022-05-25 01:40:10,998 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/exfoundry_device-snmp-go_jakarta/.semver 01:40:11 2022-05-25 01:40:10,998 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-snmp-go.git', '/w/workspace/exfoundry_device-snmp-go_jakarta/.semver'], cwd=/w/workspace/exfoundry_device-snmp-go_jakarta, universal_newlines=False, shell=None, istream=None) 01:40:11 2022-05-25 01:40:11,724 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-snmp-go_jakarta/.git/info/exclude 01:40:11 2022-05-25 01:40:11,724 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-snmp-go_jakarta/.semver/jakarta with force:False 01:40:11 2022-05-25 01:40:11,725 [read_version] DEBUG read version from /w/workspace/exfoundry_device-snmp-go_jakarta/.semver/jakarta 01:40:11 2022-05-25 01:40:11,725 [read_version] DEBUG read version from /w/workspace/exfoundry_device-snmp-go_jakarta/.semver/jakarta 01:40:11 2.1.1-dev.1 [Pipeline] } 01:40:12 $ docker exec --env ******** --env ******** 63c48fc24d388f2299e427d43776b44a50bf4786749bc11b7f2b2d7e9a8d4d8c ssh-agent -k 01:40:12 unset SSH_AUTH_SOCK; 01:40:12 unset SSH_AGENT_PID; 01:40:12 echo Agent pid 78 killed; 01:40:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:40:12 + git semver [Pipeline] } 01:40:12 $ docker stop --time=1 63c48fc24d388f2299e427d43776b44a50bf4786749bc11b7f2b2d7e9a8d4d8c 01:40:14 $ docker rm -f 63c48fc24d388f2299e427d43776b44a50bf4786749bc11b7f2b2d7e9a8d4d8c [Pipeline] // withDockerContainer [Pipeline] sh 01:40:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:40:14 Stashed 1 file(s) [Pipeline] echo 01:40:14 [edgeXSemver]: initialized semver on version 2.1.1-dev.1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:40:14 provisioning config files... 01:40:14 copy managed file [device-snmp-go-settings] to file:/w/workspace/exfoundry_device-snmp-go_jakarta@tmp/config6560190111364107849tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:40:15 ---> docker-login.sh 01:40:15 nexus3.edgexfoundry.org:10001 01:40:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:40:15 Configure a credential helper to remove this warning. See 01:40:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:40:15 01:40:15 Login Succeeded 01:40:15 nexus3.edgexfoundry.org:10002 01:40:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:40:15 Configure a credential helper to remove this warning. See 01:40:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:40:15 01:40:15 Login Succeeded 01:40:15 nexus3.edgexfoundry.org:10003 01:40:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:40:15 Configure a credential helper to remove this warning. See 01:40:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:40:15 01:40:15 Login Succeeded 01:40:15 nexus3.edgexfoundry.org:10004 01:40:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:40:15 Configure a credential helper to remove this warning. See 01:40:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:40:15 01:40:15 Login Succeeded 01:40:15 docker.io 01:40:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:40:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:40:15 Configure a credential helper to remove this warning. See 01:40:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:40:15 01:40:15 Login Succeeded 01:40:15 ---> docker-login.sh ends [Pipeline] } 01:40:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:40:16 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:40:16 ========================================================= 01:40:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts] 01:40:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:40:16 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts --build-arg MAKE=echo noop --target=builder . 01:40:16 Sending build context to Docker daemon 16.3MB 01:40:16 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 01:40:16 Step 2/11 : FROM ${BASE} AS builder 01:40:16 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base 01:40:16 59bf1c3509f3: Pulling fs layer 01:40:16 666ba61612fd: Pulling fs layer 01:40:16 8ed8ca486205: Pulling fs layer 01:40:16 4fe6c5a15a65: Pulling fs layer 01:40:16 22a0e8bec74d: Pulling fs layer 01:40:16 5f8736975d2d: Pulling fs layer 01:40:16 fe9c1520953f: Pulling fs layer 01:40:16 ad63dd2c9e3e: Pulling fs layer 01:40:16 15d927b9e438: Pulling fs layer 01:40:16 22a0e8bec74d: Waiting 01:40:16 5f8736975d2d: Waiting 01:40:16 fe9c1520953f: Waiting 01:40:16 ad63dd2c9e3e: Waiting 01:40:16 15d927b9e438: Waiting 01:40:16 4fe6c5a15a65: Waiting 01:40:16 8ed8ca486205: Download complete 01:40:16 666ba61612fd: Verifying Checksum 01:40:16 666ba61612fd: Download complete 01:40:16 22a0e8bec74d: Download complete 01:40:16 5f8736975d2d: Verifying Checksum 01:40:16 5f8736975d2d: Download complete 01:40:16 59bf1c3509f3: Verifying Checksum 01:40:16 59bf1c3509f3: Download complete 01:40:16 fe9c1520953f: Verifying Checksum 01:40:16 fe9c1520953f: Download complete 01:40:16 ad63dd2c9e3e: Verifying Checksum 01:40:16 ad63dd2c9e3e: Download complete 01:40:16 59bf1c3509f3: Pull complete 01:40:16 666ba61612fd: Pull complete 01:40:17 8ed8ca486205: Pull complete 01:40:17 15d927b9e438: Verifying Checksum 01:40:17 15d927b9e438: Download complete 01:40:17 4fe6c5a15a65: Verifying Checksum 01:40:17 4fe6c5a15a65: Download complete 01:40:21 4fe6c5a15a65: Pull complete 01:40:21 22a0e8bec74d: Pull complete 01:40:21 5f8736975d2d: Pull complete 01:40:21 fe9c1520953f: Pull complete 01:40:21 ad63dd2c9e3e: Pull complete 01:40:23 15d927b9e438: Pull complete 01:40:23 Digest: sha256:661808593d0254beeed429a39851472eaea702e19ad1e0a0b350076e4156c215 01:40:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts 01:40:23 ---> 38c4cad2258c 01:40:23 Step 3/11 : ARG MAKE='make build' 01:40:25 ---> Running in 8641b8ad9691 01:40:25 Removing intermediate container 8641b8ad9691 01:40:25 ---> dc4b50bd148d 01:40:25 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:40:25 ---> Running in 15877863043f 01:40:25 Removing intermediate container 15877863043f 01:40:25 ---> 2097e11e4aae 01:40:25 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 01:40:25 ---> Running in f4fc4c7acc38 01:40:25 Removing intermediate container f4fc4c7acc38 01:40:25 ---> 285ef95e7f6b 01:40:25 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:40:25 ---> Running in 01974c23797c 01:40:25 Removing intermediate container 01974c23797c 01:40:25 ---> 170e4002ee32 01:40:25 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:40:25 ---> Running in 2540e550f069 01:40:26 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:40:27 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:40:27 (1/4) Installing openssh-keygen (8.8_p1-r1) 01:40:27 (2/4) Installing libedit (20210910.3.1-r0) 01:40:27 (3/4) Installing openssh-client-common (8.8_p1-r1) 01:40:27 (4/4) Installing openssh-client-default (8.8_p1-r1) 01:40:27 Executing busybox-1.34.1-r3.trigger 01:40:27 OK: 224 MiB in 56 packages 01:40:28 Removing intermediate container 2540e550f069 01:40:28 ---> 746c746f2e35 01:40:28 Step 8/11 : WORKDIR /device-snmp-go 01:40:28 ---> Running in 0c626f596bba 01:40:28 Removing intermediate container 0c626f596bba 01:40:28 ---> e6df841406ee 01:40:28 Step 9/11 : COPY . . 01:40:29 ---> 59c5d5ddbf04 01:40:29 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:40:29 ---> Running in cfd575803c13 01:40:29 skipping... 01:40:29 Removing intermediate container cfd575803c13 01:40:29 ---> c1d8dba35ced 01:40:29 Step 11/11 : RUN ${MAKE} 01:40:29 ---> Running in 559e71d7bd04 01:40:29 Still waiting to schedule task 01:40:29 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 01:40:29 noop 01:40:30 Removing intermediate container 559e71d7bd04 01:40:30 ---> 66b8bf8e27a5 01:40:30 Successfully built 66b8bf8e27a5 01:40:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:40:30 + docker inspect -f . ci-base-image-x86_64 01:40:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:40:30 prd-ubuntu20.04-docker-8c-8g-13 does not seem to be running inside a container 01:40:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-snmp-go_jakarta -v /w/workspace/exfoundry_device-snmp-go_jakarta:/w/workspace/exfoundry_device-snmp-go_jakarta:rw,z -v /w/workspace/exfoundry_device-snmp-go_jakarta@tmp:/w/workspace/exfoundry_device-snmp-go_jakarta@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 ******** ci-base-image-x86_64 cat 01:40:31 $ docker top c71c741d300c2e189fe163a3f817c44f2cbb17f4044b6e3031da05cce77c1fd6 -eo pid,comm [Pipeline] { [Pipeline] sh 01:40:31 + go version 01:40:31 go version go1.17.6 linux/amd64 [Pipeline] } 01:40:31 $ docker stop --time=1 c71c741d300c2e189fe163a3f817c44f2cbb17f4044b6e3031da05cce77c1fd6 01:40:32 $ docker rm -f c71c741d300c2e189fe163a3f817c44f2cbb17f4044b6e3031da05cce77c1fd6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:40:33 + docker inspect -f . ci-base-image-x86_64 01:40:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:40:33 prd-ubuntu20.04-docker-8c-8g-13 does not seem to be running inside a container 01:40:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-snmp-go_jakarta -v /w/workspace/exfoundry_device-snmp-go_jakarta:/w/workspace/exfoundry_device-snmp-go_jakarta:rw,z -v /w/workspace/exfoundry_device-snmp-go_jakarta@tmp:/w/workspace/exfoundry_device-snmp-go_jakarta@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 ******** ci-base-image-x86_64 cat 01:40:33 $ docker top fef9b987a6c61127b6ef08449166330047588153a5fb2e2e3cf157fb180f2c67 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:40:34 + make test 01:40:34 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 01:40:34 ? github.com/edgexfoundry/device-snmp-go [no test files] 01:40:41 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 01:40:41 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.010s coverage: 0.0% of statements 01:40:41 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:40:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:40:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:40:44 ./bin/test-attribution-txt.sh 01:40:44 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.0 01:40:44 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.0 01:40:44 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 01:40:44 go: downloading github.com/OneOfOne/xxhash v1.2.8 01:40:44 go: downloading github.com/google/uuid v1.3.0 01:40:44 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 01:40:44 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.0 01:40:44 go: downloading github.com/soniah/gosnmp v1.21.0 01:40:44 go: downloading github.com/gorilla/mux v1.8.0 01:40:44 go: downloading github.com/pelletier/go-toml v1.9.4 01:40:44 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 01:40:44 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 01:40:44 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 01:40:44 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 01:40:44 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.0 01:40:44 go: downloading github.com/hashicorp/go-multierror v1.1.0 01:40:44 go: downloading github.com/hashicorp/consul/api v1.9.1 01:40:44 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 01:40:44 go: downloading github.com/go-playground/validator/v10 v10.9.0 01:40:44 go: downloading github.com/go-kit/kit v0.11.0 01:40:44 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 01:40:44 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 01:40:44 go: downloading github.com/go-redis/redis/v7 v7.3.0 01:40:44 go: downloading github.com/pebbe/zmq4 v1.2.7 01:40:44 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 01:40:44 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 01:40:44 go: downloading github.com/go-logfmt/logfmt v0.5.0 01:40:44 go: downloading github.com/mitchellh/copystructure v1.0.0 01:40:44 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 01:40:44 go: downloading github.com/mitchellh/mapstructure v1.1.2 01:40:44 go: downloading golang.org/x/text v0.3.6 01:40:44 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 01:40:44 go: downloading github.com/golang/mock v1.4.4 01:40:44 go: downloading github.com/hashicorp/golang-lru v0.5.0 01:40:44 go: downloading github.com/hashicorp/errwrap v1.0.0 01:40:44 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 01:40:44 go: downloading github.com/hashicorp/go-hclog v0.12.0 01:40:44 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 01:40:44 go: downloading github.com/hashicorp/serf v0.9.5 01:40:44 go: downloading github.com/x448/float16 v0.8.4 01:40:44 go: downloading github.com/go-playground/universal-translator v0.18.0 01:40:44 go: downloading github.com/leodido/go-urn v1.2.1 01:40:44 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 01:40:44 go: downloading github.com/mitchellh/reflectwalk v1.0.0 01:40:44 go: downloading github.com/gorilla/websocket v1.4.2 01:40:44 go: downloading github.com/mitchellh/go-homedir v1.1.0 01:40:44 go: downloading github.com/fatih/color v1.9.0 01:40:44 go: downloading github.com/mattn/go-colorable v0.1.6 01:40:44 go: downloading github.com/mattn/go-isatty v0.0.12 01:40:44 go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo 01:40:45 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 01:40:46 + go mod tidy 01:40:46 go: downloading github.com/stretchr/testify v1.7.0 01:40:46 go: downloading github.com/go-stack/stack v1.8.0 01:40:46 go: downloading github.com/go-playground/assert/v2 v2.0.1 01:40:46 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 01:40:46 go: downloading github.com/hashicorp/consul/sdk v0.8.0 01:40:46 go: downloading github.com/hashicorp/go-uuid v1.0.1 01:40:46 go: downloading github.com/onsi/ginkgo v1.10.1 01:40:46 go: downloading github.com/onsi/gomega v1.7.0 01:40:46 go: downloading github.com/hashicorp/go-msgpack v0.5.3 01:40:46 go: downloading github.com/hashicorp/memberlist v0.2.2 01:40:46 go: downloading github.com/pkg/errors v0.9.1 01:40:46 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 01:40:46 go: downloading github.com/davecgh/go-spew v1.1.1 01:40:46 go: downloading github.com/pmezard/go-difflib v1.0.0 01:40:46 go: downloading github.com/stretchr/objx v0.1.1 01:40:46 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 01:40:46 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 01:40:46 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 01:40:46 go: downloading github.com/miekg/dns v1.1.26 01:40:46 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 01:40:46 go: downloading gopkg.in/yaml.v2 v2.3.0 01:40:46 go: downloading github.com/hpcloud/tail v1.0.0 01:40:46 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 01:40:46 go: downloading gopkg.in/fsnotify.v1 v1.4.7 01:40:46 go: downloading github.com/kr/pretty v0.3.0 01:40:46 go: downloading github.com/rogpeppe/go-internal v1.8.0 01:40:46 go: downloading github.com/kr/text v0.2.0 [Pipeline] } 01:40:46 $ docker stop --time=1 fef9b987a6c61127b6ef08449166330047588153a5fb2e2e3cf157fb180f2c67 01:40:48 $ docker rm -f fef9b987a6c61127b6ef08449166330047588153a5fb2e2e3cf157fb180f2c67 [Pipeline] // withDockerContainer [Pipeline] sh 01:40:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:40:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:40:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:40:49 + ls -al . 01:40:49 total 180 01:40:49 drwxrwxr-x 10 jenkins jenkins 4096 May 25 01:40 . 01:40:49 drwxrwxr-x 4 jenkins jenkins 4096 May 25 01:39 .. 01:40:49 -rw-rw-r-- 1 jenkins jenkins 6 May 25 01:39 .dockerignore 01:40:49 drwxrwxr-x 8 jenkins jenkins 4096 May 25 01:40 .git 01:40:49 drwxrwxr-x 2 jenkins jenkins 4096 May 25 01:39 .github 01:40:49 -rw-rw-r-- 1 jenkins jenkins 255 May 25 01:39 .gitignore 01:40:49 drwxr-xr-x 3 jenkins jenkins 4096 May 25 01:40 .semver 01:40:49 -rw-rw-r-- 1 jenkins jenkins 6926 May 25 01:39 Attribution.txt 01:40:49 -rw-rw-r-- 1 jenkins jenkins 4401 May 25 01:39 CHANGELOG.md 01:40:49 -rw-rw-r-- 1 jenkins jenkins 1493 May 25 01:39 Dockerfile 01:40:49 -rw-rw-r-- 1 jenkins jenkins 677 May 25 01:39 GOVERNANCE.md 01:40:49 -rw-rw-r-- 1 jenkins jenkins 656 May 25 01:39 Jenkinsfile 01:40:49 -rw-rw-r-- 1 jenkins jenkins 11340 May 25 01:39 LICENSE 01:40:49 -rw-rw-r-- 1 jenkins jenkins 1526 May 25 01:39 Makefile 01:40:49 -rw-rw-r-- 1 jenkins jenkins 620 May 25 01:39 OWNERS.md 01:40:49 -rw-rw-r-- 1 jenkins jenkins 9073 May 25 01:39 README.md 01:40:49 -rw-rw-r-- 1 jenkins jenkins 11 May 25 01:40 VERSION 01:40:49 drwxrwxr-x 2 jenkins jenkins 4096 May 25 01:39 bin 01:40:49 drwxrwxr-x 3 jenkins jenkins 4096 May 25 01:39 cmd 01:40:49 -rw-r--r-- 1 jenkins jenkins 7631 May 25 01:40 coverage.out 01:40:49 -rw-rw-r-- 1 jenkins jenkins 208 May 25 01:40 go.mod 01:40:49 -rw-rw-r-- 1 jenkins jenkins 49477 May 25 01:39 go.sum 01:40:49 drwxrwxr-x 3 jenkins jenkins 4096 May 25 01:39 internal 01:40:49 drwxrwxr-x 3 jenkins jenkins 4096 May 25 01:39 snap 01:40:49 drwxrwxr-x 6 jenkins jenkins 4096 May 25 01:39 vendor 01:40:49 -rw-rw-r-- 1 jenkins jenkins 228 May 25 01:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:40:50 + 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=0a73bd19d177e0be9e88e3cec666e4c6d1c018b1 --label arch=amd64 --label version=2.1.1-dev.1 . 01:40:50 Sending build context to Docker daemon 16.31MB 01:40:50 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 01:40:50 Step 2/23 : FROM ${BASE} AS builder 01:40:50 ---> 66b8bf8e27a5 01:40:50 Step 3/23 : ARG MAKE='make build' 01:40:50 ---> Running in f946525f1b91 01:40:50 Removing intermediate container f946525f1b91 01:40:50 ---> b5163907af96 01:40:50 Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:40:50 ---> Running in d36a7f51ea7c 01:40:50 Removing intermediate container d36a7f51ea7c 01:40:50 ---> f75ddd31d257 01:40:50 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 01:40:50 ---> Running in bb93529481d0 01:40:50 Removing intermediate container bb93529481d0 01:40:50 ---> 36888fe10329 01:40:50 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:40:50 ---> Running in c6cfca9d0d27 01:40:51 Removing intermediate container c6cfca9d0d27 01:40:51 ---> 00887e3885fd 01:40:51 Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:40:51 ---> Running in 7737db6339a1 01:40:51 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:40:52 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:40:52 OK: 224 MiB in 56 packages 01:40:53 Removing intermediate container 7737db6339a1 01:40:53 ---> 1e7ad722bd13 01:40:53 Step 8/23 : WORKDIR /device-snmp-go 01:40:53 ---> Running in cb26a351c6aa 01:40:53 Removing intermediate container cb26a351c6aa 01:40:53 ---> 5601a9a84541 01:40:53 Step 9/23 : COPY . . 01:40:54 ---> 28abb302f2ba 01:40:54 Step 10/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:40:54 ---> Running in b90466572e48 01:40:54 skipping... 01:40:54 Removing intermediate container b90466572e48 01:40:54 ---> 3e58856f788c 01:40:54 Step 11/23 : RUN ${MAKE} 01:40:54 ---> Running in fe41c940f344 01:40:55 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=2.1.1-dev.1 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.1.0" -o cmd/device-snmp ./cmd 01:41:03 Removing intermediate container fe41c940f344 01:41:03 ---> 3a948bc28160 01:41:03 Step 12/23 : FROM alpine:3.14 01:41:03 3.14: Pulling from library/alpine 01:41:03 8663204ce13b: Pulling fs layer 01:41:03 8663204ce13b: Verifying Checksum 01:41:03 8663204ce13b: Download complete 01:41:03 8663204ce13b: Pull complete 01:41:03 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 01:41:03 Status: Downloaded newer image for alpine:3.14 01:41:03 ---> e04c818066af 01:41:03 Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init 01:41:03 ---> Running in 003dadbbdad5 01:41:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 01:41:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 01:41:03 (1/6) Installing dumb-init (1.2.5-r1) 01:41:03 (2/6) Installing libgcc (10.3.1_git20210424-r2) 01:41:03 (3/6) Installing libsodium (1.0.18-r0) 01:41:03 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 01:41:03 (5/6) Installing libzmq (4.3.4-r0) 01:41:03 (6/6) Installing zeromq (4.3.4-r0) 01:41:03 Executing busybox-1.33.1-r7.trigger 01:41:03 OK: 8 MiB in 20 packages 01:41:04 Removing intermediate container 003dadbbdad5 01:41:04 ---> 87eebcc4db2e 01:41:04 Step 14/23 : COPY --from=builder /device-snmp-go/cmd / 01:41:04 ---> e343203baa71 01:41:04 Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / 01:41:04 ---> c5adcf587a97 01:41:04 Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / 01:41:04 ---> bfcde9805e25 01:41:04 Step 17/23 : EXPOSE 59993 01:41:04 ---> Running in 0578de8b1399 01:41:04 Removing intermediate container 0578de8b1399 01:41:04 ---> d9f781f76d66 01:41:04 Step 18/23 : EXPOSE 161 01:41:04 ---> Running in 4fe2ea13edf6 01:41:05 Removing intermediate container 4fe2ea13edf6 01:41:05 ---> b32ede710692 01:41:05 Step 19/23 : ENTRYPOINT ["/device-snmp"] 01:41:05 ---> Running in a3fb4b33e2ae 01:41:05 Removing intermediate container a3fb4b33e2ae 01:41:05 ---> 4d36b22d177f 01:41:05 Step 20/23 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 01:41:05 ---> Running in 3ca7328d7983 01:41:05 Removing intermediate container 3ca7328d7983 01:41:05 ---> ff0db972fe4c 01:41:05 Step 21/23 : LABEL arch=amd64 01:41:05 ---> Running in ea1856ad8f74 01:41:05 Removing intermediate container ea1856ad8f74 01:41:05 ---> e992104c6470 01:41:05 Step 22/23 : LABEL git_sha=0a73bd19d177e0be9e88e3cec666e4c6d1c018b1 01:41:05 ---> Running in 8238994341bf 01:41:05 Removing intermediate container 8238994341bf 01:41:05 ---> 8721bca04dc6 01:41:05 Step 23/23 : LABEL version=2.1.1-dev.1 01:41:05 ---> Running in 96efd14995f3 01:41:05 Removing intermediate container 96efd14995f3 01:41:05 ---> 8253128cbe07 01:41:05 [Warning] One or more build-args [ARCH] were not consumed 01:41:05 Successfully built 8253128cbe07 01:41:05 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:41:05 provisioning config files... 01:41:05 copy managed file [device-snmp-go-settings] to file:/w/workspace/exfoundry_device-snmp-go_jakarta@tmp/config4849671685280137408tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:41:06 ---> docker-login.sh 01:41:06 nexus3.edgexfoundry.org:10001 01:41:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:41:06 Configure a credential helper to remove this warning. See 01:41:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:41:06 01:41:06 Login Succeeded 01:41:06 nexus3.edgexfoundry.org:10002 01:41:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:41:06 Configure a credential helper to remove this warning. See 01:41:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:41:06 01:41:06 Login Succeeded 01:41:06 nexus3.edgexfoundry.org:10003 01:41:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:41:06 Configure a credential helper to remove this warning. See 01:41:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:41:06 01:41:06 Login Succeeded 01:41:06 nexus3.edgexfoundry.org:10004 01:41:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:41:06 Configure a credential helper to remove this warning. See 01:41:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:41:06 01:41:06 Login Succeeded 01:41:06 docker.io 01:41:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:41:06 Configure a credential helper to remove this warning. See 01:41:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:41:06 01:41:06 Login Succeeded 01:41:06 ---> docker-login.sh ends [Pipeline] } 01:41:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:41:06 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:41:06 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 01:41:06 0a73bd19d177e0be9e88e3cec666e4c6d1c018b1 01:41:06 2.1.1-dev.1 01:41:06 0a73bd19d177e0be9e88e3cec666e4c6d1c018b1-2.1.1-dev.1 01:41:06 jakarta 01:41:06 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:41:07 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:0a73bd19d177e0be9e88e3cec666e4c6d1c018b1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:41:07 + docker push nexus3.edgexfoundry.org:10004/device-snmp:0a73bd19d177e0be9e88e3cec666e4c6d1c018b1 01:41:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 01:41:07 b59f554e621f: Preparing 01:41:07 693dc5682d88: Preparing 01:41:07 cf5717e2d46d: Preparing 01:41:07 ba270bdea93d: Preparing 01:41:07 b541d28bf3b4: Preparing 01:41:07 b541d28bf3b4: Layer already exists 01:41:07 b59f554e621f: Pushed 01:41:07 693dc5682d88: Pushed 01:41:07 ba270bdea93d: Pushed 01:41:09 cf5717e2d46d: Pushed 01:41:09 0a73bd19d177e0be9e88e3cec666e4c6d1c018b1: digest: sha256:9ac41b4282f7e2d14def8636106832cbdd3b5b5e5618aaa6a72e874d164b0cf6 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:41:09 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.1.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:41:09 + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.1.1-dev.1 01:41:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 01:41:09 b59f554e621f: Preparing 01:41:09 693dc5682d88: Preparing 01:41:09 cf5717e2d46d: Preparing 01:41:09 ba270bdea93d: Preparing 01:41:09 b541d28bf3b4: Preparing 01:41:09 b541d28bf3b4: Layer already exists 01:41:09 ba270bdea93d: Layer already exists 01:41:09 693dc5682d88: Layer already exists 01:41:09 b59f554e621f: Layer already exists 01:41:09 cf5717e2d46d: Layer already exists 01:41:09 2.1.1-dev.1: digest: sha256:9ac41b4282f7e2d14def8636106832cbdd3b5b5e5618aaa6a72e874d164b0cf6 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:41:10 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:0a73bd19d177e0be9e88e3cec666e4c6d1c018b1-2.1.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:41:10 + docker push nexus3.edgexfoundry.org:10004/device-snmp:0a73bd19d177e0be9e88e3cec666e4c6d1c018b1-2.1.1-dev.1 01:41:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 01:41:10 b59f554e621f: Preparing 01:41:10 693dc5682d88: Preparing 01:41:10 cf5717e2d46d: Preparing 01:41:10 ba270bdea93d: Preparing 01:41:10 b541d28bf3b4: Preparing 01:41:10 cf5717e2d46d: Layer already exists 01:41:10 b541d28bf3b4: Layer already exists 01:41:10 ba270bdea93d: Layer already exists 01:41:10 693dc5682d88: Layer already exists 01:41:10 b59f554e621f: Layer already exists 01:41:10 0a73bd19d177e0be9e88e3cec666e4c6d1c018b1-2.1.1-dev.1: digest: sha256:9ac41b4282f7e2d14def8636106832cbdd3b5b5e5618aaa6a72e874d164b0cf6 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:41:10 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:jakarta [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:41:11 + docker push nexus3.edgexfoundry.org:10004/device-snmp:jakarta 01:41:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 01:41:11 b59f554e621f: Preparing 01:41:11 693dc5682d88: Preparing 01:41:11 cf5717e2d46d: Preparing 01:41:11 ba270bdea93d: Preparing 01:41:11 b541d28bf3b4: Preparing 01:41:11 ba270bdea93d: Layer already exists 01:41:11 693dc5682d88: Layer already exists 01:41:11 cf5717e2d46d: Layer already exists 01:41:11 b541d28bf3b4: Layer already exists 01:41:11 b59f554e621f: Layer already exists 01:41:11 jakarta: digest: sha256:9ac41b4282f7e2d14def8636106832cbdd3b5b5e5618aaa6a72e874d164b0cf6 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:41:11 ===================================================== [Pipeline] echo 01:41:11 taggedImages: 01:41:11 - nexus3.edgexfoundry.org:10004/device-snmp:0a73bd19d177e0be9e88e3cec666e4c6d1c018b1 01:41:11 - nexus3.edgexfoundry.org:10004/device-snmp:2.1.1-dev.1 01:41:11 - nexus3.edgexfoundry.org:10004/device-snmp:0a73bd19d177e0be9e88e3cec666e4c6d1c018b1-2.1.1-dev.1 01:41:11 - nexus3.edgexfoundry.org:10004/device-snmp:jakarta [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] withEnv [Pipeline] { [Pipeline] sh 01:41:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:41:11 01:41:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:41:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:41:11 latest: Pulling from edgex-lftools-log-publisher 01:41:11 5eb5b503b376: Pulling fs layer 01:41:11 5c69ac0246d0: Pulling fs layer 01:41:11 ec43610c2a17: Pulling fs layer 01:41:11 3a2ae6a8a46f: Pulling fs layer 01:41:11 33b1e0a273af: Pulling fs layer 01:41:11 5d3b04190fa2: Pulling fs layer 01:41:11 2f39f015ded8: Pulling fs layer 01:41:11 33b1e0a273af: Waiting 01:41:11 5d3b04190fa2: Waiting 01:41:11 3a2ae6a8a46f: Waiting 01:41:11 2f39f015ded8: Waiting 01:41:11 5c69ac0246d0: Download complete 01:41:11 3a2ae6a8a46f: Verifying Checksum 01:41:11 3a2ae6a8a46f: Download complete 01:41:11 33b1e0a273af: Verifying Checksum 01:41:11 33b1e0a273af: Download complete 01:41:11 5d3b04190fa2: Verifying Checksum 01:41:11 5d3b04190fa2: Download complete 01:41:11 ec43610c2a17: Verifying Checksum 01:41:11 ec43610c2a17: Download complete 01:41:12 5eb5b503b376: Verifying Checksum 01:41:12 5eb5b503b376: Download complete 01:41:12 2f39f015ded8: Download complete 01:41:13 5eb5b503b376: Pull complete 01:41:13 5c69ac0246d0: Pull complete 01:41:13 ec43610c2a17: Pull complete 01:41:13 3a2ae6a8a46f: Pull complete 01:41:14 33b1e0a273af: Pull complete 01:41:14 5d3b04190fa2: Pull complete 01:41:18 2f39f015ded8: Pull complete 01:41:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:41:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:41:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:41:18 prd-ubuntu20.04-docker-8c-8g-13 does not seem to be running inside a container 01:41:18 $ 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/exfoundry_device-snmp-go_jakarta -v /w/workspace/exfoundry_device-snmp-go_jakarta:/w/workspace/exfoundry_device-snmp-go_jakarta:rw,z -v /w/workspace/exfoundry_device-snmp-go_jakarta@tmp:/w/workspace/exfoundry_device-snmp-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:41:20 $ docker top 5ff73ab0643cff62bf04407a0b33f52451839532e5322942cb1784086377251d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:41:20 ---> job-cost.sh 01:41:20 lf-activate-venv: SKIPPING 01:41:20 INFO: No Stack... 01:41:23 INFO: Retrieving Pricing Info for: v3-standard-8 01:41:23 INFO: Archiving Costs [Pipeline] sh 01:41:24 + cat /w/workspace/exfoundry_device-snmp-go_jakarta/archives/cost.csv 01:41:24 + cut -d, -f6 [Pipeline] lock 01:41:24 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-jakarta-4-stack-cost] 01:41:24 Resource [jenkins-edgexfoundry-device-snmp-go-jakarta-4-stack-cost] did not exist. Created. 01:41:24 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-jakarta-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:41:24 + echo total: 0.2199999988079071 [Pipeline] stash 01:41:24 Stashed 1 file(s) [Pipeline] } 01:41:24 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-jakarta-4-stack-cost] [Pipeline] // lock [Pipeline] } 01:41:24 $ docker stop --time=1 5ff73ab0643cff62bf04407a0b33f52451839532e5322942cb1784086377251d 01:41:25 $ docker rm -f 5ff73ab0643cff62bf04407a0b33f52451839532e5322942cb1784086377251d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:44:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15 in /w/workspace/exfoundry_device-snmp-go_jakarta [Pipeline] { [Pipeline] ws 01:44:14 Running in /w/workspace/device-snmp-go/4 [Pipeline] { [Pipeline] checkout 01:44:14 Selected Git installation does not exist. Using Default 01:44:14 The recommended git tool is: NONE 01:44:19 using credential edgex-jenkins-ssh 01:44:19 Cloning the remote Git repository 01:44:19 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 01:44:20 Avoid second fetch 01:44:20 Checking out Revision 0a73bd19d177e0be9e88e3cec666e4c6d1c018b1 (jakarta) 01:44:19 > git init /w/workspace/device-snmp-go/4 # timeout=10 01:44:19 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 01:44:19 > git --version # timeout=10 01:44:19 > git --version # 'git version 2.25.1' 01:44:19 using GIT_SSH to set credentials SSH Credentials for GitHub 01:44:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:44:20 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 01:44:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:44:20 > git config core.sparsecheckout # timeout=10 01:44:20 > git checkout -f 0a73bd19d177e0be9e88e3cec666e4c6d1c018b1 # timeout=10 01:44:25 Commit message: "Merge pull request #174 from lenny-intel/jakarta-versions-fix" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:44:26 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:44:26 % Total % Received % Xferd Average Speed Time Time Time Current 01:44:26 Dload Upload Total Spent Left Speed 01:44:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 51054 0 --:--:-- --:--:-- --:--:-- 51054 [Pipeline] sh 01:44:26 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:44:27 + sudo tee /etc/docker/daemon.new 01:44:27 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:44:27 { 01:44:27 "registry-mirrors": [ 01:44:27 "https://nexus3.edgexfoundry.org:10001" 01:44:27 ], 01:44:27 "bip": "10.250.0.254/24", 01:44:27 "hosts": [ 01:44:27 "tcp://0.0.0.0:5555", 01:44:27 "unix:///var/run/docker.sock" 01:44:27 ], 01:44:27 "mtu": 1458, 01:44:27 "selinux-enabled": true, 01:44:27 "seccomp-profile": "/etc/docker/seccomp.json" 01:44:27 } [Pipeline] sh 01:44:27 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:44:28 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:44:46 provisioning config files... 01:44:46 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/4@tmp/config4021027616381270303tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:44:46 ---> docker-login.sh 01:44:46 nexus3.edgexfoundry.org:10001 01:44:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:44:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:44:47 Configure a credential helper to remove this warning. See 01:44:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:44:47 01:44:47 Login Succeeded 01:44:47 nexus3.edgexfoundry.org:10002 01:44:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:44:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:44:48 Configure a credential helper to remove this warning. See 01:44:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:44:48 01:44:48 Login Succeeded 01:44:48 nexus3.edgexfoundry.org:10003 01:44:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:44:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:44:48 Configure a credential helper to remove this warning. See 01:44:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:44:48 01:44:48 Login Succeeded 01:44:48 nexus3.edgexfoundry.org:10004 01:44:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:44:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:44:49 Configure a credential helper to remove this warning. See 01:44:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:44:49 01:44:49 Login Succeeded 01:44:49 docker.io 01:44:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:44:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:44:49 Configure a credential helper to remove this warning. See 01:44:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:44:49 01:44:49 Login Succeeded 01:44:49 ---> docker-login.sh ends [Pipeline] } 01:44:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:44:50 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:44:50 ========================================================= 01:44:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts] 01:44:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:44:50 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts --build-arg MAKE=echo noop --target=builder . 01:44:52 Sending build context to Docker daemon 13.71MB 01:44:52 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 01:44:52 Step 2/11 : FROM ${BASE} AS builder 01:44:52 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 01:44:52 9b3977197b4f: Pulling fs layer 01:44:52 1a89e8eeedd5: Pulling fs layer 01:44:52 94645a83ff95: Pulling fs layer 01:44:52 3f3a8bcf1eab: Pulling fs layer 01:44:52 0c92f367c5e7: Pulling fs layer 01:44:52 045706c8da98: Pulling fs layer 01:44:52 d7189365e05b: Pulling fs layer 01:44:52 a32415fbff51: Pulling fs layer 01:44:52 045706c8da98: Waiting 01:44:52 3f3a8bcf1eab: Waiting 01:44:52 d7189365e05b: Waiting 01:44:52 0c92f367c5e7: Waiting 01:44:52 a32415fbff51: Waiting 01:44:52 94645a83ff95: Verifying Checksum 01:44:52 94645a83ff95: Download complete 01:44:52 1a89e8eeedd5: Verifying Checksum 01:44:52 1a89e8eeedd5: Download complete 01:44:52 0c92f367c5e7: Verifying Checksum 01:44:52 0c92f367c5e7: Download complete 01:44:52 045706c8da98: Verifying Checksum 01:44:52 045706c8da98: Download complete 01:44:52 9b3977197b4f: Verifying Checksum 01:44:52 9b3977197b4f: Download complete 01:44:52 d7189365e05b: Verifying Checksum 01:44:52 d7189365e05b: Download complete 01:44:52 9b3977197b4f: Pull complete 01:44:53 1a89e8eeedd5: Pull complete 01:44:53 94645a83ff95: Pull complete 01:44:54 a32415fbff51: Download complete 01:44:54 3f3a8bcf1eab: Verifying Checksum 01:44:54 3f3a8bcf1eab: Download complete 01:45:07 3f3a8bcf1eab: Pull complete 01:45:07 0c92f367c5e7: Pull complete 01:45:07 045706c8da98: Pull complete 01:45:07 d7189365e05b: Pull complete 01:45:12 a32415fbff51: Pull complete 01:45:12 Digest: sha256:763293993303eff07c8e57fe0fe9116095497c40c1fdc093d1a27926bd48f831 01:45:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts 01:45:12 ---> 96786ed1eff5 01:45:12 Step 3/11 : ARG MAKE='make build' 01:45:14 ---> Running in d1f6eef5dd8b 01:45:14 Removing intermediate container d1f6eef5dd8b 01:45:14 ---> c75883e20b14 01:45:14 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:45:14 ---> Running in 2b736363564c 01:45:15 Removing intermediate container 2b736363564c 01:45:15 ---> a56c445e494a 01:45:15 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 01:45:15 ---> Running in c2dac2da2133 01:45:15 Removing intermediate container c2dac2da2133 01:45:15 ---> cb76536cf257 01:45:15 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:45:15 ---> Running in da04af8ac234 01:45:17 Removing intermediate container da04af8ac234 01:45:17 ---> 65bf5be08f08 01:45:17 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:45:17 ---> Running in cd2264db0065 01:45:18 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 01:45:19 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 01:45:20 (1/4) Installing openssh-keygen (8.8_p1-r1) 01:45:20 (2/4) Installing libedit (20210910.3.1-r0) 01:45:20 (3/4) Installing openssh-client-common (8.8_p1-r1) 01:45:20 (4/4) Installing openssh-client-default (8.8_p1-r1) 01:45:20 Executing busybox-1.34.1-r3.trigger 01:45:20 OK: 224 MiB in 56 packages 01:45:21 Removing intermediate container cd2264db0065 01:45:21 ---> 60a212d088e3 01:45:21 Step 8/11 : WORKDIR /device-snmp-go 01:45:21 ---> Running in 1dcfc2e1b775 01:45:21 Removing intermediate container 1dcfc2e1b775 01:45:21 ---> dab94156fee0 01:45:21 Step 9/11 : COPY . . 01:45:26 ---> 0aa27c6e770e 01:45:26 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:45:26 ---> Running in a002b2131bce 01:45:26 skipping... 01:45:27 Removing intermediate container a002b2131bce 01:45:27 ---> 24a804963e2a 01:45:27 Step 11/11 : RUN ${MAKE} 01:45:27 ---> Running in fd3bd8c9342d 01:45:28 noop 01:45:29 Removing intermediate container fd3bd8c9342d 01:45:29 ---> a24dc4225412 01:45:29 Successfully built a24dc4225412 01:45:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:45:29 + docker inspect -f . ci-base-image-arm64 01:45:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:45:30 prd-ubuntu20.04-docker-arm64-4c-16g-15 does not seem to be running inside a container 01:45:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/4 -v /w/workspace/device-snmp-go/4:/w/workspace/device-snmp-go/4:rw,z -v /w/workspace/device-snmp-go/4@tmp:/w/workspace/device-snmp-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:45:31 $ docker top f1e25ddfe5d0fed3640a98b6c5103a761212bb606ee6e4b5c0569e79b7c10c71 -eo pid,comm [Pipeline] { [Pipeline] sh 01:45:32 + go version 01:45:32 go version go1.17.6 linux/arm64 [Pipeline] } 01:45:32 $ docker stop --time=1 f1e25ddfe5d0fed3640a98b6c5103a761212bb606ee6e4b5c0569e79b7c10c71 01:45:34 $ docker rm -f f1e25ddfe5d0fed3640a98b6c5103a761212bb606ee6e4b5c0569e79b7c10c71 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:45:34 + docker inspect -f . ci-base-image-arm64 01:45:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:45:34 prd-ubuntu20.04-docker-arm64-4c-16g-15 does not seem to be running inside a container 01:45:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/4 -v /w/workspace/device-snmp-go/4:/w/workspace/device-snmp-go/4:rw,z -v /w/workspace/device-snmp-go/4@tmp:/w/workspace/device-snmp-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:45:36 $ docker top fa278dc1db8b0014f786822eed201ac0e77d65b5ed8d7add0053368091bd60cc -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:45:37 + make test 01:45:37 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 01:45:38 ? github.com/edgexfoundry/device-snmp-go [no test files] 01:46:25 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 01:46:25 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.040s coverage: 0.0% of statements 01:46:25 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:46:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:46:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:46:44 ./bin/test-attribution-txt.sh 01:46:44 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.0 01:46:44 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 01:46:44 go: downloading github.com/soniah/gosnmp v1.21.0 01:46:44 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.0 01:46:44 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 01:46:44 go: downloading github.com/OneOfOne/xxhash v1.2.8 01:46:44 go: downloading github.com/google/uuid v1.3.0 01:46:44 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 01:46:44 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.0 01:46:44 go: downloading github.com/pelletier/go-toml v1.9.4 01:46:44 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 01:46:44 go: downloading github.com/gorilla/mux v1.8.0 01:46:44 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 01:46:44 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 01:46:44 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.0 01:46:44 go: downloading github.com/hashicorp/consul/api v1.9.1 01:46:44 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 01:46:44 go: downloading github.com/go-kit/kit v0.11.0 01:46:44 go: downloading github.com/go-playground/validator/v10 v10.9.0 01:46:44 go: downloading github.com/hashicorp/go-multierror v1.1.0 01:46:44 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 01:46:44 go: downloading github.com/go-redis/redis/v7 v7.3.0 01:46:44 go: downloading github.com/pebbe/zmq4 v1.2.7 01:46:44 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 01:46:44 go: downloading github.com/mitchellh/copystructure v1.0.0 01:46:44 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 01:46:44 go: downloading github.com/mitchellh/mapstructure v1.1.2 01:46:44 go: downloading github.com/go-logfmt/logfmt v0.5.0 01:46:44 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 01:46:44 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 01:46:44 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 01:46:44 go: downloading golang.org/x/text v0.3.6 01:46:45 go: downloading github.com/golang/mock v1.4.4 01:46:45 go: downloading github.com/hashicorp/golang-lru v0.5.0 01:46:45 go: downloading github.com/hashicorp/errwrap v1.0.0 01:46:45 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 01:46:45 go: downloading github.com/hashicorp/go-hclog v0.12.0 01:46:45 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 01:46:45 go: downloading github.com/hashicorp/serf v0.9.5 01:46:46 go: downloading github.com/x448/float16 v0.8.4 01:46:46 go: downloading github.com/go-playground/universal-translator v0.18.0 01:46:46 go: downloading github.com/leodido/go-urn v1.2.1 01:46:46 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 01:46:47 go: downloading github.com/mitchellh/reflectwalk v1.0.0 01:46:47 go: downloading github.com/gorilla/websocket v1.4.2 01:46:47 go: downloading github.com/fatih/color v1.9.0 01:46:47 go: downloading github.com/mattn/go-colorable v0.1.6 01:46:47 go: downloading github.com/mattn/go-isatty v0.0.12 01:46:47 go: downloading github.com/mitchellh/go-homedir v1.1.0 01:46:47 go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo 01:46:52 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 01:46:53 + go mod tidy 01:46:53 go: downloading github.com/stretchr/testify v1.7.0 01:46:53 go: downloading github.com/go-stack/stack v1.8.0 01:46:53 go: downloading github.com/go-playground/assert/v2 v2.0.1 01:46:54 go: downloading github.com/davecgh/go-spew v1.1.1 01:46:54 go: downloading github.com/pmezard/go-difflib v1.0.0 01:46:54 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 01:46:54 go: downloading github.com/stretchr/objx v0.1.1 01:46:54 go: downloading github.com/hashicorp/consul/sdk v0.8.0 01:46:54 go: downloading github.com/hashicorp/go-uuid v1.0.1 01:46:54 go: downloading github.com/kr/pretty v0.3.0 01:46:54 go: downloading github.com/onsi/ginkgo v1.10.1 01:46:54 go: downloading github.com/onsi/gomega v1.7.0 01:46:54 go: downloading github.com/hashicorp/go-msgpack v0.5.3 01:46:54 go: downloading github.com/hashicorp/memberlist v0.2.2 01:46:54 go: downloading github.com/pkg/errors v0.9.1 01:46:54 go: downloading github.com/kr/text v0.2.0 01:46:54 go: downloading github.com/rogpeppe/go-internal v1.8.0 01:46:54 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 01:46:54 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 01:46:54 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 01:46:54 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 01:46:54 go: downloading github.com/miekg/dns v1.1.26 01:46:54 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 01:46:54 go: downloading gopkg.in/yaml.v2 v2.3.0 01:46:54 go: downloading github.com/hpcloud/tail v1.0.0 01:46:54 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 01:46:54 go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } 01:46:54 $ docker stop --time=1 fa278dc1db8b0014f786822eed201ac0e77d65b5ed8d7add0053368091bd60cc 01:46:57 $ docker rm -f fa278dc1db8b0014f786822eed201ac0e77d65b5ed8d7add0053368091bd60cc [Pipeline] // withDockerContainer [Pipeline] sh 01:46:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:46:59 Warning: overwriting stash ‘coverage-report’ 01:47:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:47:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:47:00 + ls -al . 01:47:00 total 176 01:47:00 drwxrwxr-x 9 jenkins jenkins 4096 May 25 01:46 . 01:47:00 drwxrwxr-x 4 jenkins jenkins 4096 May 25 01:44 .. 01:47:00 -rw-rw-r-- 1 jenkins jenkins 6 May 25 01:44 .dockerignore 01:47:00 drwxrwxr-x 8 jenkins jenkins 4096 May 25 01:44 .git 01:47:00 drwxrwxr-x 2 jenkins jenkins 4096 May 25 01:44 .github 01:47:00 -rw-rw-r-- 1 jenkins jenkins 255 May 25 01:44 .gitignore 01:47:00 -rw-rw-r-- 1 jenkins jenkins 6926 May 25 01:44 Attribution.txt 01:47:00 -rw-rw-r-- 1 jenkins jenkins 4401 May 25 01:44 CHANGELOG.md 01:47:00 -rw-rw-r-- 1 jenkins jenkins 1493 May 25 01:44 Dockerfile 01:47:00 -rw-rw-r-- 1 jenkins jenkins 677 May 25 01:44 GOVERNANCE.md 01:47:00 -rw-rw-r-- 1 jenkins jenkins 656 May 25 01:44 Jenkinsfile 01:47:00 -rw-rw-r-- 1 jenkins jenkins 11340 May 25 01:44 LICENSE 01:47:00 -rw-rw-r-- 1 jenkins jenkins 1526 May 25 01:44 Makefile 01:47:00 -rw-rw-r-- 1 jenkins jenkins 620 May 25 01:44 OWNERS.md 01:47:00 -rw-rw-r-- 1 jenkins jenkins 9073 May 25 01:44 README.md 01:47:00 -rw-rw-r-- 1 jenkins jenkins 11 May 25 01:40 VERSION 01:47:00 drwxrwxr-x 2 jenkins jenkins 4096 May 25 01:44 bin 01:47:00 drwxrwxr-x 3 jenkins jenkins 4096 May 25 01:44 cmd 01:47:00 -rw-r--r-- 1 jenkins jenkins 7631 May 25 01:46 coverage.out 01:47:00 -rw-rw-r-- 1 jenkins jenkins 208 May 25 01:46 go.mod 01:47:00 -rw-rw-r-- 1 jenkins jenkins 49477 May 25 01:44 go.sum 01:47:00 drwxrwxr-x 3 jenkins jenkins 4096 May 25 01:44 internal 01:47:00 drwxrwxr-x 3 jenkins jenkins 4096 May 25 01:44 snap 01:47:00 drwxrwxr-x 6 jenkins jenkins 4096 May 25 01:44 vendor 01:47:00 -rw-rw-r-- 1 jenkins jenkins 228 May 25 01:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:01 + 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=0a73bd19d177e0be9e88e3cec666e4c6d1c018b1 --label arch=arm64 --label version=2.1.1-dev.1 . 01:47:02 Sending build context to Docker daemon 13.72MB 01:47:02 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 01:47:02 Step 2/23 : FROM ${BASE} AS builder 01:47:02 ---> a24dc4225412 01:47:02 Step 3/23 : ARG MAKE='make build' 01:47:03 ---> Running in 5da100d757ce 01:47:03 Removing intermediate container 5da100d757ce 01:47:03 ---> 02f2bcc05481 01:47:03 Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:47:03 ---> Running in 12b0f66c7bf8 01:47:03 Removing intermediate container 12b0f66c7bf8 01:47:03 ---> 865cb4895e95 01:47:03 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 01:47:03 ---> Running in 29e9e0cd3671 01:47:04 Removing intermediate container 29e9e0cd3671 01:47:04 ---> 34b9dc31b38c 01:47:04 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:47:04 ---> Running in a2e171db16c5 01:47:05 Removing intermediate container a2e171db16c5 01:47:05 ---> e4f0091ab5cb 01:47:05 Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:47:06 ---> Running in 540751878af2 01:47:06 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 01:47:07 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 01:47:08 OK: 224 MiB in 56 packages 01:47:09 Removing intermediate container 540751878af2 01:47:09 ---> 068fa1172186 01:47:09 Step 8/23 : WORKDIR /device-snmp-go 01:47:09 ---> Running in f460057d0ad8 01:47:09 Removing intermediate container f460057d0ad8 01:47:09 ---> 65084752784a 01:47:09 Step 9/23 : COPY . . 01:47:14 ---> cbab332940ae 01:47:14 Step 10/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:47:14 ---> Running in c71e941ce6be 01:47:14 skipping... 01:47:15 Removing intermediate container c71e941ce6be 01:47:15 ---> 306e2381a07f 01:47:15 Step 11/23 : RUN ${MAKE} 01:47:15 ---> Running in aac5b94b2572 01:47:16 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=2.1.1-dev.1 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.1.0" -o cmd/device-snmp ./cmd 01:48:03 Removing intermediate container aac5b94b2572 01:48:03 ---> c829e7cb4db1 01:48:03 Step 12/23 : FROM alpine:3.14 01:48:03 3.14: Pulling from library/alpine 01:48:03 455c02918c45: Pulling fs layer 01:48:03 455c02918c45: Download complete 01:48:03 455c02918c45: Pull complete 01:48:03 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 01:48:03 Status: Downloaded newer image for alpine:3.14 01:48:03 ---> ac73e934f311 01:48:03 Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init 01:48:03 ---> Running in 97b736ec9556 01:48:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 01:48:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 01:48:03 (1/6) Installing dumb-init (1.2.5-r1) 01:48:03 (2/6) Installing libgcc (10.3.1_git20210424-r2) 01:48:03 (3/6) Installing libsodium (1.0.18-r0) 01:48:03 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 01:48:03 (5/6) Installing libzmq (4.3.4-r0) 01:48:03 (6/6) Installing zeromq (4.3.4-r0) 01:48:03 Executing busybox-1.33.1-r7.trigger 01:48:03 OK: 8 MiB in 20 packages 01:48:03 Removing intermediate container 97b736ec9556 01:48:03 ---> 8ac50724dd03 01:48:03 Step 14/23 : COPY --from=builder /device-snmp-go/cmd / 01:48:03 ---> a45215d763de 01:48:03 Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / 01:48:03 ---> c972c60fb2ab 01:48:03 Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / 01:48:03 ---> 5aa07e84243a 01:48:03 Step 17/23 : EXPOSE 59993 01:48:03 ---> Running in c926f0c5f22b 01:48:03 Removing intermediate container c926f0c5f22b 01:48:03 ---> cd80cf228aae 01:48:03 Step 18/23 : EXPOSE 161 01:48:03 ---> Running in 9575fa550fba 01:48:03 Removing intermediate container 9575fa550fba 01:48:03 ---> 3c7487e87c85 01:48:03 Step 19/23 : ENTRYPOINT ["/device-snmp"] 01:48:03 ---> Running in 9a691fd44c4e 01:48:04 Removing intermediate container 9a691fd44c4e 01:48:04 ---> 7dc3dd5320e1 01:48:04 Step 20/23 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 01:48:04 ---> Running in 6d631d5ecf0a 01:48:04 Removing intermediate container 6d631d5ecf0a 01:48:04 ---> 20b934454217 01:48:04 Step 21/23 : LABEL arch=arm64 01:48:04 ---> Running in 0cad338339b4 01:48:04 Removing intermediate container 0cad338339b4 01:48:04 ---> 66d2ded16be8 01:48:04 Step 22/23 : LABEL git_sha=0a73bd19d177e0be9e88e3cec666e4c6d1c018b1 01:48:04 ---> Running in 9381e07e9d9a 01:48:04 Removing intermediate container 9381e07e9d9a 01:48:04 ---> ebf8a4400b0c 01:48:04 Step 23/23 : LABEL version=2.1.1-dev.1 01:48:05 ---> Running in b01b4d54e599 01:48:05 Removing intermediate container b01b4d54e599 01:48:05 ---> 9a9faa6645eb 01:48:05 [Warning] One or more build-args [ARCH] were not consumed 01:48:05 Successfully built 9a9faa6645eb 01:48:05 Successfully tagged device-snmp-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:48:05 provisioning config files... 01:48:06 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/4@tmp/config4474125264691694508tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:48:06 ---> docker-login.sh 01:48:06 nexus3.edgexfoundry.org:10001 01:48:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:06 Configure a credential helper to remove this warning. See 01:48:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:06 01:48:06 Login Succeeded 01:48:06 nexus3.edgexfoundry.org:10002 01:48:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:07 Configure a credential helper to remove this warning. See 01:48:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:07 01:48:07 Login Succeeded 01:48:07 nexus3.edgexfoundry.org:10003 01:48:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:07 Configure a credential helper to remove this warning. See 01:48:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:07 01:48:07 Login Succeeded 01:48:07 nexus3.edgexfoundry.org:10004 01:48:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:08 Configure a credential helper to remove this warning. See 01:48:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:08 01:48:08 Login Succeeded 01:48:08 docker.io 01:48:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:48:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:48:09 Configure a credential helper to remove this warning. See 01:48:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:48:09 01:48:09 Login Succeeded 01:48:09 ---> docker-login.sh ends [Pipeline] } 01:48:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:48:09 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:48:09 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 01:48:09 0a73bd19d177e0be9e88e3cec666e4c6d1c018b1 01:48:09 2.1.1-dev.1 01:48:09 0a73bd19d177e0be9e88e3cec666e4c6d1c018b1-2.1.1-dev.1 01:48:09 jakarta 01:48:09 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:09 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:0a73bd19d177e0be9e88e3cec666e4c6d1c018b1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:09 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:0a73bd19d177e0be9e88e3cec666e4c6d1c018b1 01:48:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 01:48:09 0a8e09f9e0e9: Preparing 01:48:09 569fbee87e26: Preparing 01:48:09 44aef42402d4: Preparing 01:48:09 2c6b7c5c594e: Preparing 01:48:09 f73e7dbfee58: Preparing 01:48:09 f73e7dbfee58: Layer already exists 01:48:10 0a8e09f9e0e9: Pushed 01:48:10 569fbee87e26: Pushed 01:48:10 2c6b7c5c594e: Pushed 01:48:12 44aef42402d4: Pushed 01:48:12 0a73bd19d177e0be9e88e3cec666e4c6d1c018b1: digest: sha256:4c841ea5d47f467db587cc934173cbdf69094aaa4a36b16ae7d9ba464b8aa8fa size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:13 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.1.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:13 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.1.1-dev.1 01:48:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 01:48:13 0a8e09f9e0e9: Preparing 01:48:13 569fbee87e26: Preparing 01:48:13 44aef42402d4: Preparing 01:48:13 2c6b7c5c594e: Preparing 01:48:13 f73e7dbfee58: Preparing 01:48:13 0a8e09f9e0e9: Layer already exists 01:48:13 2c6b7c5c594e: Layer already exists 01:48:13 569fbee87e26: Layer already exists 01:48:13 f73e7dbfee58: Layer already exists 01:48:13 44aef42402d4: Layer already exists 01:48:13 2.1.1-dev.1: digest: sha256:4c841ea5d47f467db587cc934173cbdf69094aaa4a36b16ae7d9ba464b8aa8fa size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:14 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:0a73bd19d177e0be9e88e3cec666e4c6d1c018b1-2.1.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:14 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:0a73bd19d177e0be9e88e3cec666e4c6d1c018b1-2.1.1-dev.1 01:48:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 01:48:14 0a8e09f9e0e9: Preparing 01:48:14 569fbee87e26: Preparing 01:48:14 44aef42402d4: Preparing 01:48:14 2c6b7c5c594e: Preparing 01:48:14 f73e7dbfee58: Preparing 01:48:14 f73e7dbfee58: Layer already exists 01:48:14 569fbee87e26: Layer already exists 01:48:14 44aef42402d4: Layer already exists 01:48:14 0a8e09f9e0e9: Layer already exists 01:48:14 2c6b7c5c594e: Layer already exists 01:48:14 0a73bd19d177e0be9e88e3cec666e4c6d1c018b1-2.1.1-dev.1: digest: sha256:4c841ea5d47f467db587cc934173cbdf69094aaa4a36b16ae7d9ba464b8aa8fa size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:15 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:jakarta [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:15 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:jakarta 01:48:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 01:48:15 0a8e09f9e0e9: Preparing 01:48:15 569fbee87e26: Preparing 01:48:15 44aef42402d4: Preparing 01:48:15 2c6b7c5c594e: Preparing 01:48:15 f73e7dbfee58: Preparing 01:48:15 569fbee87e26: Layer already exists 01:48:15 f73e7dbfee58: Layer already exists 01:48:15 2c6b7c5c594e: Layer already exists 01:48:15 0a8e09f9e0e9: Layer already exists 01:48:15 44aef42402d4: Layer already exists 01:48:15 jakarta: digest: sha256:4c841ea5d47f467db587cc934173cbdf69094aaa4a36b16ae7d9ba464b8aa8fa size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:48:15 ===================================================== [Pipeline] echo 01:48:15 taggedImages: 01:48:15 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:0a73bd19d177e0be9e88e3cec666e4c6d1c018b1 01:48:15 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.1.1-dev.1 01:48:15 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:0a73bd19d177e0be9e88e3cec666e4c6d1c018b1-2.1.1-dev.1 01:48:15 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:jakarta [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:48:16 01:48:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:48:16 arm64: Pulling from edgex-lftools-log-publisher 01:48:16 8998bd30e6a1: Pulling fs layer 01:48:16 04944245beec: Pulling fs layer 01:48:16 699f458cf7ca: Pulling fs layer 01:48:16 765212b225bb: Pulling fs layer 01:48:16 f23df028b6ca: Pulling fs layer 01:48:16 d65c8cfc05b1: Pulling fs layer 01:48:16 2437ff75d9bd: Pulling fs layer 01:48:16 f23df028b6ca: Waiting 01:48:16 765212b225bb: Waiting 01:48:16 d65c8cfc05b1: Waiting 01:48:16 2437ff75d9bd: Waiting 01:48:16 04944245beec: Verifying Checksum 01:48:16 04944245beec: Download complete 01:48:16 765212b225bb: Verifying Checksum 01:48:16 765212b225bb: Download complete 01:48:16 f23df028b6ca: Verifying Checksum 01:48:16 f23df028b6ca: Download complete 01:48:16 d65c8cfc05b1: Verifying Checksum 01:48:16 d65c8cfc05b1: Download complete 01:48:17 699f458cf7ca: Verifying Checksum 01:48:17 699f458cf7ca: Download complete 01:48:17 8998bd30e6a1: Verifying Checksum 01:48:17 8998bd30e6a1: Download complete 01:48:20 2437ff75d9bd: Verifying Checksum 01:48:20 2437ff75d9bd: Download complete 01:48:22 8998bd30e6a1: Pull complete 01:48:22 04944245beec: Pull complete 01:48:23 699f458cf7ca: Pull complete 01:48:24 765212b225bb: Pull complete 01:48:25 f23df028b6ca: Pull complete 01:48:25 d65c8cfc05b1: Pull complete 01:48:40 2437ff75d9bd: Pull complete 01:48:40 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:48:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:48:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:48:40 prd-ubuntu20.04-docker-arm64-4c-16g-15 does not seem to be running inside a container 01:48:40 $ 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/4 -v /w/workspace/device-snmp-go/4:/w/workspace/device-snmp-go/4:rw,z -v /w/workspace/device-snmp-go/4@tmp:/w/workspace/device-snmp-go/4@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:arm64 cat 01:48:43 $ docker top 68a92600c803ccf0f416518c89e0a0229bf16f394eadd46086f92209b8cdc368 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:48:43 ---> job-cost.sh 01:48:43 lf-activate-venv: SKIPPING 01:48:43 INFO: No Stack... 01:48:44 INFO: Retrieving Pricing Info for: v3-standard-4 01:48:45 INFO: Archiving Costs [Pipeline] sh 01:48:45 + cat /w/workspace/device-snmp-go/4/archives/cost.csv 01:48:45 + cut -d, -f6 [Pipeline] lock 01:48:45 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-jakarta-4-stack-cost] 01:48:45 Resource [jenkins-edgexfoundry-device-snmp-go-jakarta-4-stack-cost] did not exist. Created. 01:48:45 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-jakarta-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:48:46 /w/workspace/device-snmp-go/4@tmp/durable-8d64cf7b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:48:47 + echo total: 0.10999999940395355 [Pipeline] stash 01:48:47 Warning: overwriting stash ‘stack-cost’ 01:48:47 Stashed 1 file(s) [Pipeline] } 01:48:47 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-jakarta-4-stack-cost] [Pipeline] // lock [Pipeline] } 01:48:47 $ docker stop --time=1 68a92600c803ccf0f416518c89e0a0229bf16f394eadd46086f92209b8cdc368 01:48:49 $ docker rm -f 68a92600c803ccf0f416518c89e0a0229bf16f394eadd46086f92209b8cdc368 [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 01:48:49 provisioning config files... 01:48:49 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/exfoundry_device-snmp-go_jakarta@tmp/config1452676981942083355tmp [Pipeline] { [Pipeline] sh 01:48:49 + set +x 01:48:49 + bash -s -- 01:48:49 + curl -s https://codecov.io/bash 01:48:49 01:48:49 _____ _ 01:48:49 / ____| | | 01:48:49 | | ___ __| | ___ ___ _____ __ 01:48:49 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:48:49 | |___| (_) | (_| | __/ (_| (_) \ V / 01:48:49 \_____\___/ \__,_|\___|\___\___/ \_/ 01:48:49 Bash-1.0.6 01:48:49 01:48:49 01:48:49 ==> git version 2.25.1 found 01:48:49 ==> 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 01:48:49 Release-Date: 2020-01-08 01:48:49 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:48:49 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:48:49 ==> Jenkins CI detected. 01:48:49 current dir:  /w/workspace/exfoundry_device-snmp-go_jakarta 01:48:49 project root: . 01:48:49 --> token set from env 01:48:49 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:48:49 ==> Running gcov in . (disable via -X gcov) 01:48:49 ==> Python coveragepy not found 01:48:49 ==> Searching for coverage reports in: 01:48:49 + . 01:48:49 -> Found 1 reports 01:48:49 ==> Detecting git/mercurial file structure 01:48:49 ==> Reading reports 01:48:49 + ./coverage.out bytes=7631 01:48:49 ==> Appending adjustments 01:48:49 https://docs.codecov.io/docs/fixing-reports 01:48:50 + Found adjustments 01:48:50 ==> Gzipping contents 01:48:50 8.0K /tmp/codecov.ULoEMe.gz 01:48:50 ==> Uploading reports 01:48:50 url: https://codecov.io 01:48:50 query: branch=jakarta&commit=0a73bd19d177e0be9e88e3cec666e4c6d1c018b1&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fjakarta%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:48:50 -> Pinging Codecov 01:48:50 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=e9e976b9-c0d0-4429-b0a4-10cb999871be&branch=jakarta&commit=0a73bd19d177e0be9e88e3cec666e4c6d1c018b1&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fjakarta%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:48:50 -> Uploading to 01:48:50 https://storage.googleapis.com/codecov/v4/raw/2022-05-25/6C56EA5C29638FB4528AC87E60AF5AE0/0a73bd19d177e0be9e88e3cec666e4c6d1c018b1/7380be46-ceec-40f6-8f15-210ba2ffeb8b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220525%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220525T014850Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9e81e928f058f77f8b721a23065e361c1048e52946992e4566864d147ed3dd27 01:48:50 % Total % Received % Xferd Average Speed Time Time Time Current 01:48:50 Dload Upload Total Spent Left Speed 01:48:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 7952 0 0 100 7952 0 33694 --:--:-- --:--:-- --:--:-- 33694 01:48:50 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/0a73bd19d177e0be9e88e3cec666e4c6d1c018b1 [Pipeline] } 01:48:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 01:48:51 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 01:48:51 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:48:51 01:48:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:48:51 1.410.4: Pulling from edgex-devops/edgex-snyk-go 01:48:51 188c0c94c7c5: Pulling fs layer 01:48:51 0ef7d3d256c8: Pulling fs layer 01:48:51 de9db76c5a1d: Pulling fs layer 01:48:51 0eba1c9be4d2: Pulling fs layer 01:48:51 0d57e429df01: Pulling fs layer 01:48:51 4e4be7b47b0d: Pulling fs layer 01:48:51 e1f770b5df2f: Pulling fs layer 01:48:51 85a0685a4137: Pulling fs layer 01:48:51 0d57e429df01: Waiting 01:48:51 0eba1c9be4d2: Waiting 01:48:51 85a0685a4137: Waiting 01:48:51 e1f770b5df2f: Waiting 01:48:51 4e4be7b47b0d: Waiting 01:48:51 de9db76c5a1d: Verifying Checksum 01:48:51 de9db76c5a1d: Download complete 01:48:51 0ef7d3d256c8: Verifying Checksum 01:48:51 0ef7d3d256c8: Download complete 01:48:51 0d57e429df01: Verifying Checksum 01:48:51 0d57e429df01: Download complete 01:48:51 4e4be7b47b0d: Verifying Checksum 01:48:51 4e4be7b47b0d: Download complete 01:48:51 188c0c94c7c5: Verifying Checksum 01:48:51 188c0c94c7c5: Download complete 01:48:52 188c0c94c7c5: Pull complete 01:48:52 e1f770b5df2f: Verifying Checksum 01:48:52 e1f770b5df2f: Download complete 01:48:52 0ef7d3d256c8: Pull complete 01:48:52 de9db76c5a1d: Pull complete 01:48:52 0eba1c9be4d2: Verifying Checksum 01:48:52 0eba1c9be4d2: Download complete 01:48:52 85a0685a4137: Verifying Checksum 01:48:52 85a0685a4137: Download complete 01:48:55 0eba1c9be4d2: Pull complete 01:48:55 0d57e429df01: Pull complete 01:48:55 4e4be7b47b0d: Pull complete 01:48:56 e1f770b5df2f: Pull complete 01:48:59 85a0685a4137: Pull complete 01:48:59 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 01:48:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:48:59 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:48:59 prd-ubuntu20.04-docker-8c-8g-13 does not seem to be running inside a container 01:48:59 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/exfoundry_device-snmp-go_jakarta -v /w/workspace/exfoundry_device-snmp-go_jakarta:/w/workspace/exfoundry_device-snmp-go_jakarta:rw,z -v /w/workspace/exfoundry_device-snmp-go_jakarta@tmp:/w/workspace/exfoundry_device-snmp-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 01:49:01 $ docker top a36d5923b498ab38114465ca70092e055c1cac3b0b6d721ecf64dfe31a8c14ed -eo pid,comm [Pipeline] { [Pipeline] echo 01:49:01 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 01:49:02 + set -o pipefail 01:49:02 + snyk monitor '--org=edgex-jenkins' 01:49:04 01:49:04 Monitoring /w/workspace/exfoundry_device-snmp-go_jakarta (github.com/edgexfoundry/device-snmp-go)... 01:49:04 01:49:04 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/c76919d0-7345-4304-8954-aa03851194a6/history/b1bf153f-858f-4545-b7c0-0326c78f2a84 01:49:04 01:49:04 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 01:49:04 01:49:04 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 01:49:04 01:49:04 [Pipeline] } 01:49:04 $ docker stop --time=1 a36d5923b498ab38114465ca70092e055c1cac3b0b6d721ecf64dfe31a8c14ed 01:49:06 $ docker rm -f a36d5923b498ab38114465ca70092e055c1cac3b0b6d721ecf64dfe31a8c14ed [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 01:49:06 + git log --format=format:%s -1 0a73bd19d177e0be9e88e3cec666e4c6d1c018b1 [Pipeline] sh 01:49:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:49:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 01:49:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:49:07 prd-ubuntu20.04-docker-8c-8g-13 does not seem to be running inside a container 01:49:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-snmp-go_jakarta -v /w/workspace/exfoundry_device-snmp-go_jakarta:/w/workspace/exfoundry_device-snmp-go_jakarta:rw,z -v /w/workspace/exfoundry_device-snmp-go_jakarta@tmp:/w/workspace/exfoundry_device-snmp-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 01:49:07 $ docker top a9c24df7b31e9bd1ccda823243bff20564826021386448f317e322c7769e048a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:49:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:49:07 [ssh-agent] Looking for ssh-agent implementation... 01:49:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:49:07 $ docker exec a9c24df7b31e9bd1ccda823243bff20564826021386448f317e322c7769e048a ssh-agent 01:49:08 SSH_AUTH_SOCK=/tmp/ssh-jJJ9xw4CtrdW/agent.33 01:49:08 SSH_AGENT_PID=39 01:49:08 Running ssh-add (command line suppressed) 01:49:08 Identity added: /w/workspace/exfoundry_device-snmp-go_jakarta@tmp/private_key_3377657698825940810.key (/w/workspace/exfoundry_device-snmp-go_jakarta@tmp/private_key_3377657698825940810.key) 01:49:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:49:08 + git semver tag 01:49:08 2022-05-25 01:49:08,699 [run_tag] DEBUG tag force:False 01:49:08 2022-05-25 01:49:08,699 [check_head_tag] DEBUG check head tag 01:49:08 2022-05-25 01:49:08,700 [execute] INFO git cat-file --batch-check 01:49:08 2022-05-25 01:49:08,700 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-snmp-go_jakarta, universal_newlines=False, shell=None, istream=) 01:49:08 2022-05-25 01:49:08,703 [execute] INFO git cat-file --batch 01:49:08 2022-05-25 01:49:08,703 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-snmp-go_jakarta, universal_newlines=False, shell=None, istream=) 01:49:08 2022-05-25 01:49:08,716 [read_version] DEBUG read version from /w/workspace/exfoundry_device-snmp-go_jakarta/.semver/jakarta 01:49:08 2022-05-25 01:49:08,716 [execute] INFO git tag -a v2.1.1-dev.1 -m v2.1.1-dev.1 01:49:08 2022-05-25 01:49:08,716 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.1.1-dev.1', '-m', 'v2.1.1-dev.1'], cwd=/w/workspace/exfoundry_device-snmp-go_jakarta, universal_newlines=False, shell=None, istream=None) 01:49:08 2022-05-25 01:49:08,720 [read_version] DEBUG read version from /w/workspace/exfoundry_device-snmp-go_jakarta/.semver/jakarta 01:49:08 2.1.1-dev.1 [Pipeline] } 01:49:08 $ docker exec --env ******** --env ******** a9c24df7b31e9bd1ccda823243bff20564826021386448f317e322c7769e048a ssh-agent -k 01:49:08 unset SSH_AUTH_SOCK; 01:49:08 unset SSH_AGENT_PID; 01:49:08 echo Agent pid 39 killed; 01:49:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:49:09 + git semver [Pipeline] } 01:49:09 $ docker stop --time=1 a9c24df7b31e9bd1ccda823243bff20564826021386448f317e322c7769e048a 01:49:10 $ docker rm -f a9c24df7b31e9bd1ccda823243bff20564826021386448f317e322c7769e048a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:49:11 01:49:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:49:11 0.23.1-centos7: Pulling from edgex-lftools 01:49:11 ab5ef0e58194: Pulling fs layer 01:49:11 9712f1f96733: Pulling fs layer 01:49:11 63f879dbbcfc: Pulling fs layer 01:49:11 0d9ebad4ef96: Pulling fs layer 01:49:11 e9a5061849ea: Pulling fs layer 01:49:11 d747dcd14b5f: Pulling fs layer 01:49:11 2de7ff778b66: Pulling fs layer 01:49:11 0d9ebad4ef96: Waiting 01:49:11 d747dcd14b5f: Waiting 01:49:11 e9a5061849ea: Waiting 01:49:11 2de7ff778b66: Waiting 01:49:11 63f879dbbcfc: Download complete 01:49:12 0d9ebad4ef96: Verifying Checksum 01:49:12 0d9ebad4ef96: Download complete 01:49:12 e9a5061849ea: Verifying Checksum 01:49:12 e9a5061849ea: Download complete 01:49:12 d747dcd14b5f: Verifying Checksum 01:49:12 d747dcd14b5f: Download complete 01:49:12 ab5ef0e58194: Verifying Checksum 01:49:12 ab5ef0e58194: Download complete 01:49:12 2de7ff778b66: Verifying Checksum 01:49:12 2de7ff778b66: Download complete 01:49:14 ab5ef0e58194: Pull complete 01:49:14 9712f1f96733: Pull complete 01:49:15 63f879dbbcfc: Pull complete 01:49:19 0d9ebad4ef96: Pull complete 01:49:19 e9a5061849ea: Pull complete 01:49:19 d747dcd14b5f: Pull complete 01:49:20 2de7ff778b66: Pull complete 01:49:20 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 01:49:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:49:20 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:49:20 prd-ubuntu20.04-docker-8c-8g-13 does not seem to be running inside a container 01:49:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/exfoundry_device-snmp-go_jakarta -v /w/workspace/exfoundry_device-snmp-go_jakarta:/w/workspace/exfoundry_device-snmp-go_jakarta:rw,z -v /w/workspace/exfoundry_device-snmp-go_jakarta@tmp:/w/workspace/exfoundry_device-snmp-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 01:49:22 $ docker top 5a3a03cc190cac190b4c1727fdf805287f21e6f387b03215a43f38d890c223bb -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 01:49:22 provisioning config files... 01:49:22 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-snmp-go_jakarta@tmp/config5215177272206433479tmp 01:49:22 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-snmp-go_jakarta@tmp/config6081703356840406676tmp 01:49:22 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-snmp-go_jakarta@tmp/config8093232742307197261tmp [Pipeline] { [Pipeline] echo 01:49:22 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 01:49:23 ---> sigul-configuration.sh 01:49:23 gpg: directory `/root/.gnupg' created 01:49:23 gpg: new configuration file `/root/.gnupg/gpg.conf' created 01:49:23 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 01:49:23 gpg: keyring `/root/.gnupg/secring.gpg' created 01:49:23 gpg: keyring `/root/.gnupg/pubring.gpg' created 01:49:23 gpg: CAST5 encrypted data 01:49:23 gpg: encrypted with 1 passphrase 01:49:23 gpg: WARNING: message was not integrity protected [Pipeline] sh 01:49:23 + mkdir /home/jenkins 01:49:23 + mkdir /home/jenkins/sigul [Pipeline] sh 01:49:23 + 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 01:49:23 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 01:49:23 ---> sigul-install.sh 01:49:23 Sigul already installed; skipping installation. [Pipeline] sh 01:49:24 + git tag --list 01:49:24 1.0.0 01:49:24 v0.0.0 01:49:24 v1.1.0 01:49:24 v1.1.1 01:49:24 v1.2.2 01:49:24 v1.3.0 01:49:24 v1.3.1 01:49:24 v2.0.0 01:49:24 v2.0.1-dev.1 01:49:24 v2.0.1-dev.2 01:49:24 v2.0.1-dev.3 01:49:24 v2.0.1-dev.4 01:49:24 v2.0.1-dev.5 01:49:24 v2.0.1-dev.6 01:49:24 v2.1.0 01:49:24 v2.1.1-dev.1 01:49:24 v2.2.0 01:49:24 v2.2.0-dev.1 01:49:24 v2.2.0-dev.10 01:49:24 v2.2.0-dev.11 01:49:24 v2.2.0-dev.12 01:49:24 v2.2.0-dev.13 01:49:24 v2.2.0-dev.14 01:49:24 v2.2.0-dev.15 01:49:24 v2.2.0-dev.16 01:49:24 v2.2.0-dev.17 01:49:24 v2.2.0-dev.18 01:49:24 v2.2.0-dev.19 01:49:24 v2.2.0-dev.2 01:49:24 v2.2.0-dev.3 01:49:24 v2.2.0-dev.4 01:49:24 v2.2.0-dev.5 01:49:24 v2.2.0-dev.6 01:49:24 v2.2.0-dev.7 01:49:24 v2.2.0-dev.8 01:49:24 v2.2.0-dev.9 01:49:24 v2.2.1-dev.1 [Pipeline] sh 01:49:24 + lftools sign git-tag v2.1.1-dev.1 01:49:25 Signing Git tag with Sigul... 01:49:25 Signing v2.1.1-dev.1 [Pipeline] echo 01:49:25 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 01:49:26 ---> sigul-configuration-cleanup.sh [Pipeline] } 01:49:26 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 01:49:26 $ docker stop --time=1 5a3a03cc190cac190b4c1727fdf805287f21e6f387b03215a43f38d890c223bb 01:49:27 $ docker rm -f 5a3a03cc190cac190b4c1727fdf805287f21e6f387b03215a43f38d890c223bb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 01:49:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:49:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 01:49:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:49:28 prd-ubuntu20.04-docker-8c-8g-13 does not seem to be running inside a container 01:49:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-snmp-go_jakarta -v /w/workspace/exfoundry_device-snmp-go_jakarta:/w/workspace/exfoundry_device-snmp-go_jakarta:rw,z -v /w/workspace/exfoundry_device-snmp-go_jakarta@tmp:/w/workspace/exfoundry_device-snmp-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 01:49:28 $ docker top 4d3ae08dd383cff8c46429ac1427e055ddc7490ade0be8e3087d4e7a9429bb9a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:49:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:49:28 [ssh-agent] Looking for ssh-agent implementation... 01:49:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:49:28 $ docker exec 4d3ae08dd383cff8c46429ac1427e055ddc7490ade0be8e3087d4e7a9429bb9a ssh-agent 01:49:28 SSH_AUTH_SOCK=/tmp/ssh-84HpoA2eHCvk/agent.34 01:49:28 SSH_AGENT_PID=40 01:49:28 Running ssh-add (command line suppressed) 01:49:29 Identity added: /w/workspace/exfoundry_device-snmp-go_jakarta@tmp/private_key_4716674571133376981.key (/w/workspace/exfoundry_device-snmp-go_jakarta@tmp/private_key_4716674571133376981.key) 01:49:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:49:29 + git semver bump pre 01:49:29 2022-05-25 01:49:29,519 [read_version] DEBUG read version from /w/workspace/exfoundry_device-snmp-go_jakarta/.semver/jakarta 01:49:29 2022-05-25 01:49:29,519 [bump_version] DEBUG bumping version:2.1.1-dev.1 on axis:pre with prefix:dev 01:49:29 2022-05-25 01:49:29,519 [bump_version] DEBUG bumped version:2.1.1-dev.2 01:49:29 2022-05-25 01:49:29,519 [write_version] DEBUG write version:2.1.1-dev.2 to path:/w/workspace/exfoundry_device-snmp-go_jakarta/.semver/jakarta with force:True 01:49:29 2022-05-25 01:49:29,520 [read_version] DEBUG read version from /w/workspace/exfoundry_device-snmp-go_jakarta/.semver/jakarta 01:49:29 2022-05-25 01:49:29,520 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-snmp-go_jakarta/.semver/jakarta 01:49:29 2022-05-25 01:49:29,521 [execute] INFO git cat-file --batch-check 01:49:29 2022-05-25 01:49:29,522 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-snmp-go_jakarta/.semver, universal_newlines=False, shell=None, istream=) 01:49:29 2022-05-25 01:49:29,526 [execute] INFO git cat-file --batch 01:49:29 2022-05-25 01:49:29,527 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-snmp-go_jakarta/.semver, universal_newlines=False, shell=None, istream=) 01:49:29 2022-05-25 01:49:29,530 [read_version] DEBUG read version from /w/workspace/exfoundry_device-snmp-go_jakarta/.semver/jakarta 01:49:29 2.1.1-dev.2 [Pipeline] } 01:49:29 $ docker exec --env ******** --env ******** 4d3ae08dd383cff8c46429ac1427e055ddc7490ade0be8e3087d4e7a9429bb9a ssh-agent -k 01:49:29 unset SSH_AUTH_SOCK; 01:49:29 unset SSH_AGENT_PID; 01:49:29 echo Agent pid 40 killed; 01:49:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:49:30 + git semver [Pipeline] } 01:49:30 $ docker stop --time=1 4d3ae08dd383cff8c46429ac1427e055ddc7490ade0be8e3087d4e7a9429bb9a 01:49:31 $ docker rm -f 4d3ae08dd383cff8c46429ac1427e055ddc7490ade0be8e3087d4e7a9429bb9a [Pipeline] // withDockerContainer [Pipeline] sh 01:49:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:49:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 01:49:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:49:32 prd-ubuntu20.04-docker-8c-8g-13 does not seem to be running inside a container 01:49:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/exfoundry_device-snmp-go_jakarta -v /w/workspace/exfoundry_device-snmp-go_jakarta:/w/workspace/exfoundry_device-snmp-go_jakarta:rw,z -v /w/workspace/exfoundry_device-snmp-go_jakarta@tmp:/w/workspace/exfoundry_device-snmp-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 01:49:32 $ docker top fe0be371af52d6536ca1f6d63068e847c5e323349529cec0ebe1680d7fe83b4a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:49:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:49:32 [ssh-agent] Looking for ssh-agent implementation... 01:49:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:49:32 $ docker exec fe0be371af52d6536ca1f6d63068e847c5e323349529cec0ebe1680d7fe83b4a ssh-agent 01:49:33 SSH_AUTH_SOCK=/tmp/ssh-vaQAQ4HAvct7/agent.34 01:49:33 SSH_AGENT_PID=40 01:49:33 Running ssh-add (command line suppressed) 01:49:33 Identity added: /w/workspace/exfoundry_device-snmp-go_jakarta@tmp/private_key_76981418383409234.key (/w/workspace/exfoundry_device-snmp-go_jakarta@tmp/private_key_76981418383409234.key) 01:49:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:49:33 + git semver push 01:49:33 2022-05-25 01:49:33,679 [run_push] DEBUG push 01:49:33 2022-05-25 01:49:33,680 [execute] INFO git push origin semver 01:49:33 2022-05-25 01:49:33,680 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-snmp-go_jakarta/.semver, universal_newlines=False, shell=None, istream=None) 01:49:34 2022-05-25 01:49:34,474 [run_push] DEBUG push all version tags 01:49:34 2022-05-25 01:49:34,474 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 01:49:34 2022-05-25 01:49:34,475 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/exfoundry_device-snmp-go_jakarta, universal_newlines=False, shell=None, istream=None) 01:49:35 2022-05-25 01:49:35,121 [read_version] DEBUG read version from /w/workspace/exfoundry_device-snmp-go_jakarta/.semver/jakarta 01:49:35 2.1.1-dev.2 [Pipeline] } 01:49:35 $ docker exec --env ******** --env ******** fe0be371af52d6536ca1f6d63068e847c5e323349529cec0ebe1680d7fe83b4a ssh-agent -k 01:49:35 unset SSH_AUTH_SOCK; 01:49:35 unset SSH_AGENT_PID; 01:49:35 echo Agent pid 40 killed; 01:49:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:49:35 + git semver [Pipeline] } 01:49:36 $ docker stop --time=1 fe0be371af52d6536ca1f6d63068e847c5e323349529cec0ebe1680d7fe83b4a 01:49:37 $ docker rm -f fe0be371af52d6536ca1f6d63068e847c5e323349529cec0ebe1680d7fe83b4a [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 01:49:37 + [ -d /w/workspace/exfoundry_device-snmp-go_jakarta/archives ] 01:49:37 + ls -al /w/workspace/exfoundry_device-snmp-go_jakarta/archives 01:49:37 total 16 01:49:37 drwxr-xr-x 3 root root 4096 May 25 01:41 . 01:49:37 drwxrwxr-x 11 jenkins jenkins 4096 May 25 01:49 .. 01:49:37 drwxr-xr-x 2 root root 4096 May 25 01:41 cost 01:49:37 -rw-r--r-- 1 root root 86 May 25 01:41 cost.csv 01:49:37 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-snmp-go_jakarta/archives 01:49:37 + ls -al /w/workspace/exfoundry_device-snmp-go_jakarta/archives 01:49:37 total 16 01:49:37 drwxr-xr-x 3 jenkins jenkins 4096 May 25 01:41 . 01:49:37 drwxrwxr-x 11 jenkins jenkins 4096 May 25 01:49 .. 01:49:37 drwxr-xr-x 2 jenkins jenkins 4096 May 25 01:41 cost 01:49:37 -rw-r--r-- 1 jenkins jenkins 86 May 25 01:41 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:49:38 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:49:38 ---> package-listing.sh 01:49:38 ++ facter osfamily 01:49:38 ++ tr '[:upper:]' '[:lower:]' 01:49:39 + OS_FAMILY=debian 01:49:39 + workspace=/w/workspace/exfoundry_device-snmp-go_jakarta 01:49:39 + START_PACKAGES=/tmp/packages_start.txt 01:49:39 + END_PACKAGES=/tmp/packages_end.txt 01:49:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:49:39 + PACKAGES=/tmp/packages_start.txt 01:49:39 + '[' /w/workspace/exfoundry_device-snmp-go_jakarta ']' 01:49:39 + PACKAGES=/tmp/packages_end.txt 01:49:39 + case "${OS_FAMILY}" in 01:49:39 + dpkg -l 01:49:39 + grep '^ii' 01:49:39 + '[' -f /tmp/packages_start.txt ']' 01:49:39 + '[' -f /tmp/packages_end.txt ']' 01:49:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:49:39 + '[' /w/workspace/exfoundry_device-snmp-go_jakarta ']' 01:49:39 + mkdir -p /w/workspace/exfoundry_device-snmp-go_jakarta/archives/ 01:49:39 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-snmp-go_jakarta/archives/ [Pipeline] echo 01:49:39 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/exfoundry_device-snmp-go_jakarta/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:49:39 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:49:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:49:40 prd-ubuntu20.04-docker-8c-8g-13 does not seem to be running inside a container 01:49:40 $ 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/exfoundry_device-snmp-go_jakarta/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/exfoundry_device-snmp-go_jakarta -v /w/workspace/exfoundry_device-snmp-go_jakarta:/w/workspace/exfoundry_device-snmp-go_jakarta:rw,z -v /w/workspace/exfoundry_device-snmp-go_jakarta@tmp:/w/workspace/exfoundry_device-snmp-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:49:40 $ docker top 631b57dc905f342c07be917889a6b5d8520776e1c16d077edcdd72537d637771 -eo pid,comm [Pipeline] { [Pipeline] sh 01:49:40 + touch /tmp/pre-build-complete [Pipeline] sh 01:49:41 + mkdir -p /var/log/sysstat [Pipeline] sh 01:49:41 + ls /var/log/sa-host 01:49:41 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:49:41 provisioning config files... 01:49:41 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-snmp-go_jakarta@tmp/config3255534317540153595tmp [Pipeline] { [Pipeline] echo 01:49:41 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:49:41 ---> create-netrc.sh [Pipeline] } 01:49:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:49:42 ---> python-tools-install.sh [Pipeline] echo 01:49:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:49:42 ---> sudo-logs.sh 01:49:42 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:49:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:49:42 ---> job-cost.sh 01:49:42 lf-activate-venv: SKIPPING 01:49:42 DEBUG: total: 0.2199999988079071 01:49:42 INFO: Retrieving Stack Cost... 01:49:43 INFO: Retrieving Pricing Info for: v3-standard-8 01:49:43 INFO: Archiving Costs [Pipeline] echo 01:49:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:49:44 ---> logs-deploy.sh 01:49:44 lf-activate-venv: SKIPPING 01:49:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/jakarta/4 01:49:44 INFO: archiving workspace using pattern(s): 01:49:45 Archives upload complete. 01:49:45 INFO: archiving logs to Nexus 01:49:45 ---> uname -a: 01:49:45 Linux prd-ubuntu20-04-docker-8c-8g-13 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 01:49:45 01:49:45 01:49:45 ---> lscpu: 01:49:45 Architecture: x86_64 01:49:45 CPU op-mode(s): 32-bit, 64-bit 01:49:45 Byte Order: Little Endian 01:49:45 Address sizes: 40 bits physical, 48 bits virtual 01:49:45 CPU(s): 8 01:49:45 On-line CPU(s) list: 0-7 01:49:45 Thread(s) per core: 1 01:49:45 Core(s) per socket: 1 01:49:45 Socket(s): 8 01:49:45 NUMA node(s): 1 01:49:45 Vendor ID: AuthenticAMD 01:49:45 CPU family: 23 01:49:45 Model: 49 01:49:45 Model name: AMD EPYC-Rome Processor 01:49:45 Stepping: 0 01:49:45 CPU MHz: 2799.998 01:49:45 BogoMIPS: 5599.99 01:49:45 Virtualization: AMD-V 01:49:45 Hypervisor vendor: KVM 01:49:45 Virtualization type: full 01:49:45 L1d cache: 256 KiB 01:49:45 L1i cache: 256 KiB 01:49:45 L2 cache: 4 MiB 01:49:45 L3 cache: 128 MiB 01:49:45 NUMA node0 CPU(s): 0-7 01:49:45 Vulnerability Itlb multihit: Not affected 01:49:45 Vulnerability L1tf: Not affected 01:49:45 Vulnerability Mds: Not affected 01:49:45 Vulnerability Meltdown: Not affected 01:49:45 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 01:49:45 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 01:49:45 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 01:49:45 Vulnerability Srbds: Not affected 01:49:45 Vulnerability Tsx async abort: Not affected 01:49:45 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 01:49:45 01:49:45 01:49:45 ---> nproc: 01:49:45 8 01:49:45 01:49:45 01:49:45 ---> df -h: 01:49:45 Filesystem Size Used Avail Use% Mounted on 01:49:45 overlay 155G 12G 144G 8% / 01:49:45 tmpfs 64M 0 64M 0% /dev 01:49:45 tmpfs 16G 0 16G 0% /sys/fs/cgroup 01:49:45 shm 64M 0 64M 0% /dev/shm 01:49:45 /dev/vda1 155G 12G 144G 8% /facter-os 01:49:45 01:49:45