Push event to branch jakarta Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d8d13776115bae24b07028e90133f95fb504a846 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-ssh7529831657020961584.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh15513958669175547077.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/jakarta/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/jakarta/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7175154652977803389.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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-ssh5459771459034032610.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/jakarta/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-snmp-go/branches/jakarta/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17503384191927389351.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-1028’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-1758’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-1756’ is offline ‘prd-ubuntu20.04-docker-8c-8g-1762’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-1757’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1764 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 d8d13776115bae24b07028e90133f95fb504a846 (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 d8d13776115bae24b07028e90133f95fb504a846 # timeout=10 Commit message: "fix(snap): expose parent directory in device-config plug (Jakarta) (#177)" > git rev-list --no-walk 9dfa39e25740af4f73019c6d8198dfd4ed11294a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:59:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:59:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:59:29 ========================================================= 15:59:29 EdgeX Global Pipelines Version Info 15:59:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:59:29 ------------------- 15:59:29 stable info: 15:59:29 ------------------- 15:59:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:59:29 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 15:59:29 Message: update stable to v1.0.234 15:59:30 ------------------- 15:59:30 experimental info: 15:59:30 ------------------- 15:59:30 Commited By: **** collab-it+edgex@linuxfoundation.org 15:59:30 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 15:59:30 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:59:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 15:59:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 15:59:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:59:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:59:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:59:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 15:59:30 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:59:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:59:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:59:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:59:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:59:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-snmp [Pipeline] echo 15:59:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:59:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:59:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:59:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:59:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:59:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:59:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:59:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:59:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:59:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:59:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:59:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:59:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:59:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:59:31 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:59:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = jakarta [Pipeline] echo 15:59:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = jakarta [Pipeline] echo 15:59:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = jakarta [Pipeline] echo 15:59:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d8d13776115bae24b07028e90133f95fb504a846 [Pipeline] echo 15:59:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d8d1377 [Pipeline] echo 15:59:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:59:31 provisioning config files... 15:59:31 copy managed file [device-snmp-go-settings] to file:/w/workspace/exfoundry_device-snmp-go_jakarta@tmp/config9025965428777553524tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:59:31 ---> docker-login.sh 15:59:31 nexus3.edgexfoundry.org:10001 15:59:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:31 Configure a credential helper to remove this warning. See 15:59:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:31 15:59:31 Login Succeeded 15:59:31 nexus3.edgexfoundry.org:10002 15:59:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:31 Configure a credential helper to remove this warning. See 15:59:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:31 15:59:31 Login Succeeded 15:59:31 nexus3.edgexfoundry.org:10003 15:59:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:31 Configure a credential helper to remove this warning. See 15:59:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:31 15:59:31 Login Succeeded 15:59:31 nexus3.edgexfoundry.org:10004 15:59:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:32 Configure a credential helper to remove this warning. See 15:59:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:32 15:59:32 Login Succeeded 15:59:32 docker.io 15:59:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:32 Configure a credential helper to remove this warning. See 15:59:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:32 15:59:32 Login Succeeded 15:59:32 ---> docker-login.sh ends [Pipeline] } 15:59:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:59:32 + git rev-list -1 --merges d8d13776115bae24b07028e90133f95fb504a846~1..d8d13776115bae24b07028e90133f95fb504a846 [Pipeline] echo 15:59:32 -----------> git rev-list -1 --merges d8d13776115bae24b07028e90133f95fb504a846~1..d8d13776115bae24b07028e90133f95fb504a846 d8d13776115bae24b07028e90133f95fb504a846 [false] [Pipeline] sh 15:59:33 + git log --format=format:%s -1 d8d13776115bae24b07028e90133f95fb504a846 [Pipeline] echo 15:59:33 ========================================================= 15:59:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:59:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:59:33 + git log --format=format:%s -1 d8d13776115bae24b07028e90133f95fb504a846 [Pipeline] echo 15:59:33 [semverPrep] GIT_COMMIT: d8d13776115bae24b07028e90133f95fb504a846, Commit Message: fix(snap): expose parent directory in device-config plug (Jakarta) (#177) [Pipeline] echo 15:59:33 [semverPrep] This is not a build commit. [Pipeline] sh 15:59:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:59:33 + grep -v github /etc/ssh/ssh_known_hosts 15:59:33 + [ -e /tmp/ssh_known_hosts ] 15:59:33 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:59:33 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:59:33 + sudo tee -a /etc/ssh/ssh_known_hosts 15:59:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:59:34 15:59:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:59:34 0.1.4: Pulling from edgex-devops/py-git-semver 15:59:34 42c077c10790: Pulling fs layer 15:59:34 f63e77b7563a: Pulling fs layer 15:59:34 bd5fdadae976: Pulling fs layer 15:59:34 205491f53016: Pulling fs layer 15:59:34 df18705c85c3: Pulling fs layer 15:59:34 bdb3f477010e: Pulling fs layer 15:59:34 205491f53016: Waiting 15:59:34 c8a8fc8e1c8f: Pulling fs layer 15:59:34 2c6e9b1d212d: Pulling fs layer 15:59:34 df18705c85c3: Waiting 15:59:34 bdb3f477010e: Waiting 15:59:34 bdb8f0575790: Pulling fs layer 15:59:34 c8a8fc8e1c8f: Waiting 15:59:34 386e3cb2ff24: Pulling fs layer 15:59:34 2343380bae48: Pulling fs layer 15:59:34 2c6e9b1d212d: Waiting 15:59:34 bdb8f0575790: Waiting 15:59:34 2343380bae48: Waiting 15:59:34 f63e77b7563a: Verifying Checksum 15:59:34 f63e77b7563a: Download complete 15:59:34 205491f53016: Verifying Checksum 15:59:34 205491f53016: Download complete 15:59:34 df18705c85c3: Verifying Checksum 15:59:34 df18705c85c3: Download complete 15:59:34 bd5fdadae976: Verifying Checksum 15:59:34 bd5fdadae976: Download complete 15:59:34 2c6e9b1d212d: Verifying Checksum 15:59:34 2c6e9b1d212d: Download complete 15:59:34 bdb8f0575790: Verifying Checksum 15:59:34 bdb8f0575790: Download complete 15:59:34 386e3cb2ff24: Verifying Checksum 15:59:34 386e3cb2ff24: Download complete 15:59:34 2343380bae48: Download complete 15:59:34 42c077c10790: Verifying Checksum 15:59:34 42c077c10790: Download complete 15:59:35 c8a8fc8e1c8f: Verifying Checksum 15:59:35 c8a8fc8e1c8f: Download complete 15:59:36 42c077c10790: Pull complete 15:59:36 f63e77b7563a: Pull complete 15:59:37 bd5fdadae976: Pull complete 15:59:37 205491f53016: Pull complete 15:59:37 df18705c85c3: Pull complete 15:59:37 bdb3f477010e: Pull complete 15:59:39 c8a8fc8e1c8f: Pull complete 15:59:39 2c6e9b1d212d: Pull complete 15:59:39 bdb8f0575790: Pull complete 15:59:39 386e3cb2ff24: Pull complete 15:59:40 2343380bae48: Pull complete 15:59:40 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 15:59:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:59:40 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:59:40 prd-ubuntu20.04-docker-8c-8g-1764 does not seem to be running inside a container 15:59:40 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:59:41 $ docker top a3e952caaad04e0677a063c2a745c4db4e988f9299a7813345c53c83ec07afbb -eo pid,comm 15:59:41 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 15:59:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:59:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:59:41 [ssh-agent] Looking for ssh-agent implementation... 15:59:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:59:42 $ docker exec a3e952caaad04e0677a063c2a745c4db4e988f9299a7813345c53c83ec07afbb ssh-agent 15:59:42 SSH_AUTH_SOCK=/tmp/ssh-rCTFwwXt1cCR/agent.33 15:59:42 SSH_AGENT_PID=39 15:59:42 Running ssh-add (command line suppressed) 15:59:42 Identity added: /w/workspace/exfoundry_device-snmp-go_jakarta@tmp/private_key_2035267008678237704.key (/w/workspace/exfoundry_device-snmp-go_jakarta@tmp/private_key_2035267008678237704.key) 15:59:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:59:42 + git tag --points-at HEAD [Pipeline] } 15:59:42 $ docker exec --env ******** --env ******** a3e952caaad04e0677a063c2a745c4db4e988f9299a7813345c53c83ec07afbb ssh-agent -k 15:59:42 unset SSH_AUTH_SOCK; 15:59:42 unset SSH_AGENT_PID; 15:59:42 echo Agent pid 39 killed; 15:59:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:59:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:59:42 [ssh-agent] Looking for ssh-agent implementation... 15:59:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:59:42 $ docker exec a3e952caaad04e0677a063c2a745c4db4e988f9299a7813345c53c83ec07afbb ssh-agent 15:59:43 SSH_AUTH_SOCK=/tmp/ssh-kYYWdpkK9gpa/agent.73 15:59:43 SSH_AGENT_PID=80 15:59:43 Running ssh-add (command line suppressed) 15:59:43 Identity added: /w/workspace/exfoundry_device-snmp-go_jakarta@tmp/private_key_3157280661099902094.key (/w/workspace/exfoundry_device-snmp-go_jakarta@tmp/private_key_3157280661099902094.key) 15:59:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:59:43 + git semver init 15:59:43 2022-06-08 15:59:43,799 [run_init] DEBUG init version:0.0.0 force:False 15:59:43 2022-06-08 15:59:43,799 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/exfoundry_device-snmp-go_jakarta/.semver 15:59:43 2022-06-08 15:59:43,800 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-snmp-go.git /w/workspace/exfoundry_device-snmp-go_jakarta/.semver 15:59:43 2022-06-08 15:59:43,800 [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) 15:59:44 2022-06-08 15:59:44,522 [append_file] DEBUG append to file:/w/workspace/exfoundry_device-snmp-go_jakarta/.git/info/exclude 15:59:44 2022-06-08 15:59:44,522 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/exfoundry_device-snmp-go_jakarta/.semver/jakarta with force:False 15:59:44 2022-06-08 15:59:44,522 [read_version] DEBUG read version from /w/workspace/exfoundry_device-snmp-go_jakarta/.semver/jakarta 15:59:44 2022-06-08 15:59:44,522 [read_version] DEBUG read version from /w/workspace/exfoundry_device-snmp-go_jakarta/.semver/jakarta 15:59:44 2.1.1-dev.3 [Pipeline] } 15:59:44 $ docker exec --env ******** --env ******** a3e952caaad04e0677a063c2a745c4db4e988f9299a7813345c53c83ec07afbb ssh-agent -k 15:59:44 unset SSH_AUTH_SOCK; 15:59:44 unset SSH_AGENT_PID; 15:59:44 echo Agent pid 80 killed; 15:59:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:59:45 + git semver [Pipeline] } 15:59:45 $ docker stop --time=1 a3e952caaad04e0677a063c2a745c4db4e988f9299a7813345c53c83ec07afbb 15:59:46 $ docker rm -f a3e952caaad04e0677a063c2a745c4db4e988f9299a7813345c53c83ec07afbb [Pipeline] // withDockerContainer [Pipeline] sh 15:59:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:59:47 Stashed 1 file(s) [Pipeline] echo 15:59:47 [edgeXSemver]: initialized semver on version 2.1.1-dev.3 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:59:47 provisioning config files... 15:59:47 copy managed file [device-snmp-go-settings] to file:/w/workspace/exfoundry_device-snmp-go_jakarta@tmp/config657627083382233457tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:59:47 ---> docker-login.sh 15:59:47 nexus3.edgexfoundry.org:10001 15:59:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:47 Configure a credential helper to remove this warning. See 15:59:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:47 15:59:47 Login Succeeded 15:59:47 nexus3.edgexfoundry.org:10002 15:59:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:48 Configure a credential helper to remove this warning. See 15:59:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:48 15:59:48 Login Succeeded 15:59:48 nexus3.edgexfoundry.org:10003 15:59:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:48 Configure a credential helper to remove this warning. See 15:59:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:48 15:59:48 Login Succeeded 15:59:48 nexus3.edgexfoundry.org:10004 15:59:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:48 Configure a credential helper to remove this warning. See 15:59:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:48 15:59:48 Login Succeeded 15:59:48 docker.io 15:59:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:59:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:59:48 Configure a credential helper to remove this warning. See 15:59:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:59:48 15:59:48 Login Succeeded 15:59:48 ---> docker-login.sh ends [Pipeline] } 15:59:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:59:48 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] sh 15:59:49 + + grepcut ^go [0-9].[0-9]* -d go.mod -f 15:59:49 2 [Pipeline] echo 15:59:49 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:59:49 ========================================================= 15:59:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.16-alpine-lts] 15:59:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:49 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.16-alpine-lts --build-arg MAKE=echo noop --target=builder . 15:59:49 Sending build context to Docker daemon 16.31MB 15:59:49 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 15:59:49 Step 2/11 : FROM ${BASE} AS builder 15:59:49 1.16-alpine-lts: Pulling from edgex-devops/edgex-golang-base 15:59:49 a0d0a0d46f8b: Pulling fs layer 15:59:49 31adcdaf11c8: Pulling fs layer 15:59:49 b8b176561691: Pulling fs layer 15:59:49 4527c011a84f: Pulling fs layer 15:59:49 5d74067f8e1e: Pulling fs layer 15:59:49 fd57009d33ed: Pulling fs layer 15:59:49 6b058263d067: Pulling fs layer 15:59:49 16d7c86c65f4: Pulling fs layer 15:59:49 1290d154cb4b: Pulling fs layer 15:59:49 16d7c86c65f4: Waiting 15:59:49 5d74067f8e1e: Waiting 15:59:49 fd57009d33ed: Waiting 15:59:49 6b058263d067: Waiting 15:59:49 4527c011a84f: Waiting 15:59:49 b8b176561691: Download complete 15:59:49 31adcdaf11c8: Verifying Checksum 15:59:49 31adcdaf11c8: Download complete 15:59:49 5d74067f8e1e: Verifying Checksum 15:59:49 5d74067f8e1e: Download complete 15:59:49 fd57009d33ed: Verifying Checksum 15:59:49 fd57009d33ed: Download complete 15:59:49 a0d0a0d46f8b: Download complete 15:59:49 6b058263d067: Verifying Checksum 15:59:49 6b058263d067: Download complete 15:59:49 16d7c86c65f4: Verifying Checksum 15:59:49 16d7c86c65f4: Download complete 15:59:49 a0d0a0d46f8b: Pull complete 15:59:49 31adcdaf11c8: Pull complete 15:59:50 b8b176561691: Pull complete 15:59:50 4527c011a84f: Verifying Checksum 15:59:50 4527c011a84f: Download complete 15:59:50 1290d154cb4b: Verifying Checksum 15:59:50 1290d154cb4b: Download complete 15:59:54 4527c011a84f: Pull complete 15:59:54 5d74067f8e1e: Pull complete 15:59:54 fd57009d33ed: Pull complete 15:59:54 6b058263d067: Pull complete 15:59:54 16d7c86c65f4: Pull complete 15:59:57 1290d154cb4b: Pull complete 15:59:57 Digest: sha256:35e6ac41c26efe3add569c2382a45e417c8e583193a5145d003e9829e558bdd0 15:59:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.16-alpine-lts 15:59:57 ---> de6a6ee31cbe 15:59:57 Step 3/11 : ARG MAKE='make build' 15:59:58 ---> Running in 45db71e6f0a2 15:59:58 Removing intermediate container 45db71e6f0a2 15:59:58 ---> d48ed0295772 15:59:58 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:59:58 ---> Running in 1b4c9433d04a 15:59:58 Removing intermediate container 1b4c9433d04a 15:59:58 ---> e8756d722581 15:59:58 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 15:59:58 ---> Running in 4fe5656963f9 15:59:58 Removing intermediate container 4fe5656963f9 15:59:58 ---> ca93b8658914 15:59:58 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:59:58 ---> Running in fd7bc01fc9b0 15:59:59 Removing intermediate container fd7bc01fc9b0 15:59:59 ---> 2dc27e0ebc47 15:59:59 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:59:59 ---> Running in 9414ce6c7e3f 15:59:59 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 16:00:00 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 16:00:00 (1/4) Installing openssh-keygen (8.6_p1-r3) 16:00:00 (2/4) Installing libedit (20210216.3.1-r0) 16:00:01 (3/4) Installing openssh-client-common (8.6_p1-r3) 16:00:01 (4/4) Installing openssh-client-default (8.6_p1-r3) 16:00:01 Executing busybox-1.33.1-r3.trigger 16:00:01 OK: 224 MiB in 56 packages 16:00:01 Removing intermediate container 9414ce6c7e3f 16:00:01 ---> 3474b704e0de 16:00:01 Step 8/11 : WORKDIR /device-snmp-go 16:00:01 ---> Running in c6a053cd7176 16:00:01 Removing intermediate container c6a053cd7176 16:00:01 ---> c792724f876d 16:00:01 Step 9/11 : COPY . . 16:00:02 Still waiting to schedule task 16:00:02 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 16:00:02 ---> 210f0da238ce 16:00:02 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:00:02 ---> Running in d4ab78de7cd1 16:00:03 skipping... 16:00:03 Removing intermediate container d4ab78de7cd1 16:00:03 ---> 6f7204a0ab89 16:00:03 Step 11/11 : RUN ${MAKE} 16:00:03 ---> Running in c9e1ef2a2fcc 16:00:03 noop 16:00:04 Removing intermediate container c9e1ef2a2fcc 16:00:04 ---> 833a0af0b17c 16:00:04 Successfully built 833a0af0b17c 16:00:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:00:04 + docker inspect -f . ci-base-image-x86_64 16:00:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:00:04 prd-ubuntu20.04-docker-8c-8g-1764 does not seem to be running inside a container 16:00:04 $ 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 ******** -e ******** ci-base-image-x86_64 cat 16:00:05 $ docker top 621166250f15ec0d7ea25fb96df031e92a91688bf204fed934c6b5b77b8302ce -eo pid,comm [Pipeline] { [Pipeline] sh 16:00:05 + go version 16:00:05 go version go1.16.8 linux/amd64 [Pipeline] } 16:00:05 $ docker stop --time=1 621166250f15ec0d7ea25fb96df031e92a91688bf204fed934c6b5b77b8302ce 16:00:06 $ docker rm -f 621166250f15ec0d7ea25fb96df031e92a91688bf204fed934c6b5b77b8302ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:00:07 + docker inspect -f . ci-base-image-x86_64 16:00:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:00:07 prd-ubuntu20.04-docker-8c-8g-1764 does not seem to be running inside a container 16:00:07 $ 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 ******** -e ******** ci-base-image-x86_64 cat 16:00:07 $ docker top 8f861d40c29a20ab8126ff1b06244cdd464521ba03cba77dc1980f56526010c9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:00:08 + make test 16:00:08 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 16:00:08 ? github.com/edgexfoundry/device-snmp-go [no test files] 16:00:16 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 16:00:16 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.021s coverage: 0.0% of statements 16:00:16 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:00:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:00:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:00:21 ./bin/test-attribution-txt.sh 16:00:21 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.1 16:00:21 go: downloading github.com/OneOfOne/xxhash v1.2.8 16:00:21 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1 16:00:21 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.1 16:00:21 go: downloading github.com/google/uuid v1.3.0 16:00:21 go: downloading github.com/soniah/gosnmp v1.21.0 16:00:21 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1 16:00:22 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 16:00:22 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 16:00:22 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 16:00:22 go: downloading github.com/gorilla/mux v1.8.0 16:00:22 go: downloading github.com/pelletier/go-toml v1.9.4 16:00:22 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 16:00:22 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1 16:00:22 go: downloading github.com/hashicorp/go-multierror v1.1.0 16:00:22 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 16:00:22 go: downloading github.com/hashicorp/consul/api v1.9.1 16:00:22 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 16:00:22 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 16:00:22 go: downloading github.com/go-kit/kit v0.11.0 16:00:22 go: downloading github.com/go-playground/validator/v10 v10.9.0 16:00:22 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 16:00:22 go: downloading github.com/go-redis/redis/v7 v7.3.0 16:00:22 go: downloading github.com/pebbe/zmq4 v1.2.7 16:00:22 go: downloading github.com/go-logfmt/logfmt v0.5.0 16:00:22 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 16:00:22 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 16:00:22 go: downloading golang.org/x/text v0.3.6 16:00:22 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 16:00:22 go: downloading github.com/mitchellh/copystructure v1.0.0 16:00:22 go: downloading github.com/mitchellh/mapstructure v1.1.2 16:00:22 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 16:00:22 go: downloading github.com/golang/mock v1.4.4 16:00:22 go: downloading github.com/hashicorp/golang-lru v0.5.0 16:00:22 go: downloading github.com/hashicorp/errwrap v1.0.0 16:00:22 go: downloading github.com/x448/float16 v0.8.4 16:00:22 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 16:00:22 go: downloading github.com/hashicorp/go-hclog v0.12.0 16:00:22 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 16:00:22 go: downloading github.com/hashicorp/serf v0.9.5 16:00:22 go: downloading github.com/go-playground/universal-translator v0.18.0 16:00:22 go: downloading github.com/leodido/go-urn v1.2.1 16:00:22 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 16:00:22 go: downloading github.com/gorilla/websocket v1.4.2 16:00:22 go: downloading github.com/mitchellh/reflectwalk v1.0.0 16:00:22 go: downloading github.com/mitchellh/go-homedir v1.1.0 16:00:22 go: downloading github.com/fatih/color v1.9.0 16:00:22 go: downloading github.com/mattn/go-colorable v0.1.6 16:00:22 go: downloading github.com/mattn/go-isatty v0.0.12 16:00:22 go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo 16:00:24 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 16:00:24 + go mod tidy 16:00:24 go: downloading github.com/stretchr/testify v1.7.0 16:00:24 go: downloading github.com/go-playground/assert/v2 v2.0.1 16:00:24 go: downloading github.com/go-stack/stack v1.8.0 16:00:24 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 16:00:24 go: downloading github.com/hashicorp/consul/sdk v0.8.0 16:00:24 go: downloading github.com/hashicorp/go-uuid v1.0.1 16:00:24 go: downloading github.com/onsi/ginkgo v1.10.1 16:00:24 go: downloading github.com/onsi/gomega v1.7.0 16:00:24 go: downloading github.com/hashicorp/go-msgpack v0.5.3 16:00:24 go: downloading github.com/hashicorp/memberlist v0.2.2 16:00:24 go: downloading github.com/pkg/errors v0.9.1 16:00:24 go: downloading github.com/kr/pretty v0.3.0 16:00:24 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 16:00:24 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 16:00:24 go: downloading github.com/davecgh/go-spew v1.1.1 16:00:24 go: downloading github.com/pmezard/go-difflib v1.0.0 16:00:24 go: downloading github.com/stretchr/objx v0.1.1 16:00:24 go: downloading github.com/kr/text v0.2.0 16:00:24 go: downloading github.com/rogpeppe/go-internal v1.8.0 16:00:24 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 16:00:24 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 16:00:24 go: downloading github.com/miekg/dns v1.1.26 16:00:24 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 16:00:24 go: downloading gopkg.in/yaml.v2 v2.3.0 16:00:24 go: downloading github.com/hpcloud/tail v1.0.0 16:00:24 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 16:00:24 go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } 16:00:24 $ docker stop --time=1 8f861d40c29a20ab8126ff1b06244cdd464521ba03cba77dc1980f56526010c9 16:00:26 $ docker rm -f 8f861d40c29a20ab8126ff1b06244cdd464521ba03cba77dc1980f56526010c9 [Pipeline] // withDockerContainer [Pipeline] sh 16:00:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:00:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:00:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:00:28 + ls -al . 16:00:28 total 180 16:00:28 drwxrwxr-x 10 jenkins jenkins 4096 Jun 8 16:00 . 16:00:28 drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 15:59 .. 16:00:28 -rw-rw-r-- 1 jenkins jenkins 6 Jun 8 15:59 .dockerignore 16:00:28 drwxrwxr-x 8 jenkins jenkins 4096 Jun 8 15:59 .git 16:00:28 drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 15:59 .github 16:00:28 -rw-rw-r-- 1 jenkins jenkins 255 Jun 8 15:59 .gitignore 16:00:28 drwxr-xr-x 3 jenkins jenkins 4096 Jun 8 15:59 .semver 16:00:28 -rw-rw-r-- 1 jenkins jenkins 6926 Jun 8 15:59 Attribution.txt 16:00:28 -rw-rw-r-- 1 jenkins jenkins 4800 Jun 8 15:59 CHANGELOG.md 16:00:28 -rw-rw-r-- 1 jenkins jenkins 1493 Jun 8 15:59 Dockerfile 16:00:28 -rw-rw-r-- 1 jenkins jenkins 677 Jun 8 15:59 GOVERNANCE.md 16:00:28 -rw-rw-r-- 1 jenkins jenkins 656 Jun 8 15:59 Jenkinsfile 16:00:28 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 8 15:59 LICENSE 16:00:28 -rw-rw-r-- 1 jenkins jenkins 1526 Jun 8 15:59 Makefile 16:00:28 -rw-rw-r-- 1 jenkins jenkins 620 Jun 8 15:59 OWNERS.md 16:00:28 -rw-rw-r-- 1 jenkins jenkins 9073 Jun 8 15:59 README.md 16:00:28 -rw-rw-r-- 1 jenkins jenkins 11 Jun 8 15:59 VERSION 16:00:28 drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 15:59 bin 16:00:28 drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 15:59 cmd 16:00:28 -rw-r--r-- 1 jenkins jenkins 7631 Jun 8 16:00 coverage.out 16:00:28 -rw-rw-r-- 1 jenkins jenkins 208 Jun 8 16:00 go.mod 16:00:28 -rw-rw-r-- 1 jenkins jenkins 49477 Jun 8 15:59 go.sum 16:00:28 drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 15:59 internal 16:00:28 drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 15:59 snap 16:00:28 drwxrwxr-x 6 jenkins jenkins 4096 Jun 8 15:59 vendor 16:00:28 -rw-rw-r-- 1 jenkins jenkins 228 Jun 8 15:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:00:28 + 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=d8d13776115bae24b07028e90133f95fb504a846 --label arch=amd64 --label version=2.1.1-dev.3 . 16:00:28 Sending build context to Docker daemon 16.32MB 16:00:28 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 16:00:28 Step 2/23 : FROM ${BASE} AS builder 16:00:28 ---> 833a0af0b17c 16:00:28 Step 3/23 : ARG MAKE='make build' 16:00:28 ---> Running in 4339c7f807c1 16:00:29 Removing intermediate container 4339c7f807c1 16:00:29 ---> 14745305ed12 16:00:29 Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:00:29 ---> Running in 4624e287fa4b 16:00:29 Removing intermediate container 4624e287fa4b 16:00:29 ---> 1e2785b52650 16:00:29 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 16:00:29 ---> Running in 0a3392eaf2a3 16:00:29 Removing intermediate container 0a3392eaf2a3 16:00:29 ---> b2e662bd3bee 16:00:29 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:00:29 ---> Running in 53c5aa37ff8f 16:00:29 Removing intermediate container 53c5aa37ff8f 16:00:29 ---> 309a94f35403 16:00:29 Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:00:29 ---> Running in 47a49158315f 16:00:30 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 16:00:31 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 16:00:31 OK: 224 MiB in 56 packages 16:00:31 Removing intermediate container 47a49158315f 16:00:31 ---> f6bde6597579 16:00:31 Step 8/23 : WORKDIR /device-snmp-go 16:00:31 ---> Running in 18dc28052ef9 16:00:31 Removing intermediate container 18dc28052ef9 16:00:31 ---> f2b61f10cec7 16:00:31 Step 9/23 : COPY . . 16:00:32 ---> f0154278880c 16:00:32 Step 10/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:00:32 ---> Running in 7465e2936a2b 16:00:33 skipping... 16:00:33 Removing intermediate container 7465e2936a2b 16:00:33 ---> 78115aa3cc8c 16:00:33 Step 11/23 : RUN ${MAKE} 16:00:33 ---> Running in 7a2062c56482 16:00:33 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=2.1.1-dev.3 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.1.1" -o cmd/device-snmp ./cmd 16:00:41 Removing intermediate container 7a2062c56482 16:00:41 ---> c4abdbf0a593 16:00:41 Step 12/23 : FROM alpine:3.14 16:00:41 3.14: Pulling from library/alpine 16:00:41 8663204ce13b: Pulling fs layer 16:00:42 8663204ce13b: Verifying Checksum 16:00:42 8663204ce13b: Download complete 16:00:42 8663204ce13b: Pull complete 16:00:42 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 16:00:42 Status: Downloaded newer image for alpine:3.14 16:00:42 ---> e04c818066af 16:00:42 Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init 16:00:42 ---> Running in 538cb262a477 16:00:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 16:00:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 16:00:43 (1/6) Installing dumb-init (1.2.5-r1) 16:00:43 (2/6) Installing libgcc (10.3.1_git20210424-r2) 16:00:43 (3/6) Installing libsodium (1.0.18-r0) 16:00:43 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 16:00:43 (5/6) Installing libzmq (4.3.4-r0) 16:00:43 (6/6) Installing zeromq (4.3.4-r0) 16:00:43 Executing busybox-1.33.1-r7.trigger 16:00:43 OK: 8 MiB in 20 packages 16:00:43 Removing intermediate container 538cb262a477 16:00:43 ---> f7bab655ff48 16:00:43 Step 14/23 : COPY --from=builder /device-snmp-go/cmd / 16:00:43 ---> 152ee3609f05 16:00:43 Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / 16:00:43 ---> 1d7bcb7cfb87 16:00:43 Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / 16:00:44 ---> f495497d8fbb 16:00:44 Step 17/23 : EXPOSE 59993 16:00:44 ---> Running in 35ae2a791c0f 16:00:44 Removing intermediate container 35ae2a791c0f 16:00:44 ---> 8c8247da2035 16:00:44 Step 18/23 : EXPOSE 161 16:00:44 ---> Running in 553a8f529765 16:00:44 Removing intermediate container 553a8f529765 16:00:44 ---> 8af0465f7c5b 16:00:44 Step 19/23 : ENTRYPOINT ["/device-snmp"] 16:00:44 ---> Running in 842ea59fa15d 16:00:44 Removing intermediate container 842ea59fa15d 16:00:44 ---> 41de9483e51d 16:00:44 Step 20/23 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 16:00:44 ---> Running in 21ebfee894e2 16:00:44 Removing intermediate container 21ebfee894e2 16:00:44 ---> adebfa9f8a90 16:00:44 Step 21/23 : LABEL arch=amd64 16:00:44 ---> Running in ce3bef1d9044 16:00:44 Removing intermediate container ce3bef1d9044 16:00:44 ---> 922aae0f794b 16:00:44 Step 22/23 : LABEL git_sha=d8d13776115bae24b07028e90133f95fb504a846 16:00:44 ---> Running in db0c7dd4bd1d 16:00:44 Removing intermediate container db0c7dd4bd1d 16:00:44 ---> 1ddf15e93999 16:00:44 Step 23/23 : LABEL version=2.1.1-dev.3 16:00:44 ---> Running in 16bbffb13722 16:00:44 Removing intermediate container 16bbffb13722 16:00:44 ---> bfc484505a18 16:00:44 [Warning] One or more build-args [ARCH] were not consumed 16:00:44 Successfully built bfc484505a18 16:00:44 Successfully tagged device-snmp:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:00:45 provisioning config files... 16:00:45 copy managed file [device-snmp-go-settings] to file:/w/workspace/exfoundry_device-snmp-go_jakarta@tmp/config932407864039973704tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:00:45 ---> docker-login.sh 16:00:45 nexus3.edgexfoundry.org:10001 16:00:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:00:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:00:45 Configure a credential helper to remove this warning. See 16:00:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:00:45 16:00:45 Login Succeeded 16:00:45 nexus3.edgexfoundry.org:10002 16:00:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:00:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:00:45 Configure a credential helper to remove this warning. See 16:00:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:00:45 16:00:45 Login Succeeded 16:00:45 nexus3.edgexfoundry.org:10003 16:00:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:00:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:00:45 Configure a credential helper to remove this warning. See 16:00:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:00:45 16:00:45 Login Succeeded 16:00:45 nexus3.edgexfoundry.org:10004 16:00:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:00:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:00:45 Configure a credential helper to remove this warning. See 16:00:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:00:45 16:00:45 Login Succeeded 16:00:45 docker.io 16:00:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:00:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:00:46 Configure a credential helper to remove this warning. See 16:00:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:00:46 16:00:46 Login Succeeded 16:00:46 ---> docker-login.sh ends [Pipeline] } 16:00:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:00:46 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:00:46 [edgeXDocker.push] Tagging docker image device-snmp with the following tags: 16:00:46 d8d13776115bae24b07028e90133f95fb504a846 16:00:46 2.1.1-dev.3 16:00:46 d8d13776115bae24b07028e90133f95fb504a846-2.1.1-dev.3 16:00:46 jakarta 16:00:46 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:00:46 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:d8d13776115bae24b07028e90133f95fb504a846 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:00:46 + docker push nexus3.edgexfoundry.org:10004/device-snmp:d8d13776115bae24b07028e90133f95fb504a846 16:00:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 16:00:46 94a375a1996c: Preparing 16:00:46 2388dc2a526a: Preparing 16:00:46 88058db48821: Preparing 16:00:46 94bda2a82ef9: Preparing 16:00:46 b541d28bf3b4: Preparing 16:00:46 b541d28bf3b4: Layer already exists 16:00:46 94a375a1996c: Pushed 16:00:46 2388dc2a526a: Pushed 16:00:47 94bda2a82ef9: Pushed 16:00:48 88058db48821: Pushed 16:00:48 d8d13776115bae24b07028e90133f95fb504a846: digest: sha256:4a9561aeaea9e80865849cd7303d147b3380e046487f068a0f4ffbe96f8b86b8 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:00:48 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:2.1.1-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:00:49 + docker push nexus3.edgexfoundry.org:10004/device-snmp:2.1.1-dev.3 16:00:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 16:00:49 94a375a1996c: Preparing 16:00:49 2388dc2a526a: Preparing 16:00:49 88058db48821: Preparing 16:00:49 94bda2a82ef9: Preparing 16:00:49 b541d28bf3b4: Preparing 16:00:49 2388dc2a526a: Layer already exists 16:00:49 b541d28bf3b4: Layer already exists 16:00:49 94a375a1996c: Layer already exists 16:00:49 88058db48821: Layer already exists 16:00:49 94bda2a82ef9: Layer already exists 16:00:49 2.1.1-dev.3: digest: sha256:4a9561aeaea9e80865849cd7303d147b3380e046487f068a0f4ffbe96f8b86b8 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:00:49 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:d8d13776115bae24b07028e90133f95fb504a846-2.1.1-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:00:49 + docker push nexus3.edgexfoundry.org:10004/device-snmp:d8d13776115bae24b07028e90133f95fb504a846-2.1.1-dev.3 16:00:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 16:00:49 94a375a1996c: Preparing 16:00:49 2388dc2a526a: Preparing 16:00:49 88058db48821: Preparing 16:00:49 94bda2a82ef9: Preparing 16:00:49 b541d28bf3b4: Preparing 16:00:49 2388dc2a526a: Layer already exists 16:00:49 88058db48821: Layer already exists 16:00:49 b541d28bf3b4: Layer already exists 16:00:49 94bda2a82ef9: Layer already exists 16:00:49 94a375a1996c: Layer already exists 16:00:49 d8d13776115bae24b07028e90133f95fb504a846-2.1.1-dev.3: digest: sha256:4a9561aeaea9e80865849cd7303d147b3380e046487f068a0f4ffbe96f8b86b8 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:00:50 + docker tag device-snmp nexus3.edgexfoundry.org:10004/device-snmp:jakarta [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:00:50 + docker push nexus3.edgexfoundry.org:10004/device-snmp:jakarta 16:00:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp] 16:00:50 94a375a1996c: Preparing 16:00:50 2388dc2a526a: Preparing 16:00:50 88058db48821: Preparing 16:00:50 94bda2a82ef9: Preparing 16:00:50 b541d28bf3b4: Preparing 16:00:50 b541d28bf3b4: Layer already exists 16:00:50 88058db48821: Layer already exists 16:00:50 94bda2a82ef9: Layer already exists 16:00:50 2388dc2a526a: Layer already exists 16:00:50 94a375a1996c: Layer already exists 16:00:50 jakarta: digest: sha256:4a9561aeaea9e80865849cd7303d147b3380e046487f068a0f4ffbe96f8b86b8 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:00:50 ===================================================== [Pipeline] echo 16:00:50 taggedImages: 16:00:50 - nexus3.edgexfoundry.org:10004/device-snmp:d8d13776115bae24b07028e90133f95fb504a846 16:00:50 - nexus3.edgexfoundry.org:10004/device-snmp:2.1.1-dev.3 16:00:50 - nexus3.edgexfoundry.org:10004/device-snmp:d8d13776115bae24b07028e90133f95fb504a846-2.1.1-dev.3 16:00:50 - 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 16:00:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:00:50 16:00:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:00:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:00:51 latest: Pulling from edgex-lftools-log-publisher 16:00:51 5eb5b503b376: Pulling fs layer 16:00:51 5c69ac0246d0: Pulling fs layer 16:00:51 ec43610c2a17: Pulling fs layer 16:00:51 3a2ae6a8a46f: Pulling fs layer 16:00:51 33b1e0a273af: Pulling fs layer 16:00:51 5d3b04190fa2: Pulling fs layer 16:00:51 2f39f015ded8: Pulling fs layer 16:00:51 3a2ae6a8a46f: Waiting 16:00:51 2f39f015ded8: Waiting 16:00:51 33b1e0a273af: Waiting 16:00:51 5d3b04190fa2: Waiting 16:00:51 5c69ac0246d0: Verifying Checksum 16:00:51 5c69ac0246d0: Download complete 16:00:51 3a2ae6a8a46f: Download complete 16:00:51 33b1e0a273af: Verifying Checksum 16:00:51 33b1e0a273af: Download complete 16:00:51 ec43610c2a17: Verifying Checksum 16:00:51 ec43610c2a17: Download complete 16:00:51 5d3b04190fa2: Download complete 16:00:51 5eb5b503b376: Verifying Checksum 16:00:51 5eb5b503b376: Download complete 16:00:51 2f39f015ded8: Download complete 16:00:52 5eb5b503b376: Pull complete 16:00:52 5c69ac0246d0: Pull complete 16:00:53 ec43610c2a17: Pull complete 16:00:53 3a2ae6a8a46f: Pull complete 16:00:53 33b1e0a273af: Pull complete 16:00:53 5d3b04190fa2: Pull complete 16:00:59 2f39f015ded8: Pull complete 16:00:59 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:00:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:00:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:00:59 prd-ubuntu20.04-docker-8c-8g-1764 does not seem to be running inside a container 16:00:59 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:01:00 $ docker top 16b5ac7c249a239cc737144b20dc3318865806da18185835a4ef0023e58ff537 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:01:01 ---> job-cost.sh 16:01:01 lf-activate-venv: SKIPPING 16:01:01 INFO: No Stack... 16:01:01 INFO: Retrieving Pricing Info for: v3-standard-8 16:01:01 INFO: Archiving Costs [Pipeline] sh 16:01:02 + cat /w/workspace/exfoundry_device-snmp-go_jakarta/archives/cost.csv 16:01:02 + cut -d, -f6 [Pipeline] lock 16:01:02 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-jakarta-6-stack-cost] 16:01:02 Resource [jenkins-edgexfoundry-device-snmp-go-jakarta-6-stack-cost] did not exist. Created. 16:01:02 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-jakarta-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:01:02 + echo total: 0.2199999988079071 [Pipeline] stash 16:01:02 Stashed 1 file(s) [Pipeline] } 16:01:02 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-jakarta-6-stack-cost] [Pipeline] // lock [Pipeline] } 16:01:02 $ docker stop --time=1 16b5ac7c249a239cc737144b20dc3318865806da18185835a4ef0023e58ff537 16:01:03 $ docker rm -f 16b5ac7c249a239cc737144b20dc3318865806da18185835a4ef0023e58ff537 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:03:05 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1767 in /w/workspace/exfoundry_device-snmp-go_jakarta [Pipeline] { [Pipeline] ws 16:03:05 Running in /w/workspace/device-snmp-go/6 [Pipeline] { [Pipeline] checkout 16:03:05 Selected Git installation does not exist. Using Default 16:03:05 The recommended git tool is: NONE 16:03:12 using credential edgex-jenkins-ssh 16:03:12 Cloning the remote Git repository 16:03:12 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 16:03:12 > git init /w/workspace/device-snmp-go/6 # timeout=10 16:03:12 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 16:03:12 > git --version # timeout=10 16:03:12 > git --version # 'git version 2.25.1' 16:03:12 using GIT_SSH to set credentials SSH Credentials for GitHub 16:03:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:03:14 Avoid second fetch 16:03:14 Checking out Revision d8d13776115bae24b07028e90133f95fb504a846 (jakarta) 16:03:13 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 16:03:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:03:14 > git config core.sparsecheckout # timeout=10 16:03:14 > git checkout -f d8d13776115bae24b07028e90133f95fb504a846 # timeout=10 16:03:19 Commit message: "fix(snap): expose parent directory in device-config plug (Jakarta) (#177)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:03:19 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:03:19 % Total % Received % Xferd Average Speed Time Time Time Current 16:03:19 Dload Upload Total Spent Left Speed 16:03:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 181k 0 --:--:-- --:--:-- --:--:-- 181k [Pipeline] sh 16:03:21 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:03:21 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:03:21 + sudo tee /etc/docker/daemon.new 16:03:21 { 16:03:21 "registry-mirrors": [ 16:03:21 "https://nexus3.edgexfoundry.org:10001" 16:03:21 ], 16:03:21 "bip": "10.250.0.254/24", 16:03:21 "hosts": [ 16:03:21 "tcp://0.0.0.0:5555", 16:03:21 "unix:///var/run/docker.sock" 16:03:21 ], 16:03:21 "mtu": 1458, 16:03:21 "selinux-enabled": true, 16:03:21 "seccomp-profile": "/etc/docker/seccomp.json" 16:03:21 } [Pipeline] sh 16:03:21 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:03:22 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:03:40 provisioning config files... 16:03:40 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/6@tmp/config6040224263602846280tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:03:41 ---> docker-login.sh 16:03:41 nexus3.edgexfoundry.org:10001 16:03:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:03:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:03:41 Configure a credential helper to remove this warning. See 16:03:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:03:41 16:03:41 Login Succeeded 16:03:42 nexus3.edgexfoundry.org:10002 16:03:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:03:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:03:42 Configure a credential helper to remove this warning. See 16:03:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:03:42 16:03:42 Login Succeeded 16:03:42 nexus3.edgexfoundry.org:10003 16:03:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:03:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:03:43 Configure a credential helper to remove this warning. See 16:03:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:03:43 16:03:43 Login Succeeded 16:03:43 nexus3.edgexfoundry.org:10004 16:03:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:03:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:03:43 Configure a credential helper to remove this warning. See 16:03:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:03:43 16:03:43 Login Succeeded 16:03:43 docker.io 16:03:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:03:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:03:44 Configure a credential helper to remove this warning. See 16:03:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:03:44 16:03:44 Login Succeeded 16:03:44 ---> docker-login.sh ends [Pipeline] } 16:03:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:03:45 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] sh 16:03:45 + cut -d -f 2 16:03:45 + grep ^go [0-9].[0-9]* go.mod [Pipeline] echo 16:03:45 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:03:45 ========================================================= 16:03:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.16-alpine-lts] 16:03:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:03:45 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.16-alpine-lts --build-arg MAKE=echo noop --target=builder . 16:03:47 Sending build context to Docker daemon 13.71MB 16:03:47 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 16:03:47 Step 2/11 : FROM ${BASE} AS builder 16:03:47 1.16-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 16:03:47 552d1f2373af: Pulling fs layer 16:03:47 ea3f2d53f512: Pulling fs layer 16:03:47 9e70ebbbe112: Pulling fs layer 16:03:47 7a9cfe048b4a: Pulling fs layer 16:03:47 72dc09318566: Pulling fs layer 16:03:47 f324388ff665: Pulling fs layer 16:03:47 53ef782089cf: Pulling fs layer 16:03:47 2af28fca035d: Pulling fs layer 16:03:47 72dc09318566: Waiting 16:03:47 f324388ff665: Waiting 16:03:47 53ef782089cf: Waiting 16:03:47 2af28fca035d: Waiting 16:03:47 7a9cfe048b4a: Waiting 16:03:47 9e70ebbbe112: Verifying Checksum 16:03:47 9e70ebbbe112: Download complete 16:03:47 ea3f2d53f512: Download complete 16:03:47 72dc09318566: Verifying Checksum 16:03:47 72dc09318566: Download complete 16:03:47 f324388ff665: Verifying Checksum 16:03:47 f324388ff665: Download complete 16:03:47 552d1f2373af: Verifying Checksum 16:03:47 552d1f2373af: Download complete 16:03:47 53ef782089cf: Verifying Checksum 16:03:47 53ef782089cf: Download complete 16:03:48 552d1f2373af: Pull complete 16:03:48 ea3f2d53f512: Pull complete 16:03:49 9e70ebbbe112: Pull complete 16:03:49 2af28fca035d: Verifying Checksum 16:03:49 2af28fca035d: Download complete 16:03:50 7a9cfe048b4a: Verifying Checksum 16:03:50 7a9cfe048b4a: Download complete 16:04:02 7a9cfe048b4a: Pull complete 16:04:02 72dc09318566: Pull complete 16:04:02 f324388ff665: Pull complete 16:04:02 53ef782089cf: Pull complete 16:04:09 2af28fca035d: Pull complete 16:04:09 Digest: sha256:527acc5c9bdbcdb39ccaea3aa8445d1f41445096e6313448e88606d2b64d4b83 16:04:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.16-alpine-lts 16:04:09 ---> d19f1962542a 16:04:09 Step 3/11 : ARG MAKE='make build' 16:04:10 ---> Running in 0a39fe89e464 16:04:10 Removing intermediate container 0a39fe89e464 16:04:10 ---> cb28ea647d21 16:04:10 Step 4/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:04:11 ---> Running in 7047e8025412 16:04:11 Removing intermediate container 7047e8025412 16:04:11 ---> 808c4ad458df 16:04:11 Step 5/11 : ARG ALPINE_PKG_EXTRA="" 16:04:11 ---> Running in 03665300a2ea 16:04:12 Removing intermediate container 03665300a2ea 16:04:12 ---> 432c27326c93 16:04:12 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:04:12 ---> Running in 9d83c26a5acf 16:04:14 Removing intermediate container 9d83c26a5acf 16:04:14 ---> 8055c5c0b3de 16:04:14 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:04:14 ---> Running in 16bd9eaf23f4 16:04:15 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 16:04:16 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 16:04:17 (1/4) Installing openssh-keygen (8.6_p1-r3) 16:04:17 (2/4) Installing libedit (20210216.3.1-r0) 16:04:17 (3/4) Installing openssh-client-common (8.6_p1-r3) 16:04:17 (4/4) Installing openssh-client-default (8.6_p1-r3) 16:04:17 Executing busybox-1.33.1-r3.trigger 16:04:17 OK: 223 MiB in 56 packages 16:04:18 Removing intermediate container 16bd9eaf23f4 16:04:18 ---> e70c787711bc 16:04:18 Step 8/11 : WORKDIR /device-snmp-go 16:04:18 ---> Running in f069844e053a 16:04:18 Removing intermediate container f069844e053a 16:04:18 ---> 1e848e036e1f 16:04:18 Step 9/11 : COPY . . 16:04:23 ---> 6edf8a0f0558 16:04:23 Step 10/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:04:23 ---> Running in e9818b244e7e 16:04:23 skipping... 16:04:24 Removing intermediate container e9818b244e7e 16:04:24 ---> fd72627a080f 16:04:24 Step 11/11 : RUN ${MAKE} 16:04:24 ---> Running in 9c6d36e04b94 16:04:25 noop 16:04:26 Removing intermediate container 9c6d36e04b94 16:04:26 ---> f26ff7494f70 16:04:26 Successfully built f26ff7494f70 16:04:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:04:27 + docker inspect -f . ci-base-image-arm64 16:04:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:04:27 prd-ubuntu20.04-docker-arm64-4c-16g-1767 does not seem to be running inside a container 16:04:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/6 -v /w/workspace/device-snmp-go/6:/w/workspace/device-snmp-go/6:rw,z -v /w/workspace/device-snmp-go/6@tmp:/w/workspace/device-snmp-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:04:28 $ docker top cc9df681a66650731718c33a0960f26a2fca39a642eaa03a620670a64d90ba5e -eo pid,comm [Pipeline] { [Pipeline] sh 16:04:29 + go version 16:04:29 go version go1.16.8 linux/arm64 [Pipeline] } 16:04:29 $ docker stop --time=1 cc9df681a66650731718c33a0960f26a2fca39a642eaa03a620670a64d90ba5e 16:04:31 $ docker rm -f cc9df681a66650731718c33a0960f26a2fca39a642eaa03a620670a64d90ba5e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:04:32 + docker inspect -f . ci-base-image-arm64 16:04:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:04:32 prd-ubuntu20.04-docker-arm64-4c-16g-1767 does not seem to be running inside a container 16:04:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/6 -v /w/workspace/device-snmp-go/6:/w/workspace/device-snmp-go/6:rw,z -v /w/workspace/device-snmp-go/6@tmp:/w/workspace/device-snmp-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:04:35 $ docker top ad444e111e14c68b2168f1eebe8fa410e292ad022b8e3cc78dd7b7bc8eebcaef -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:04:36 + make test 16:04:36 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 16:04:37 ? github.com/edgexfoundry/device-snmp-go [no test files] 16:05:34 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 16:05:34 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.042s coverage: 0.0% of statements 16:05:34 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:06:07 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:06:07 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:06:07 ./bin/test-attribution-txt.sh 16:06:07 go: downloading github.com/edgexfoundry/device-sdk-go/v2 v2.1.1 16:06:07 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 16:06:07 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.1 16:06:07 go: downloading github.com/soniah/gosnmp v1.21.0 16:06:07 go: downloading github.com/OneOfOne/xxhash v1.2.8 16:06:07 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1 16:06:07 go: downloading github.com/google/uuid v1.3.0 16:06:07 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 16:06:07 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1 16:06:07 go: downloading github.com/pelletier/go-toml v1.9.4 16:06:07 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 16:06:07 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 16:06:07 go: downloading github.com/gorilla/mux v1.8.0 16:06:07 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 16:06:07 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1 16:06:07 go: downloading github.com/hashicorp/go-multierror v1.1.0 16:06:07 go: downloading github.com/hashicorp/consul/api v1.9.1 16:06:07 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 16:06:07 go: downloading github.com/go-kit/kit v0.11.0 16:06:07 go: downloading github.com/go-playground/validator/v10 v10.9.0 16:06:07 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 16:06:07 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 16:06:07 go: downloading github.com/go-redis/redis/v7 v7.3.0 16:06:07 go: downloading github.com/pebbe/zmq4 v1.2.7 16:06:07 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 16:06:07 go: downloading github.com/go-logfmt/logfmt v0.5.0 16:06:07 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 16:06:07 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 16:06:07 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 16:06:07 go: downloading github.com/mitchellh/copystructure v1.0.0 16:06:07 go: downloading github.com/mitchellh/mapstructure v1.1.2 16:06:07 go: downloading golang.org/x/text v0.3.6 16:06:07 go: downloading github.com/hashicorp/golang-lru v0.5.0 16:06:07 go: downloading github.com/golang/mock v1.4.4 16:06:07 go: downloading github.com/hashicorp/errwrap v1.0.0 16:06:07 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 16:06:07 go: downloading github.com/hashicorp/go-hclog v0.12.0 16:06:07 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 16:06:07 go: downloading github.com/hashicorp/serf v0.9.5 16:06:07 go: downloading github.com/x448/float16 v0.8.4 16:06:07 go: downloading github.com/go-playground/universal-translator v0.18.0 16:06:07 go: downloading github.com/leodido/go-urn v1.2.1 16:06:07 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 16:06:08 go: downloading github.com/gorilla/websocket v1.4.2 16:06:08 go: downloading github.com/mitchellh/reflectwalk v1.0.0 16:06:08 go: downloading github.com/fatih/color v1.9.0 16:06:08 go: downloading github.com/mattn/go-colorable v0.1.6 16:06:08 go: downloading github.com/mattn/go-isatty v0.0.12 16:06:08 go: downloading github.com/mitchellh/go-homedir v1.1.0 16:06:08 go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo 16:06:13 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 16:06:14 + go mod tidy 16:06:14 go: downloading github.com/stretchr/testify v1.7.0 16:06:14 go: downloading github.com/go-stack/stack v1.8.0 16:06:14 go: downloading github.com/go-playground/assert/v2 v2.0.1 16:06:14 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 16:06:14 go: downloading github.com/davecgh/go-spew v1.1.1 16:06:14 go: downloading github.com/pmezard/go-difflib v1.0.0 16:06:14 go: downloading github.com/stretchr/objx v0.1.1 16:06:14 go: downloading github.com/hashicorp/consul/sdk v0.8.0 16:06:14 go: downloading github.com/hashicorp/go-uuid v1.0.1 16:06:14 go: downloading github.com/kr/pretty v0.3.0 16:06:14 go: downloading github.com/onsi/ginkgo v1.10.1 16:06:14 go: downloading github.com/onsi/gomega v1.7.0 16:06:14 go: downloading github.com/hashicorp/go-msgpack v0.5.3 16:06:14 go: downloading github.com/hashicorp/memberlist v0.2.2 16:06:14 go: downloading github.com/pkg/errors v0.9.1 16:06:14 go: downloading github.com/kr/text v0.2.0 16:06:14 go: downloading github.com/rogpeppe/go-internal v1.8.0 16:06:14 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 16:06:15 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 16:06:15 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 16:06:15 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 16:06:15 go: downloading github.com/miekg/dns v1.1.26 16:06:15 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 16:06:15 go: downloading gopkg.in/yaml.v2 v2.3.0 16:06:15 go: downloading github.com/hpcloud/tail v1.0.0 16:06:15 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 16:06:15 go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } 16:06:15 $ docker stop --time=1 ad444e111e14c68b2168f1eebe8fa410e292ad022b8e3cc78dd7b7bc8eebcaef 16:06:17 $ docker rm -f ad444e111e14c68b2168f1eebe8fa410e292ad022b8e3cc78dd7b7bc8eebcaef [Pipeline] // withDockerContainer [Pipeline] sh 16:06:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:06:20 Warning: overwriting stash ‘coverage-report’ 16:06:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:06:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:06:21 + ls -al . 16:06:21 total 176 16:06:21 drwxrwxr-x 9 jenkins jenkins 4096 Jun 8 16:06 . 16:06:21 drwxrwxr-x 4 jenkins jenkins 4096 Jun 8 16:03 .. 16:06:21 -rw-rw-r-- 1 jenkins jenkins 6 Jun 8 16:03 .dockerignore 16:06:21 drwxrwxr-x 8 jenkins jenkins 4096 Jun 8 16:03 .git 16:06:21 drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 16:03 .github 16:06:21 -rw-rw-r-- 1 jenkins jenkins 255 Jun 8 16:03 .gitignore 16:06:21 -rw-rw-r-- 1 jenkins jenkins 6926 Jun 8 16:03 Attribution.txt 16:06:21 -rw-rw-r-- 1 jenkins jenkins 4800 Jun 8 16:03 CHANGELOG.md 16:06:21 -rw-rw-r-- 1 jenkins jenkins 1493 Jun 8 16:03 Dockerfile 16:06:21 -rw-rw-r-- 1 jenkins jenkins 677 Jun 8 16:03 GOVERNANCE.md 16:06:21 -rw-rw-r-- 1 jenkins jenkins 656 Jun 8 16:03 Jenkinsfile 16:06:21 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 8 16:03 LICENSE 16:06:21 -rw-rw-r-- 1 jenkins jenkins 1526 Jun 8 16:03 Makefile 16:06:21 -rw-rw-r-- 1 jenkins jenkins 620 Jun 8 16:03 OWNERS.md 16:06:21 -rw-rw-r-- 1 jenkins jenkins 9073 Jun 8 16:03 README.md 16:06:21 -rw-rw-r-- 1 jenkins jenkins 11 Jun 8 15:59 VERSION 16:06:21 drwxrwxr-x 2 jenkins jenkins 4096 Jun 8 16:03 bin 16:06:21 drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 16:03 cmd 16:06:21 -rw-r--r-- 1 jenkins jenkins 7631 Jun 8 16:05 coverage.out 16:06:21 -rw-rw-r-- 1 jenkins jenkins 208 Jun 8 16:06 go.mod 16:06:21 -rw-rw-r-- 1 jenkins jenkins 49477 Jun 8 16:03 go.sum 16:06:21 drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 16:03 internal 16:06:21 drwxrwxr-x 3 jenkins jenkins 4096 Jun 8 16:03 snap 16:06:21 drwxrwxr-x 6 jenkins jenkins 4096 Jun 8 16:03 vendor 16:06:21 -rw-rw-r-- 1 jenkins jenkins 228 Jun 8 16:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:06:22 + 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=d8d13776115bae24b07028e90133f95fb504a846 --label arch=arm64 --label version=2.1.1-dev.3 . 16:06:23 Sending build context to Docker daemon 13.71MB 16:06:23 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 16:06:23 Step 2/23 : FROM ${BASE} AS builder 16:06:23 ---> f26ff7494f70 16:06:23 Step 3/23 : ARG MAKE='make build' 16:06:23 ---> Running in fd512292f1f4 16:06:23 Removing intermediate container fd512292f1f4 16:06:23 ---> 3134c2fbd0c5 16:06:23 Step 4/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:06:24 ---> Running in bb3bfe271bae 16:06:24 Removing intermediate container bb3bfe271bae 16:06:24 ---> f0606b59b4f9 16:06:24 Step 5/23 : ARG ALPINE_PKG_EXTRA="" 16:06:24 ---> Running in cbd6f43df64e 16:06:24 Removing intermediate container cbd6f43df64e 16:06:24 ---> b63acf5488e3 16:06:24 Step 6/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:06:24 ---> Running in 1db54b0d2d71 16:06:26 Removing intermediate container 1db54b0d2d71 16:06:26 ---> 7fc53ec4037c 16:06:26 Step 7/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:06:26 ---> Running in b3834491b094 16:06:27 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 16:06:28 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 16:06:29 OK: 223 MiB in 56 packages 16:06:29 Removing intermediate container b3834491b094 16:06:29 ---> 5005b0268ab8 16:06:29 Step 8/23 : WORKDIR /device-snmp-go 16:06:29 ---> Running in e63312100fbb 16:06:30 Removing intermediate container e63312100fbb 16:06:30 ---> f11c790a25ce 16:06:30 Step 9/23 : COPY . . 16:06:34 ---> f7d09e2c4f4f 16:06:34 Step 10/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:06:34 ---> Running in f88b011f0496 16:06:35 skipping... 16:06:35 Removing intermediate container f88b011f0496 16:06:35 ---> c3de46037951 16:06:35 Step 11/23 : RUN ${MAKE} 16:06:35 ---> Running in f634675914dd 16:06:36 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=2.1.1-dev.3 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.1.1" -o cmd/device-snmp ./cmd 16:07:23 Removing intermediate container f634675914dd 16:07:23 ---> ea5d8b6deb18 16:07:23 Step 12/23 : FROM alpine:3.14 16:07:23 3.14: Pulling from library/alpine 16:07:23 455c02918c45: Pulling fs layer 16:07:23 455c02918c45: Verifying Checksum 16:07:23 455c02918c45: Download complete 16:07:23 455c02918c45: Pull complete 16:07:23 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 16:07:23 Status: Downloaded newer image for alpine:3.14 16:07:23 ---> ac73e934f311 16:07:23 Step 13/23 : RUN apk add --update --no-cache zeromq dumb-init 16:07:23 ---> Running in 820d53ed06b0 16:07:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 16:07:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 16:07:23 (1/6) Installing dumb-init (1.2.5-r1) 16:07:23 (2/6) Installing libgcc (10.3.1_git20210424-r2) 16:07:23 (3/6) Installing libsodium (1.0.18-r0) 16:07:23 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 16:07:23 (5/6) Installing libzmq (4.3.4-r0) 16:07:23 (6/6) Installing zeromq (4.3.4-r0) 16:07:23 Executing busybox-1.33.1-r7.trigger 16:07:23 OK: 8 MiB in 20 packages 16:07:23 Removing intermediate container 820d53ed06b0 16:07:23 ---> 41eb818425f2 16:07:23 Step 14/23 : COPY --from=builder /device-snmp-go/cmd / 16:07:23 ---> 3c73f70ae777 16:07:23 Step 15/23 : COPY --from=builder /device-snmp-go/Attribution.txt / 16:07:23 ---> 400e2e781ad6 16:07:23 Step 16/23 : COPY --from=builder /device-snmp-go/LICENSE / 16:07:23 ---> 374254559994 16:07:23 Step 17/23 : EXPOSE 59993 16:07:23 ---> Running in f8a0aab47bff 16:07:23 Removing intermediate container f8a0aab47bff 16:07:23 ---> 6f6f40468d71 16:07:23 Step 18/23 : EXPOSE 161 16:07:23 ---> Running in 8bc2ec262a19 16:07:23 Removing intermediate container 8bc2ec262a19 16:07:23 ---> 2c9f27000190 16:07:23 Step 19/23 : ENTRYPOINT ["/device-snmp"] 16:07:24 ---> Running in 68a75fe567ca 16:07:24 Removing intermediate container 68a75fe567ca 16:07:24 ---> ef2725734fb7 16:07:24 Step 20/23 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--confdir=/res", "--registry"] 16:07:24 ---> Running in 284a0a58baf6 16:07:24 Removing intermediate container 284a0a58baf6 16:07:24 ---> 26c2be0f7cc4 16:07:24 Step 21/23 : LABEL arch=arm64 16:07:24 ---> Running in b9baa4a474e4 16:07:25 Removing intermediate container b9baa4a474e4 16:07:25 ---> bcc23fec2196 16:07:25 Step 22/23 : LABEL git_sha=d8d13776115bae24b07028e90133f95fb504a846 16:07:25 ---> Running in dd7c88293f41 16:07:25 Removing intermediate container dd7c88293f41 16:07:25 ---> cb6763bd648c 16:07:25 Step 23/23 : LABEL version=2.1.1-dev.3 16:07:25 ---> Running in e28afb387aa3 16:07:25 Removing intermediate container e28afb387aa3 16:07:25 ---> 727ac43b1725 16:07:25 [Warning] One or more build-args [ARCH] were not consumed 16:07:26 Successfully built 727ac43b1725 16:07:26 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 16:07:26 provisioning config files... 16:07:26 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/6@tmp/config5377084545923821537tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:07:26 ---> docker-login.sh 16:07:26 nexus3.edgexfoundry.org:10001 16:07:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:07:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:07:26 Configure a credential helper to remove this warning. See 16:07:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:07:26 16:07:26 Login Succeeded 16:07:26 nexus3.edgexfoundry.org:10002 16:07:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:07:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:07:27 Configure a credential helper to remove this warning. See 16:07:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:07:27 16:07:27 Login Succeeded 16:07:27 nexus3.edgexfoundry.org:10003 16:07:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:07:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:07:28 Configure a credential helper to remove this warning. See 16:07:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:07:28 16:07:28 Login Succeeded 16:07:28 nexus3.edgexfoundry.org:10004 16:07:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:07:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:07:28 Configure a credential helper to remove this warning. See 16:07:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:07:28 16:07:28 Login Succeeded 16:07:28 docker.io 16:07:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:07:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:07:29 Configure a credential helper to remove this warning. See 16:07:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:07:29 16:07:29 Login Succeeded 16:07:29 ---> docker-login.sh ends [Pipeline] } 16:07:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:07:29 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:07:29 [edgeXDocker.push] Tagging docker image device-snmp-arm64 with the following tags: 16:07:29 d8d13776115bae24b07028e90133f95fb504a846 16:07:29 2.1.1-dev.3 16:07:29 d8d13776115bae24b07028e90133f95fb504a846-2.1.1-dev.3 16:07:29 jakarta 16:07:29 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:29 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:d8d13776115bae24b07028e90133f95fb504a846 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:30 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:d8d13776115bae24b07028e90133f95fb504a846 16:07:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 16:07:30 2dd794277d7d: Preparing 16:07:30 349033c59c1f: Preparing 16:07:30 844aa1f9b08a: Preparing 16:07:30 90c90a924fb7: Preparing 16:07:30 f73e7dbfee58: Preparing 16:07:30 f73e7dbfee58: Layer already exists 16:07:30 2dd794277d7d: Pushed 16:07:30 349033c59c1f: Pushed 16:07:31 90c90a924fb7: Pushed 16:07:33 844aa1f9b08a: Pushed 16:07:33 d8d13776115bae24b07028e90133f95fb504a846: digest: sha256:3ddbcab5a29ae6a2ce1c57940a93d0404c493413edca01b0a869687f68b707ef size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:34 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.1.1-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:34 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.1.1-dev.3 16:07:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 16:07:34 2dd794277d7d: Preparing 16:07:34 349033c59c1f: Preparing 16:07:34 844aa1f9b08a: Preparing 16:07:34 90c90a924fb7: Preparing 16:07:34 f73e7dbfee58: Preparing 16:07:34 349033c59c1f: Layer already exists 16:07:34 90c90a924fb7: Layer already exists 16:07:34 2dd794277d7d: Layer already exists 16:07:34 844aa1f9b08a: Layer already exists 16:07:34 f73e7dbfee58: Layer already exists 16:07:34 2.1.1-dev.3: digest: sha256:3ddbcab5a29ae6a2ce1c57940a93d0404c493413edca01b0a869687f68b707ef size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:35 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:d8d13776115bae24b07028e90133f95fb504a846-2.1.1-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:35 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:d8d13776115bae24b07028e90133f95fb504a846-2.1.1-dev.3 16:07:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 16:07:35 2dd794277d7d: Preparing 16:07:35 349033c59c1f: Preparing 16:07:35 844aa1f9b08a: Preparing 16:07:35 90c90a924fb7: Preparing 16:07:35 f73e7dbfee58: Preparing 16:07:35 349033c59c1f: Layer already exists 16:07:35 f73e7dbfee58: Layer already exists 16:07:35 2dd794277d7d: Layer already exists 16:07:35 90c90a924fb7: Layer already exists 16:07:35 844aa1f9b08a: Layer already exists 16:07:35 d8d13776115bae24b07028e90133f95fb504a846-2.1.1-dev.3: digest: sha256:3ddbcab5a29ae6a2ce1c57940a93d0404c493413edca01b0a869687f68b707ef size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:36 + docker tag device-snmp-arm64 nexus3.edgexfoundry.org:10004/device-snmp-arm64:jakarta [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:36 + docker push nexus3.edgexfoundry.org:10004/device-snmp-arm64:jakarta 16:07:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-snmp-arm64] 16:07:36 2dd794277d7d: Preparing 16:07:36 349033c59c1f: Preparing 16:07:36 844aa1f9b08a: Preparing 16:07:36 90c90a924fb7: Preparing 16:07:36 f73e7dbfee58: Preparing 16:07:36 90c90a924fb7: Layer already exists 16:07:36 f73e7dbfee58: Layer already exists 16:07:36 349033c59c1f: Layer already exists 16:07:36 844aa1f9b08a: Layer already exists 16:07:36 2dd794277d7d: Layer already exists 16:07:36 jakarta: digest: sha256:3ddbcab5a29ae6a2ce1c57940a93d0404c493413edca01b0a869687f68b707ef size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:07:36 ===================================================== [Pipeline] echo 16:07:36 taggedImages: 16:07:36 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:d8d13776115bae24b07028e90133f95fb504a846 16:07:36 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:2.1.1-dev.3 16:07:36 - nexus3.edgexfoundry.org:10004/device-snmp-arm64:d8d13776115bae24b07028e90133f95fb504a846-2.1.1-dev.3 16:07:36 - 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 16:07:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:07:37 16:07:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:07:37 arm64: Pulling from edgex-lftools-log-publisher 16:07:37 8998bd30e6a1: Pulling fs layer 16:07:37 04944245beec: Pulling fs layer 16:07:37 699f458cf7ca: Pulling fs layer 16:07:37 765212b225bb: Pulling fs layer 16:07:37 f23df028b6ca: Pulling fs layer 16:07:37 d65c8cfc05b1: Pulling fs layer 16:07:37 2437ff75d9bd: Pulling fs layer 16:07:37 765212b225bb: Waiting 16:07:37 f23df028b6ca: Waiting 16:07:37 d65c8cfc05b1: Waiting 16:07:37 2437ff75d9bd: Waiting 16:07:37 04944245beec: Verifying Checksum 16:07:37 04944245beec: Download complete 16:07:37 765212b225bb: Verifying Checksum 16:07:37 765212b225bb: Download complete 16:07:37 f23df028b6ca: Verifying Checksum 16:07:37 f23df028b6ca: Download complete 16:07:37 d65c8cfc05b1: Verifying Checksum 16:07:37 d65c8cfc05b1: Download complete 16:07:38 699f458cf7ca: Verifying Checksum 16:07:38 699f458cf7ca: Download complete 16:07:38 8998bd30e6a1: Verifying Checksum 16:07:38 8998bd30e6a1: Download complete 16:07:40 2437ff75d9bd: Verifying Checksum 16:07:40 2437ff75d9bd: Download complete 16:07:43 8998bd30e6a1: Pull complete 16:07:43 04944245beec: Pull complete 16:07:44 699f458cf7ca: Pull complete 16:07:44 765212b225bb: Pull complete 16:07:45 f23df028b6ca: Pull complete 16:07:45 d65c8cfc05b1: Pull complete 16:08:00 2437ff75d9bd: Pull complete 16:08:00 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:08:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:08:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:08:01 prd-ubuntu20.04-docker-arm64-4c-16g-1767 does not seem to be running inside a container 16:08:01 $ 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/6 -v /w/workspace/device-snmp-go/6:/w/workspace/device-snmp-go/6:rw,z -v /w/workspace/device-snmp-go/6@tmp:/w/workspace/device-snmp-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:08:03 $ docker top 2750ec6551833a89d834e24ae58f7db9f030ba9afbabfcd95740832e599c37f5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:08:04 ---> job-cost.sh 16:08:04 lf-activate-venv: SKIPPING 16:08:04 INFO: No Stack... 16:08:04 INFO: Retrieving Pricing Info for: v3-standard-4 16:08:05 INFO: Archiving Costs [Pipeline] sh 16:08:06 + cut -d, -f6 16:08:06 + cat /w/workspace/device-snmp-go/6/archives/cost.csv [Pipeline] lock 16:08:06 Trying to acquire lock on [jenkins-edgexfoundry-device-snmp-go-jakarta-6-stack-cost] 16:08:06 Resource [jenkins-edgexfoundry-device-snmp-go-jakarta-6-stack-cost] did not exist. Created. 16:08:06 Lock acquired on [jenkins-edgexfoundry-device-snmp-go-jakarta-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:08:07 /w/workspace/device-snmp-go/6@tmp/durable-0756f7da/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:08:07 + echo total: 0.10999999940395355 [Pipeline] stash 16:08:07 Warning: overwriting stash ‘stack-cost’ 16:08:08 Stashed 1 file(s) [Pipeline] } 16:08:08 Lock released on resource [jenkins-edgexfoundry-device-snmp-go-jakarta-6-stack-cost] [Pipeline] // lock [Pipeline] } 16:08:08 $ docker stop --time=1 2750ec6551833a89d834e24ae58f7db9f030ba9afbabfcd95740832e599c37f5 16:08:09 $ docker rm -f 2750ec6551833a89d834e24ae58f7db9f030ba9afbabfcd95740832e599c37f5 [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 16:08:10 provisioning config files... 16:08:10 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/exfoundry_device-snmp-go_jakarta@tmp/config1215194698117282437tmp [Pipeline] { [Pipeline] sh 16:08:10 + set +x 16:08:10 + curl -s https://codecov.io/bash 16:08:10 + bash -s -- 16:08:10 16:08:10 _____ _ 16:08:10 / ____| | | 16:08:10 | | ___ __| | ___ ___ _____ __ 16:08:10 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:08:10 | |___| (_) | (_| | __/ (_| (_) \ V / 16:08:10 \_____\___/ \__,_|\___|\___\___/ \_/ 16:08:10 Bash-1.0.6 16:08:10 16:08:10 16:08:10 ==> git version 2.25.1 found 16:08:10 ==> 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 16:08:10 Release-Date: 2020-01-08 16:08:10 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:08:10 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:08:10 ==> Jenkins CI detected. 16:08:10 current dir:  /w/workspace/exfoundry_device-snmp-go_jakarta 16:08:10 project root: . 16:08:10 --> token set from env 16:08:10 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:08:10 ==> Running gcov in . (disable via -X gcov) 16:08:10 ==> Python coveragepy not found 16:08:10 ==> Searching for coverage reports in: 16:08:10 + . 16:08:10 -> Found 1 reports 16:08:10 ==> Detecting git/mercurial file structure 16:08:10 ==> Reading reports 16:08:10 + ./coverage.out bytes=7631 16:08:10 ==> Appending adjustments 16:08:10 https://docs.codecov.io/docs/fixing-reports 16:08:10 + Found adjustments 16:08:10 ==> Gzipping contents 16:08:10 8.0K /tmp/codecov.tdthYf.gz 16:08:10 ==> Uploading reports 16:08:10 url: https://codecov.io 16:08:10 query: branch=jakarta&commit=d8d13776115bae24b07028e90133f95fb504a846&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fjakarta%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:08:10 -> Pinging Codecov 16:08:10 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=d8d13776115bae24b07028e90133f95fb504a846&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fjakarta%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:08:10 -> Uploading to 16:08:10 https://storage.googleapis.com/codecov/v4/raw/2022-06-08/6C56EA5C29638FB4528AC87E60AF5AE0/d8d13776115bae24b07028e90133f95fb504a846/1f504c70-aa45-4c6c-be36-bcb8d69255a2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220608%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220608T160810Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=176bb8f54a9c6d014f1577bc71dfa9899c9b124f1fbce9e4bc604e8827f1eefa 16:08:10 % Total % Received % Xferd Average Speed Time Time Time Current 16:08:10 Dload Upload Total Spent Left Speed 16:08:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 7952 0 0 100 7952 0 37158 --:--:-- --:--:-- --:--:-- 37158 16:08:11 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/d8d13776115bae24b07028e90133f95fb504a846 [Pipeline] } 16:08:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:08:11 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:08:11 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:08:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:08:11 16:08:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:08:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:08:12 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:08:12 df9b9388f04a: Pulling fs layer 16:08:12 52dc419b0ee2: Pulling fs layer 16:08:12 25bc292e5bac: Pulling fs layer 16:08:12 114826534d7a: Pulling fs layer 16:08:12 4657fd5d0bcf: Pulling fs layer 16:08:12 6ad1cebc031e: Pulling fs layer 16:08:12 8a3aa393b2d8: Pulling fs layer 16:08:12 114826534d7a: Waiting 16:08:12 4657fd5d0bcf: Waiting 16:08:12 6ad1cebc031e: Waiting 16:08:12 8a3aa393b2d8: Waiting 16:08:12 25bc292e5bac: Verifying Checksum 16:08:12 25bc292e5bac: Download complete 16:08:12 52dc419b0ee2: Verifying Checksum 16:08:12 52dc419b0ee2: Download complete 16:08:12 4657fd5d0bcf: Verifying Checksum 16:08:12 4657fd5d0bcf: Download complete 16:08:12 df9b9388f04a: Download complete 16:08:12 6ad1cebc031e: Verifying Checksum 16:08:12 6ad1cebc031e: Download complete 16:08:12 df9b9388f04a: Pull complete 16:08:12 52dc419b0ee2: Pull complete 16:08:12 25bc292e5bac: Pull complete 16:08:12 114826534d7a: Verifying Checksum 16:08:12 114826534d7a: Download complete 16:08:13 8a3aa393b2d8: Verifying Checksum 16:08:13 8a3aa393b2d8: Download complete 16:08:17 114826534d7a: Pull complete 16:08:17 4657fd5d0bcf: Pull complete 16:08:17 6ad1cebc031e: Pull complete 16:08:20 8a3aa393b2d8: Pull complete 16:08:20 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 16:08:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:08:20 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:08:20 prd-ubuntu20.04-docker-8c-8g-1764 does not seem to be running inside a container 16:08:20 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 16:08:22 $ docker top bd1cf6ad08d47518e6398f4ddbb80316c9f1a8d000960a142c2e6bdc396bbd7a -eo pid,comm [Pipeline] { [Pipeline] echo 16:08:22 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-snmp-go:jakarta' [Pipeline] sh 16:08:22 + set -o pipefail 16:08:22 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-snmp-go:jakarta' 16:08:25 16:08:25 Monitoring /w/workspace/exfoundry_device-snmp-go_jakarta (github.com/edgexfoundry/device-snmp-go)... 16:08:25 16:08:25 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/edf93b88-8bdf-401d-a088-0a13440e2ae9/history/399de813-cc9f-47df-b26f-90dfea0148ae 16:08:25 16:08:25 Tip: Detected multiple supported manifests (2), use --all-projects to scan all of them at once. 16:08:25 16:08:25 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:08:25 16:08:25 [Pipeline] } 16:08:25 $ docker stop --time=1 bd1cf6ad08d47518e6398f4ddbb80316c9f1a8d000960a142c2e6bdc396bbd7a 16:08:27 $ docker rm -f bd1cf6ad08d47518e6398f4ddbb80316c9f1a8d000960a142c2e6bdc396bbd7a [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 16:08:27 + git log --format=format:%s -1 d8d13776115bae24b07028e90133f95fb504a846 [Pipeline] sh 16:08:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:08:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:08:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:08:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:08:28 prd-ubuntu20.04-docker-8c-8g-1764 does not seem to be running inside a container 16:08: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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:08:28 $ docker top 25ac4dd05ddfbc0df157066710915ee2333aa4a158889ffab745fb57af8de6d8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:08:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:08:28 [ssh-agent] Looking for ssh-agent implementation... 16:08:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:08:29 $ docker exec 25ac4dd05ddfbc0df157066710915ee2333aa4a158889ffab745fb57af8de6d8 ssh-agent 16:08:29 SSH_AUTH_SOCK=/tmp/ssh-1OJ9dY7o7gmL/agent.34 16:08:29 SSH_AGENT_PID=40 16:08:29 Running ssh-add (command line suppressed) 16:08:29 Identity added: /w/workspace/exfoundry_device-snmp-go_jakarta@tmp/private_key_2665155919450215671.key (/w/workspace/exfoundry_device-snmp-go_jakarta@tmp/private_key_2665155919450215671.key) 16:08:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:08:29 + git semver tag 16:08:29 2022-06-08 16:08:29,828 [run_tag] DEBUG tag force:False 16:08:29 2022-06-08 16:08:29,828 [check_head_tag] DEBUG check head tag 16:08:29 2022-06-08 16:08:29,828 [execute] INFO git cat-file --batch-check 16:08:29 2022-06-08 16:08:29,828 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-snmp-go_jakarta, universal_newlines=False, shell=None, istream=) 16:08:29 2022-06-08 16:08:29,832 [execute] INFO git cat-file --batch 16:08:29 2022-06-08 16:08:29,833 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-snmp-go_jakarta, universal_newlines=False, shell=None, istream=) 16:08:29 2022-06-08 16:08:29,841 [read_version] DEBUG read version from /w/workspace/exfoundry_device-snmp-go_jakarta/.semver/jakarta 16:08:29 2022-06-08 16:08:29,842 [execute] INFO git tag -a v2.1.1-dev.3 -m v2.1.1-dev.3 16:08:29 2022-06-08 16:08:29,842 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.1.1-dev.3', '-m', 'v2.1.1-dev.3'], cwd=/w/workspace/exfoundry_device-snmp-go_jakarta, universal_newlines=False, shell=None, istream=None) 16:08:29 2022-06-08 16:08:29,847 [read_version] DEBUG read version from /w/workspace/exfoundry_device-snmp-go_jakarta/.semver/jakarta 16:08:29 2.1.1-dev.3 [Pipeline] } 16:08:29 $ docker exec --env ******** --env ******** 25ac4dd05ddfbc0df157066710915ee2333aa4a158889ffab745fb57af8de6d8 ssh-agent -k 16:08:30 unset SSH_AUTH_SOCK; 16:08:30 unset SSH_AGENT_PID; 16:08:30 echo Agent pid 40 killed; 16:08:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:08:30 + git semver [Pipeline] } 16:08:30 $ docker stop --time=1 25ac4dd05ddfbc0df157066710915ee2333aa4a158889ffab745fb57af8de6d8 16:08:31 $ docker rm -f 25ac4dd05ddfbc0df157066710915ee2333aa4a158889ffab745fb57af8de6d8 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:08:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:08:32 16:08:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:08:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:08:32 0.23.1-centos7: Pulling from edgex-lftools 16:08:32 ab5ef0e58194: Pulling fs layer 16:08:32 9712f1f96733: Pulling fs layer 16:08:32 63f879dbbcfc: Pulling fs layer 16:08:32 0d9ebad4ef96: Pulling fs layer 16:08:32 e9a5061849ea: Pulling fs layer 16:08:32 d747dcd14b5f: Pulling fs layer 16:08:32 2de7ff778b66: Pulling fs layer 16:08:32 e9a5061849ea: Waiting 16:08:32 2de7ff778b66: Waiting 16:08:32 d747dcd14b5f: Waiting 16:08:32 0d9ebad4ef96: Waiting 16:08:32 9712f1f96733: Verifying Checksum 16:08:32 9712f1f96733: Download complete 16:08:32 63f879dbbcfc: Verifying Checksum 16:08:32 63f879dbbcfc: Download complete 16:08:33 e9a5061849ea: Verifying Checksum 16:08:33 e9a5061849ea: Download complete 16:08:33 d747dcd14b5f: Download complete 16:08:33 0d9ebad4ef96: Verifying Checksum 16:08:33 0d9ebad4ef96: Download complete 16:08:33 ab5ef0e58194: Verifying Checksum 16:08:33 ab5ef0e58194: Download complete 16:08:33 2de7ff778b66: Verifying Checksum 16:08:33 2de7ff778b66: Download complete 16:08:36 ab5ef0e58194: Pull complete 16:08:36 9712f1f96733: Pull complete 16:08:37 63f879dbbcfc: Pull complete 16:08:40 0d9ebad4ef96: Pull complete 16:08:40 e9a5061849ea: Pull complete 16:08:40 d747dcd14b5f: Pull complete 16:08:42 2de7ff778b66: Pull complete 16:08:42 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:08:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:08:42 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:08:42 prd-ubuntu20.04-docker-8c-8g-1764 does not seem to be running inside a container 16:08:42 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 16:08:44 $ docker top 2881aceb072e535a667ba263ec822cc0d9726be4fa845c5c7fce65aec3f40eaa -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:08:44 provisioning config files... 16:08:44 copy managed file [sigul-config] to file:/w/workspace/exfoundry_device-snmp-go_jakarta@tmp/config3980762654748126505tmp 16:08:44 copy managed file [sigul-password] to file:/w/workspace/exfoundry_device-snmp-go_jakarta@tmp/config6239390326367941571tmp 16:08:44 copy managed file [sigul-pki] to file:/w/workspace/exfoundry_device-snmp-go_jakarta@tmp/config4459868412531687270tmp [Pipeline] { [Pipeline] echo 16:08:44 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:08:45 ---> sigul-configuration.sh 16:08:45 gpg: directory `/root/.gnupg' created 16:08:45 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:08:45 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:08:45 gpg: keyring `/root/.gnupg/secring.gpg' created 16:08:45 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:08:45 gpg: CAST5 encrypted data 16:08:45 gpg: encrypted with 1 passphrase 16:08:45 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:08:45 + mkdir /home/jenkins 16:08:45 + mkdir /home/jenkins/sigul [Pipeline] sh 16:08:45 + 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 16:08:45 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:08:45 ---> sigul-install.sh 16:08:45 Sigul already installed; skipping installation. [Pipeline] sh 16:08:46 + git tag --list 16:08:46 1.0.0 16:08:46 v0.0.0 16:08:46 v1.1.0 16:08:46 v1.1.1 16:08:46 v1.2.2 16:08:46 v1.3.0 16:08:46 v1.3.1 16:08:46 v2.0.0 16:08:46 v2.1.0 16:08:46 v2.1.1-dev.2 16:08:46 v2.1.1-dev.3 16:08:46 v2.2.0 16:08:46 v2.2.1-dev.1 16:08:46 v2.2.1-dev.2 [Pipeline] sh 16:08:46 + lftools sign git-tag v2.1.1-dev.3 16:08:47 Signing Git tag with Sigul... 16:08:47 Signing v2.1.1-dev.3 [Pipeline] echo 16:08:47 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:08:47 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:08:47 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:08:47 $ docker stop --time=1 2881aceb072e535a667ba263ec822cc0d9726be4fa845c5c7fce65aec3f40eaa 16:08:48 $ docker rm -f 2881aceb072e535a667ba263ec822cc0d9726be4fa845c5c7fce65aec3f40eaa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 16:08:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:08:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:08:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:08:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:08:49 prd-ubuntu20.04-docker-8c-8g-1764 does not seem to be running inside a container 16:08:49 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:08:50 $ docker top e1c5109486b419524e0060f5ccd2eb8fbb79e40a3a2018c2bd3318dbf05562c4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:08:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:08:50 [ssh-agent] Looking for ssh-agent implementation... 16:08:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:08:50 $ docker exec e1c5109486b419524e0060f5ccd2eb8fbb79e40a3a2018c2bd3318dbf05562c4 ssh-agent 16:08:50 SSH_AUTH_SOCK=/tmp/ssh-zRiOODDMUkZD/agent.33 16:08:50 SSH_AGENT_PID=39 16:08:50 Running ssh-add (command line suppressed) 16:08:50 Identity added: /w/workspace/exfoundry_device-snmp-go_jakarta@tmp/private_key_7916521414922398497.key (/w/workspace/exfoundry_device-snmp-go_jakarta@tmp/private_key_7916521414922398497.key) 16:08:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:08:50 + git semver bump pre 16:08:51 2022-06-08 16:08:51,133 [read_version] DEBUG read version from /w/workspace/exfoundry_device-snmp-go_jakarta/.semver/jakarta 16:08:51 2022-06-08 16:08:51,133 [bump_version] DEBUG bumping version:2.1.1-dev.3 on axis:pre with prefix:dev 16:08:51 2022-06-08 16:08:51,133 [bump_version] DEBUG bumped version:2.1.1-dev.4 16:08:51 2022-06-08 16:08:51,133 [write_version] DEBUG write version:2.1.1-dev.4 to path:/w/workspace/exfoundry_device-snmp-go_jakarta/.semver/jakarta with force:True 16:08:51 2022-06-08 16:08:51,133 [read_version] DEBUG read version from /w/workspace/exfoundry_device-snmp-go_jakarta/.semver/jakarta 16:08:51 2022-06-08 16:08:51,133 [write_file] DEBUG write to file:/w/workspace/exfoundry_device-snmp-go_jakarta/.semver/jakarta 16:08:51 2022-06-08 16:08:51,136 [execute] INFO git cat-file --batch-check 16:08:51 2022-06-08 16:08:51,136 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-snmp-go_jakarta/.semver, universal_newlines=False, shell=None, istream=) 16:08:51 2022-06-08 16:08:51,142 [execute] INFO git cat-file --batch 16:08:51 2022-06-08 16:08:51,142 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/exfoundry_device-snmp-go_jakarta/.semver, universal_newlines=False, shell=None, istream=) 16:08:51 2022-06-08 16:08:51,147 [read_version] DEBUG read version from /w/workspace/exfoundry_device-snmp-go_jakarta/.semver/jakarta 16:08:51 2.1.1-dev.4 [Pipeline] } 16:08:51 $ docker exec --env ******** --env ******** e1c5109486b419524e0060f5ccd2eb8fbb79e40a3a2018c2bd3318dbf05562c4 ssh-agent -k 16:08:51 unset SSH_AUTH_SOCK; 16:08:51 unset SSH_AGENT_PID; 16:08:51 echo Agent pid 39 killed; 16:08:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:08:51 + git semver [Pipeline] } 16:08:51 $ docker stop --time=1 e1c5109486b419524e0060f5ccd2eb8fbb79e40a3a2018c2bd3318dbf05562c4 16:08:53 $ docker rm -f e1c5109486b419524e0060f5ccd2eb8fbb79e40a3a2018c2bd3318dbf05562c4 [Pipeline] // withDockerContainer [Pipeline] sh 16:08:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:08:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:08:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:08:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:08:53 prd-ubuntu20.04-docker-8c-8g-1764 does not seem to be running inside a container 16:08:53 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:08:54 $ docker top 6837899bb174d852d1d8540f66f399591a2a934cf7676085459df79a1c013ab4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:08:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:08:54 [ssh-agent] Looking for ssh-agent implementation... 16:08:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:08:54 $ docker exec 6837899bb174d852d1d8540f66f399591a2a934cf7676085459df79a1c013ab4 ssh-agent 16:08:54 SSH_AUTH_SOCK=/tmp/ssh-iunGnTUWrmaD/agent.33 16:08:54 SSH_AGENT_PID=39 16:08:54 Running ssh-add (command line suppressed) 16:08:54 Identity added: /w/workspace/exfoundry_device-snmp-go_jakarta@tmp/private_key_3453013841491987012.key (/w/workspace/exfoundry_device-snmp-go_jakarta@tmp/private_key_3453013841491987012.key) 16:08:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:08:55 + git semver push 16:08:55 2022-06-08 16:08:55,327 [run_push] DEBUG push 16:08:55 2022-06-08 16:08:55,328 [execute] INFO git cat-file --batch-check 16:08:55 2022-06-08 16:08:55,329 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/exfoundry_device-snmp-go_jakarta/.semver, universal_newlines=False, shell=None, istream=) 16:08:55 2022-06-08 16:08:55,333 [execute] INFO git rev-list 5349793a005fb52b789d88060878e87d0cad3b42 -- 16:08:55 2022-06-08 16:08:55,333 [execute] DEBUG Popen(['git', 'rev-list', '5349793a005fb52b789d88060878e87d0cad3b42', '--'], cwd=/w/workspace/exfoundry_device-snmp-go_jakarta/.semver, universal_newlines=False, shell=None, istream=None) 16:08:55 2022-06-08 16:08:55,340 [execute] INFO git fetch -v origin 16:08:55 2022-06-08 16:08:55,341 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/exfoundry_device-snmp-go_jakarta/.semver, universal_newlines=True, shell=None, istream=None) 16:08:56 2022-06-08 16:08:55,841 [run_push] DEBUG no remote changes detected 16:08:56 2022-06-08 16:08:55,842 [execute] INFO git push origin semver 16:08:56 2022-06-08 16:08:55,842 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/exfoundry_device-snmp-go_jakarta/.semver, universal_newlines=False, shell=None, istream=None) 16:08:56 2022-06-08 16:08:56,492 [run_push] DEBUG push all version tags 16:08:56 2022-06-08 16:08:56,493 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 16:08:56 2022-06-08 16:08:56,493 [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) 16:08:57 2022-06-08 16:08:57,132 [read_version] DEBUG read version from /w/workspace/exfoundry_device-snmp-go_jakarta/.semver/jakarta 16:08:57 2.1.1-dev.4 [Pipeline] } 16:08:57 $ docker exec --env ******** --env ******** 6837899bb174d852d1d8540f66f399591a2a934cf7676085459df79a1c013ab4 ssh-agent -k 16:08:57 unset SSH_AUTH_SOCK; 16:08:57 unset SSH_AGENT_PID; 16:08:57 echo Agent pid 39 killed; 16:08:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:08:57 + git semver [Pipeline] } 16:08:57 $ docker stop --time=1 6837899bb174d852d1d8540f66f399591a2a934cf7676085459df79a1c013ab4 16:08:59 $ docker rm -f 6837899bb174d852d1d8540f66f399591a2a934cf7676085459df79a1c013ab4 [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 16:08:59 + [ -d /w/workspace/exfoundry_device-snmp-go_jakarta/archives ] 16:08:59 + ls -al /w/workspace/exfoundry_device-snmp-go_jakarta/archives 16:08:59 total 16 16:08:59 drwxr-xr-x 3 root root 4096 Jun 8 16:01 . 16:08:59 drwxrwxr-x 11 jenkins jenkins 4096 Jun 8 16:08 .. 16:08:59 drwxr-xr-x 2 root root 4096 Jun 8 16:01 cost 16:08:59 -rw-r--r-- 1 root root 86 Jun 8 16:01 cost.csv 16:08:59 + sudo chown -R jenkins:jenkins /w/workspace/exfoundry_device-snmp-go_jakarta/archives 16:08:59 + ls -al /w/workspace/exfoundry_device-snmp-go_jakarta/archives 16:08:59 total 16 16:08:59 drwxr-xr-x 3 jenkins jenkins 4096 Jun 8 16:01 . 16:08:59 drwxrwxr-x 11 jenkins jenkins 4096 Jun 8 16:08 .. 16:08:59 drwxr-xr-x 2 jenkins jenkins 4096 Jun 8 16:01 cost 16:08:59 -rw-r--r-- 1 jenkins jenkins 86 Jun 8 16:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:09:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:09:00 ---> package-listing.sh 16:09:00 ++ facter osfamily 16:09:00 ++ tr '[:upper:]' '[:lower:]' 16:09:01 + OS_FAMILY=debian 16:09:01 + workspace=/w/workspace/exfoundry_device-snmp-go_jakarta 16:09:01 + START_PACKAGES=/tmp/packages_start.txt 16:09:01 + END_PACKAGES=/tmp/packages_end.txt 16:09:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:09:01 + PACKAGES=/tmp/packages_start.txt 16:09:01 + '[' /w/workspace/exfoundry_device-snmp-go_jakarta ']' 16:09:01 + PACKAGES=/tmp/packages_end.txt 16:09:01 + case "${OS_FAMILY}" in 16:09:01 + dpkg -l 16:09:01 + grep '^ii' 16:09:01 + '[' -f /tmp/packages_start.txt ']' 16:09:01 + '[' -f /tmp/packages_end.txt ']' 16:09:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:09:01 + '[' /w/workspace/exfoundry_device-snmp-go_jakarta ']' 16:09:01 + mkdir -p /w/workspace/exfoundry_device-snmp-go_jakarta/archives/ 16:09:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/exfoundry_device-snmp-go_jakarta/archives/ [Pipeline] echo 16:09:01 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 16:09:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:09:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:09:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:09:02 prd-ubuntu20.04-docker-8c-8g-1764 does not seem to be running inside a container 16:09:02 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:09:02 $ docker top 6c628dd60283b3cd58168a6bec5416f5b573f8c6deee8f6d4d72787bae245378 -eo pid,comm [Pipeline] { [Pipeline] sh 16:09:02 + touch /tmp/pre-build-complete [Pipeline] sh 16:09:03 + mkdir -p /var/log/sysstat [Pipeline] sh 16:09:03 + ls /var/log/sa-host 16:09:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:09:03 provisioning config files... 16:09:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/exfoundry_device-snmp-go_jakarta@tmp/config3155555803506646625tmp [Pipeline] { [Pipeline] echo 16:09:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:09:03 ---> create-netrc.sh [Pipeline] } 16:09:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:09:04 ---> python-tools-install.sh [Pipeline] echo 16:09:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:09:04 ---> sudo-logs.sh 16:09:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:09:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:09:04 ---> job-cost.sh 16:09:04 lf-activate-venv: SKIPPING 16:09:04 DEBUG: total: 0.2199999988079071 16:09:04 INFO: Retrieving Stack Cost... 16:09:05 INFO: Retrieving Pricing Info for: v3-standard-8 16:09:05 INFO: Archiving Costs [Pipeline] echo 16:09:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:09:05 ---> logs-deploy.sh 16:09:05 lf-activate-venv: SKIPPING 16:09:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/jakarta/6 16:09:05 INFO: archiving workspace using pattern(s): 16:09:06 Archives upload complete. 16:09:06 INFO: archiving logs to Nexus